Cheeze1
Banned User
Yo OTland Today i gonna show how to Make a Manarune with text [I know its a simple simple script] but for you guys who just dont know xD.....
First Go to data/Action/action.xml add
Then go to Data/Action/scripts and make a Lua File called "Manarune" Add this inside
hope you enjoyd and cya next time
First Go to data/Action/action.xml add
PHP:
<action itemid="2312" script="manarune.lua"/>
PHP:
function onUse(cid, item, frompos, item2, topos)
mag = getPlayerMagLevel(cid)
if mag >= 0 then
doSendMagicEffect(topos,61)
doCreatureSay(cid,"Third Mana!",19)
doPlayerAddMana(cid, 1500)
if item.type > 1 then
end
else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,"You don't have the required magic level to use that rune.")
end
return 1
end