# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://starfall-handbook.rosentica.jp/combat-system/damage-calculation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
