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

Ninja throwing star ability fix #31684

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

godisdeadLOL
Copy link
Contributor

About the PR

Fixed the bug when activating ninja throwing star ability wouldn't spawn a throwing star.

Why / Balance

fixes #31594

Technical details

Throwing star ability has reference to current battery which only changes on NinjaBatteryChangedEvent raised. NinjaBatteryChangedEvent is only called when ninja gloves are activated or suit battery is upgraded which means there was no way to get reference to starting battery. Raising NinjaBatteryChangedEvent on ninja suit equip fixes the problem.

Also, raise NinjaBatteryChangedEvent for both suit and ninja in EnableGloves because NinjaBatteryChangedEvent description says so.

Media

lol.mp4

Requirements

  • I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

🆑 yuitop

  • fix: space ninja throwing star ability now spawns a throwing star

@Emisse Emisse merged commit 34c90cf into space-wizards:master Sep 3, 2024
11 checks passed
@godisdeadLOL godisdeadLOL deleted the ninja-star-fix branch September 3, 2024 06:47
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.

Ninja throwing star ability seems bugged
2 participants