vagabond-rpg-foundryvtt/packs/_source/ancestries/dwarf.json
Cal Corum a7862bedd5 Implement class level-up system with Active Effects
- Add level-up dialog (ApplicationV2) showing features gained per level
- Class features with `changes` arrays auto-create Active Effects
- Valor I/II/III on Fighter reduces crit threshold cumulatively (-1/-2/-3)
- Perk selection UI in dialog (awaits perk compendium content)
- Fix duplicate item creation bug (was double drop handling)
- Configure proper dragDrop in ActorSheetV2 DEFAULT_OPTIONS
- Add ancestries and classes compendium packs with LevelDB format
- Docker compose PUID/PGID for proper file permissions

Key patterns established:
- Class progression stored in item.system.progression[]
- Features with changes[] become ActiveEffects on level-up
- applyClassFeatures() is idempotent (checks existing effects)
- updateClassFeatures() handles level changes incrementally

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

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

27 lines
809 B
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>"
},
{
"name": "Sturdy",
"description": "<p>You gain +1 to saves against Fear, Sickened, and Shove effects.</p>"
},
{
"name": "Tough",
"description": "<p>You gain +Level additional maximum HP.</p>"
}
]
}
}