Jpstafe
Well-Known Member
- Joined
- Aug 8, 2011
- Messages
- 507
- Reaction score
- 69
Hello, my server the spells are by levels, and I don't want it to be like that, I want it to be by magic level and x amount of mana... I've grabbed and changed everything manually. But when I open the server it doesn't open it and it closes so fast that I can't see the error it gives in the console.
Here's the old spells.xml:
And this spells.xml is the one I modified, one by one.
newspells.xml:
What am I doing wrong?
Here's the old spells.xml:
XML:
<instant group="attack" name="Berserk" words="exori" lvl="35" mana="120" prem="1" needweapon="1" exhaustion="2000" needlearn="0" script="attack/berserk.lua">
<vocation name="Knight"/>
<vocation name="Elite Knight"/>
</instant>
<instant group="support" name="Cancel Invisibility" words="exana ina" lvl="26" mana="200" prem="0" aggressive="0" selftarget="1" exhaustion="2000" needlearn="0" script="support/cancel invisibility.lua">
<vocation name="Paladin"/>
<vocation name="Royal Paladin"/>
</instant>
<instant group="support" name="Challenge" words="exeta res" lvl="20" mana="30" prem="1" aggressive="0" exhaustion="2000" needlearn="0" script="support/challenge.lua">
<vocation name="Elite Knight"/>
</instant>
<instant group="support" name="Creature Illusion" words="utevo res ina" lvl="23" mana="100" aggressive="0" params="1" exhaustion="2000" needlearn="0" function="Illusion">
<vocation name="Sorcerer"/>
<vocation name="Druid"/>
<vocation name="Master Sorcerer"/>
<vocation name="Elder Druid"/>
And this spells.xml is the one I modified, one by one.
newspells.xml:
XML:
<instant group="attack" name="Berserk" words="exori" maglv="5" mana="150" prem="1" needweapon="1" exhaustion="2000" needlearn="0" script="attack/berserk.lua">
<vocation name="Knight"/>
<vocation name="Elite Knight"/>
</instant>
<instant group="support" name="Cancel Invisibility" words="exana ina" maglv="12" mana="200" prem="0" aggressive="0" selftarget="1" exhaustion="2000" needlearn="0" script="support/cancel invisibility.lua">
<vocation name="Paladin"/>
<vocation name="Royal Paladin"/>
</instant>
<instant group="support" name="Challenge" words="exeta res" maglv="4" mana="60" prem="1" aggressive="0" exhaustion="2000" needlearn="0" script="support/challenge.lua">
<vocation name="Elite Knight"/>
</instant>
<instant group="support" name="Creature Illusion" words="utevo res ina" magvl="10" mana="100" aggressive="0" params="1" exhaustion="2000" needlearn="0" function="Illusion">
<vocation name="Sorcerer"/>
<vocation name="Druid"/>
<vocation name="Master Sorcerer"/>
<vocation name="Elder Druid"/>
</instant>
What am I doing wrong?