function onUse (cid, item, fromPosition, itemEx, toPosition)
if getPlayerMagLevel(cid) >= 0 then
doCreatureAddHealth(cid, 500)
doCreatureAddMana(cid, 500)
doCreatureSay(cid, "Mana Rune!", TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid, "You don't have enough magic level.")
end
return true
end
I got this script and I need to know how to make it so that when you use the spell, you have the blue magic effect (glimmer) on yourself. I don't know how to do it and don't know where to put it. If anyone can improve this script for me I'll rep+! :thumbup:
if getPlayerMagLevel(cid) >= 0 then
doCreatureAddHealth(cid, 500)
doCreatureAddMana(cid, 500)
doCreatureSay(cid, "Mana Rune!", TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid, "You don't have enough magic level.")
end
return true
end
I got this script and I need to know how to make it so that when you use the spell, you have the blue magic effect (glimmer) on yourself. I don't know how to do it and don't know where to put it. If anyone can improve this script for me I'll rep+! :thumbup: