ArmorScaling was originally part of AttributeCore. It is built for modpacks where enemy damage keeps scaling upwards, so the natural progression forces players to constantly upgrade their armor sets if they want to survive increasingly brutal hits
ArmorScaling changes how armor reduces damage using a simple rule:
Total defense (the system adds up armor)
Mitigation is calculated from your total defense and the hit size (important part)
That mitigation is applied to the final damage
mitigation = total_defense
─────────────────────────────
total_defense + incoming_damage
final_damage = incoming_damage × (1 − mitigation)
Total defense: 70
Incoming hit: 50
Mitigation: 58.33%
Final damage: 20.83
The hit is closer to your total defense, so mitigation is lower than in the previous case and the final damage goes up.
Total defense: 70
Incoming hit: 80
Mitigation: 46.67%
Final damage: 42.67
Here the hit already exceeds your defense, so the reduction drops a lot more and almost half the damage goes through.
Total defense: 70
Incoming hit: 100
Mitigation: 41.18%
Final damage: 58.82
In this case the incoming damage is way higher than your total defense, so mitigation keeps dropping and the hit lands much harder.