feat(AutoArmor): add RawDefense ranking mode for legacy (1.8) PvP
Summary
AutoArmor's default ranking weighs every damage-reduction enchantment — including Fire Protection and Blast Protection — into a single, modern (toughness-aware) damage value. On legacy 1.8 servers (e.g. Hypixel SkyWars/BedWars) this is misleading: those enchantments are treated as if they reduced all incoming damage, so the module can rank, for example, iron with high Fire Protection above plain diamond, even though the diamond is objectively better there.
This PR adds a Mode selector to AutoArmor instead of changing the existing behaviour, so nobody's current setup regresses.
Modes
- Smart (default) — the original behaviour, completely unchanged.
- RawDefense — ranks by total damage reduction under the legacy 1.8 model:
- 1 armor point = a flat 4% reduction, capped at 80%, no toughness, no damage-strength scaling.
- Only Protection and (optionally) Projectile Protection influence the ranking.
- Niche enchantments (Fire/Blast Protection, Thorns, Unbreaking, …) only break exact ties, so they can never out-rank real armor.
RawDefense option
- ConsiderProjectileProtection (default on) — when enabled, Projectile Protection acts as a deciding argument (useful on archer-heavy servers); when disabled it only matters when everything else is equal. It is shown only while RawDefense is selected.
Compatibility
The new mode and considerProjectileProtection are threaded through ArmorEvaluation with SMART as the default, so InvCleaner and AutoArmorSaveArmor keep their exact current behaviour — only AutoArmor reads the new selector.
Testing
./gradlew compileKotlin— passes../gradlew detekt— passes.