From a38e5b478a130f6c7590f64a61bb74cb22e9cb13 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 28 Feb 2024 20:46:36 -0600 Subject: [PATCH] pet buff trouble shooting --- src/engine/gameManager/PowersManager.java | 2 ++ src/engine/net/client/ClientMessagePump.java | 1 + 2 files changed, 3 insertions(+) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index e6b2f1cc..b7a68a33 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -186,6 +186,8 @@ public enum PowersManager { pc.setIsCasting(false); } + } else{ + ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(((PerformActionMsg) msg).getSourceID()), "Failed To Cast"); } } diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index 8c305915..26b0ee4c 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -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);