mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6731] [Issue]: A bestiary creature's Parry loses its reaction and never answers a hit #3772
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#3772
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/6731
Originally assigned to: @kolacheee on GitHub.
Summary
A creature that a ruleset fight takes from a bestiary catalog loses its
reactionandselfkeys, so a creature's own Parry (added in #6729) never answers a hit. It turns up as an ordinary action on the creature's turn instead, aimed at an enemy.Expected behavior
A bestiary creature whose action carries
reaction: { on: "hit" }andself: truekeeps both in the fight: the action is off its turn menu, and a blow that hits it opens the window where it may parry, exactly as a hand-written stat block with the same action does.Actual behavior
creatureActioninpackages/shared/src/features/ruleset-combat/creatures.tscopies a bestiary action into a stat block key by key and has no line forreactionorself. The fight then sees a plain action on the reaction budget that targets one enemy, so:The C5g lane (
game-ruleset-combat-hit) only builds its parrying creature as a stat block by hand, so it never went through this copy.Steps to reproduce
docs/development/ruleset-5e-2014.example.json) and name its Toll Sergeant from the bestiary:{ creature: { catalogId: "creatures", entryId: "toll-sergeant" } }.reactionis missing and its targets are{ side: "enemy", count: 1 }.Environment
stagingat4629eb913(Capability API 1.46)Logs, screenshots, or video
Found while proving the 5e package release against staging: the bestiary knight's Parry came back as
{"id":"parry","label":"Parry","budget":"reaction","targets":{"side":"enemy","count":1},"kind":"block"}with noreaction.Additional context
The 5e package release (https://github.com/Pasta-Devs/Marinara-Agents/issues/1092) carries six SRD creature Parries (bandit captain, erinyes, gladiator, knight, marilith, noble) and needs this fix to play them.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: