vagabond-rpg-foundryvtt/packs/_source/ancestries/draken.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
1.0 KiB
JSON
Executable File

{
"_id": "vagabondAnceDraken",
"_key": "!items!vagabondAnceDraken",
"name": "Draken",
"type": "ancestry",
"img": "icons/svg/mystery-man.svg",
"system": {
"description": "<p>Draken are dragon-blooded humanoids with scales, claws, and the ability to breathe elemental energy. Their draconic heritage grants them natural armor and resistance to one damage type.</p>",
"beingType": "cryptid",
"size": "medium",
"traits": [
{
"name": "Breath Attack",
"description": "<p>As an Action, you can breathe elemental energy in a 15-foot cone, dealing 2d6! damage of your chosen type (fire, cold, shock, or acid, chosen at character creation). Targets may make a Reflex save to take half damage.</p>"
},
{
"name": "Scale",
"description": "<p>Your natural scales grant you +1 Armor.</p>"
},
{
"name": "Draconic Resilience",
"description": "<p>You take half damage from one damage type of your choice (matching your breath weapon).</p>"
}
]
}
}