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

VTOL infantry fixes #4916

Merged
merged 4 commits into from
Nov 28, 2023
Merged

VTOL infantry fixes #4916

merged 4 commits into from
Nov 28, 2023

Conversation

neoancient
Copy link
Member

@neoancient neoancient commented Nov 22, 2023

Fixes four issues with VTOL infantry movement:

  1. Disables the jump button on the movement panel. The jump button gets enabled because infantry use jump MP for VTOL or underwater movement.
  2. getMovementModeAsString() returns VTOL for beast-mounted VTOL infantry rather than trying to assign it a mechanized VTOL movement type.
  3. Allows VTOL infantry with 0 ground movement to move horizontally after changing elevation. Spending MP before the first move to a new hex is treating it like 0* MP foot infantry and disallowing further movement after spending MP.
  4. Use VTOL or UMU mp instead of ground MP as appropriate when Princess calculates possible paths for infantry.

Fixes #4901.

@neoancient neoancient merged commit 0aaf73a into master Nov 28, 2023
4 checks passed
@neoancient neoancient deleted the vtol_infantry branch November 28, 2023 20:13
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.

49.16 - Beast Infantry - Princess Cannot Move Branth Flying infantry
2 participants