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

Apply primitive armor multiplier to SC/DS free armor from SI #789

Merged
merged 1 commit into from
Oct 4, 2020

Conversation

neoancient
Copy link
Member

See MegaMek/megamek#2299. This corrects the method used by the armor allocation view to display total armor points available and points remaining to be allocated. In researching this I discovered in the IO errata that the points from armor tonnage and SI should be combined before applying the primitive multiplier, rather than separately and rounded before combining, so there's a more general correction here that affects primitive jumpships as well. The fractional amount is retained here and the rounding is applied after the values have been added.

Fixes #752

@github-actions
Copy link

github-actions bot commented Oct 4, 2020

Build scan available at https://gradle.com/s/dc2dnd6qphl72

@github-actions
Copy link

github-actions bot commented Oct 4, 2020

Build scan available at https://gradle.com/s/sdqc5c5lke6nk

@neoancient neoancient merged commit 0c24a1e into master Oct 4, 2020
@neoancient neoancient deleted the primitive_ds_free_armor branch October 4, 2020 20:21
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.

Saving loading Issue with Primitive armor on Dropship
2 participants