[GH-ISSUE #6719] [Feature]: Game Mode ruleset combat: numbers a condition changes, and levels #3765

Closed
opened 2026-10-21 06:06:59 +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/6719

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

A ruleset's condition can only switch things on from a closed list of effects: advantage, disadvantage, no acting, no walking, and so on. It cannot change a number. That leaves a lot of ordinary tabletop rules unsayable in a ruleset fight:

  • A bonus or a penalty. Shield adds 5 to Armor Class, Bless adds 1d4 to attack rolls and saves, Bane takes 1d4 away, Slow halves speed and Haste doubles it. None of these can be written today, so the 5e package keeps Shield off the menu and says why in its README.
  • Ability checks. Poisoned and Frightened make ability checks harder, and a fight now has checks (contests, #6707), but no effect reaches them.
  • Short durations. Shield lasts until the start of its holder's next turn, but a condition's clock only counts down at the end of its holder's turns, so it would last a turn too long. Vicious Mockery's disadvantage ends after the target's next attack, and Guiding Bolt's advantage after the next attack made against the target. Neither ending can be said.
  • Levels. Exhaustion gets worse in levels: harder checks at 1, half speed at 2, harder attacks and saves at 3, no speed at 5. A sheet can count it on a track, but nothing in a fight reads that track.

The author guide's Not yet section lists all of this ("a condition is a name off a closed list rather than a modifier"; "one that gets worse in levels the way exhaustion does, is a plain record on the sheet today").

Proposed solution

One slice of real ruleset combat, one new Capability API minor. None of it names one game's words.

  • Modifiers on a condition. combat.conditions[].modifiers: each names what it changes (defense, attacks, saves, checks or speed) and by how much: a flat number, dice rolled each time the number is used (minus takes them away), or, for speed only, times 0.5 or 2. saves on the condition narrows save modifiers the way it already narrows save effects. The log shows each modifier beside the roll it changed, with the condition's name, and the menu's chance to hit and chance to win count them.
  • Checks. Two new effects, own-checks-advantage and own-checks-disadvantage, read by the holder's side of a contest.
  • Endings. An applied condition's duration: { rounds, at: "turn-start" } counts down at the start of its holder's turns instead of the end. endsAfter on an applied condition (own-attack, attacked or own-save) takes it off after the first of those.
  • Levels. combat.levels: each entry names a live track, the level it starts at, and the effects and modifiers it adds. While the holder's track is at that level or more, the entry counts as one of their conditions, so levels add up. A level cannot name effects that need a source or that end by themselves (standing up, taking damage).
  • Install gate for every new key, the regenerated JSON Schema, and older lanes stripping the new keys.
  • Examples. The 5e reference gets exhaustion's levels, and checks for Poisoned and Frightened. Ember Roads gets a modifier and a level of its own.

Not in this slice: a moment after an attack hits and before damage (Shield's exact timing, Parry, Uncanny Dodge), which is a slice of its own next; a bonus to the damage its holder deals; a level that lowers the most a character can have or takes them out. The 5e package adopts all of this, Counterspell (#6712) included, in a Marinara-Agents release once the Engine side merges.

Alternatives considered

  • Modifiers on catalog entries instead of on conditions. Every example above is a state that lasts, ends on a clock or a save, and belongs on the sheet, which is what a condition already is. A condition also shows on the sheet, travels out of the fight, and has one place every reader goes through.
  • A numeric level on each condition instead of a track. The 5e sheet already counts exhaustion on a track that a long rest lowers, so reading the track keeps one record.

Additional context

Next slice of real ruleset combat after the used moment (#6712), per the plan doc's § Real ruleset combat. After it: the moment after a hit, 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:

  • 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/6719 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? A ruleset's condition can only switch things on from a closed list of effects: advantage, disadvantage, no acting, no walking, and so on. It cannot change a number. That leaves a lot of ordinary tabletop rules unsayable in a ruleset fight: - **A bonus or a penalty.** Shield adds 5 to Armor Class, Bless adds 1d4 to attack rolls and saves, Bane takes 1d4 away, Slow halves speed and Haste doubles it. None of these can be written today, so the 5e package keeps Shield off the menu and says why in its README. - **Ability checks.** Poisoned and Frightened make ability checks harder, and a fight now has checks (contests, #6707), but no effect reaches them. - **Short durations.** Shield lasts until the start of its holder's next turn, but a condition's clock only counts down at the end of its holder's turns, so it would last a turn too long. Vicious Mockery's disadvantage ends after the target's next attack, and Guiding Bolt's advantage after the next attack made against the target. Neither ending can be said. - **Levels.** Exhaustion gets worse in levels: harder checks at 1, half speed at 2, harder attacks and saves at 3, no speed at 5. A sheet can count it on a track, but nothing in a fight reads that track. The author guide's Not yet section lists all of this ("a condition is a name off a closed list rather than a modifier"; "one that gets worse in levels the way exhaustion does, is a plain record on the sheet today"). ## Proposed solution One slice of real ruleset combat, one new Capability API minor. None of it names one game's words. - **Modifiers on a condition.** `combat.conditions[].modifiers`: each names what it changes (`defense`, `attacks`, `saves`, `checks` or `speed`) and by how much: a flat number, dice rolled each time the number is used (`minus` takes them away), or, for speed only, `times` 0.5 or 2. `saves` on the condition narrows save modifiers the way it already narrows save effects. The log shows each modifier beside the roll it changed, with the condition's name, and the menu's chance to hit and chance to win count them. - **Checks.** Two new effects, `own-checks-advantage` and `own-checks-disadvantage`, read by the holder's side of a contest. - **Endings.** An applied condition's `duration: { rounds, at: "turn-start" }` counts down at the start of its holder's turns instead of the end. `endsAfter` on an applied condition (`own-attack`, `attacked` or `own-save`) takes it off after the first of those. - **Levels.** `combat.levels`: each entry names a live track, the level it starts at, and the effects and modifiers it adds. While the holder's track is at that level or more, the entry counts as one of their conditions, so levels add up. A level cannot name effects that need a source or that end by themselves (standing up, taking damage). - **Install gate** for every new key, the regenerated JSON Schema, and older lanes stripping the new keys. - **Examples.** The 5e reference gets exhaustion's levels, and checks for Poisoned and Frightened. Ember Roads gets a modifier and a level of its own. Not in this slice: a moment after an attack hits and before damage (Shield's exact timing, Parry, Uncanny Dodge), which is a slice of its own next; a bonus to the damage its holder deals; a level that lowers the most a character can have or takes them out. The 5e package adopts all of this, Counterspell (#6712) included, in a Marinara-Agents release once the Engine side merges. ## Alternatives considered - Modifiers on catalog entries instead of on conditions. Every example above is a state that lasts, ends on a clock or a save, and belongs on the sheet, which is what a condition already is. A condition also shows on the sheet, travels out of the fight, and has one place every reader goes through. - A numeric level on each condition instead of a track. The 5e sheet already counts exhaustion on a track that a long rest lowers, so reading the track keeps one record. ## Additional context Next slice of real ruleset combat after the `used` moment (#6712), per the plan doc's § Real ruleset combat. After it: the moment after a hit, 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: - [ ] 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#3765
No description provided.