Skip to content

fix(backend): no-op vinegar throws after same-tick dethrone - #169

Open
Logiar wants to merge 1 commit into
TheExkaliburg:developfrom
Logiar:fix_grapes_sympathy_patch
Open

fix(backend): no-op vinegar throws after same-tick dethrone#169
Logiar wants to merge 1 commit into
TheExkaliburg:developfrom
Logiar:fix_grapes_sympathy_patch

Conversation

@Logiar

@Logiar Logiar commented Feb 27, 2026

Copy link
Copy Markdown

Track dethroned targets per handleEvents cycle so repeated queued throws against an already-dethroned top target are no-ops and only first dethrone removes multi.

@Logiar

Logiar commented Feb 27, 2026

Copy link
Copy Markdown
Author

Hmm. I focused on preventing multiple mult removals, but the way I read your response in the thread about the issue the following throws after the first successful knockdown shouldn't be processed at all. I'll change what I've done and go by that logic instead.

@Logiar
Logiar marked this pull request as draft February 27, 2026 07:58
@Logiar
Logiar force-pushed the fix_grapes_sympathy_patch branch 3 times, most recently from 0a78427 to 8ad06c4 Compare February 27, 2026 08:53
@Logiar
Logiar marked this pull request as ready for review February 27, 2026 08:56
@Logiar

Logiar commented Feb 27, 2026

Copy link
Copy Markdown
Author

Okay, think I'm happy with it now. Changed it so the event shouldn't be processed if the throws target someone who was already successfully thrown.
I considered your suggestion

this might already be fixable by checking rank at the start of the throw logic ^^'

But it always selects the top ranked and the ranking recalculations are done after events are handled. I figured this was the safest approach for now since with a recalculation would be a major change.

@Logiar Logiar changed the title fix(backend): prevent duplicate multi loss in same event tick fix(backend): no-op vinegar throws after same-tick dethrone Feb 27, 2026
Track dethroned targets per handleEvents cycle so repeated queued throws against an already-dethroned top target are no-ops and only first dethrone removes multi. Inline dethroned-target checks in throw handling and keep regression coverage for same-target same-tick and separate tick-set behavior.
@Logiar
Logiar force-pushed the fix_grapes_sympathy_patch branch from 8ad06c4 to bd36ade Compare June 13, 2026 08:54
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.

1 participant