Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Squadron disband damage is not applied correctly #587
Fighters that are destroyed while they are part of squadrons do not have any damage applied. Those that survive have capital scale damage applied as standard scale regardless of whether the aero sanity option is in use. While this does not affect the game in MegaMek, it does affect post-battle resolution in MekHQ and any exported entity list file.
I fixed the issues in doDisbandDamage(). The check for Aero Sanity was incorrectly multiplying the disband damage by 10 with AS on - it only needs to do this when the AS option is off.
Now there's still a problem where the armor after disband damage is being reconverted into Capital Scale as MHQ does battle resolution, so you have to replace ~90% of your armor at standard scale after every battle. Not sure yet whether that's an MM or MHQ problem.