[GH-ISSUE #6712] [Feature]: Game Mode ruleset combat: a reaction that answers an entry being used (counters) #3761

Closed
opened 2026-10-21 06:06:56 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6712

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

A counter cannot be said. An entry can wait for two moments today: aimed (something is about to be done to its holder) and harmed (something just hurt its holder). A counter that stops somebody using something needs neither:

  • It answers a use, not an aim. A counter answers somebody using an entry anywhere it reaches, including a blast aimed at a friend or at nobody. aimed opens only for the targets.
  • It answers only some things. A counter answers entries of one kind (spells, in 5e), not a sword swing. aimed opens for every action, so a counter written on it would call off a weapon attack aimed at its holder.

Because of this the 5e package ships Counterspell as reaction: true, which is inert, and says so in its README.

Proposed solution

One slice of real ruleset combat, one new Capability API minor:

  • A used moment. mechanics.reaction.on: "used": somebody on the other side uses something, anywhere the reaction reaches. Its window opens BEFORE it resolves, for everybody on the other side who holds such a reaction and reaches the user, and a reaction taken there may cancel it, as an aimed one may. When it closes uncancelled, the aimed window opens for the targets as it does today, and then the action resolves.
  • What a reaction answers. mechanics.reaction.against: { catalogs: [...] } on any moment: only an action that comes from an entry of one of those catalogs opens it for this reaction. A weapon row, a stat block's own action, a contest and a standard action have no entry behind them, so they never match.
  • The same rules as every window. Nothing opened inside a window opens another, so a counter still cannot be countered. The log and the window say who is using what and who may answer.
  • Examples. The 5e reference gains Counterspell (a used reaction against spells that cancels), and Ember Roads a knack that smothers another knack.

Not in this slice: a check to counter something bigger, and moments for a save, a death, a turn beginning or a fall. Numbers a reaction changes (Shield's defense) belong to the conditions slice.

Alternatives considered

  • A filter on aimed alone. It would stop the sword-swing problem, but a counter would still only answer what is aimed at its own holder, so it could not protect a friend.
  • Per-system code for Counterspell. The format is never shaped around one game.

Additional context

Next slice of real ruleset combat after contests (#6707), per the plan doc's § Real ruleset combat. The remaining conditions (numbers a condition changes, levels) are the slice after this; a Storyteller combat kind comes last.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @kolacheee on GitHub (Sep 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6712 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? A counter cannot be said. An entry can wait for two moments today: `aimed` (something is about to be done to its holder) and `harmed` (something just hurt its holder). A counter that stops somebody using something needs neither: - **It answers a use, not an aim.** A counter answers somebody using an entry anywhere it reaches, including a blast aimed at a friend or at nobody. `aimed` opens only for the targets. - **It answers only some things.** A counter answers entries of one kind (spells, in 5e), not a sword swing. `aimed` opens for every action, so a counter written on it would call off a weapon attack aimed at its holder. Because of this the 5e package ships Counterspell as `reaction: true`, which is inert, and says so in its README. ## Proposed solution One slice of real ruleset combat, one new Capability API minor: - **A `used` moment.** `mechanics.reaction.on: "used"`: somebody on the other side uses something, anywhere the reaction reaches. Its window opens BEFORE it resolves, for everybody on the other side who holds such a reaction and reaches the user, and a reaction taken there may `cancel` it, as an `aimed` one may. When it closes uncancelled, the `aimed` window opens for the targets as it does today, and then the action resolves. - **What a reaction answers.** `mechanics.reaction.against: { catalogs: [...] }` on any moment: only an action that comes from an entry of one of those catalogs opens it for this reaction. A weapon row, a stat block's own action, a contest and a standard action have no entry behind them, so they never match. - **The same rules as every window.** Nothing opened inside a window opens another, so a counter still cannot be countered. The log and the window say who is using what and who may answer. - **Examples.** The 5e reference gains Counterspell (a `used` reaction against spells that cancels), and Ember Roads a knack that smothers another knack. Not in this slice: a check to counter something bigger, and moments for a save, a death, a turn beginning or a fall. Numbers a reaction changes (Shield's defense) belong to the conditions slice. ## Alternatives considered - A filter on `aimed` alone. It would stop the sword-swing problem, but a counter would still only answer what is aimed at its own holder, so it could not protect a friend. - Per-system code for Counterspell. The format is never shaped around one game. ## Additional context Next slice of real ruleset combat after contests (#6707), per the plan doc's § Real ruleset combat. The remaining conditions (numbers a condition changes, levels) are the slice after this; a Storyteller combat kind comes last. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3761
No description provided.