vagabond-rpg-foundryvtt/module
Cal Corum 69475fca55 Add resource management method tests
Tests for VagabondActor resource methods:
- modifyResource() bounds checking
- applyDamage() with armor reduction and ignoreArmor option
- applyHealing() clamped to max
- spendMana() / spendLuck() with success/failure returns
- addFatigue() with max 5 cap
- takeBreather() / takeFullRest() recovery mechanics
- isDead getter for HP=0 and fatigue=5 conditions

Task 2.10: Resource management was already implemented, tests now
document and verify the existing functionality.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 20:44:00 -06:00
..
applications Implement spell casting system with rulebook-accurate mana costs 2025-12-13 20:22:20 -06:00
data Add crit threshold modifier tests and fix effect application 2025-12-13 20:34:36 -06:00
dice Implement attack and save roll systems with difficulty fix 2025-12-13 19:52:28 -06:00
documents Implement skill check system with roll dialogs and debug tools 2025-12-13 17:31:15 -06:00
helpers Add important data model enhancements from rulebook audit 2025-12-12 15:55:25 -06:00
tests Add resource management method tests 2025-12-13 20:44:00 -06:00
vagabond.mjs Implement spell casting system with rulebook-accurate mana costs 2025-12-13 20:22:20 -06:00