• 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!

Max Mana

Wutang

Banned User
Joined
Jan 10, 2012
Messages
156
Reaction score
3
Can someone give me a script(action) that adds like 3000 to your maximum mana and health? thanks!
 
Even though this isn't the requests board;

If you want the item to be re-useable:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+3000)
end

Or if you want it to be removed after use:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+3000)
doRemoveItem(item.uid)
end
 
Back
Top