• 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 Spell formulas tfs 1.3 for slowbrainn

Mr Noxi

Noxus Otserver
Joined
May 13, 2010
Messages
272
Solutions
3
Reaction score
94
Location
Sweden
Hello!

AS the title says..

an example is rage of the skies spells. How would this be calculated ? Based on my lvl 250 sorc with ml 99. If i calculated correct the min dmg should be 1 046. Does that mean that it should not be lower then 1046 DMG for every exevo gran mas vis? Ofc im talking about hitting an mob without any energy resistance /training monk.

If my calculations are incorrect please help me understand this formula, am like the worst when it comes to math..

local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_BIGCLOUDS)
combat:setArea(createCombatArea(AREA_CIRCLE6X6))

function onGetFormulaValues(player, level, maglevel)
local min = (level / 2) + (maglevel * 4) + 150
local max = (level / 5) + (maglevel * 10) + 300
return -min, -max
end

combat:setCallback(CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

function onCastSpell(creature, variant)
return combat:execute(creature, variant)
end
 
Back
Top