StringTokenizer st = new StringTokenizer(a.getNodeValue(), ";");
int id = Integer.parseInt(st.nextToken().trim());
int slot = Integer.parseInt(st.nextToken().trim());
int enchant = 0;
if (st.hasMoreTokens()) enchant = Integer.parseInt(st.nextToken().trim());
cond = joinAnd(cond, new ConditionSlotItemId(slot, id, enchant));
}
}
if (cond == null) _log.severe("Unrecognized <using> condition in " + _file);
return cond;
}