vagabond-rpg-foundryvtt/packs/_source/ancestries/halfling.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
816 B
JSON
Executable File

{
"_id": "vagabondAnceHalfli",
"_key": "!items!vagabondAnceHalfli",
"name": "Halfling",
"type": "ancestry",
"img": "icons/svg/mystery-man.svg",
"system": {
"description": "<p>Small but surprisingly lucky, halflings are nimble folk who can slip through tight spaces and always seem to land on their feet. Their natural good fortune is legendary.</p>",
"beingType": "humanlike",
"size": "small",
"traits": [
{
"name": "Nimble",
"description": "<p>Your base Speed is increased by 5.</p>"
},
{
"name": "Squat",
"description": "<p>You can move through spaces occupied by larger creatures.</p>"
},
{
"name": "Tricksy",
"description": "<p>When you take a Rest, you regain +1 additional Luck.</p>"
}
]
}
}