• 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 Custom Spell Damage?

Masterhunta

New Member
Joined
May 26, 2011
Messages
19
Reaction score
0
Hi,
I am trying to make some custom spells, i know how to make everything but I can't seen to figure out what the ratio is dependant on say for example;

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, #1, #2, #3, -#4)

Could anyone tell me what variables #1,2,3,4 are please?

Many thanks!
 
again, it depends on your server version. if you're using 0.3.5 or higher it works like this:
Code:
min = level / #1 + magic * #3
max = level / #2 + magic * #4
 
Back
Top