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

0.49.4: VTOLs can get stuck in swamp #3237

Closed
mhjacks opened this issue Nov 6, 2021 · 4 comments · Fixed by #3246
Closed

0.49.4: VTOLs can get stuck in swamp #3237

mhjacks opened this issue Nov 6, 2021 · 4 comments · Fixed by #3246

Comments

@mhjacks
Copy link
Contributor

mhjacks commented Nov 6, 2021

Environment

Fedora Linux 35, openjdk 11.0.13, MegaMek (from MekHQ bundle) 0.49.4

Description

VTOL gets stuck in swamp. Seems like it should...not be able to get stuck. (At least not flying over it)

Files

@mhjacks
Copy link
Contributor Author

mhjacks commented Nov 6, 2021

@mhjacks
Copy link
Contributor Author

mhjacks commented Nov 7, 2021

Maybe an exclusion in getBogDownModifier in Entity.java for VTOL movement mode(s) might be better? Or maybe the isHoverOrWIGE check should also include an isVTOL check?

@mhjacks
Copy link
Contributor Author

mhjacks commented Nov 8, 2021

OK, looking at TacOps p.51 and 62, my reading is that VTOLs that end their turn on the ground in a swamp hex are automatically bogged down (same with WIGEs).

That would suggest to me that a better adjustment would be something more like this:

If (Movement is VTOL or WiGE or Aero) AND (is last step) AND (elevation is 0) then
auto-fail

Am I reading that right, do you think?

@NickAragua
Copy link
Member

Yeah, that's about right. I was just regression testing the other "workflows" in a pull request I'm working on to address this.

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 a pull request may close this issue.

2 participants