mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6728] [Feature]: Game Mode ruleset combat: a moment after an attack hits, and creatures that react #3771
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3771
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?
Originally created by @kolacheee on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6728
Originally assigned to: @kolacheee on GitHub.
What problem does this solve?
Some of the most common reactions in tabletop combat are taken after an attack has hit and before its damage lands:
A ruleset fight has no such moment. The windows it opens are before something is used (
used), before something lands (aimed) and after it has hurt (harmed). An answer taken onaimedhas to be spent before anyone knows whether the attack will hit, so a Shield written that way is wasted on every attack that would have missed. And a creature written in plain numbers cannot hold a reaction at all, so the 5e package keeps every printed Parry as a trait.The conditions slice (#6719) gave conditions the numbers these answers need (a defense bonus, a condition that lasts one attack, one that ends at the start of its holder's turn). What is missing is the moment to take them in.
Proposed solution
One slice of real ruleset combat, one new Capability API minor. None of it names one game's words.
hitmoment.mechanics.reaction.on: "hit": an attack roll has just hit the holder, and its damage has not been dealt. The window opens only for the one who was hit, and only when they hold an answer for it;againstnarrows it by catalog as on every moment. It cannot cancel (the roll has happened), but what the answer does counts for the attack it answers: the roll is checked again against the holder's defense as it now stands, and a hit that no longer reaches it misses. A natural roll that always hits still hits.reactionobject a catalog entry does, andself: truefor one that lands on the creature itself, so a Parry is a creature's own action on thehitmoment that puts a defense bonus on it for one attack.hitmoment only when it turns the hit into a miss, and otherwise let it land.Not in this slice: a moment for being hit by something that makes no attack roll (Shield against Magic Missile), and reducing damage by a rolled amount (Deflect Missiles).
Alternatives considered
aimed. It works, but spends the reaction on attacks that would have missed, which is not the rule.Additional context
Next slice of real ruleset combat after #6719, per the plan doc's § Real ruleset combat. After it: the 5e package release, then a Storyteller combat kind last.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: