## 14.606.1
* Verified compatibility with Foundry v14.368 and D&D5E v6.0.6.
* Moved Automatic Masteries toggle to a GM controlled user multiselect, with a button to Select All.
* Added a one-time migration preserving existing users’ Automatic Masteries settings, including offline users.
* Fixed mastery links losing their "(used)" indicator when chat cards refresh. Indicators now persist across clients, reloads, and the new Bugbear's Mechanics 5E combined chat cards.
## 14.605.1
* Verified compatibility with Foundry v14.368 and D&D5E v6.0.5.
* Changes in some settings icons.
* Updated Sap and Vex effect changes to use AC5E's custom change type, and Slow to use Foundry v14's `type: add` schema.
* Updated Custom Weapon IDs drag-and-drop handling to use the current Foundry TextEditor API.
* Updated Sap and Slow to expire at the source actor's next turn start, and Vex at their next turn end, using D&D5E's native expiry handling. If the source has no combatant, effects expire at the matching turn event after the creation round; outside combat, advancing world time expires them.
## 14.603.1
* Compatibility bump for Foundry v14.367 and D&D5E v6.0.x.
* Updated chat message, roll, activity, and originating-message handling for D&D5E v6.
* Migrated target descriptors to D&D5E's native `TargetsField` API for mastery workflows and action resolution.
* Updated Active Effect data to use D&D5E v6's `system.origin` and `system.changes` schema.
* Updated the minimum Automated Conditions 5e version to v14.603.1.
* Added Italian translation by [GregoryWarn]() 🤗
## 14.533.6
* Added a Custom Weapon IDs settings app for mapping custom weapon base item keys to compendium items for dnd5e weapon mastery choices.
* To add a custom mastery option, choose a short base item key, map it to a compendium Item UUID in the new setting, set the weapon's `Base Item` to that same key, set the weapon's `Mastery`, and grant the actor mastery knowledge with an Active Effect change like `system.traits.weaponProf.mastery.value | add | yourKey`.
## 14.533.5
* Added MidiQOL specific hooks to ensure that masteries are properly triggered.
## 14.533.4.1
* Reworked MidiQOL compatibility.
## 14.533.4
* Fixed Cleave single-target preselection so it targets the token ID instead of passing a Token object.
* Fixed a Midi-QOL Cleave damage error by ensuring the workflow has target descriptors during wm5e damage rolls.
* Improved automatic mastery handling with Midi-QOL and Ready Set Roll by reusing the resolved attack result instead of re-checking a potentially different message roll.
* Sap now refreshes an existing Sap effect on the target instead of warning when the same effect is already present.
* Slow now refreshes its existing effect and updates its source item instead of warning when the effect is already present.
* Vex now refreshes duplicate effects from the same attacker while preserving separate Vex effects from different attackers.
## 14.533.3.1
* Prevent Cleave re-target loops and auto warning noise
## 14.533.3
* Added a setting to enable NPC actors' weapon masteries automation (default disabled).
## 14.533.2
* Change right click handling to `auxclick` instead of `contextmenu` to avoid conflicts with Foundry's context menu handling.
* Reworked RSReforged compatibility.
* Fixed automatic mastery triggering when RSReforged immediately resolves attack and damage rolls.
* Added an automatic Push mastery distance prompt, limited to reachable one-grid-distance or two-grid-distance options.
* Added access to the project's GitHub and Bugbear's Den discord and support links via a settings menu app.
* Compatibility bump for Foundry v14.363 (and for anyone wanting to test on v6 by building the dnd5e project themselves)
* Added pt_BR translation by [Kharmans](https://github.com/Kharmans) 🤗
## 14.533.1.1
* `module.json` quick fix.
## 14.533.1
* Fix for Cleave and Graze not working properly checking in some cases.
* Compatibility bump for Foundry v14.363 and D&D5E v5.3.3
## 14.531.2.1
* I lied. But now I did fix for errors reading `turnNumber` out of combat...
## 14.531.2
* Refactor duration property in effect data.
* Fix for errors reading `turnNumber` out of combat
* Change `Sap` expiration, to turn start.
## 14.531.1
* Compatibility bump for D&D5E v5.3.1
* Minimum Automated Conditions 5e version set to v14.351.1
## 14.530.2
* Reworked effect expiration for Foundry VTT v14.
* Set minimum supported version to v14.
## 14.530.1
* Compatibility bump for Foundry VTT 14 and D&D5e 5.3.0.
## 13.5250.6
* Added a weapon mastery reference icon to dnd5e item sheets when the selected mastery has a linked Journal entry or page.
* Hovering the icon shows the mastery Journal tooltip, and clicking it toggles the linked Journal open or closed.
* Fixed automatic weapon mastery triggering with MidiQOL when attack and damage rolls are merged into the same workflow/message flow.
## 13.5250.5
* Fix for Graze crashing on click when AC5e damage metadata is missing.
* Hardens shared message parsing and attack roll access.
## 13.5250.4
* Added Polish translation. Contribution by [delgar89]() 🤗
## 13.5250.3
* Localization keys for effect names.
## 13.5250.2.1
* Actually fix Topple mastery...
## 13.5250.2
* Improved save query routing so saving throws are requested from the relevant active player when possible, with active GM fallback.
* Topple mastery fix.
* Improved weapon mastery chat interactions for players.
* Non-owners of a chat message can now open and close linked Journal entries on left click (extends default system behavior with close support).
* Masteries are now visually marked as used in chat with strikethrough plus `(used)`.
* Added module CSS (`styles.css`) for mastery used-state styling and related UI cleanup.
* Added localization support for mastery notification messages via `WM5E.Notifications.*`.
## 13.5250.1.2
* Fix for PUSH query not being registered
## 13.5250.1.1
* Change the automatic masteries setting to be per user.
## 13.5250.1
* Verified compatibility with D&D5e v5.2.5
* Added setting to automatically trigger relevant masteries
* Fixed an issue where Cleave could be retriggered after a Cleave attack.
## 13.5220.4
* Fix for Cleave when MidiQOL is active
## 13.5220.3
* Strike through the mastery link in the chat message when it is used
* The Nick mastery now generates a chat message with its description when used
## 13.5220.2
* Cleave damage roll rework
* MidiQOL needs another fix
## 13.5220.1
* For 5.2.x, start using `attributes.system.movement.bonus` instead of adding to available movements individually
* Fix for translations which affect `data-tooltip` alongside the textContent
* Fix for damage types for Cleave and Graze not being correctly identified
* Fix for targeting when using Cleave
* Fix for proper ability modifier being used for Cleave, Graze and damage following RAW
* Fixes for MidiQOL compatibility
## 13.5200.1
* System 5.2.0 compatibility bump
## 13.5110.14
* Respect grid distance units for Slow mastery
## 13.5110.13
* Fix for targeting source instead of targeted token when attacking linked actors
## 13.5110.12
* Changed the module name to Automated Masteries 5e (I blame @alterNERDtive for that!)
## 13.5110.11
* Show token image in target selection buttons for Cleave.
## 13.5110.10
* Initial public release
* `Push` automation
* Defensively call canvas.grid
* Consolidate init hook calls
* Fix for Topple not setting target dc to save roll properly
* Fix for `turn` instead of `turns` in effects' data
## 13.5110.2
* Right mouse clicks on the weapon mastery link in the chat messages will now open the Journal entry, like the original left click did.
* SHIFT clicking on the weapon mastery will bypass rules like: "Needs a successful attack to use".
* When you hover over the Cleave dialog's buttons, the corresponding target will be selected. Makes easier to identify targets.
* Several bugfixes.
## 13.5110.1
* Initial release.
* Automated Conditions 5e is a requirement
* Automation for `Cleave`, `Graze`, `Sap`, `Slow`, `Topple`, `Vex`
* To add `Push`
* No automation for `Nick`
* No checks for MidiQOL integration yet.