Browse Source

fury no longer grounded at end of flight chant

lakebane
FatBoy-DOTC 2 days ago
parent
commit
2e35e35a6e
  1. 3
      src/engine/objects/AbstractWorldObject.java

3
src/engine/objects/AbstractWorldObject.java

@ -271,7 +271,8 @@ public abstract class AbstractWorldObject extends AbstractGameObject {
if (this.getObjectType().equals(GameObjectType.PlayerCharacter)) if (this.getObjectType().equals(GameObjectType.PlayerCharacter))
if (name.equals("Flight")) { if (name.equals("Flight")) {
((PlayerCharacter) this).update(false); ((PlayerCharacter) this).update(false);
PlayerCharacter.GroundPlayer((PlayerCharacter) this); if(!AbstractCharacter.CanFly((PlayerCharacter) this))
PlayerCharacter.GroundPlayer((PlayerCharacter) this);
} }
} }
applyAllBonuses(); applyAllBonuses();

Loading…
Cancel
Save