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

Healing Formula 0.4... :s

dukzin

New Member
Joined
Aug 18, 2008
Messages
161
Reaction score
3
I Changed my old TFS 0.3.6 for a TFS 0.4
And i'm having problems with healing spells...

On the old Tfs i used:
function onGetFormulaValues(cid, level, maglevel)
local min = ((level/2)+(maglevel*29))
local max = ((level/2)+(maglevel*30))
return min, max
end

On new Tfs i use:
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 12, 14, 15, 19)

If i use the Old formula on the new Tfs, The spell dont heal..

Have any formula that i can use for calculate level and magic?


Thanks :D
 
This would be the equivalent of the old formula:
Lua:
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 2, 2, 29, 30)
 
Back
Top