Calculator

Warrior Repair Calculator

Find guaranteed one-step and two-step Warrior Repair paths for reducing an item's maximum durability to a specific target.

Adapted from Sunya's Diablo / DevilutionX Durability Planner v6. Assumes the item is repaired to full durability, damaged by exactly 1 point, then repaired by a Warrior.

Mechanics & Examples

Full Warrior Repair formula:

1. x += clvl + Rnd[clvl]
2. loss = max(floor(MaxDur / (clvl + 9)), 1)
3. MaxDur -= loss
4. Repeat until item becomes fully repaired

Planner simplification:

Fully repair item
→ Damage by exactly 1 durability
→ Use Warrior Repair

With only 1 durability missing:

Missing Durability = 1 ≤ clvl

Therefore exactly one repair cycle is guaranteed and the result becomes deterministic.

Examples:

  • 254 → 245 using clvl 17–19.
  • 254 → 250 using clvl 42–50.
  • 254 → 250 → 245 using clvl 42–50 then clvl 33–41.
  • 246 → 222 using clvl 1.

Only guaranteed outcomes are shown.

Disclaimer & Potential Discrepancies
  • Based on Jarulf's Guide and DevilutionX community research.
  • Assumes exactly 1 durability missing before every Repair use.
  • Searches deterministic one-cycle repairs only.
  • Searches one-step and two-step repair sequences.
  • Does not model Hidden Shrine overflow behavior.
  • Does not model save/reload normalization behavior.
  • Does not model mod-specific code changes.

Thanks to Jarulf's Guide and the DevilutionX community.