[GH-ISSUE #1081] [Feature]: 5e rules package 0.8.0: reaction moments, spellcasters as sheet creatures, and the checker gates for both #552

Closed
opened 2026-10-20 17:28:31 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

The 5e 2014 rules package (0.7.0, Capability API 1.32) predates two Engine format additions, so its fights leave out things the Engine can now do:

  • Reaction spells never fire. Capability API 1.33 (https://github.com/Pasta-Devs/Marinara-Engine/pull/6608) lets a catalog entry name the moment it waits for. The package still writes reaction: true on every reaction spell, which the Engine puts on no menu, so Counterspell and Hellish Rebuke can never be cast in a fight.
  • SRD spellcasters cast nothing. Capability API 1.34 (https://github.com/Pasta-Devs/Marinara-Engine/pull/6613) lets a bestiary creature carry a sheet in the ruleset's own terms, with its own spell slots and spells. The package's 34 SRD spellcasters (Acolyte, Priest, Mage, Archmage, Lich and others) keep their spellcasting only as a prose trait, so a fight never offers their spells.
  • The package checker has no gate for either. A package using 1.33 or 1.34 keys under an older declaration is not refused here, as the Engine would refuse it.

Proposed package or change

A 0.8.0 release of ruleset-5e-2014 and the matching tooling:

  • Reactions (1.33).
    • Counterspell waits for a spell aimed at its caster and calls it off ({ "on": "aimed", "cancels": true }).
    • Hellish Rebuke answers harm, pointed back at whoever caused it ({ "on": "harmed", "at": "source" }).
    • Shield (it raises AC, a number, and the Engine's conditions are names, not modifiers) and Feather Fall (the Engine has no falling) stay reaction: true, and the README says why.
  • Spellcasters as sheet creatures (1.34).
    • The converter turns each slot-based SRD caster's Spellcasting trait into a sheet: its abilities, AC, hit points, speed, caster level, spellcasting ability, slots per level, and its prepared spells and cantrips as rows of the package's own spell catalog.
    • The printed attacks stay as the creature's own actions.
    • The build fails wherever a sheet-derived number (spell attack, spell save DC, each saving throw) differs from the printed stat block, the same way weapon rows are held to the SRD table today.
    • Innate spellcasting ("3/day each") has no slot to spend, so it stays a trait, and the README says so.
  • Package checker. Gates for 1.33 (an object-valued mechanics.reaction) and 1.34 (a creature carrying a sheet), restating the Engine's own gates.
  • Stale text. The combat block's comment that opportunity attacks are automatic "because nothing opens a reaction window yet" goes: the Engine has opened that window since https://github.com/Pasta-Devs/Marinara-Engine/pull/6525.

Why should this be optional?

It is the optional 5e rules package; the Engine core carries no system.

Alternatives considered

Shipping 1.33 alone first. The casters are the larger half, but they are the payoff of 1.34 for this package, and the Engine side is already merged.

Additional context

Engine work this depends on is merged on staging (Capability API 1.36). Built against the current Engine staging commit.

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 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1081 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? The 5e 2014 rules package (0.7.0, Capability API 1.32) predates two Engine format additions, so its fights leave out things the Engine can now do: - **Reaction spells never fire.** Capability API 1.33 (https://github.com/Pasta-Devs/Marinara-Engine/pull/6608) lets a catalog entry name the moment it waits for. The package still writes `reaction: true` on every reaction spell, which the Engine puts on no menu, so Counterspell and Hellish Rebuke can never be cast in a fight. - **SRD spellcasters cast nothing.** Capability API 1.34 (https://github.com/Pasta-Devs/Marinara-Engine/pull/6613) lets a bestiary creature carry a sheet in the ruleset's own terms, with its own spell slots and spells. The package's 34 SRD spellcasters (Acolyte, Priest, Mage, Archmage, Lich and others) keep their spellcasting only as a prose trait, so a fight never offers their spells. - **The package checker has no gate for either.** A package using 1.33 or 1.34 keys under an older declaration is not refused here, as the Engine would refuse it. ## Proposed package or change A 0.8.0 release of `ruleset-5e-2014` and the matching tooling: - **Reactions (1.33).** - Counterspell waits for a spell aimed at its caster and calls it off (`{ "on": "aimed", "cancels": true }`). - Hellish Rebuke answers harm, pointed back at whoever caused it (`{ "on": "harmed", "at": "source" }`). - Shield (it raises AC, a number, and the Engine's conditions are names, not modifiers) and Feather Fall (the Engine has no falling) stay `reaction: true`, and the README says why. - **Spellcasters as sheet creatures (1.34).** - The converter turns each slot-based SRD caster's Spellcasting trait into a sheet: its abilities, AC, hit points, speed, caster level, spellcasting ability, slots per level, and its prepared spells and cantrips as rows of the package's own spell catalog. - The printed attacks stay as the creature's own actions. - The build fails wherever a sheet-derived number (spell attack, spell save DC, each saving throw) differs from the printed stat block, the same way weapon rows are held to the SRD table today. - Innate spellcasting ("3/day each") has no slot to spend, so it stays a trait, and the README says so. - **Package checker.** Gates for 1.33 (an object-valued `mechanics.reaction`) and 1.34 (a creature carrying a `sheet`), restating the Engine's own gates. - **Stale text.** The combat block's comment that opportunity attacks are automatic "because nothing opens a reaction window yet" goes: the Engine has opened that window since https://github.com/Pasta-Devs/Marinara-Engine/pull/6525. ## Why should this be optional? It is the optional 5e rules package; the Engine core carries no system. ## Alternatives considered Shipping 1.33 alone first. The casters are the larger half, but they are the payoff of 1.34 for this package, and the Engine side is already merged. ## Additional context Engine work this depends on is merged on `staging` (Capability API 1.36). Built against the current Engine `staging` commit. ## 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.
bsakaguchi 2026-10-20 17:28:31 +07:00
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-Agents#552
No description provided.