{
Element subElement = subElementIterator.next();
int itemId = Integer.parseInt(subElement.attributeValue("item_id"));
int npcId2 = Integer.parseInt(subElement.attributeValue("npc_id"));
int maxGuard = Integer.parseInt(subElement.attributeValue("max"));
IntSet intSet = new HashIntSet(3);
String[] ssq = subElement.attributeValue("ssq").split(";");
for (String q : ssq)
{
if (q.equalsIgnoreCase("cabal_null"))
{
intSet.add(0);
}
}
((Castle) residence).addMerchantGuard(new MerchantGuard(itemId, npcId2, maxGuard, intSet));
}
}