Here are the complete damage/resistance formulas for physical and magical classes. Please know that the attack and defense of monsters are calculated the same way.
Physical ATKThe attributes STR/HLT are needed for calculating the Attack amount
Calculation of Min/Max PATKMinMaxAtkUp = (STRUp * 1.5) + (HLTUp / 6.0)
MinPAtk = FinalWeaponPAtkMin + MinMaxAtkUp
MaxPAtk = FinalWeaponPAtkMax + MinMaxAtkUp
Calculation of Skill DamageIf the description states: Weapon Physical Attack, the skill damage is calculated from a random value between the weapon's base Min/Max Patk.
Calculation of resulting DamageBonusDamage = (StrUp * 2.0) + (CharLevel * 6.0)
FinalDamage = (MinPAtk…MaxPAtk) + BonusDamage + SkillDamage
ExampleGiven are the following amounts:
STRUp = 302
HLTUp = 421
FinalWeaponPAtkMin = 6265
FinalWeaponPAtkMax = 16572
BaseWeaponPAtkMin = 1858
BaseWeaponPAtkMax = 4678
CharLevel = 75
Skill = "Weapon Physical Attack 150.0% + 220"
Calculation:MinMaxAtkUp = (302*1.5) + (421 / 6) = 453 + 70 = 523
MinPAtk = 6265 + 523 = 6788
MaxPAtk = 16572 + 523 = 17095
SkillDamage = (1858…4678) * 150.0% + 220 = (1858…4678) * 1.5 + 220 = (2787…7017) + 220
BonusDamage = (302 * 2.0) + (75 * 6.0) = 604 + 450 = 1054
FinalDamage = (6788…17095) + 1054 + (2787…7017) + 220 =
= (10849…25386)
Please keep in mind that this basic calculation does not take modifiers on items/skills into account. It's the purely basic calculation.Magical ATKThe attribute INT is needed for calculating the Attack amount
Calculation of Min/Max MATKMinMaxAtkUp = log10(INTUp) * INTUp The calculation is based on a base-10 logarithm
MinPAtk = FinalWeaponPAtkMin + MinMaxAtkUp
MaxPAtk = FinalWeaponPAtkMax + MinMaxAtkUp
Calculation of Skill DamageIf the description states: Weapon Magic Attack, the skill damage is calculated from a random value between the weapon's base Min/Max Matk.
Calculation of resulting DamageBonusDamage = 0
FinalDamage = ((MinMAtk…MaxMAtk) * 1.5) + BonusDamage + SkillDamage
ExampleGiven are the following amounts:
INTUp = 558
FinalWeaponMAtkMin = 4640
FinalWeaponMAtkMax = 12459
BaseWeaponMAtkMin = 1370
BaseWeaponMAtkMax = 3598
Skill = "Weapon Magic Attack 150.0% + 220"
Calculation:MinMaxAtkUp = log10(558) * 558 = 1532
MinMAtk = 4640 + 1532 = 6172
MaxMAtk = 12459 + 1532 = 13991
SkillDamage = (1370…3598) * 150.0% + 220 = (1370…3598) * 1.5 + 220 = (2055…5397) + 220
BonusDamage = 0
FinalDamage = ((6172…13991) * 1.5) + 0 + (2055…5397) + 220 =
= (11533…26603)
Please keep in mind that this basic calculation does not take modifiers on items/skills into account. It's the purely basic calculation.Physical DEFThe attributes STR/HLT/AGI are needed for calculating the Defense amount
Calculation of Bonus PDEFDefenseUP = STRUp * 0.8 + HLTUp * 0.4 + AGIUp * 0.2
Calculation of resulting DefenseFinalDefense = Pdef of all Items/Skills + DefenseUp
Example of DefenseUP:Given are the following amounts:
STRUp = 165
HLTUp = 359
AGIUp = 190
DefenseUP = (165 * 0.
+ (359 * 0.4) + (190 * 0.2) = 132 + 143.6 + 38 = 313
The DefenseUP value can be seen as "Character Default" at the stat tooltip for DEF in the character viewMagical DEFThe attribute INT is needed for calculating the Defense amount
Calculation of Bonus MDEFDefenseUP = ((INTUp * 1.2) + (INTUp * (CharLevel / 100))) * 2.0
Calculation of resulting DefenseFinalDefense = Mdef of all Items/Skills + DefenseUp
Example of DefenseUP:Given are the following amounts:
INTUp = 558
CharLevel = 76
DefenseUp = ((558 * 1.2) + (558 * (76 / 100))) * 2.0 = (669.6 + (558 * 0.76)) * 2.0
= (669.6 + 424.08) * 2.0 = 1093.68 * 2.0 = 2187
The DefenseUP value can be seen as "Character Default" at the stat tooltip for MDEF in the character view