_log.info("EnchantStatBonusTable: Missing name. skipping");
continue;
}
if("defense".equalsIgnoreCase(att.getNodeValue()))
{
defense.add(new enchantStat(grade,opt1,opt2));
}
else if("chest".equalsIgnoreCase(att.getNodeValue()))
{
chest.add(new enchantStat(grade,opt1,opt2));
}
else if ("legging".equalsIgnoreCase(att.getNodeValue()))
{
legging.add(new enchantStat(grade,opt1,opt2));
}
else if ("head".equalsIgnoreCase(att.getNodeValue()))
{
head.add(new enchantStat(grade,opt1,opt2));
}
else if ("hand".equalsIgnoreCase(att.getNodeValue()))
{
hand.add(new enchantStat(grade,opt1,opt2));
}
else if ("feet".equalsIgnoreCase(att.getNodeValue()))
{
feet.add(new enchantStat(grade,opt1,opt2));
}
else if ("sword".equalsIgnoreCase(att.getNodeValue()))
{
sword.add(new enchantStat(grade,opt1,opt2));
}
else if("blunt".equalsIgnoreCase(att.getNodeValue()))
{
blunt.add(new enchantStat(grade,opt1,opt2));
}
else if("rapier".equalsIgnoreCase(att.getNodeValue()))
{
rapier.add(new enchantStat(grade,opt1,opt2));
}
else if("ancient".equalsIgnoreCase(att.getNodeValue()))
{
ancient.add(new enchantStat(grade,opt1,opt2));
}
else if("pole".equalsIgnoreCase(att.getNodeValue()))
{
pole.add(new enchantStat(grade,opt1,opt2));
}
else if("dagger".equalsIgnoreCase(att.getNodeValue()))
{
dagger.add(new enchantStat(grade,opt1,opt2));
}
else if("crossbow".equalsIgnoreCase(att.getNodeValue()))
{
crossbow.add(new enchantStat(grade,opt1,opt2));
}
else if("dualdagger".equalsIgnoreCase(att.getNodeValue()))
{
dualdagger.add(new enchantStat(grade,opt1,opt2));
}
else if("bigsword".equalsIgnoreCase(att.getNodeValue()))
{
bigsword.add(new enchantStat(grade,opt1,opt2));
}
else if("bigblunt".equalsIgnoreCase(att.getNodeValue()))
{
bigblunt.add(new enchantStat(grade,opt1,opt2));
}
else if("dualsword".equalsIgnoreCase(att.getNodeValue()))
{
dualsword.add(new enchantStat(grade,opt1,opt2));
}
else if("dualblunt".equalsIgnoreCase(att.getNodeValue()))
{
dualblunt.add(new enchantStat(grade,opt1,opt2));
}
else if("dualfist".equalsIgnoreCase(att.getNodeValue()))
{
dualfist.add(new enchantStat(grade,opt1,opt2));
}
else if("bow".equalsIgnoreCase(att.getNodeValue()))
{
bow.add(new enchantStat(grade,opt1,opt2));
}
else
{
_log.info("EnchantStatBonusTable: invalid bonus name. skipping");
continue;