@ -42,7 +41,6 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -42,7 +41,6 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -63,10 +61,10 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -63,10 +61,10 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -74,15 +72,19 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -74,15 +72,19 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
// we Found the move to remove, lets break the for loop so it doesnt look for more.
@ -115,7 +117,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -115,7 +117,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
if(npc.getContractID()==842)
maxSlots=1;
if(npc.getSiegeMinionMap().size()==maxSlots)
if(npc.siegeMinionMap.size()==maxSlots)
returntrue;
intmobBase;
@ -146,42 +148,10 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -146,42 +148,10 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -228,11 +198,14 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -228,11 +198,14 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -298,14 +271,14 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -298,14 +271,14 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -212,10 +212,6 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@@ -212,10 +212,6 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@ -223,10 +219,6 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@@ -223,10 +219,6 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@ -541,7 +533,7 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@@ -541,7 +533,7 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@ -144,7 +144,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -144,7 +144,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -205,15 +204,18 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -205,15 +204,18 @@ public class PlayerCharacter extends AbstractCharacter {
@ -265,7 +267,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -265,7 +267,7 @@ public class PlayerCharacter extends AbstractCharacter {
@ -2721,12 +2723,12 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -2721,12 +2723,12 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4561,10 +4563,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4561,10 +4563,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4692,7 +4690,8 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4692,7 +4690,8 @@ public class PlayerCharacter extends AbstractCharacter {
@ -117,20 +119,12 @@ public class ApplyEffectPowerAction extends AbstractPowerAction {
@@ -117,20 +119,12 @@ public class ApplyEffectPowerAction extends AbstractPowerAction {
@ -140,8 +134,22 @@ public class ApplyEffectPowerAction extends AbstractPowerAction {
@@ -140,8 +134,22 @@ public class ApplyEffectPowerAction extends AbstractPowerAction {
@ -75,7 +74,7 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@@ -75,7 +74,7 @@ public class CreateMobPowerAction extends AbstractPowerAction {
if(pet.getMobBaseID()==12021||pet.getMobBaseID()==12022){//is a necro pet
@ -84,8 +83,6 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@@ -84,8 +83,6 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@ -95,10 +92,10 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@@ -95,10 +92,10 @@ public class CreateMobPowerAction extends AbstractPowerAction {
Logger.error(e.getMessage());
}
//currentPet.disableIntelligence();
}elseif(currentPet!=null&¤tPet.isSiege()){
currentPet.agentType=Enum.AIAgentType.MOBILE;
currentPet.setOwner(null);
currentPet.guardCaptain=null;
currentPet.setCombatTarget(null);
if(currentPet.isAlive())
@ -106,7 +103,6 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@@ -106,7 +103,6 @@ public class CreateMobPowerAction extends AbstractPowerAction {
}
//remove 10th pet
NPCManager.spawnNecroPet(owner,pet);
}else{//is not a necro pet
@ -115,7 +111,7 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@@ -115,7 +111,7 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@ -125,7 +121,8 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@@ -125,7 +121,8 @@ public class CreateMobPowerAction extends AbstractPowerAction {
}else{
if(currentPet.isSiege()){
currentPet.agentType=Enum.AIAgentType.MOBILE;
currentPet.setOwner(null);
currentPet.guardCaptain=null;
currentPet.setCombatTarget(null);
if(currentPet.isAlive())
@ -137,26 +134,9 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@@ -137,26 +134,9 @@ public class CreateMobPowerAction extends AbstractPowerAction {
@ -59,7 +59,7 @@ public class FearPowerAction extends AbstractPowerAction {
@@ -59,7 +59,7 @@ public class FearPowerAction extends AbstractPowerAction {