-
Notifications
You must be signed in to change notification settings - Fork 294
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
First pass at adding TAG-phase Torso Twist #5040
First pass at adding TAG-phase Torso Twist #5040
Conversation
Don't pull this one yet, I just realized I started on the code consolidation work before making units that twisted in the TAG phase unable to twist again later that turn. I'll try to get that done tomorrow. While I think the |
Okay, this should be ready to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor adjustment, looks good otherwise.
9486e79
to
4c04b4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the change request resolved I'll go and assume that this is good to go
This PR updates the Offboard / TAG phase to allow turret/torso twisting for units with TAG weapons in accordance with the errata ruling here:
https://bg.battletech.com/forums/index.php?topic=81851.0
, mainly by copying existing code in from
FiringDisplay.java
.This also adds a separate message indicating that the Offboard/TAG phase is distinct from the Indirect Fire Targeting phase.
Testing:
Note: Given how much shared code there is between
TargetingPhaseDisplay.java
andFiringDisplay.java
, I'd like to take a crack at creating an abstract parent class for these two displays. It should reduce total code by a couple thousand lines.