This is the original formula from the site I got it from:
Battle Damage
- All variables use x/256. Any decimals that result are rounded down.
+ = Addition (4th)
- = Subtraction (5th)
* = Multiplication (2nd)
/ = Division (3rd)
() = Do whatever inside first (1st)
a > b = a is greater than b
a < b = a is less than b
a >= b : a is greater than or equal to b
a <= b : a is less than or equal to b
a <= x <= b : x is between a and b including a and b.
5 ~20 = an integer between 5 and 20.
- Physical Attack calculations
BP = Basic Point
D = Final damage
AP = Attack Power = (Strength + AP of equipped weapon)
DP = Defensive Power = (Quickness/2) + DP of equipped protectors
BP = (AP-DP/2)/2
If AP-DP/2 >= 0 and AP < DP/2*8/7, then 0 <= D <= AP/16-1
If AP-DP/2 >= 0 and AP > DP/2*8/7, then BP+x (BP/16) *a+b ; a and b
= -1or0or1, x = random number
If AP-DP/2 < 0 and AP < 16, then 0 <= D <= 1
- Group Attack Damage
Damage = D*a
# = Number of monsters
a = variable
# a
1 256/256
2 204/256
3 179/256
4 128/256
5 76/256
6 51/256
7 51/256
8 51/256
This affects group attack weapons and weapons that hit all monsters,
mainly Gringam Whip and Iron Ball of Destruction. These type of weapons
will never deliver a critical blow. If under the influence of the Bikiruto
spell or Power Accumulate skill, then only the first monster is calculated.
- Evasion
If under the influence of the Manusa spell, then Hit Rate is 96/256
If under the influence of the Dazzling Light skill, then Hit Rate is 160/256
If Evasion Clothes is equipped, then Evasion Rate is 64/256
Some monsters have their own evasion rate, so Hit Rate may vary on those
monsters.
- Critical Blow
Damage = AP*a
a = 64/64, 65/64, 66,/64, 67/64, 68,/64, 69/64, 70/64, 71/64, 72,64, 73/64
and 74/64. Pick any one of the 11 choices.
For anyone (non-monster) other than Arena, Critical Blow chance = 4/256
For Arena, If Arena's Level <= 64, then Critical Blow chance = 64/256.
If Arena's Level > 64, then Critical Blow chance = Arena's Level/256. Maximum
Level is 99, so at that level, Arena equipped with Killer Pierce becomes the
one of the strongest weapons around.
If under the influence of the Bikiruto spell, then Critical Blow chance is
0/256.
If under the influence of the Power Accumulate skill, then Damage is not
affected.
If equipped with the Poison Needle, then Critical Blow damage is 1.
If equipped with a group attack weapon, then Critical Blow chance is 0/256.
This is the DM code that I got out of it.
var/damage=0
var/mindamage=(attacker.str-M.def/2)/2
if(chance!=8-round(M.agi/100))
if(attacker.str>M.def/2)
if(attacker.str<M.def/2*8/7)
damage=1
else
damage=round((mindamage/16)*rand(1,-1)+rand(1,-1),1)
damage+=mindamage
else
if(attacker.str<16)
damage=0
if(damage>0)
if( rand( 1, 256) > 4)
damage=round(damage,1)
If anyone has any better translations for the above, please feel free to post it for myself, and any others.
PS: If you never noticed I never put all of the code in, because I only used that little bit of code.
§atans§pawn
Bikiruto is Bikill, right?
Edit: For that matter, what are the spell names in English?