• 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!

Lua Rune help

jeppsonskate

Member
Joined
Apr 3, 2012
Messages
117
Reaction score
18
Location
Sweden
PHP:
<!-- Healing Runes -->
    <rune name="Manarune" id="2294" allowfaruse="1" charges="1" lvl="0" maglv="0" exhaustion="700" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/manarune.lua"/>
    <rune name="Second manarune" id="2270" allowfaruse="1" charges="1" lvl="20" maglv="10" exhaustion="700" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/second mr.lua"/>
       <rune name="spirit manarune" id="2314" allowfaruse="1" charges="1" lvl="50" maglv="22" exhaustion="700" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/vip mr.lua"/>
       <vocation id="1"/>
        <vocation id="5"/>
        <vocation id="2"/>
        <vocation id="6"/>
    <rune name="Antidote Rune" id="2266" allowfaruse="1" charges="1" lvl="15" maglv="0" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/antidote rune.lua"/>
    <rune name="Intense Healing Rune" id="2265" allowfaruse="1" charges="1" lvl="15" maglv="1" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/intense healing rune.lua"/>
    <rune name="Ultimate Healing Rune" id="2273" allowfaruse="1" charges="1" lvl="24" maglv="4" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/ultimate healing rune.lua"/>
    <rune name="spirit uh" id="2275" charges="0" exhaustion="900" aggressive="0" needtarget="0" blocktype="solid" event="script" value="healing/Fanera Uh.lua"/>
       <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="7"/>
        <vocation id="8"/>

    <!-- Summon Runes -->
Hello

I got this script with runes (spells.xml)
I've inserted <vocation id="x"/> only for ek etc. but still all voc can use the rune.. long time ago i did this, so i need a little help. Is there anything more i need to do so only knight can use the rune "spirit uh" |see scrip above|
 
Last edited:
Code:
<rune name="spirit manarune" id="2314" allowfaruse="1" charges="1" lvl="50" maglv="22" exhaustion="700" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/vip mr.lua">
    <vocation id="1"/>
    <vocation id="2"/>
    <vocation id="5"/>
    <vocation id="6"/>
</rune>
<rune name="spirit uh" id="2275" charges="0" exhaustion="900" aggressive="0" needtarget="0" blocktype="solid" event="script" value="healing/Fanera Uh.lua">
    <vocation id="3"/>
    <vocation id="4"/>
    <vocation id="7"/>
    <vocation id="8"/>
</rune>
 
Back
Top