From 0d0ab701bda2fbf03c7b7f98e202be999d097e21 Mon Sep 17 00:00:00 2001 From: kuronekochomusuke Date: Sat, 18 Nov 2023 13:40:23 -0500 Subject: [PATCH] add report heading for piloting rolls --- megamek/i18n/megamek/common/report-messages.properties | 1 + megamek/src/megamek/server/GameManager.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/megamek/i18n/megamek/common/report-messages.properties b/megamek/i18n/megamek/common/report-messages.properties index 326a55ab745..095660cb8bb 100755 --- a/megamek/i18n/megamek/common/report-messages.properties +++ b/megamek/i18n/megamek/common/report-messages.properties @@ -490,6 +490,7 @@ 3845= jams! 3846=Weapon jams, but no functional weapons remaining. 3850= automatically dismounts due to damage. +3900=Piloting Rolls 4000=Physical Attack Phase------------------- 4005=Physical attacks for () diff --git a/megamek/src/megamek/server/GameManager.java b/megamek/src/megamek/server/GameManager.java index 206eb12e28d..3f301cefc90 100644 --- a/megamek/src/megamek/server/GameManager.java +++ b/megamek/src/megamek/server/GameManager.java @@ -20192,6 +20192,8 @@ private void cleanupDestroyedNarcPods() { */ private Vector resolvePilotingRolls() { Vector vPhaseReport = new Vector<>(); + vPhaseReport.add(new Report(3900, Report.PUBLIC)); + for (Iterator i = game.getEntities(); i.hasNext(); ) { vPhaseReport.addAll(resolvePilotingRolls(i.next())); }