From bbdb6ae1f65945e9bb875194afb864a1de753fdc Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 10 Sep 2024 17:00:28 -0500 Subject: [PATCH] cast while flying --- src/engine/gameManager/PowersManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index 79cf408c..394ba277 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -310,7 +310,7 @@ public enum PowersManager { case 1514898036: ChatManager.chatSystemInfo(playerCharacter, "You Cannot Fly While Having A MovementBuff"); //refund stamina - float amount = playerCharacter.getStamina() + pb.cost; + float amount = playerCharacter.getStamina() + pb.getCost(msg.getNumTrains()); playerCharacter.setStamina(amount, playerCharacter); // Update all surrounding clients.