Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add report heading for piloting rolls #4899

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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