Browse Source

pet buff trouble shooting

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
297fe8c7a2
  1. 4
      src/engine/gameManager/PowersManager.java

4
src/engine/gameManager/PowersManager.java

@ -168,11 +168,11 @@ public enum PowersManager { @@ -168,11 +168,11 @@ public enum PowersManager {
if (usePowerA(msg, origin, sendCastToSelf)) {
// Cast failed for some reason, reset timer
ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(msg.getSourceID()), "Sending Recycle Message");
RecyclePowerMsg recyclePowerMsg = new RecyclePowerMsg(msg.getPowerUsedID());
Dispatch dispatch = Dispatch.borrow(origin.getPlayerCharacter(), recyclePowerMsg);
DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.PRIMARY);
ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(msg.getSourceID()), "Recycle Message Sent");
// Send Fail to cast message
PlayerCharacter pc = SessionManager
.getPlayerCharacter(origin);

Loading…
Cancel
Save