• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Spells.lua error on Exana Pox

Exura ATS

New Member
Joined
Feb 5, 2017
Messages
72
Reaction score
4
I want to make exana pox only be casted for druids, but, I can't find a way to do this

My spells.lua:
<instant name="Heal Friend" words="exura sio" lvl="18" mana="140" prem="1" aggressive="0" needtarget="1" params="1" exhaustion="2000" groups="2,2000" icon="84" needlearn="0" event="script" value="healing/heal friend.lua">
<vocation id="2"/>
</instant>
<instant name="Mass Healing" words="exura gran mas res" lvl="36" mana="150" prem="1" aggressive="0" exhaustion="2000" groups="2,2000" icon="82" needlearn="0" event="script" value="healing/mass healing.lua">
<vocation id="2"/>
</instant>
<instant name="Cure Bleeding" words="exana kor" lvl="30" mana="30" prem="1" aggressive="0" selftarget="1" exhaustion="2000" groups="2,2000" icon="144" needlearn="0" event="script" value="healing/cure bleeding.lua">
<vocation id="2"/>
</instant>
<instant name="Cure Electrification" words="exana vis" lvl="22" mana="30" prem="1" aggressive="0" selftarget="1" exhaustion="2000" groups="2,2000" icon="146" needlearn="0" event="script" value="healing/cure electrification.lua">
<vocation id="2"/>
</instant>
<instant name="Cure Poison" words="exana pox" lvl="10" mana="30" aggressive="0" selftarget="1" exhaustion="2000" groups="2,2000" icon="29" needlearn="0" event="script" value="healing/cure poison.lua"/>
<vocation id="2"/>
</instant>

<instant name="Cure Burning" words="exana flam" lvl="30" mana="30" prem="1" aggressive="0" selftarget="1" exhaustion="2000" groups="2,2000" icon="145" needlearn="0" event="script" value="healing/cure burning.lua">
<vocation id="2"/>
</instant>
<instant name="Cure Curse" words="exana mort" lvl="80" mana="40" prem="1" aggressive="0" selftarget="1" exhaustion="2000" groups="2,2000" icon="147" needlearn="0" event="script" value="healing/cure curse.lua">
<vocation id="2"/>
</instant>

And when I start the server:
2qv5ri1.png


If I delete these two lines:
2dkcwm1.png


Then the server starts...
2d85bar.png


Does anyone know how I can make exana pox be casted only for druids?
 
Solution
do you have a /> at the end of the <instant name="Cure Poison" line
you can only have a > or else the extra tags wont be counted and it thinks you closed the tag
do you have a /> at the end of the <instant name="Cure Poison" line
you can only have a > or else the extra tags wont be counted and it thinks you closed the tag
 
Solution
do you have a /> at the end of the <instant name="Cure Poison" line
you can only have a > or else the extra tags wont be counted and it thinks you closed the tag

Actually it's:
<instant name="Cure Poison" words="exana pox" lvl="10" mana="30" aggressive="0" selftarget="1" exhaustion="2000" groups="2,2000" icon="29" needlearn="0" event="script" value="healing/cure poison.lua"/>

So I need to:
<instant name="Cure Poison" words="exana pox" lvl="10" mana="30" aggressive="0" selftarget="1" exhaustion="2000" groups="2,2000" icon="29" needlearn="0" event="script" value="healing/cure poison.lua">
<vocation id="2"/>
</instant>
?
 
Back
Top