Ругается на скил. Помогите, что не так делаю.
Ошибка
Code:
<skill id="8028" levels="4" name="Wizard Divine">
<table name="#Tab-hpEff">16 32 48 64</table>
<table name="#magicLevel">5 10 15 20 25</table>
<set name="icon" val="icon.skill1397"/>
<set name="magicLevel" val="#magicLevel"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<cond msgId="1509">
<not>
<player olympiad="true"/>
</not>
</cond>
<for>
<add order="0x40" stat="hpEff" val="#Tab-hpEff"/>
</for>
</skill>
Ошибка
Code:
Unknown name 'hpEff ' for enum BaseStats
[20:06:34] ERROR Error loading skill 8028
java.util.NoSuchElementException: Unknown name 'hpEff ' for enum BaseStats
at l2.gameserver.stats.Stats.valueOfXml(Unknown Source)
at l2.gameserver.skills.DocumentBase.attachFunc(Unknown Source)
at l2.gameserver.skills.DocumentBase.parseTemplate(Unknown Source)
at l2.gameserver.skills.DocumentSkill.parseSkill(Unknown Source)
at l2.gameserver.skills.DocumentSkill.parseDocument(Unknown Source)
at l2.gameserver.skills.DocumentBase.parse(Unknown Source)
at l2.gameserver.skills.SkillsEngine.loadSkills(Unknown Source)
at l2.gameserver.skills.SkillsEngine.loadAllSkills(Unknown Source)
at l2.gameserver.tables.SkillTable.load(Unknown Source)
at l2.gameserver.data.xml.Parsers.parseAll(Unknown Source)
at l2.gameserver.GameServer.<init>(Unknown Source)
at l2.gameserver.GameServer.main(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.strixplatform.StrixPlatform.main(StrixPlatform.java:46)