[GH-ISSUE #1092] ruleset-5e-2014: adopt Engine combat through Capability API 1.46 (contests, counters, condition numbers, the moment after a hit) #557

Closed
opened 2026-10-20 17:28:34 +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-Agents/issues/1092

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

The 5e package (0.8.0) is built on Engine Capability API 1.34. Since then the Engine's ruleset combat has learned what several of the package's most common rules need, and the package still writes them as plain records or leaves them out:

  • Grapple and shove are narration only. The Engine now resolves contests (Capability API 1.43, Pasta-Devs/Marinara-Engine#6707).
  • Counterspell is reaction: true, which is on no menu. The Engine can now answer a spell being cast (1.44, Pasta-Devs/Marinara-Engine#6712).
  • Bless, Bane, Shield of Faith, Haste, Slow, Blur, Faerie Fire, Longstrider, Ray of Frost, Vicious Mockery's disadvantage and Guiding Bolt's advantage carry no effect at all, and exhaustion does nothing in a fight. Conditions can now change numbers, end after one attack, and come in levels (1.45, Pasta-Devs/Marinara-Engine#6719). Poisoned and Frightened do not yet make ability checks harder.
  • Shield, Uncanny Dodge and every creature's Parry need the moment after an attack hits and before its damage, and a creature that can react. Both exist now (1.46, Pasta-Devs/Marinara-Engine#6728). The six SRD creatures that print a Parry lose it entirely today: the converter drops every printed reaction, although the README says they are kept as traits.

Proposed solution

Release 0.9.0 of ruleset-5e-2014 on Capability API 1.46, built against Engine staging:

  • Contests: the combat block's checks (Athletics and Acrobatics) and the four SRD contests (grapple, shove prone, shove away 5 feet, escape a grapple). Every bestiary creature gets its own checks from its printed Athletics and Acrobatics, or its Strength and Dexterity modifiers where it prints none.
  • Reactions: Counterspell on used, answering spells only, calling them off. Shield and Uncanny Dodge on hit, and each printed Parry as the creature's own reaction with its printed bonus. Every other printed creature reaction is kept as a trait, as the README already says.
  • Conditions: the spell effects above as conditions with the numbers the SRD gives, exhaustion's levels, and harder checks for Poisoned and Frightened. Each is checked against the SRD sentence it comes from, the way the converter already checks spell riders.
  • The package's own gate checks (scripts/ruleset-package-checks.mjs) restate the Engine's 1.43 to 1.46 gates, and the ruleset regression covers them.
  • README (what is still not resolved, and why), CHANGELOG, and a description that no longer lists Counterspell and Shield as missing.

Still not resolved, and said so in the README: Counterspell against a spell above its slot (no check), Shield against Magic Missile, Haste's extra action, Slow's one-attack limit, Feather Fall, and the parts of each spell a fight cannot read.

Alternatives considered

Releasing each Engine slice's adoption separately. One release keeps the package's changelog readable and needs one install test.

Additional context

The Engine side is merged on staging (Pasta-Devs/Marinara-Engine#6710, #6715, #6723, #6729). Built from the same pinned Open5e srd-2014 fixtures as 0.8.0.

Originally created by @kolacheee on GitHub (Sep 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1092 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? The 5e package (0.8.0) is built on Engine Capability API 1.34. Since then the Engine's ruleset combat has learned what several of the package's most common rules need, and the package still writes them as plain records or leaves them out: - **Grapple and shove** are narration only. The Engine now resolves contests (Capability API 1.43, Pasta-Devs/Marinara-Engine#6707). - **Counterspell** is `reaction: true`, which is on no menu. The Engine can now answer a spell being cast (1.44, Pasta-Devs/Marinara-Engine#6712). - **Bless, Bane, Shield of Faith, Haste, Slow, Blur, Faerie Fire, Longstrider, Ray of Frost, Vicious Mockery's disadvantage and Guiding Bolt's advantage** carry no effect at all, and **exhaustion** does nothing in a fight. Conditions can now change numbers, end after one attack, and come in levels (1.45, Pasta-Devs/Marinara-Engine#6719). **Poisoned** and **Frightened** do not yet make ability checks harder. - **Shield, Uncanny Dodge and every creature's Parry** need the moment after an attack hits and before its damage, and a creature that can react. Both exist now (1.46, Pasta-Devs/Marinara-Engine#6728). The six SRD creatures that print a Parry lose it entirely today: the converter drops every printed reaction, although the README says they are kept as traits. ## Proposed solution Release 0.9.0 of `ruleset-5e-2014` on Capability API 1.46, built against Engine staging: - **Contests:** the combat block's `checks` (Athletics and Acrobatics) and the four SRD contests (grapple, shove prone, shove away 5 feet, escape a grapple). Every bestiary creature gets its own checks from its printed Athletics and Acrobatics, or its Strength and Dexterity modifiers where it prints none. - **Reactions:** Counterspell on `used`, answering spells only, calling them off. Shield and Uncanny Dodge on `hit`, and each printed Parry as the creature's own reaction with its printed bonus. Every other printed creature reaction is kept as a trait, as the README already says. - **Conditions:** the spell effects above as conditions with the numbers the SRD gives, exhaustion's levels, and harder checks for Poisoned and Frightened. Each is checked against the SRD sentence it comes from, the way the converter already checks spell riders. - **The package's own gate checks** (`scripts/ruleset-package-checks.mjs`) restate the Engine's 1.43 to 1.46 gates, and the ruleset regression covers them. - README (what is still not resolved, and why), CHANGELOG, and a description that no longer lists Counterspell and Shield as missing. Still not resolved, and said so in the README: Counterspell against a spell above its slot (no check), Shield against Magic Missile, Haste's extra action, Slow's one-attack limit, Feather Fall, and the parts of each spell a fight cannot read. ## Alternatives considered Releasing each Engine slice's adoption separately. One release keeps the package's changelog readable and needs one install test. ## Additional context The Engine side is merged on staging (Pasta-Devs/Marinara-Engine#6710, #6715, #6723, #6729). Built from the same pinned Open5e `srd-2014` fixtures as 0.8.0.
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#557
No description provided.