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

{
"_id": "vagabondAnceGoblin",
"_key": "!items!vagabondAnceGoblin",
"name": "Goblin",
"type": "ancestry",
"img": "icons/svg/mystery-man.svg",
"system": {
"description": "<p>Goblins are small, cunning creatures who thrive in darkness and refuse. Their ability to see in the dark and resistance to toxins makes them surprisingly resilient survivors.</p>",
"beingType": "cryptid",
"size": "small",
"traits": [
{
"name": "Darksight",
"description": "<p>You can see in darkness as if it were dim light.</p>"
},
{
"name": "Nimble",
"description": "<p>Your base Speed is increased by 5.</p>"
},
{
"name": "Scavenger",
"description": "<p>You gain Favor on saves against the Sickened condition.</p>"
}
]
}
}