• 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 to create new runes?

wicho19

New Member
Joined
Jul 17, 2012
Messages
3
Reaction score
0
how could i create new runes such as mana rune, attack runes, etc? please help! (scripts or anything i need)
 
Go to your data folder, enter spells folder, open spells.xml and add to the lines etc :

Lua:
<rune name="Monster" id="2314" allowfaruse="1" charges="3" lvl="14" maglv="0" exhaustion="2000" blocktype="solid" event="script" value="attack/monsterrune.lua"/

And then you can add the script in the folder scripts/attack folder make new file call it monsterrune.lua
Then add something, etc:

Lua:
local monster = Demon

function onCastSpell(cid, var)
    doPlayerSendTextMessage(cid,19,"You have asd points on your account!")
	 doSummonCreature(monster, toPosition)
	return 
end

Just an example
 
For mana runes you can search in Otland/google, there are alot of those released.
First page google:
http://otland.net/f81/mana-rune-63181/
http://otland.net/f81/basic-manarune-based-upon-level-magic-level-99982/
http://otland.net/f81/manarune-heals-maxmana-160273/
http://otland.net/f82/mana-rune-intense-mana-rune-ultimate-mana-rune-169641/
http://otland.net/f81/ultimate-manarune-health-rune-actions-vocations-139267/
http://otland.net/f16/manarune-script-27233/
http://otland.net/f82/manarune-7117/
http://otland.net/f81/manarune-text-simple-158805/

For other kind of runes, like attack runes, you can copy/paste an other rune, add it the same way in spells.xml and change it the way you want.
You can look in 100-constant.lua/global.lua for different damage types and effects.
 
Last edited:
Back
Top