diff --git a/src/engine/net/client/handlers/ActivateNPCMsgHandler.java b/src/engine/net/client/handlers/ActivateNPCMsgHandler.java index 4e0179d7..a3aff40a 100644 --- a/src/engine/net/client/handlers/ActivateNPCMsgHandler.java +++ b/src/engine/net/client/handlers/ActivateNPCMsgHandler.java @@ -100,6 +100,7 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler { if (contractItem == null) return false; + if (msg.getContractItem() == 850) {//runemaster for (AbstractCharacter abs : building.getHirelings().keySet()) { NPC npc = (NPC) abs; @@ -143,8 +144,16 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler { if (contract.getContractID() == 865)//siege engineer override = true; } - if(building.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.SIEGETENT)){ - if(contract.getContractID() == 865)//siege engineer + if(building.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.SHACK)){ + if(contract.getContractID() == 830)//merchant + override = true; + } + if(building.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.SHRINE)){ + if(contract.getContractID() == 252637)//votary + override = true; + } + if(building.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.BULWARK)){ + if(contract.getContractID() == 839)//artillery captain override = true; } if(override == false) {