From 9b898825ab87fb55bbc3e32d383b0306c3590cd7 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 30 Aug 2024 19:34:10 -0500 Subject: [PATCH] no move buff while flying --- src/engine/gameManager/PowersManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index 9b568d2f..d1c5b501 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -295,12 +295,12 @@ public enum PowersManager { for(ActionsBase ab : pb.getActions()){ for(AbstractEffectModifier mod1 : ab.getPowerAction().getEffectsBase().getModifiers()){ if(mod1.modType.equals(ModType.Speed) && mod1.getPercentMod() > 0){ - return false; + return true; } } for(AbstractEffectModifier mod2 : ab.getPowerAction().getEffectsBase2().getModifiers()){ if(mod2.modType.equals(ModType.Speed) && mod2.getPercentMod() > 0){ - return false; + return true; } } }