diff --git a/src/engine/net/client/handlers/PerformActionMsgHandler.java b/src/engine/net/client/handlers/PerformActionMsgHandler.java index 06b5c837..956abfca 100644 --- a/src/engine/net/client/handlers/PerformActionMsgHandler.java +++ b/src/engine/net/client/handlers/PerformActionMsgHandler.java @@ -12,6 +12,7 @@ import engine.gameManager.PowersManager; import engine.net.client.ClientConnection; import engine.net.client.msg.ClientNetMsg; import engine.net.client.msg.PerformActionMsg; +import engine.wpak.WpakPowerManager; public class PerformActionMsgHandler extends AbstractClientMsgHandler { @@ -23,7 +24,8 @@ public class PerformActionMsgHandler extends AbstractClientMsgHandler { protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) { PerformActionMsg msg = (PerformActionMsg) baseMsg; - PowersManager.usePower(msg, origin, false); // Wtf ? + //PowersManager.usePower(msg, origin, false); // Wtf ? + WpakPowerManager.usePower(msg, origin, false); return true; } diff --git a/src/engine/net/client/handlers/SendSummonsMsgHandler.java b/src/engine/net/client/handlers/SendSummonsMsgHandler.java index 0216086f..88af5220 100644 --- a/src/engine/net/client/handlers/SendSummonsMsgHandler.java +++ b/src/engine/net/client/handlers/SendSummonsMsgHandler.java @@ -17,6 +17,7 @@ import engine.net.client.msg.PerformActionMsg; import engine.net.client.msg.SendSummonsMsg; import engine.objects.PlayerCharacter; import engine.server.MBServerStatics; +import engine.wpak.WpakPowerManager; import static engine.gameManager.PowersManager.*; @@ -81,7 +82,8 @@ public class SendSummonsMsgHandler extends AbstractClientMsgHandler { // Client removes 200 mana on summon use.. so don't send message to self target.addSummoner(playerCharacter.getObjectUUID(), System.currentTimeMillis() + MBServerStatics.FOURTYFIVE_SECONDS); - usePower(pam, origin, false); + //usePower(pam, origin, false); + WpakPowerManager.usePower(pam, origin, false); return true; }