Lopaskurwa
Well-Known Member
- Joined
- Oct 6, 2017
- Messages
- 936
- Solutions
- 2
- Reaction score
- 57
Hi
so i have a problem with understanding heal dmg formulas how can i count how much do i get healed or how much do i hit from that spell
So first one is heal
and these two are spell dmg with two different styles made
And why there is no such think as spellDamage="xx" in vocation.xml that would increase spell dmg so its like
meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"
so i have a problem with understanding heal dmg formulas how can i count how much do i get healed or how much do i hit from that spell
So first one is heal
LUA:
function onGetFormulaValues(cid, level, maglevel)
min = (level * 8 + maglevel * 18) * 4.5 - 25
max = (level * 9 + maglevel * 22) * 4.5
if min < 250 then
min = 250
end
return min, max
end
LUA:
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -20.0, 0, -20.1, 0)
LUA:
function onGetFormulaValues(cid, level, maglevel)
min = -((level / 5) + (maglevel * 1.8) + 11)
max = -((level / 5) + (maglevel * 3) + 19)
return min, max
end
And why there is no such think as spellDamage="xx" in vocation.xml that would increase spell dmg so its like
meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"