cond = joinAnd(cond, new ConditionPlayerRace(race));
}
else if ("level".equalsIgnoreCase(a.getNodeName()))
{
int lvl = Integer.decode(getValue(a.getNodeValue(), null));
cond = joinAnd(cond, new ConditionPlayerLevel(lvl));
}
else if ("resting".equalsIgnoreCase(a.getNodeName()))
{
boolean val = Boolean.valueOf(a.getNodeValue());
cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.RESTING, val));