@ -560,12 +561,17 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -560,12 +561,17 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1888,6 +1894,17 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1888,6 +1894,17 @@ public class ClientMessagePump implements NetMsgHandler {
@ -57,6 +57,21 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@@ -57,6 +57,21 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@ -78,13 +93,20 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@@ -78,13 +93,20 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
Logger.error(player.getName()+"has attempted to place Hireling : "+contractItem.getName()+"without a valid contract!");
@ -104,10 +126,33 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@@ -104,10 +126,33 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
returnfalse;
// Check if contract can be slotted in this building
@ -66,6 +66,9 @@ public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler {
@@ -66,6 +66,9 @@ public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler {
@ -61,15 +61,6 @@ public class CityDataHandler extends AbstractClientMsgHandler {
@@ -61,15 +61,6 @@ public class CityDataHandler extends AbstractClientMsgHandler {
@ -294,7 +294,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
@@ -294,7 +294,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
// Owner is obviously allowed to upgrade his own buildings
@ -147,7 +147,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -147,7 +147,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@ -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,14 +72,18 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -74,14 +72,18 @@ 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 {
@ -439,8 +439,10 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -439,8 +439,10 @@ public class ObjectActionMsgHandler 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 {
@ -800,7 +800,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -800,7 +800,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -144,7 +144,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -144,7 +144,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -177,8 +176,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -177,8 +176,7 @@ public class PlayerCharacter extends AbstractCharacter {
publicbooleanisBoxed=false;
publicbooleanreceivedConc=false;
publicfloatZergMultiplier=1.0f;
/**
*NoIdConstructor
*/
@ -209,15 +207,18 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -209,15 +207,18 @@ public class PlayerCharacter extends AbstractCharacter {
@ -269,7 +270,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -269,7 +270,7 @@ public class PlayerCharacter extends AbstractCharacter {
@ -2191,11 +2192,8 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -2191,11 +2192,8 @@ public class PlayerCharacter extends AbstractCharacter {
}
//public int getInventoryCapacity() {
// return statStrBase * 3;
//}
publicintgetInventoryCapacity(){
return1000;
returnstatStrBase*3;
}
publicintgetInventoryCapacityRemaining(){
@ -2230,7 +2228,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -2230,7 +2228,6 @@ public class PlayerCharacter extends AbstractCharacter {
// Warehouse this event
CharacterRecord.updatePromotionClass(this);
returntrue;
}
@ -2729,12 +2726,12 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -2729,12 +2726,12 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4569,10 +4566,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4569,10 +4566,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4700,7 +4693,8 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4700,7 +4693,8 @@ public class PlayerCharacter extends AbstractCharacter {
}elseif(currentPet.isSiege()){
currentPet.agentType=AIAgentType.MOBILE;
currentPet.setOwner(null);
currentPet.guardCaptain=null;
currentPet.setCombatTarget(null);
if(currentPet.isAlive())
WorldGrid.updateObject(currentPet);
@ -4819,9 +4813,14 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4819,9 +4813,14 @@ public class PlayerCharacter extends AbstractCharacter {
@ -176,6 +176,10 @@ public class HealthEffectModifier extends AbstractEffectModifier {
@@ -176,6 +176,10 @@ public class HealthEffectModifier extends AbstractEffectModifier {
@ -157,6 +157,9 @@ public class ManaEffectModifier extends AbstractEffectModifier {
@@ -157,6 +157,9 @@ public class ManaEffectModifier extends AbstractEffectModifier {
@ -153,6 +153,9 @@ public class StaminaEffectModifier extends AbstractEffectModifier {
@@ -153,6 +153,9 @@ public class StaminaEffectModifier extends AbstractEffectModifier {
@ -117,20 +119,12 @@ public class ApplyEffectPowerAction extends AbstractPowerAction {
@@ -117,20 +119,12 @@ public class ApplyEffectPowerAction extends AbstractPowerAction {
@ -140,7 +134,21 @@ public class ApplyEffectPowerAction extends AbstractPowerAction {
@@ -140,7 +134,21 @@ 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 {
@ -213,6 +213,7 @@ public class TransferStatPowerAction extends AbstractPowerAction {
@@ -213,6 +213,7 @@ public class TransferStatPowerAction extends AbstractPowerAction {
// put it back between min and max
damage+=min;
damage*=((PlayerCharacter)source).ZergMultiplier;
}
// Apply any power effect modifiers (such as stances)