int enchant = 0;
if(st.hasMoreTokens())
{
enchant = Integer.parseInt(st.nextToken().trim());
}
cond = joinAnd(cond, new ConditionSlotItemId(slot, id, enchant));
}
else if("direction".equalsIgnoreCase(nodeName))
{
TargetDirection Direction = TargetDirection.valueOf(nodeValue.toUpperCase());
cond = joinAnd(cond, new ConditionTargetDirection(Direction));