getGearReduction
Calculates the gear reduction percentage from gear score vs mob level.
Uses a two-part linear curve:
Below matching (gearScore ≤ mobLevel):
reduction = 0.50 × (gearScore / mobLevel)
Content copied to clipboard
Above matching (gearScore > mobLevel):
reduction = 0.50 + (gearScore - mobLevel) × 0.025
Content copied to clipboard
Key reduction values:
| 0 | any | 0% |
| mobLevel/2 | any | 25% |
| mobLevel | any | 50% |
| mobLevel + 4 | any | 60% |
| mobLevel + 10 | any | 75% (cap) |
| mobLevel + 20 | any | 75% (still capped) |
Return
Gear reduction as a fraction in [0.0, 0.75]
Parameters
gearScore
The player's computed gear score
mobLevel
The attacking mob's level (clamped to min 1 internally)