Browse Source

no movement buffs while flying, cannot fly if you have a movement buff applied

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

2
src/engine/gameManager/PowersManager.java

@ -294,7 +294,7 @@ public enum PowersManager {
if(playerCharacter.isFlying()) { if(playerCharacter.isFlying()) {
for (ActionsBase ab : pb.getActions()) { for (ActionsBase ab : pb.getActions()) {
if (ab.stackType.equalsIgnoreCase("MoveBuff")) { if (ab.stackType.equalsIgnoreCase("MoveBuff")) {
PlayerCharacter.GroundPlayer(playerCharacter); return true;
} }
} }
} }

Loading…
Cancel
Save