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

How do i add Runes?

Nofus

New Member
Joined
Jul 16, 2009
Messages
415
Reaction score
1
Hello, I want someone to explain me how to add runes, And different kind of runes. one is Healing HP, one is Healing mana, One is shooting SD or something else

I want this because i want to add VIP SD,UH,Mana to my server. Please someone explain DETAILED of how to do this. Thanks.

BTW: I use Armonia 8.54 with Phpmyadmin and i have notepad ++ and i've got gesior tibia website.
 
First, you have to add this line to spells.xml(yourserverpath/data/spells/spells.xml)
Code:
<rune name="What will be the name of your rune" id="id of item" aggressive="0" charges="Number of charges on it" needtarget="1" lvl="x" maglv="x" exhaustion="x" enabled="1" allowfaruse="1" script="script.lua"/>

If you want rune for any kind of vocation delete one which is highlighted on blue:
Code:
<rune name="What will be the name of your rune" id="id of item" aggressive="0" charges="Number of charges on it" needtarget="1" lvl="x" maglv="x" exhaustion="x" enabled="1" allowfaruse="1" script="script.lua"[COLOR="Blue"][B]/[/B][/COLOR]>
under add:
Code:
<vocation id="x"/>
</rune>
where "x" is a number from 0 to 8(if you have epic promotion its 0-12)

And ofc you have to edit your rune script, but this is more powerful lua for you I think, so just use existing one or try edit.

Hope it will help you.

:thumbup:
 
there popped up a problem, I tried to do as you said and i did it and when i start server it says it couldnt load the spells.xml -.-. Here is what i did, You see the Pro SD i wanted to have in the end

<rune name="Firebomb" id="2305" allowfaruse="1" charges="2" lvl="27" maglv="5" exhaustion="2000" blocktype="solid" event="script" value="attack/fire bomb.lua"/>
<rune name="Fire Wall" id="2303" allowfaruse="1" charges="4" lvl="33" maglv="6" exhaustion="2000" blocktype="solid" event="script" value="attack/fire wall.lua"/>
<rune name="Pro SD" id="2308" aggressive="1" charges="10" needtarget="1" lvl="100" maglv="45" exhaustion="900" enabled="1" allowfaruse="1" script="Pro SD.lua"/>

I tried then to copy the normal SD's Script to the one i made, I took the soulfire rune and edited it. So i took the soulfire rune script, deleted all and added the normal SD Script. Help please?
 
Back
Top