Combat Formulas
This page covers the core damage, accuracy, and critical hit formulas used by player skills in LifeTO. Individual skill pages calculate their own Skill AP, Base Damage, or Shot Power, then pass it into one of the hit formulas below.
All division and decimal steps round down toward zero (truncate) unless noted otherwise. Elemental bonuses and target resistances are applied after the base hit damage.
Physical Skill HitEdit
Used by physical melee skills once the skill calculates its Skill AP against the target's DP.
Normal hit: \max(0,\ \lfloor \lfloor \text{Skill AP} - 0.75 \times \text{Target DP} \rfloor \times \text{PvP Factor} \rfloor)
Critical hit: \max(1,\ \lfloor \lfloor 1.5 \times \text{Skill AP} - 0.75 \times \text{Target DP} \rfloor \times \text{PvP Factor} \rfloor)
PvE hit chance: \lfloor (\text{AC} - 2.5 \times \text{Target HV} + 40) \times 1.2 \times \text{Hit Ratio} \rfloor\% (capped between 20% and 100%)
PvP hit chance: \lfloor (\text{AC} - \text{Target HV} + 50) \times 1.2 \times \text{Hit Ratio} \rfloor\% (capped between 30% and 90%)
PvP Factor: 1.0 in PvE, 0.3 on PvP maps, 0.5 in 1:1 duels and GvG maps
PvP hit chance: \lfloor (\text{AC} - \text{Target HV} + 40) \times 1.2 \times \text{Hit Ratio} \rfloor\% (capped between 20% and 90%)
PvP Factor: 1.0 in PvE, 0.25 on PvP maps, 0.4 in 1:1 duels and GvG maps
Critical rate uses the shared skill critical roll (5% to 40%, based on AC, LK, and target HV/LK).
Magic Skill HitEdit
Used by magic skills once the skill calculates its Base Damage.
Normal hit: \max\!\left(0,\ \left\lfloor \left\lfloor \frac{\text{Base Damage} \times \text{Effective MA}}{100} - 0.9 \times \text{Target MD} \right\rfloor \times \text{PvP Factor} \right\rfloor\right)
Critical hit: uses \lfloor \text{Base Damage} \times 1.1 \rfloor in place of Base Damage
PvE hit chance: \lfloor (\text{LK} - \text{Target LK} + 90) \times 1.2 \times \text{Hit Ratio} \rfloor\% (capped between 20% and 100%)
PvP hit chance: \lfloor (\text{LK} - \text{Target LK} + 100) \times 1.2 \times \text{Hit Ratio} \rfloor\% (capped between 30% and 90%)
PvP Factor: 1.0 in PvE, 0.3 on PvP maps, 0.5 in 1:1 duels and GvG maps
PvP hit chance: \lfloor (\text{LK} - \text{Target LK} + 90) \times 1.2 \times \text{Hit Ratio} \rfloor\% (capped between 20% and 90%)
PvP Factor: 1.0 in PvE, 0.25 on PvP maps, 0.4 in 1:1 duels and GvG maps
Critical rate uses the shared skill critical roll (5% to 40%, based on AC, LK, and target HV/LK). For dark-element spells cast with Blood Testament's Dark Gauge active, bonus damage equal to \lfloor \text{Damage} \times \text{Dark Gauge Bonus} \rfloor is added afterward.
Gun Skill HitEdit
Used by gun skills with your AC, weapon/skill power, and target HV (minimum 0).
Normal hit: \left\lfloor \max\!\left(0,\ \lfloor ((\text{AC} - 49) \times 20 + \text{Power} + 20) \times \text{Ratio} - \text{Target HV} \times \text{Defense Factor} \rfloor\right) \times \text{PvP Factor} \right\rfloor
Critical hit: \left\lfloor \max\!\left(1,\ \lfloor ((\text{AC} - 49) \times 20 + \text{Power} + 20) \times 1.2 \times \text{Ratio} \times \text{Charged Shot Multiplier} - \text{Target HV} \times \text{Defense Factor} \rfloor\right) \times \text{PvP Factor} \right\rfloor
PvE hit chance: \lfloor (\text{LK} - \text{Target LK} + 90) \times 1.2 \times \text{Hit Ratio} \rfloor\% (capped between 20% and 100%)
Defense Factor: 30 in PvE and PvP
PvP hit chance: \lfloor (\text{LK} - \text{Target LK} + 90) \times 1.2 \times \text{Hit Ratio} \rfloor\% (capped between 20% and 100%)
PvP Factor: 1.0 in PvE, 0.3 on PvP maps, 0.5 in 1:1 duels and GvG maps
Defense Factor: 30 against monsters, 12 against players in PvP
PvP hit chance: \lfloor (\text{LK} - \text{Target LK} + 90) \times 1.2 \times \text{Hit Ratio} \rfloor\% (capped between 20% and 90%)
PvP Factor: 1.0 in PvE, 0.25 on PvP maps, 0.4 in 1:1 duels and GvG maps
Critical rate uses the shared skill critical roll (5% to 40%, based on AC, LK, and target HV/LK). Charged Shot Multiplier defaults to 1.0 unless boosted by Sharp Sense. If a normal gun skill hit results in 0 damage after defense and PvP scaling, it registers as a Miss.
Skill Critical ChanceEdit
Physical, magic, and gun skills share the same critical hit roll, capped between 5% and 40%:
Targets restricted to normal hits only cannot be critically hit unless the attacker is at least 100 levels higher.
PvP Damage MultipliersEdit
Context | Classic | Modern |
|---|---|---|
PvE | 100% (1.0) | 100% (1.0) |
PvP maps | 30% (0.3) | 25% (0.25) |
1:1 duels and GvG maps | 50% (0.5) | 40% (0.4) |
In player-vs-player combat, your damage is also reduced by 1% for each PK kill you have recorded that day, up to a maximum reduction of 5% at 5 or more daily kills.
Resistances and Elemental DamageEdit
Player physical and elemental resistances from equipment, buffs, and fortunes cap at +70%. Monsters have no 70% resistance cap.
Resistances have no lower floor, so negative resistance increases incoming damage.
If a monster's resistance to a skill's element exceeds 100%, the hit deals 0 damage and heals the monster for (\text{Resistance} - 100)\% of the hit's base damage.
Skill hits check only the skill's single element (or Physical Resistance for non-elemental skills; Money-attribute hits ignore all resistances). Normal melee attacks evaluate all 9 attacker elemental properties independently.