vagabond-rpg-foundryvtt/packs/_source/classes/bard.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.7 KiB
JSON
Executable File

{
"_id": "vagabondClsBard00",
"_key": "!items!vagabondClsBard00",
"name": "Bard",
"type": "class",
"img": "icons/svg/sound.svg",
"system": {
"description": "<p>Bards are inspiring performers who use their musical talents to empower allies and bewitch enemies. Their well-versed knowledge allows them to master any perk without prerequisites.</p>",
"keyStat": "presence",
"actionStyle": "performance",
"zone": "midline",
"trainedSkills": ["performance"],
"startingPack": "<p>Musician</p>",
"isCaster": false,
"progression": [
{
"level": 1,
"mana": 0,
"castingMax": 0,
"spellsKnown": 0,
"features": ["Virtuoso", "Well-Versed"]
},
{ "level": 2, "mana": 0, "castingMax": 0, "spellsKnown": 0, "features": ["Song of Rest"] },
{ "level": 3, "mana": 0, "castingMax": 0, "spellsKnown": 0, "features": ["Perk"] },
{ "level": 4, "mana": 0, "castingMax": 0, "spellsKnown": 0, "features": ["Starstruck"] },
{ "level": 5, "mana": 0, "castingMax": 0, "spellsKnown": 0, "features": ["Perk"] },
{ "level": 6, "mana": 0, "castingMax": 0, "spellsKnown": 0, "features": ["Bravado"] },
{ "level": 7, "mana": 0, "castingMax": 0, "spellsKnown": 0, "features": ["Perk"] },
{ "level": 8, "mana": 0, "castingMax": 0, "spellsKnown": 0, "features": ["Awe-Inspiring"] },
{ "level": 9, "mana": 0, "castingMax": 0, "spellsKnown": 0, "features": ["Perk"] },
{ "level": 10, "mana": 0, "castingMax": 0, "spellsKnown": 0, "features": ["Encore"] }
],
"features": [
{
"name": "Virtuoso",
"level": 1,
"description": "<p>During Combat, you can use your Action or skip your Move to perform with a Musical Instrument you have Equipped. When you do, your Allies that can hear you gain Favor on certain rolls of your choice until your next Turn: <strong>Inspiration:</strong> Healing rolls (as d6 bonus), <strong>Resolve:</strong> Saves, <strong>Valor:</strong> Attack or Cast Checks.</p>",
"passive": false,
"changes": []
},
{
"name": "Well-Versed",
"level": 1,
"description": "<p>You ignore Prerequisites for Perks, and take a Perk of your choice now.</p>",
"passive": true,
"changes": []
},
{
"name": "Song of Rest",
"level": 2,
"description": "<p>During a Breather while you are not Incapacitated, you and your Allies gain a Studied die and regain additional HP equal to (your Presence + your Bard Level).</p>",
"passive": true,
"changes": []
},
{
"name": "Starstruck",
"level": 4,
"description": "<p>When you perform Virtuoso, you can choose a Near Enemy who hears the performance and make a Performance Check. If you pass, you can choose one of the following Statuses that affects it for Cd4 Rounds: Berserk, Charmed, Confused, Frightened.</p>",
"passive": false,
"changes": []
},
{
"name": "Bravado",
"level": 6,
"description": "<p>Your Will Saves cannot be Hindered while you are not Incapacitated, and you can ignore effects that rely on you hearing them to be affected (such as a banshee's scream).</p>",
"passive": true,
"changes": []
},
{
"name": "Awe-Inspiring",
"level": 8,
"description": "<p>Your Virtuoso now grants two Favor.</p>",
"passive": true,
"changes": []
},
{
"name": "Encore",
"level": 10,
"description": "<p>Your Starstruck Feature can now affect all Near Enemies.</p>",
"passive": true,
"changes": []
}
],
"customResource": {}
}
}