vagabond-rpg-foundryvtt/module/applications/_module.mjs
Cal Corum 6247004b58 Implement spell casting system with rulebook-accurate mana costs
- Add SpellCastDialog with delivery/duration/damage configuration
- Fix mana cost calculation to match rulebook formula:
  - Effect-only or 1d6 damage-only = 0 mana
  - Both damage AND effect = 1 mana base
  - +1 per extra damage die beyond first
  - +delivery cost (Touch/Remote/Imbue=0, Cube=1, Area=2)
  - Duration has no initial cost (Focus requires maintenance)
- Add "Include Effect" toggle for damage vs effect choice
- Create spell cast chat card template
- Add 20+ i18n strings for spell casting UI
- Create comprehensive Quench tests for mana calculation
- Add Cast Spell macro for testing
- Update CLAUDE.md with NoteDiscovery access instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 20:22:20 -06:00

12 lines
499 B
JavaScript

/**
* Application classes for Vagabond RPG
* @module applications
*/
export { default as VagabondRollDialog } from "./base-roll-dialog.mjs";
export { default as SkillCheckDialog } from "./skill-check-dialog.mjs";
export { default as AttackRollDialog } from "./attack-roll-dialog.mjs";
export { default as SaveRollDialog } from "./save-roll-dialog.mjs";
export { default as SpellCastDialog } from "./spell-cast-dialog.mjs";
export { default as FavorHinderDebug } from "./favor-hinder-debug.mjs";