Add POST /api/combat/stuck-weapon-removal endpoint supporting three removal types: attacker (weapon skill roll), self (STR+CON roll), and first-aid (First Aid skill roll). After a special hit with damage through, the attack result UI shows a stuck-weapon card with buttons for each removal option.
1.2 KiB
1.2 KiB
RQ3 Story Tool — To-Do
High priority (mechanics gaps)
- Call
resolveHeadInjury()in the attack handler when a Head hit penetrates armor - Resolve stuck-weapon follow-up after impale/slash special hits (
attemptWeaponRemoval,removeStuckWeaponFromSelf,removeStuckWeaponWithFirstAid)
Medium priority (missing features)
- Build strike-rank round scheduling UI (round counter, Next Round button, SR-ordered action display using
buildStrikeRankSchedule) - Add API routes and UI for the experience/improvement system (
markWeaponExperienceChecked,updateWeaponSkillPercent,applyImprovement)
Low priority (polish)
- Wire up the export reminder modal (show on
beforeunload, hook up Export Now / Leave Anyway / Cancel buttons) - Add
DELETE /api/spell-mappings/:idendpoint and a spell mapping management UI - Add weapon and spell editing forms to NPC stat block view (currently only available for enemies)
Correctness fixes
- Fix
rollOnTableto roll the table's actual dice notation and match the range, instead of picking a flat random row index - Fix
state.dirtybeing set totrueon GET requests
Cleanup
- Remove dead
state.reactionTypefrom frontend state