vagabond-rpg-foundryvtt/packs/_source/ancestries/human.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

23 lines
694 B
JSON
Executable File

{
"_id": "vagabondAnceHuman",
"_key": "!items!vagabondAnceHuman",
"name": "Human",
"type": "ancestry",
"img": "icons/svg/mystery-man.svg",
"system": {
"description": "<p>Humans are the most common and adaptable of all the peoples. Their knack for learning and strong potential make them capable of excelling in any field.</p>",
"beingType": "humanlike",
"size": "medium",
"traits": [
{
"name": "Knack",
"description": "<p>You gain one Perk and Training in one Skill of your choice.</p>"
},
{
"name": "Strong Potential",
"description": "<p>You gain +1 to one Stat of your choice (maximum 7).</p>"
}
]
}
}