# Combat Guide: Damage, Hit Chance, Resistance Cap & Ward

> Melvor Idle 2 replaces simple flat Damage Reduction with a tactical three-layer defense system: percentage Resistance (Protection vs Enemy Power, capped at 70% before combat triangle advantage), Ward shielding that blocks debuffs, and flat Armour damage reduction.

## 1. Max Hit, Hit Chance & Area Darkness
Melee and Ranged damage scale primarily with your effective Strength or Ranged level and weapon Strength Bonus. Magic damage scales from your chosen spell's base Max Hit multiplied by your Magic Damage % bonus and Magic level.

Dark combat zones inflict a Darkness Penalty (up to 20 stacks). Each stack reduces your Accuracy and Evasion ratings by 5% until countered with Light sources.

```
Melee / Ranged Max Hit = Floor(22 + EffLv + (EffLv + 17) × StrengthBonus / 64)
Magic Max Hit = Floor(SpellMaxHit × (1 + MagicDmg%) × (1 + (EffLv + 1) / 200))
Effective Darkness = Clamp(Darkness × (1 + %Dark) + FlatDark - Light, 0, 20)
Hit Chance = Acc >= Eva ? (1 - Eva / (2 × Acc)) : (Acc / (2 × Eva))
```

## 2. How Damage Reduction, Ward & Armour Stack
Every incoming hit passes through three sequential defensive layers before reaching your Hitpoints:

First, your Protection Rating reduces damage against the monster's Power Rating (soft-capped at 70%, or pushed higher when you hold Combat Triangle advantage). Next, active Ward absorbs a percentage of the remaining hit equal to Current Ward / Max Ward. Finally, flat Armour subtracts straight damage (minimum 1 damage on any landed hit).

```
Resistance = Clamp(Clamp((Protection / (Power + Protection) + FlatRes) × (1 + %Res), 0, 0.70) × (1 + TriangleBonus), 0, 1)
After Ward = Floor(Floor(Damage × (1 - Resistance)) × (1 - CurrentWard / MaxWard))
Final Damage = Max(1, After Ward - Armour)
```

> **Player Tip: Why Ward Is Essential for Bosses**: As long as you have even 1 point of Ward remaining, you are 100% immune to Stuns, Burns, Bleeds, and Poisons. Standard hits drain 1 Ward charge, while Damage-over-Time ticks bypass Ward.

## 3. Built-in Auto-Eat & Idle Safety
Unlike Melvor Idle 1, Auto-Eat does not need to be bought in the shop—it unlocks automatically at Hitpoints Level 2 (base threshold 25% Max HP, healing up to 25% of your equipped food's heal at 50% efficiency). Keep your Auto-Eat HP threshold above the enemy's highest un-mitigated hit to idle safely.

