cast while flying

This commit is contained in:
2024-09-10 16:54:57 -05:00
parent 1a1c552964
commit 4a63222318
@@ -292,7 +292,6 @@ public enum PowersManager {
//check for movement buffs while flying //check for movement buffs while flying
if(playerCharacter.isFlying()) { if(playerCharacter.isFlying()) {
boolean whileFlying = true;
switch(pb.token){ switch(pb.token){
case 429005674: case 429005674:
case 429505739: case 429505739:
@@ -309,10 +308,6 @@ public enum PowersManager {
case 1794395699: case 1794395699:
case 429428796: case 429428796:
case 1514898036: case 1514898036:
whileFlying = false;
break;
}
if(!whileFlying) {
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.cost;