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

Non-Meks in fire hexes #4758

Merged
merged 2 commits into from
Sep 8, 2023
Merged

Non-Meks in fire hexes #4758

merged 2 commits into from
Sep 8, 2023

Conversation

SJuliez
Copy link
Member

@SJuliez SJuliez commented Sep 7, 2023

The way I understand TO:AR pg.41-43, all heat-tracking unit types (Mek, ASF, SC) are treated equally when standing in fire. All of those are not "All Other units" of pg.43 and don't get destroyed on a bad roll. They just suffer heat. This PR implements this.

Fixes #4734

Copy link
Member

@NickAragua NickAragua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved subject to removal of unnecessary dropship check on line 19512.

@@ -19481,6 +19479,11 @@ private void resolveHarJelRepairs() {
* @param coordinates the coordinate location of the fire
*/
private void doFlamingDamage(final Entity entity, final Coords coordinates) {
// TO:AR p.41,p.43
if (entity.tracksHeat() || entity.isDropShip()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't all dropships track heat?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DS technically are not heat-tracking units, since they never use the Heat Scale (even though their weapons usage is limited by heat sink capacity). They are explicitly called out as unaffected by fire in the TO:AR fire rules, however.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tracksHeat() is only true for Meks, ASF and Small Craft. Dropships have an override to return false.

@SJuliez SJuliez merged commit c6d55b0 into MegaMek:master Sep 8, 2023
4 checks passed
@SJuliez SJuliez deleted the #4734 branch October 14, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grounded Aerospace Fighter Burned down.
4 participants