vagabond-rpg-foundryvtt/module
Cal Corum 8afcf8c07b Implement class feature automation system
- Add _onCreate/_preDelete lifecycle methods to VagabondItem for automatic
  feature application and cleanup when classes are added/removed
- Add updateActor hook to apply new features when character level increases
- Implement applyClassFeatures() with idempotency to prevent duplicate effects
- Add _applyClassProgression() for mana/castingMax from class progression
- Add _applyTrainedSkills() to mark class skills as trained
- Fix getCastingMaxAtLevel() to sum values instead of taking maximum
- Add comprehensive test suite (10 tests) covering unit and integration tests

Effects are tagged with vagabond flags for easy filtering and management.
Methods calculate progression values directly for robustness with embedded items.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 21:19:26 -06:00
..
applications Implement spell casting system with rulebook-accurate mana costs 2025-12-13 20:22:20 -06:00
data Implement class feature automation system 2025-12-13 21:19:26 -06:00
dice Implement attack and save roll systems with difficulty fix 2025-12-13 19:52:28 -06:00
documents Implement class feature automation system 2025-12-13 21:19:26 -06:00
helpers Add important data model enhancements from rulebook audit 2025-12-12 15:55:25 -06:00
tests Implement class feature automation system 2025-12-13 21:19:26 -06:00
vagabond.mjs Implement class feature automation system 2025-12-13 21:19:26 -06:00