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

Princess Ice & Infantry On Ice Fix #5041

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

Thom293
Copy link
Contributor

@Thom293 Thom293 commented Jan 11, 2024

This PR gives Princess some Cryophobia for Mechs and non-hover land vehicles in her movement planning. Currently, On a map with approximately 50/50 Ice/Land, she would jump and walk mechs onto the ice every turn, and lose many before she ever got to combat. With this change she jumped mechs into the ice Zero times in 10 games. And she will still walk on the ice when forced because she is landlocked. Otherwise she will take a land path around. There is simply no reason to be on Ice as a mech or non-hover ground vehicle except as an absolute last resort.

Also fixes a previously unreported bug related to Infantry and Ice where infantry would not willingly traverse Ice because they were grouped with the "I break the ice" crowd. Moved them to their own "I dont break the ice" group and they now will move across ice. Edited infantry test to reflect new expected value.

Sample savegame attached.

ICET1INFDeployed.sav.gz

Screen 1: Shows post-fix path over ice that Locusts would still take when they deployed landlocked. So it doesnt prevent use of ice entirely.

Screenshot 2024-01-10 101852

Screen 2: Vanilla pre-fix MM screen that shows that infantry that deployed landlocked will remain landlocked the entire game.

Screenshot 2024-01-11 104527

Screen 3: Shows post-fix infantry moving freely over ice from landlocked positions.

Screenshot 2024-01-11 110211

…her movement planning. Currently, On a map with approximately 50/50 Ice/Land, she would jump and walk mechs onto the ice every turn, and lose many before she ever got to combat. With this change she jumped mechs into the ice Zero times in 10 games. And she will still walk on the ice when forced because she is landlocked. Otherwise she will take a land path around. Also fixes an unreported bug related to Infantry and Ice.
@HammerGS
Copy link
Member

Played around with this today, and seems to improve things. Will merge unless anyone has code objections.

@HammerGS HammerGS changed the title Ice & Infantry On Ice Fix Princess Ice & Infantry On Ice Fix Jan 20, 2024
@HammerGS HammerGS merged commit 4580f28 into MegaMek:master Jan 20, 2024
4 checks passed
HammerGS added a commit that referenced this pull request Jan 20, 2024
+ PR #5059: Unit tooltip pilot updates
+ PR #5057: Lobby force updates
+ PR #5041: Princess Ice & Infantry On Ice Fix
@Thom293 Thom293 deleted the IceAndInfantryFix branch January 31, 2024 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants