chain-anchor modifier anchors BOTH hands and anchoredHands is never cleared #56
Labels
No labels
blocked:lint-failed
blocked:needs-decision
blocked:no-changes
bug
feature-request
in-progress
milestone
ops-task
quickfix
security/high
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/chainbound#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The chain-anchor modifier (src/engine/modifiers.ts) description says "Locks the current chain state of the targeted hand", but its effect pushes both 'left' AND 'right' into modifierState.anchoredHands. Nothing in the codebase ever clears anchoredHands, so once the modifier resolves (now that EXECUTE_TURN propagates modifierState, commit
0a1fd93), the affected player's hands stop growing for the rest of the match — far beyond the documented 'next spell' window. Fix: anchor only one hand (needs a hand target on the modifier), and clear anchoredHands after one turn of use.