slot NPC fix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -335,13 +335,11 @@ public class Blueprint {
|
|||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
case 7:
|
case 7:
|
||||||
availableSlots = 3;
|
|
||||||
break;
|
|
||||||
case 8:
|
case 8:
|
||||||
availableSlots = 3;
|
availableSlots = 3;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
availableSlots = 0;
|
availableSlots = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(this.buildingGroup.equals(BuildingGroup.TOL)){
|
if(this.buildingGroup.equals(BuildingGroup.TOL)){
|
||||||
|
|||||||
Reference in New Issue
Block a user