Implements Phase 2 foundational components: - VagabondActor document class with item management, resource tracking, damage/healing, rest mechanics, and combat helpers - VagabondItem document class with chat card generation and item usage - Comprehensive dice rolling module (d20 checks, skill/attack/save rolls, damage with crit doubling, countdown dice, morale checks) - Quench tests for all dice rolling functions Fixes Foundry VTT v13 compatibility issues: - Add documentTypes to system.json declaring valid Actor/Item types - Fix StringField validation errors by using nullable/null pattern instead of blank string choices for optional fields - Update actor tests to use embedded documents for slot calculations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
292 B
JavaScript
20 lines
292 B
JavaScript
/**
|
|
* Vagabond RPG Dice Module
|
|
*
|
|
* Central export point for all dice rolling functions.
|
|
*/
|
|
|
|
export {
|
|
d20Check,
|
|
skillCheck,
|
|
attackCheck,
|
|
saveRoll,
|
|
damageRoll,
|
|
doubleDice,
|
|
explodingDice,
|
|
countdownRoll,
|
|
moraleCheck,
|
|
appearingRoll,
|
|
sendRollToChat,
|
|
} from "./rolls.mjs";
|