Status System: - Add StatusData model with mechanical modifiers (damageDealt, healingReceived) - Add status item sheet with modifier configuration - Add status-bar.hbs for displaying status chips on actor sheets - Status chips show tooltip on hover, can be removed via click - Add 17 status items to compendium (Blinded, Burning, Charmed, etc.) - Frightened applies -2 damage dealt, Sickened applies -2 healing received Attack Roll Changes: - Separate attack and damage into two discrete rolls - Attack hit now shows "Roll Damage" button instead of auto-rolling - Button click rolls damage and updates the chat message in-place - Store weapon/attack data in message flags for later damage rolling - Fix favor/hinder and modifier preset buttons in attack dialog - Show individual damage dice results in chat card breakdown Mechanical Integration: - Add _applyStatusModifiers() to VagabondActor for aggregating status effects - Update getRollData() to include statusModifiers for roll formulas - Update damageRoll() to automatically apply damageDealt modifier - Update applyHealing() to respect healingReceived modifier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"_id": "vagabondStatusSuffocating",
|
|
"name": "Suffocating",
|
|
"type": "status",
|
|
"img": "icons/svg/unconscious.svg",
|
|
"system": {
|
|
"description": "<p>A creature can hold its breath for a number of rounds equal to its Might. After that, it begins Suffocating and takes 1d6 damage at the start of each of its turns until it can breathe again or dies.</p>",
|
|
"icon": "icons/svg/unconscious.svg",
|
|
"changes": [],
|
|
"includesStatuses": [],
|
|
"flags": {
|
|
"cantMove": false,
|
|
"cantRush": false,
|
|
"speedZero": false,
|
|
"crawlOnly": false,
|
|
"cantFocus": false,
|
|
"cantUseActions": false,
|
|
"onlyAttackMoveRush": false,
|
|
"cantSee": false,
|
|
"isVulnerable": false,
|
|
"closeAttacksAutoCrit": false,
|
|
"failsMightDexChecks": false,
|
|
"noMoraleChecks": false,
|
|
"immuneToFrightened": false,
|
|
"cantAttackCharmer": false,
|
|
"reducesItemSlots": false
|
|
},
|
|
"favorHinder": {
|
|
"hinderChecks": false,
|
|
"hinderSaves": false,
|
|
"hinderAttacks": false,
|
|
"favorAgainstChecks": false,
|
|
"favorAgainstSaves": false,
|
|
"favorAgainstAttacks": false,
|
|
"context": ""
|
|
},
|
|
"modifiers": {
|
|
"damageDealt": 0,
|
|
"healingReceived": 0
|
|
},
|
|
"periodic": {
|
|
"trigger": "turnStart",
|
|
"type": "damage",
|
|
"value": "1d6",
|
|
"effectDescription": "Takes 1d6 damage from suffocation"
|
|
},
|
|
"duration": {
|
|
"type": null,
|
|
"value": null,
|
|
"remaining": null
|
|
},
|
|
"stackable": false,
|
|
"maxStacks": 1,
|
|
"reference": "Core Rulebook p.36"
|
|
},
|
|
"effects": [],
|
|
"_key": "!items!vagabondStatusSuffocating"
|
|
}
|