From 99d5f0d02914939ba1dce68c20bf47f12b19dfdc Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 21 Dec 2023 18:01:38 +0100 Subject: [PATCH] TestProtomech: correct max armor values (IO error, see errata for the original IO) --- .../src/megamek/common/verifier/TestProtomech.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/megamek/src/megamek/common/verifier/TestProtomech.java b/megamek/src/megamek/common/verifier/TestProtomech.java index be487fe2920..85a27bf1635 100644 --- a/megamek/src/megamek/common/verifier/TestProtomech.java +++ b/megamek/src/megamek/common/verifier/TestProtomech.java @@ -780,7 +780,7 @@ public static int maxArmorFactor(Protomech proto, int location) { || (location == Protomech.LOC_RARM)) { if (proto.isQuad()) { return 0; - } else if (proto.getWeight() < 3) { + } else if (proto.getWeight() < 6) { return 2; } else if (proto.getWeight() < 10) { return 4; @@ -789,15 +789,6 @@ public static int maxArmorFactor(Protomech proto, int location) { } } else if (location == Protomech.LOC_BODY) { return 0; - } else if (proto.isQuad()) { - switch ((int) proto.getWeight()) { - case 3: - return 12; - case 4: - case 5: - return 14; - // else drop through - } } return proto.getOInternal(location) * 2; }