fix(rules): exempt retrieve and repair weapon from the disabled hit-point cost

PF1e (CRB, Disabled): a disabled creature can take move actions without further injuring itself. retrieve_weapon and repair_weapon are budget-classified move actions (_ACTION_ECONOMY_MOVE_KINDS) but were absent from _DISABLED_MOVE_KINDS, so a creature at 0 hp paid 1 hp to draw or mend a weapon. Added both kinds to the exempt set.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-09-11 21:22:03 +02:00
parent fa01ed74c5
commit 4f6b076a49
3 changed files with 68 additions and 3 deletions
+11 -1
View File
@@ -195,8 +195,18 @@ _HELPLESS_CONDITION_NAMES: frozenset[str] = frozenset(
# PF1e (CRB, Disabled): at exactly 0 hp a creature takes only a single move
# or standard action (staggered, half speed); move-equivalent and free
# activities are not "strenuous" and cost no hp — everything else does.
# retrieve_weapon / repair_weapon are move actions (CRB: drawing or mending a
# weapon is a move action), so they belong here too.
_DISABLED_MOVE_KINDS: frozenset[str] = frozenset(
{"move", "5foot_step", "stand_up", "drop_prone", "wait"}
{
"move",
"5foot_step",
"stand_up",
"drop_prone",
"wait",
"retrieve_weapon",
"repair_weapon",
}
)
# PF1e (CRB, Combat Maneuver): attempting a combat maneuver provokes an
# attack of opportunity from the target unless the attacker holds the