我正在为dredmor的地牢制作一个mod。当我通过语法检查器或格式化程序运行代码时,我收到此错误:
无法解析任何 XML 输入。第 6 行错误:元素类型“skillDB”必须由匹配的结束标记“
</skillDB>
”终止。
这是我的 XML:
<skillDB>
<skill name="Gamblemancy" skillName="Gamblemancer" type="wizard"
description="The magic of the felt. Will you heal your enemies? Hurt yourself? It's up to the dice! Or cards. Or slot machine"/>
<art icon="\sprites\fillersprite.png" />
<loadout type="booze" subtype="Deck Of Cards" />
</skill>
<ability>
<name="Gamblemancy" icon="\sprites\fillersprite.png skillName="Gamblemancer" startSkill="1"
description="You are a gamblemancer! A holder of ultimate luck! And Debt!"/>
<primarybuff id="5" amount="2" />
<secondarybuff id="5" amount="2" />
</ability>
<ability>
<name="Luck of the draw" icon="\sprites\fillersprite.png" skillName="Gamblemancer" level="0"
description text="Pure luck courses through your veins! Except when it doesn't." />
<criticalBuff percentage="90" name="Lucky shot" />
</ability>
<ability>
<name="Royal flush" icon="\sprites\fillersprite.png skillName="Gamblemancer" level="1"
description text="Royal Flush! You win! Except that you don't!" />
<spell name="Royal Flush" />
</ability>
<skill skillName="Another skill tree's name">
<!--This is where some basic information about the skill tree goes-->
</skill>
<ability skillName="Another skill tree's name" startSkill="1">
<!--This is where the first level of the skill tree goes-->
</ability>
<ability skillName="Another skill tree's name" level="0">
<!--This is where the second level of the skill tree goes-->
</ability>
<ability skillName="Another skill tree's name" level="1">
<!--This is where the third level of the skill tree goes-->
</ability>
</skillDB>