Skip to content

Commit

Permalink
Merge pull request #4899 from kuronekochomusuke/reportPilotingRollsHe…
Browse files Browse the repository at this point in the history
…ading

add report heading for piloting rolls
  • Loading branch information
neoancient authored Nov 18, 2023
2 parents e881707 + 0d0ab70 commit 13f90dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions megamek/i18n/megamek/common/report-messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@
3845=<font color='C00000'><data> jams!</font>
3846=<font color='C00000'>Weapon jams, but no functional weapons remaining.</font>
3850=<data> automatically dismounts due to damage.
3900=Piloting Rolls

4000=<newline><B>Physical Attack Phase</B><newline>-------------------
4005=<newline><B>Physical attacks for <data> (<data>)</B>
Expand Down
2 changes: 2 additions & 0 deletions megamek/src/megamek/server/GameManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -20192,6 +20192,8 @@ private void cleanupDestroyedNarcPods() {
*/
private Vector<Report> resolvePilotingRolls() {
Vector<Report> vPhaseReport = new Vector<>();
vPhaseReport.add(new Report(3900, Report.PUBLIC));

for (Iterator<Entity> i = game.getEntities(); i.hasNext(); ) {
vPhaseReport.addAll(resolvePilotingRolls(i.next()));
}
Expand Down

0 comments on commit 13f90dd

Please sign in to comment.