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

[fixed] Archer could continue stabbing or charging Arrow while attached & [fixed] wrong charge cursor for Knight and Archer while attached #2025

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mugg91
Copy link
Contributor

@mugg91 mugg91 commented Apr 17, 2024

Status

  • IN DEVELOPMENT
  • This PR doesn't incorporate other PRs merged in since the current live build

Description

[fixed] Archer continued to charge Arrow when sleeping in a quarters
[fixed] Archer's stabbing state could continue after sleeping in a quarters
[fixed] Archer's cursor frame didn't reset when Archer got attached
[fixed] Knight cursor frame didn't reset when Knight got attached

Fixes #2024
Fixes #2018

This PR makes fixes to ArcherLogic.as so Archer won't be able to charge Arrows "in their sleep".
It was also possible to press Action_2 to start stabbing a log, quickly start sleeping, and then Archer would fletch an arrow even when not pressing any keys.

When getting attached while charging, the cursor frame kept the charging meter. After this PR it will reset to indicate there is no charging.

KnightLogic.as was changed to fix an issue with the charge cursor having the wrong frame when getting attached while charging.

Please note this PR doesn't incorporate other PRs merged in since the current live build 4541. I might try to incorporate that in the future. For now I'm focusing on getting things to work based on the live build.

Please note this PR doesn't fix Knight's double slash bug. For that please see: #1839

Tested in offline and online.

@mugg91 mugg91 changed the title [fixed] Archer could continue stabbing or charging Arrow after getting attached [fixed] Archer could continue stabbing or charging Arrow while attached & [fixed] wrong charge cursor for Knight and Archer while attached Apr 19, 2024
- removed empty lines
- removed unused variables
- getNet().(...) changed to .(...)
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.

Archer can charge while sleeping the bug with boat and the double slash
1 participant