if (schemeSkills.contains(skillId))
{
switch (skillId)
{
case 4699:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill1331", "\" fore=\"icon.skill1331", "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillunselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>");
break;
case 4700:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill1331", "\" fore=\"icon.skill1331", "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillunselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>");
break;
case 4702:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill1332", "\" fore=\"icon.skill1332", "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillunselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>");
break;
case 4703:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill1332", "\" fore=\"icon.skill1332", "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillunselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>");
break;
default:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill", skillId, "\" fore=\"icon.skill", skillId, "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillunselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>");
break;
}
}
else
{
switch (skillId)
{
case 4699:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill1331", "\" fore=\"icon.skill1331", "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>");
break;
case 4700:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill1331", "\" fore=\"icon.skill1331", "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>");
break;
case 4702:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill1332", "\" fore=\"icon.skill1332", "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>");
break;
case 4703:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill1332", "\" fore=\"icon.skill1332", "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>");
break;
default:
StringUtil.append(sb, "<td align=center width=\"32\"><button width=32 height=32 back=\"icon.skill", skillId, "\" fore=\"icon.skill", skillId, "\"></td><td align=center width=\"200\"><br>", SkillTable.getInstance().getInfo(skillId, 1).getName(), "<br></td><td align=center width=\"32\"><br><button action=\"bypass npc_%objectId%_skillselect ", groupType, " ", schemeName, " ", skillId, " ", page, "\" width=16 height=16 back=\"L2UI.CheckBox\" fore=\"L2UI.CheckBox\"></td>");
break;
}
}
Tenta isso e faz a mesma coisa com as doenças, aguardando tua resposta.