MegaMek / megameklab

MegaMekLab is a BattleTech unit modification program. It allows creating and modifying all unit types available in MegaMek from Support Vehicles up to WarShips. It also allows printing record sheets for single or multiple units.
http://www.megamek.org
83 stars 122 forks source link

Incorrect Calculation for Patchwork Armor. #1516

Open BoloNike opened 1 month ago

BoloNike commented 1 month ago

Environment

Starting MegaMekLab v0.49.19.1 Build Date: 2024-05-10T20:11:07.453164161 Today: 2024-05-27 Origin Project: MegaMekLab Java Vendor: Eclipse Adoptium Java Version: 11.0.22 Platform: Windows 10 10.0 (amd64) System Locale: en_US Total memory available to MegaMekLab: 4 GB

Description

Patchwork Armor is not calculating correctly. Summary shows correct numbers but the Armor tab (and subsequently the final tonnage below) is not showing correct numbers as seen below. image In this picture as compared to last you can see that the "Head" location seems to determine what armor type a mech uses for the "Armor" section. image

Recommend detaching total tonnage from Armor section and using calculations from Summary section. Summary section does correct math for all types of mixed armor

Files

MekLab Log megameklab.log Build with Patchwork armor Charger Elros IS.zip PDF to rebuild from if necessary Charger Elros IS.pdf