Browse Source

pet buff trouble shooting

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
a38e5b478a
  1. 2
      src/engine/gameManager/PowersManager.java
  2. 1
      src/engine/net/client/ClientMessagePump.java

2
src/engine/gameManager/PowersManager.java

@ -186,6 +186,8 @@ public enum PowersManager { @@ -186,6 +186,8 @@ public enum PowersManager {
pc.setIsCasting(false);
}
} else{
ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(((PerformActionMsg) msg).getSourceID()), "Failed To Cast");
}
}

1
src/engine/net/client/ClientMessagePump.java

@ -1913,6 +1913,7 @@ public class ClientMessagePump implements NetMsgHandler { @@ -1913,6 +1913,7 @@ public class ClientMessagePump implements NetMsgHandler {
break;
case POWER:
PowersManager.usePower((PerformActionMsg) msg, origin, false);
ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(((PerformActionMsg) msg).getSourceID()), "Starting To Cast");
break;
case REQUESTMELEEATTACK:
CombatManager.setAttackTarget((AttackCmdMsg) msg, origin);

Loading…
Cancel
Save