Skip to content

FoundryVTT Version 14 Compatibility#634

Draft
cyface wants to merge 22 commits intomainfrom
feature/v14
Draft

FoundryVTT Version 14 Compatibility#634
cyface wants to merge 22 commits intomainfrom
feature/v14

Conversation

@cyface
Copy link
Collaborator

@cyface cyface commented Dec 4, 2025

  • Update Active Effects to use string mode names instead of numbers
  • Use rolls array to get Deed roll, since chatMessage doesn't handle Roll types directly

@cyface cyface self-assigned this Dec 4, 2025
@cyface cyface marked this pull request as draft December 11, 2025 00:43
cyface and others added 17 commits December 14, 2025 09:40
Merges all recent bugfixes and features from main while preserving
v14 compatibility changes:
- Keep v14 Active Effects using CONFIG.DCC.effectChangeTypes and change.type
- Include deedDieRoll cleanup fix from main
- Preserve v14 DataModel field handling in active-effect.js

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Resolved conflict in module/item-sheet.js (kept comment from main)
- Added missing DCC.EffectChangeTypeDiceChain translation to all language files

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolved conflict in lang/cn.json - kept v14-specific key
(DCC.EffectChangeTypeDiceChain) while preserving Chinese
translations from main.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Brings in crit/fumble navigation features and backward compatibility:
- TableResult class for navigable crit/fumble results
- critResult/fumbleResult properties with legacy aliases
- critRollTotal/fumbleRollTotal for roll values

Resolved conflicts:
- Removed unused critRollIndex/fumbleRollIndex in favor of new approach

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Merged changes from main including:
- Fix for Active Effects string-to-number conversion (#663, #664)
- Comprehensive active effects tests (#665)
- Backstab fallback value fix
- ACTIVE_EFFECT_MODES and setProperty mock additions

All 480 tests pass, all checks pass.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Migrate ActiveEffect change.mode (numeric) to change.type (string) for v14
- Auto-detect dice expressions in add/subtract effects for dice chain logic
- Convert custom diceChain type to standard add/subtract in migrations
- Fix double effect application by checking phase parameter
- Update effect pack files to use standard add/subtract types
- Update partial-effects template to use string type comparisons
- Add phase check to applyActiveEffects to prevent double application in v14

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update status to Developer 1 (Build 354)
- Add Scene Levels documentation
- Add TinyMCE full removal info
- Add new DataModel performance improvements
- Add Placeables Palette technical preview
- Add new breaking changes (TextureData, Macro#author, Wall properties)
- Add new utility function renames
- Update Active Effects with Developer 1 fixes
- Update checklist with new items
- Add merge-v14 skill for merging main into feature/v14

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
V14 deprecates numeric ACTIVE_EFFECT_MODES in favor of string-based
ACTIVE_EFFECT_CHANGE_TYPES. Add the new constant to test mocks.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant