BattletechModders / MechEngineer

Mod for BattleTech that introduces many CBT mechanics to the MechLab
GNU Lesser General Public License v2.1
11 stars 21 forks source link

Fixed issue with damage reduction imporoperly displaying in the Mechbay #218

Closed Vek17 closed 3 months ago

Vek17 commented 3 months ago

The durability stat was incorrectly handling damage reduction resulting in it decreasing both the displayed amount of armor and the durability value in the tooltip.

Additionally damage reduction was not being displayed at all.

These changes now allow damage reduction effects on the mech to properly increase the displayed durability, and displays the damage reduction % as part of the durability breakdown. Damage reduction no longer modifies the displayed armor value.