CRIE issu na pasta ACTIONS\SCRIPTS
function onUse(cid, item, frompos, item2, topos)
mag = getPlayerMagLevel(cid)
if mag >= 1 then
doSendMagicEffect(topos,1)
doPlayerSay(cid,"Ahhhh! q Server rOx!!",16)
doPlayerAddMana(cid, 900000)
if item.type > 1 then
doChangeTypeItem(item.uid,item.type-1)
else
doRemoveItem(item.uid,1)
end
else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,"You don't have the required magic level to use that rune.")
end
return 1
end
NA PASTA ACTION EDIT ACTIONS.XML
essa tag
<action itemid="2296" script="manarune.lua" /> --Manarune - weight= 1.1 -156s--
CRETIDS:BY GM LOLZIN
id da manarune 2296
c vc quiser mudar mude para qualquer outra runa