Browse Source

pet buff trouble shooting

lakebane-master
FatBoy-DOTC 8 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 {
pc.setIsCasting(false); 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 {
break; break;
case POWER: case POWER:
PowersManager.usePower((PerformActionMsg) msg, origin, false); PowersManager.usePower((PerformActionMsg) msg, origin, false);
ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(((PerformActionMsg) msg).getSourceID()), "Starting To Cast");
break; break;
case REQUESTMELEEATTACK: case REQUESTMELEEATTACK:
CombatManager.setAttackTarget((AttackCmdMsg) msg, origin); CombatManager.setAttackTarget((AttackCmdMsg) msg, origin);

Loading…
Cancel
Save