• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Spell paladin rune

Djivar

AKA Wickedviruz
Joined
Sep 28, 2009
Messages
1,641
Reaction score
19
Location
Sweden,edsbyn
Hello, i need help in my ot.

i need help how to script a rune that only paladin/royal paladin can use. the rune is Holy Missile, item id :2295
 
spells.xml
Lua:
    <rune name="Holy Missile" id="2295" allowfaruse="1" charges="5" lvl="27" maglv="4" exhaustion="2000" needtarget="1" blocktype="solid" event="script" value="attack/holy missile.lua">
        <vocation id="3"/>
        <vocation id="7" showInDescription="0"/>
    </rune>

Lua:
<conjure name="Holy Missile" words="adori san" lvl="27" mana="350" soul="3" prem="1" reagentId="2260" conjureId="2295" conjureCount="5" exhaustion="1000" needlearn="0" event="function" value="conjureRune">
        <vocation id="3"/>
        <vocation id="7"/>
    </conjure>

hmm this is nonsense, tfs has it like that by default
 
Last edited:
Ty man, byt my server is fucked up, i have reconfiguerd it and re install it and changes some c++ files so it works :S
 
Back
Top