kevin127
New Member
- Joined
- May 17, 2012
- Messages
- 100
- Reaction score
- 0
I want to have vocation for only Druid, Sorcerer, Paladin! Thanks in Advance!
Code:
function onUse(cid, item, frompos, item2, topos)
mag = getPlayerMagLevel(cid)
if mag >= 0 then
doSendMagicEffect(topos,12)
doPlayerAddMana(cid, 1200)
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