- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
13 lines
737 B
Markdown
13 lines
737 B
Markdown
---
|
|
id: 125f34bb-50b9-430c-9261-85fb8e509a30
|
|
type: solution
|
|
title: "Vagabond spell casting system implementation"
|
|
tags: [vagabond-rpg, foundry-vtt, spell-casting, javascript]
|
|
importance: 0.7
|
|
confidence: 0.8
|
|
created: "2025-12-14T02:22:30.526954+00:00"
|
|
updated: "2025-12-14T02:22:30.526954+00:00"
|
|
---
|
|
|
|
Implemented spell casting system (Task 2.8) with rulebook-accurate mana costs. Key formula: effect-only or 1d6 damage = 0 mana, both damage+effect = 1 base, +1 per extra die, +delivery cost. Created SpellCastDialog with damage/effect toggle, delivery/duration selectors, live mana calculation. Added Quench tests for mana calculation. Files: spell-cast-dialog.mjs, spell.mjs calculateManaCost(), spell-cast.hbs templates, spell.test.mjs
|