Data management tools for playing BattleTech

feat(unit-rules): equipment whose value depends on the Mek carrying it master

Battle value from 3,206 to 3,410 of 4,294 exact. All of it came from the cluster report rather than from reading the worst-offender list. MegaMek stores Integer.MIN_VALUE where a value depends on the design - a hatchet is worth a fifth of the Mek swinging it, doubled with triple-strength myomer - and helm was discarding that sentinel as a bad number instead of reading it as "work this out". The same sentinel marks variable *size*, which is why a Berserker came out holding seven hatchets: seven slots divided by a size of one. Also: a supercharger carries the MASC flag, so "has MASC" was true for designs with only a supercharger and every one of them got the pair's run multiplier; hardened plate costs a point of movement; and an IndustrialMek with an industrial cockpit has no advanced fire control and is worth nine tenths of its offensive rating. The equipment dump now reads the subtype enums as well as the F_ constants, which is the only thing separating a hatchet from a shield. Change-Id: Id9e5f026c8dfe3bafd777b073648438ab1f5915b


Author permadeath.com Committer Tangled Date Commit 951e2963 Parent adf41599 Change ID Id9e5f02