|
|
@ -144,18 +144,6 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler { |
|
|
|
if (contract.getContractID() == 865)//siege engineer
|
|
|
|
if (contract.getContractID() == 865)//siege engineer
|
|
|
|
override = true; |
|
|
|
override = true; |
|
|
|
} |
|
|
|
} |
|
|
|
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) { |
|
|
|
if(override == false) { |
|
|
|
Logger.error("failed at override with contract: " + contract.getContractID()); |
|
|
|
Logger.error("failed at override with contract: " + contract.getContractID()); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|