• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Spell formula

pioncz

New Member
Joined
Dec 3, 2008
Messages
149
Reaction score
1
Hello,
How to make your own formula? There are a few parameters and please tell me what they do and for what can i change them.

setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 3.6, 6)
 
Yeah I'm also interested if anyone experienced could throw in a description of each of these parameters , would be helpful. I already searched and found few results , but I'm seriously confused as every answer seems to differ from the previous one.

:<
 
Oke well I can explain you how the formulas works.

I will explain it with this formula
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 6, 5, 3.6, 6)


And your level and magic level are
lvl 150 and mlvl 70

Than your minimum hit due to your level will be: the first 6 shared by 150 (150/6=25)
The minimum hit according to your level will than be: 3.6 x 70 = 252
You will hit a minimum of: 25 + 252 = 277

It goes the same for the other two numbers (5 and 6), but this will be your maximum hit! Meaning you character will hit between 252 and between the max hit.
Further if you put two more numbers (like 7 and 10) after the current formula. Than you have added the starter damage. This will be the damage that a player will hit if he gets level 0 and magic level 0.

If you got any questions according to spells, you can PM me.
Cykotitan helped me alot with spells, so I am understanding it more and more ;).

Sentielo.
 
@Sentielo hate to bring up old posts but finally a legit explanation....... read thread after thread with long tutorials how this works but didnt understand sh*it and u sum it up in few sentences.. epic, thanks alot!
 

Similar threads

Back
Top