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