• 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!

[Tutorial] How To Creat Balanced Spells

Black Dove

Web-Developer
Joined
Apr 14, 2010
Messages
129
Reaction score
4
Location
Egypt
Hello, Professionals
Can Any One Explain Me The Codes Of Spells
I Really Can't Understand It

Ex.

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.366, 0, -0.641, 0)

What Is " combat " ? -0.366 Refere To What ?
What Is " COMBAT " ? 0 Refere To What ?
What Is " FORMULA " ? -0.641 Refere To What ?
What Is " LEVELMAGIC " ? 0 Refere To What ?


Hope Anyone Could Teach Me Everything About Spells

All Codes
All Distanceeffects

ThanQ :)
 
Last edited:
Me personally on my server, instead of Trying forever to make spells damage seem similar, i simply made my armor protect you with High- Resistance in %. all in all it makes pvp more balanced. and its easy to do.
 
SetCombatFormula is the function, combat is a parameter, COMBAT_FORMULA_LEVELMAGIC is how will the damage for the spell be calculated, LEVELMAGIC will alter the formula so that it depends on the magic level of the player.

I may be wrong BTW
 
Back
Top