Browse Source

cast while flying

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

2
src/engine/gameManager/PowersManager.java

@ -310,7 +310,7 @@ public enum PowersManager {
case 1514898036: case 1514898036:
ChatManager.chatSystemInfo(playerCharacter, "You Cannot Fly While Having A MovementBuff"); ChatManager.chatSystemInfo(playerCharacter, "You Cannot Fly While Having A MovementBuff");
//refund stamina //refund stamina
float amount = playerCharacter.getStamina() + pb.cost; float amount = playerCharacter.getStamina() + pb.getCost(msg.getNumTrains());
playerCharacter.setStamina(amount, playerCharacter); playerCharacter.setStamina(amount, playerCharacter);
// Update all surrounding clients. // Update all surrounding clients.

Loading…
Cancel
Save