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

real tibia sudden death rune formula( can;t find it)

assassinhunter

moderate gun spriter
Joined
May 31, 2008
Messages
34
Reaction score
0
i need the sudden death formula like it is on rl tibia and i cant find it anywhere and yes i used the search function.

and help would be appreciated.
 
The most similar with the Tibia's SD that I found:

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH)

function onGetFormulaValues(cid, level, maglevel)
    min = -((maglevel * 4.1) + (level / 5) + 62)
    max = -((maglevel * 7.1) + (level / 5) + 62)

    return min, max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

function onCastSpell(cid, var)
    return doCombat(cid, combat, var)
end
 
Back
Top