MegaMek / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.org
128 stars 163 forks source link

[Nightly] Spheroid tech blocks clan techs from Mass/Repair Salvage #4154

Open repligator opened 1 month ago

repligator commented 1 month ago

Environment

2024-06-03T01:14:09.813417422 Linux 17.0.10

Description

Having an elite spheroid tech on staff will prevent elite clan techs from attempting repairs when using Mass Repair. The program is checking the first elite tech it finds, and if that tech can't do it on at a maximum target of 4, it assumes that none of the rest can (See line 705 of MRMSService.java).

Because Spheroid techs have a +2 penalty, it is entirely possible for them to "block" a clan tech from attempting the repair when using Mass Repair. The attached save demonstrates this better than I can explain. Despite multiple available techs who can replace the right torso of the Shadow Cat II at 3 or 4, it will not be repaired.

Files

Spheroid_mech_tech_block.RD307031010728.cpnx.gz

IllianiCBT commented 3 weeks ago

Adding further information to this: the bug doesn't just affect Clan v. IS techs, rather any techs with the same experience level but different modifiers (from SPA, for example) are affected.