Joriku
Working in the mines, need something?
Hello,
I have no clue how to make a manarune calculate healing for Xlevel
For example a level 100 will heal around 1k mana meanwhile a level 1.5k will heal around 1.5k mana, it should depend on the mglvl.
The thing i want is simple to make a fair manarune so the same manarune at level 100 should be the same at level 1000 but with bigger healing but the same fair healing system if i explain it right.
I have no clue how to make a manarune calculate healing for Xlevel
For example a level 100 will heal around 1k mana meanwhile a level 1.5k will heal around 1.5k mana, it should depend on the mglvl.
The thing i want is simple to make a fair manarune so the same manarune at level 100 should be the same at level 1000 but with bigger healing but the same fair healing system if i explain it right.
LUA:
local mana = 500
local color = TEXTCOLOR_YELLOW
function onUse(player, item, fromPosition, target, toPosition)
player:addMana(mana)
player:sendTextMessage(MESSAGE_HEALED, "You have healed ".. mana .. " mana.", player:getPosition(), mana, color)
player:sendMagicEffect(CONST_ME_HOLYAREA)
return true
end