Browse Source

no move buff while flying

lakebane-strongholds
FatBoy-DOTC 2 months ago
parent
commit
9b898825ab
  1. 4
      src/engine/gameManager/PowersManager.java

4
src/engine/gameManager/PowersManager.java

@ -295,12 +295,12 @@ public enum PowersManager { @@ -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;
}
}
}

Loading…
Cancel
Save