• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua ACTIONS - Manarune - How to make lower extaush?

M4t30

THE RETURN OF TROLL KINGZ
Joined
Jan 20, 2010
Messages
774
Reaction score
14
Location
127.0.0.1
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:
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
 
Back
Top