> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/0x48lab/skills/llms.txt
> Use this file to discover all available pages before exploring further.

# Survival skills

> Athletics, Swimming, Heat Resistance, Cold Resistance, and Endurance — damage reduction formulas and GM immunity effects.

Five survival skills reduce damage from environmental hazards. All five share the same damage reduction formula, and all five grant full immunity at skill 100 (GM).

## Shared damage reduction formula

The plugin uses an internal HP system where all damage is scaled by 10×. The survival skills apply compensation so that the final damage felt matches vanilla expectations at skill 0, and approaches immunity at skill 100.

```
base_reduction  = 0.1             // normalizes 10× internal scale to vanilla-equivalent
skill_reduction = skill × 0.9 %  // max 90 % at skill 100

final_damage = internal_damage × base_reduction × (1 − skill_reduction / 100)
```

| Skill | Effective damage taken          |
| ----- | ------------------------------- |
| 0     | 10 % of internal (≈ vanilla)    |
| 50    | 5.5 % of internal               |
| 100   | \~1 % of internal (near-immune) |

## GM immunity (skill 100)

When a survival skill reaches exactly 100, the damage event is cancelled entirely:

* No damage dealt
* No screen shake
* Special effects apply (see each skill below)

## Athletics

**Reduces:** Fall damage

**Raises when:** You take fall damage

**Difficulty:** Based on fall height (10 – 80)

| Feature          | Detail                                                          |
| ---------------- | --------------------------------------------------------------- |
| Damage reduction | 90 % base + skill × 0.9 %                                       |
| Skill 90+        | Small falls (≤ 6 blocks) have a chance to be completely negated |
| Skill 100 (GM)   | Full immunity — no damage, no screen shake                      |

<Tip>
  To train Athletics you need to take fall damage. Repeatedly falling from moderate heights (3–6 blocks) gives appropriate difficulty for early gains. Taller drops are more efficient but riskier.
</Tip>

## Swimming

**Reduces:** Drowning damage

**Raises when:** You take drowning damage

**Difficulty:** Based on water depth (20 – 50)

| Feature          | Detail                                                |
| ---------------- | ----------------------------------------------------- |
| Damage reduction | 90 % base + skill × 0.9 %                             |
| Air reduction    | Skill / 2 % chance per tick to cancel air bubble loss |
| Skill 80+        | Random chance to gain Water Breathing effect          |
| Skill 100 (GM)   | Full immunity — no drowning damage, no screen shake   |

<Note>
  Swimming raises only from drowning damage, not from simply being underwater or losing air bubbles. You need to actually start taking damage to earn skill gains.
</Note>

## Heat Resistance

**Reduces:** Fire and lava damage

**Raises when:** You take fire or lava damage

**Difficulty by source:**

| Source      | Difficulty |
| ----------- | ---------- |
| On fire     | 20         |
| Magma block | 25         |
| Fire block  | 30         |
| Lava        | 60         |

| Feature          | Detail                                                                           |
| ---------------- | -------------------------------------------------------------------------------- |
| Damage reduction | 90 % base + skill × 0.9 %                                                        |
| Fire duration    | Reduced by skill                                                                 |
| Skill 95+        | Chance to extinguish yourself while on fire                                      |
| Skill 100 (GM)   | Full immunity — damage cancelled and any active fire is immediately extinguished |

<Warning>
  Lava in the Nether provides the highest training difficulty (60) but is extremely dangerous. Carry a Fire Resistance potion and build Heat Resistance through safer fire sources first.
</Warning>

## Cold Resistance

**Reduces:** Freeze damage (from powder snow)

**Raises when:** You take freeze damage

**Difficulty:** 40 (fixed)

| Feature          | Detail                                                                   |
| ---------------- | ------------------------------------------------------------------------ |
| Damage reduction | 90 % base + skill × 0.9 %                                                |
| Freeze buildup   | Reduced by skill                                                         |
| Skill 95+        | Chance to break free from a frozen state                                 |
| Skill 100 (GM)   | Full immunity — damage cancelled and frozen state is immediately cleared |

## Endurance

**Reduces:** Suffocation damage and contact damage (cactus, berry bushes, etc.)

**Raises when:** You take suffocation or contact damage

**Difficulty by source:**

| Source                    | Difficulty |
| ------------------------- | ---------- |
| Contact (cactus, berries) | 15         |
| Suffocation               | 50         |

| Feature          | Detail                                                            |
| ---------------- | ----------------------------------------------------------------- |
| Damage reduction | 90 % base + skill × 0.9 %                                         |
| Skill 90+        | Chance to completely ignore a suffocation damage tick             |
| Skill 100 (GM)   | Full immunity — no suffocation or contact damage, no screen shake |

## Training summary

| Skill           | Best training method                      | Notes                                                                    |
| --------------- | ----------------------------------------- | ------------------------------------------------------------------------ |
| Athletics       | Controlled falls from moderate heights    | 3 – 6 blocks for early gains; higher for later                           |
| Swimming        | Stay underwater until you start drowning  | Depth affects difficulty                                                 |
| Heat Resistance | Stand in fire; approach lava carefully    | Fire (difficulty 30) is safer than lava (60)                             |
| Cold Resistance | Stand in powder snow                      | Fixed difficulty 40 — straightforward                                    |
| Endurance       | Walk through cactus farms or berry bushes | Suffocation (difficulty 50) trains faster but is harder to set up safely |
