M4t30
THE RETURN OF TROLL KINGZ
Hey guys.. Its me again and I need help.. So.. My manarune is scripted in actions and works propely, just i wanna make it heals faster - lower extush..
SCRIPT:
Hope ya' will reply fast GL & HF
SCRIPT:
Code:
function onUse(cid, item, frompos, item2, topos)
mag = getPlayerMagLevel(cid)
if mag >= 3 then
doSendMagicEffect(topos,1)
doCreatureSay(cid,"Donated Manarune!!",19)
doPlayerAddMana(cid, 30000)
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
Hope ya' will reply fast GL & HF