# Critical Hit Check

In combat, all forms of damage have a chance to critically hit (also known as a "crit"). The likelihood of landing a critical hit depends on two factors: the attacker's **critical hit rate** and the defender's **critical resistance rate**.

#### Critical Hit Calculation:

1. **Critical Hit Rate:**
   * This is primarily determined by the attacker's **Agility** and any related skills, talents, or equipment that increase crit chance.
2. **Critical Resistance Rate:**
   * The defender’s ability to resist critical hits, primarily affected by their **Agility** or defensive traits, skills, or talents.
3. **Final Critical Chance Formula:**&#x20;

**Final Critical Chance = Attacker’s Crit Rate − Defender’s Crit Resistance Rate**

* If the result is positive, it indicates the percentage chance that the attack will be a critical hit.
* If the result is zero or negative, the critical hit is not possible.
* A single attack uses one critical hit check and can only trigger the "on critical hit" keyword once.

#### Example:

* **Attacker's Crit Rate** = 30% (due to high Agility and buffs)
* **Defender's Crit Resistance Rate** = 20% (from talents or equipment)

The **Final Critical Chance** would be:&#x20;

30% - 20% = 10%&#x20;

This means there is a 10% chance that the attacker will land a critical hit.


---

# 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/critical-hit-check.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.
