vagabond-rpg-foundryvtt/packs/_source/ancestries/dwarf.json
Cal Corum 06e0dc01c0 Complete P2-P5: Perks, Feature Choices, Ancestry Traits, Caster Progression
- P2: Perks with changes[] arrays create Active Effects on drop/delete
- P3: Feature choice UI for Fighting Style (auto-grants Situational
  Awareness + selected training perk, ignoring prerequisites)
- P4: Ancestry traits apply Active Effects (Dwarf Darksight/Tough working)
- P5: Caster progression accumulates mana from class progression table

Key patterns:
- Manual UUID construction: Compendium.${pack.collection}.Item.${entry._id}
- ignorePrereqs flag for specific choices bypassing all prerequisites
- Mode 5 (OVERRIDE) for boolean senses like darkvision
- Form data merging with direct DOM reading for reliable selection capture

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 14:23:44 -06:00

42 lines
1.1 KiB
JSON
Executable File

{
"_id": "vagabondAnceDwarf",
"_key": "!items!vagabondAnceDwarf",
"name": "Dwarf",
"type": "ancestry",
"img": "icons/svg/mystery-man.svg",
"system": {
"description": "<p>Stout and resilient, dwarves are known for their toughness and resistance to adversity. Their sturdy constitution makes them excellent warriors and craftsmen.</p>",
"beingType": "humanlike",
"size": "medium",
"traits": [
{
"name": "Darksight",
"description": "<p>You can see in darkness as if it were dim light.</p>",
"changes": [
{
"key": "system.senses.darkvision",
"mode": 5,
"value": "true"
}
]
},
{
"name": "Sturdy",
"description": "<p>You gain +1 to saves against Fear, Sickened, and Shove effects.</p>",
"changes": []
},
{
"name": "Tough",
"description": "<p>You gain +3 additional maximum HP.</p>",
"changes": [
{
"key": "system.resources.hp.bonus",
"mode": 2,
"value": "3"
}
]
}
]
}
}