|
|
@ -17,6 +17,7 @@ import engine.net.client.msg.PerformActionMsg; |
|
|
|
import engine.net.client.msg.SendSummonsMsg; |
|
|
|
import engine.net.client.msg.SendSummonsMsg; |
|
|
|
import engine.objects.PlayerCharacter; |
|
|
|
import engine.objects.PlayerCharacter; |
|
|
|
import engine.server.MBServerStatics; |
|
|
|
import engine.server.MBServerStatics; |
|
|
|
|
|
|
|
import engine.wpak.WpakPowerManager; |
|
|
|
|
|
|
|
|
|
|
|
import static engine.gameManager.PowersManager.*; |
|
|
|
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
|
|
|
|
// Client removes 200 mana on summon use.. so don't send message to self
|
|
|
|
target.addSummoner(playerCharacter.getObjectUUID(), System.currentTimeMillis() + MBServerStatics.FOURTYFIVE_SECONDS); |
|
|
|
target.addSummoner(playerCharacter.getObjectUUID(), System.currentTimeMillis() + MBServerStatics.FOURTYFIVE_SECONDS); |
|
|
|
usePower(pam, origin, false); |
|
|
|
//usePower(pam, origin, false);
|
|
|
|
|
|
|
|
WpakPowerManager.usePower(pam, origin, false); |
|
|
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|