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

Fix Ythotha being able to move backwards #6466

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

lL1l1
Copy link
Contributor

@lL1l1 lL1l1 commented Sep 29, 2024

Issue

Ythotha can walk backwards (with 2.5 speed at that) which is obviously overpowered and also looks very weird.

chicken.backwards.walk.mp4

Description of the proposed changes

Set its reverse speed to 0 so it cannot walk backwards.

Testing done on the proposed changes

Spawn it and confirm it cannot walk backwards when given move orders near close behind it.

   CreateUnitAtMouse('xsl0401', 0,    0.00,    0.00,  0)

Additional context

BackUpDistance gets a default value from the engine, but I'm not sure how it is calculated, so I didn't add a comment in the annotation about it.

Checklist

  • Changes are annotated, including comments where useful
  • Changes are documented in the changelog for the next game version

@lL1l1 lL1l1 added type: bug area: balance related to units balance area: unit-blueprint related to issues in unit blueprints (*_unit.bp) labels Sep 29, 2024
@lL1l1 lL1l1 marked this pull request as ready for review September 29, 2024 21:53
Copy link
Collaborator

@Basilisk3 Basilisk3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works. This is an important change, as the bug makes the Ythotha too powerful. Setting the BackUpDistance to 0 also fixed the bug for me, but I am not sure if it is the preferred solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: balance related to units balance area: unit-blueprint related to issues in unit blueprints (*_unit.bp) type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants