SkillTreesData checks if skill exists.
This commit is contained in:
@@ -234,6 +234,10 @@ public final class SkillTreesData implements IGameXmlReader
|
||||
}
|
||||
|
||||
final L2SkillLearn skillLearn = new L2SkillLearn(learnSkillSet);
|
||||
|
||||
// test if skill exists
|
||||
SkillData.getInstance().getSkill(skillLearn.getSkillId(), skillLearn.getSkillLevel());
|
||||
|
||||
for (Node b = c.getFirstChild(); b != null; b = b.getNextSibling())
|
||||
{
|
||||
attrs = b.getAttributes();
|
||||
|
@@ -6,9 +6,11 @@
|
||||
<skill skillName="Blessed Blood" skillId="1531" skillLvl="7" getLevel="76">
|
||||
<item id="15307" count="1" />
|
||||
</skill>
|
||||
<!--
|
||||
<skill skillName="Blessed Shield" skillId="1243" skillLvl="7" getLevel="76">
|
||||
<item id="15307" count="1" />
|
||||
</skill>
|
||||
-->
|
||||
<skill skillName="Return" skillId="1050" skillLvl="2" getLevel="76">
|
||||
<item id="15307" count="1" />
|
||||
</skill>
|
||||
|
@@ -234,6 +234,10 @@ public final class SkillTreesData implements IGameXmlReader
|
||||
}
|
||||
|
||||
final L2SkillLearn skillLearn = new L2SkillLearn(learnSkillSet);
|
||||
|
||||
// test if skill exists
|
||||
SkillData.getInstance().getSkill(skillLearn.getSkillId(), skillLearn.getSkillLevel());
|
||||
|
||||
for (Node b = c.getFirstChild(); b != null; b = b.getNextSibling())
|
||||
{
|
||||
attrs = b.getAttributes();
|
||||
|
@@ -6,9 +6,11 @@
|
||||
<skill skillName="Blessed Blood" skillId="1531" skillLvl="7" getLevel="76">
|
||||
<item id="15307" count="1" />
|
||||
</skill>
|
||||
<!--
|
||||
<skill skillName="Blessed Shield" skillId="1243" skillLvl="7" getLevel="76">
|
||||
<item id="15307" count="1" />
|
||||
</skill>
|
||||
-->
|
||||
<skill skillName="Return" skillId="1050" skillLvl="2" getLevel="76">
|
||||
<item id="15307" count="1" />
|
||||
</skill>
|
||||
|
@@ -234,6 +234,10 @@ public final class SkillTreesData implements IGameXmlReader
|
||||
}
|
||||
|
||||
final L2SkillLearn skillLearn = new L2SkillLearn(learnSkillSet);
|
||||
|
||||
// test if skill exists
|
||||
SkillData.getInstance().getSkill(skillLearn.getSkillId(), skillLearn.getSkillLevel());
|
||||
|
||||
for (Node b = c.getFirstChild(); b != null; b = b.getNextSibling())
|
||||
{
|
||||
attrs = b.getAttributes();
|
||||
|
Reference in New Issue
Block a user