Mr Noxi
Noxus Otserver
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
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