{
cond = joinAnd(cond, new ConditionTargetPlayerRace(nodeValue));
}
else if("playerSameClan".equalsIgnoreCase(nodeName))
{
cond = joinAnd(cond, new ConditionTargetClan(nodeValue));
}
else if("castledoor".equalsIgnoreCase(nodeName))
{
cond = joinAnd(cond, new ConditionTargetCastleDoor(Boolean.valueOf(nodeValue)));
}