Paulix
Active Member
- Joined
- Sep 13, 2012
- Messages
- 151
- Solutions
- 8
- Reaction score
- 36
How can I make so that all my spells use the same formula...
cause if I need to rework some formula damage, i need to edit all spells, i want to have a fixed formula for all spells, does anyone know how i can place this formula somewhere where spells could use it please?
LUA:
function onGetFormulaValues(player, level, magicLevel)
local min = (level / 5) + (magicLevel * 4.5) + 20
local max = (level / 5) + (magicLevel * 7.6) + 48
return -min, -max
end
cause if I need to rework some formula damage, i need to edit all spells, i want to have a fixed formula for all spells, does anyone know how i can place this formula somewhere where spells could use it please?