vagabond-rpg-foundryvtt/packs/_source/classes/druid.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

87 lines
3.9 KiB
JSON
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_id": "vagabondClsDruid0",
"_key": "!items!vagabondClsDruid0",
"name": "Druid",
"type": "class",
"img": "icons/svg/oak.svg",
"system": {
"description": "<p>Druids are primal mystics who draw power from nature. Their signature ability to shapeshift into beasts makes them versatile combatants who can adapt to any situation.</p>",
"keyStat": "awareness",
"actionStyle": "mysticism",
"zone": "midline",
"trainedSkills": ["mysticism", "brawl", "craft", "detect", "medicine", "survival"],
"startingPack": "<p>Hermit</p>",
"isCaster": true,
"progression": [
{
"level": 1,
"mana": 4,
"castingMax": 0,
"spellsKnown": 4,
"features": ["Primal Mystic", "Feral Shift"]
},
{ "level": 2, "mana": 4, "castingMax": 0, "spellsKnown": 0, "features": ["Tempest Within"] },
{ "level": 3, "mana": 4, "castingMax": 0, "spellsKnown": 1, "features": ["Perk"] },
{ "level": 4, "mana": 4, "castingMax": 0, "spellsKnown": 0, "features": ["Innervate"] },
{ "level": 5, "mana": 4, "castingMax": 0, "spellsKnown": 1, "features": ["Perk"] },
{ "level": 6, "mana": 4, "castingMax": 0, "spellsKnown": 0, "features": ["Ancient Growth"] },
{ "level": 7, "mana": 4, "castingMax": 0, "spellsKnown": 1, "features": ["Perk"] },
{ "level": 8, "mana": 4, "castingMax": 0, "spellsKnown": 0, "features": ["Savagery"] },
{ "level": 9, "mana": 4, "castingMax": 0, "spellsKnown": 1, "features": ["Perk"] },
{ "level": 10, "mana": 4, "castingMax": 0, "spellsKnown": 0, "features": ["Force of Nature"] }
],
"features": [
{
"name": "Primal Mystic",
"level": 1,
"description": "<p>You can Cast Spells using Mysticism. <strong>Spells:</strong> You learn 4 Spells, one of which must always be Polymorph. You learn 1 other Spell every 2 Levels in this Class hereafter. <strong>Mana:</strong> Your Maximum Mana is equal to (4 × your Druid Level), and the highest amount of Mana you can spend to Cast a Spell is equal to (Awareness + half your Druid Level, round up). You regain spent Mana when you Rest.</p>",
"passive": true,
"changes": []
},
{
"name": "Feral Shift",
"level": 1,
"description": "<p>You get the <strong>Shapechanger Perk</strong> and you can take an Action granted by the Beast you turn into as a part of the Cast Action.</p>",
"passive": true,
"changes": []
},
{
"name": "Tempest Within",
"level": 2,
"description": "<p>You reduce Cold, Fire, and Shock damage you take by (half your Druid Level) per damage die.</p>",
"passive": true,
"changes": []
},
{
"name": "Innervate",
"level": 4,
"description": "<p>You can use your Action to give a Close Being some of your Mana, or to end one Status affecting it from either Charmed, Confused, Frightened, or Sickened. This can be yourself.</p>",
"passive": false,
"changes": []
},
{
"name": "Ancient Growth",
"level": 6,
"description": "<p>While you Focus on a Casting of Polymorph that only Targets yourself, you can Focus one additional Spell. Further, your attacks with Beasts you Polymorph into count as (+1) Relics. This bonus increases every 6 Druid Levels hereafter, to a max of (+3).</p>",
"passive": true,
"changes": []
},
{
"name": "Savagery",
"level": 8,
"description": "<p>While you are polymorphed into a Beast, you have a +1 bonus to Armor.</p>",
"passive": true,
"changes": []
},
{
"name": "Force of Nature",
"level": 10,
"description": "<p>If you are reduced to 0 HP, roll a d10. If the result is equal to or lower than your Awareness, you are instead at 1 HP.</p>",
"passive": true,
"changes": []
}
],
"customResource": {}
}
}