nicktm
Otland Helper
In actions.xml add this
And in Data/Actions/Scripts add this and name it manarune.lua
Where it says doPlayerAddMana(cid, 125000), thats where you change the mana, where it says doCreatureSay(cid,"Slayer ManaRune",19)
thats where you change what its gonna say rep ++ if i helped! ~Nick:ninja:
PHP:
<action itemid="2308" script="manarune.lua"/>
And in Data/Actions/Scripts add this and name it manarune.lua
PHP:
function onUse(cid, item, frompos, item2, topos)
mag = getPlayerMagLevel(cid)
if mag >= 0 then
doSendMagicEffect(topos, 14)
doCreatureSay(cid,"Slayer ManaRune",19)
doPlayerAddMana(cid, 125000)
if item.type > 1 then
doChangeTypeItem(item.uid,item.type-1)
end
else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,"You don't have the required magic level to use that rune.")
end
return 1
end
thats where you change what its gonna say rep ++ if i helped! ~Nick:ninja: