Closed ObviousTech closed 3 months ago
Thanks for the report. This is actually working as intended.
When using the 'ejected pilots flee' all ejected pilots are considered to have been picked up at the end of the scenario. This was always the case, however there was a single missing line that caused picked up pilots to not be automatically captured. Now that bug has been fixed, you're seeing the expected behavior.
However, that said, I do think there should be some kind of dice-roll here. I'll take a look and see what I can do. Unfortunately, this area of the code is quite old and most definitely haunted. So the amount of changes I can make are somewhat limited.
Addendum to the above: "even those whose units were flagged as Escaped." I missed this line in my original reading. That's definitely a bug.
Closing as resolved (manually closing to make it easier for me to see what issues still need actioning).
Environment
mekhq 0.50 nightly snapshot from 7/20 UTC, downloaded 7/20. ("yesterday"'s, as a new build was posted in the last hour) Windows What java version are you using? Temurin-17.0.12+7 (build 17.0.12+7)
Description
Unsure if specific to AtB, but happens in AtB.
When finishing a megamek scenario, if the player controls the field, it goes through the salvage + capture screens. Normally, there is some roll to determine if each individual person is marked as captured. Some escape, some may be captured, with the rolled I believe modified by the number of hits they took. Currently, except the ones flagged as KIA, all enemy personnel on the board are getting default flagged as Captured, even those whose units were flagged as Escaped.
The relevant AtB rules: AtB Rules 2.32 xls, "Campaign System" tab, lines 839-843
Potentially related options:
Campaign:
Megamek:
Files
all-captured.zip
mekhq save +related megamek save for the pending scenario, just do /victory on the megamek save to complete the scenario, then say you held the field
player name: Septiclover (septi-clover, not septic-lover)