Browse Source

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

lakebane-strongholds
FatBoy-DOTC 2 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 { @@ -294,7 +294,7 @@ public enum PowersManager {
if(playerCharacter.isFlying()) {
for (ActionsBase ab : pb.getActions()) {
if (ab.stackType.equalsIgnoreCase("MoveBuff")) {
PlayerCharacter.GroundPlayer(playerCharacter);
return true;
}
}
}

Loading…
Cancel
Save