loop all effects in power actions

This commit is contained in:
2025-02-01 15:28:09 -06:00
parent 0c07586927
commit de6158842d
3 changed files with 8 additions and 9 deletions
@@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.gameManager.PowersManager;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.PerformActionMsg;
@@ -24,8 +23,8 @@ public class PerformActionMsgHandler extends AbstractClientMsgHandler {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PerformActionMsg msg = (PerformActionMsg) baseMsg;
//PowersManager.usePower(msg, origin, false); // Wtf ?
WpakPowerManager.usePower(msg, origin, false);
//PowersManager.beginCast(msg, origin, false); // Wtf ?
WpakPowerManager.beginCast(msg, origin, false);
return true;
}