vagabond-rpg-foundryvtt/module
Cal Corum 062189e315 Add crit threshold modifier tests and fix effect application
- Add comprehensive Quench tests for crit threshold system:
  - Skill crit thresholds modified by Active Effects
  - Attack crit thresholds (melee, ranged, brawl, finesse)
  - Effect stacking, disabled effects, minimum threshold enforcement
  - Helper function validation

- Fix crit threshold clamping in CharacterData.prepareDerivedData():
  - Skills: clamp in _calculateSkillDifficulties() after effects apply
  - Attacks: new _clampAttackCritThresholds() method
  - Ensures thresholds stay within 1-20 range after Active Effects

- Note: Foundry v13 auto-prepares data after createEmbeddedDocuments,
  manual prepareData() calls cause double effect application

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 20:34:36 -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 crit threshold modifier tests and fix effect application 2025-12-13 20:34:36 -06:00
vagabond.mjs Implement spell casting system with rulebook-accurate mana costs 2025-12-13 20:22:20 -06:00