Browse Source

cast while flying

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
ca07a53835
  1. 5
      src/engine/gameManager/PowersManager.java

5
src/engine/gameManager/PowersManager.java

@ -309,9 +309,8 @@ public enum PowersManager {
case 429428796: case 429428796:
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 //resync stamina
float amount = playerCharacter.getStamina() + pb.getCost(msg.getNumTrains()); playerCharacter.setStamina(playerCharacter.getStamina(), playerCharacter);
playerCharacter.setStamina(amount, playerCharacter);
// Update all surrounding clients. // Update all surrounding clients.
TargetedActionMsg cmm = new TargetedActionMsg(playerCharacter); TargetedActionMsg cmm = new TargetedActionMsg(playerCharacter);

Loading…
Cancel
Save