> For the complete documentation index, see [llms.txt](https://starfall-handbook.rosentica.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://starfall-handbook.rosentica.jp/combat-system/damage-calculation.md).

# Damage Calculation

Here are the damage calculation formulas based on the various damage types in your game:

#### 1. **Heavy Weapon Damage:**

Final Damage = (Attacker's Heavy Weapon Power - Defender's Heavy Weapon Resistance) × (1+Damage Modifiers from Skills/Talents)

* **Attacker's Heavy Weapon Power** is influenced by their **Strength** and any relevant buffs or skill modifiers.
* **Defender's Heavy Weapon Resistance** is influenced by their **Strength** and any relevant defensive bonuses.

#### 2. **Light Weapon Damage:**

Final Damage = (Attacker’s Light Weapon Power−Defender’s Light Weapon Resistance) × (1+Damage Modifiers from Skills/Talents)

* **Attacker's Light Weapon Power** is influenced by their **Agility** and any relevant buffs or skill modifiers.
* **Defender's Light Weapon Resistance** is influenced by their **Agility** and any relevant defensive bonuses.

#### 3. **Spell Damage:**

Final Damage = (Attacker’s Spell Power−Defender’s Spell Resistance) x (1+Damage Modifiers from Skills/Talents)

* **Attacker's Spell Power** is influenced by their **Spirit** and relevant buffs.
* **Defender's Spell Resistance** is influenced by their **Spirit** and any defensive modifiers.

#### 4. **Fixed Damage:**

Final Damage = Base Fixed Damage × (1+Damage Modifiers from Skills/Talents)

* **Base Fixed Damage** is a predefined value that is not influenced by the attacker's or defender's stats, only by specific bonuses or reductions from skills or talents.

#### 5. **True Damage:**

Final Damage = Base True Damage × (1+True Damage Increase Modifiers from Skills/Talents)

* **Base True Damage** ignores any form of resistance, reduction, or general damage modifiers, except for specific **True Damage Increase** effects from skills or talents.

#### 6. **Critical Hit Calculation (For All Damage Types):**

If a critical hit occurs (based on critical chance):&#x20;

Critical Damage = Final Damage × (1+Critical Damage Multiplier)

* All damages can crit, including fixed damages and true damages.
