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 for infinite counterattacks at low speed #34689

Merged
merged 1 commit into from
Oct 12, 2019
Merged

Fix for infinite counterattacks at low speed #34689

merged 1 commit into from
Oct 12, 2019

Conversation

Hymore246
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Fix for infinite counterattacks at low speed"

Purpose of change

Fixes #24753
Fixes #25859

Block and Dodge attempts are only renewed when the character can move.

Describe the solution

When the player's turn is processed by the game, it only restores the player's block and dodge attempts if the player have "moves" left. This prevents odd situations where a player with low speed due encumbrance or pain would sudden find themselves performing a large amount of counters between turns.

Testing

This can be tested by crouching and moving around near enemies while using a martial art with a counter.

@KorGgenT KorGgenT added <Bugfix> This is a fix for a bug (or closes open issue) Melee Melee weapons, tactics, techniques, reach attack labels Oct 12, 2019
@ZhilkinSerg ZhilkinSerg merged commit b8830f4 into CleverRaven:master Oct 12, 2019
@Hymore246 Hymore246 deleted the fix-infinite-counters branch October 13, 2019 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) Melee Melee weapons, tactics, techniques, reach attack
Projects
None yet
3 participants