|
|
@ -69,6 +69,8 @@ public enum MovementManager { |
|
|
|
if (toMove.getObjectType().equals(GameObjectType.PlayerCharacter)) { |
|
|
|
if (toMove.getObjectType().equals(GameObjectType.PlayerCharacter)) { |
|
|
|
if (((PlayerCharacter) toMove).isCasting()) |
|
|
|
if (((PlayerCharacter) toMove).isCasting()) |
|
|
|
((PlayerCharacter) toMove).update(); |
|
|
|
((PlayerCharacter) toMove).update(); |
|
|
|
|
|
|
|
if(((PlayerCharacter) toMove).isFlying() && toMove.getEffects().containsKey("MoveBuff")) |
|
|
|
|
|
|
|
PlayerCharacter.GroundPlayer(((PlayerCharacter) toMove)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
toMove.setIsCasting(false); |
|
|
|
toMove.setIsCasting(false); |
|
|
|