Browse Source

cast while flying

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

5
src/engine/gameManager/PowersManager.java

@ -292,7 +292,6 @@ public enum PowersManager { @@ -292,7 +292,6 @@ public enum PowersManager {
//check for movement buffs while flying
if(playerCharacter.isFlying()) {
boolean whileFlying = true;
switch(pb.token){
case 429005674:
case 429505739:
@ -309,10 +308,6 @@ public enum PowersManager { @@ -309,10 +308,6 @@ public enum PowersManager {
case 1794395699:
case 429428796:
case 1514898036:
whileFlying = false;
break;
}
if(!whileFlying) {
ChatManager.chatSystemInfo(playerCharacter, "You Cannot Fly While Having A MovementBuff");
//refund stamina
float amount = playerCharacter.getStamina() + pb.cost;

Loading…
Cancel
Save