int level = -1;
if(st.hasMoreTokens())
{
level = Integer.parseInt(st.nextToken().trim());
}
cond = joinAnd(cond, new ConditionPlayerHasBuffId(id, level));
}
else if("hasBuff".equalsIgnoreCase(nodeName))
{
StringTokenizer st = new StringTokenizer(a.getNodeValue(), ";");
EffectType et = Enum.valueOf(EffectType.class, st.nextToken().trim());