# 3.54.1

- `Target helper`:
  - add new `Use Color-Blind Palette` setting to use color-blind friendly colors for saves results

# 3.54.0

- `Target helper`:
  - now play dice sound when using target saves
    - it only plays the sound if DsN isn't used
    - it plays a single sound even if you roll for all NPCs at once to avoid the cacophony of stacking sounds
  - fix being able to set more than one troop token of the same troop as targets of a message

# 3.53.3

- `Merge Damage`:
  - fix not being able to merge/inject damage messages generated with the `/r` command

# 3.53.2

- `Actionable`:
  - fix adding an item (with multiple `ItemCast` or `Actionable` rule elements already defined) to an actor ending up with a breaking infinite loop of updates
  - fix adding an item (with `ItemCast` or `Actionable` rule elements) to an actor not resetting the rules data
  - fix the generate `ItemCast` menu being completely reset en render (now it retains all the data you already set for the other spells)
  - fix the `Recharge` checkbox in the generate `ItemCast` menu not working

# 3.53.1

- `Auto Cover`:
  - fix cover override no longer working after some system changes (not sure when it happened)
- `Target Helper`:
  - fix retrieval of spell DC not taking into account roll options that specifically target the spell (and not the spellcasting entry)

# 3.53.0

- this is a systems `8.4.0` & `1.4.0` release
- add Japanese localization (thanks to [counterpost](https://github.com/counterpost))
- `Better Actor Sheet`:
  - remove the now useless part that was offering sorting for the spell preparation app (it is now fully handled by the system)
- `Better Chat Message`:
  - fix options being inverted when using the customization menu of merge damage messages

# 3.52.1

- fix some localization typo
- `Target Helper`:
  - fix issue with damage roll messages that don't have a system context flag

# 3.52.0

- this is a systems `8.3.0` & `1.3.0` release
- `Target Helper`:
  - use the new area messages dc snapshot instead of pulling it from the item and strike

# 3.51.1

- `Actionable`:
  - the message generated when using the `Auto Self-Applied` setting is now the same as when using "send to chat" on an action

# 3.51.0

- `Automatic Rune Progression`:
  - no longer upgrade items with the `Grenade` base
- `Target Helper`:
  - add new `Expend Ammo Button` user setting (enabled)
    - it adds a button in area related messages to expend ammunitions/grenades
    - make sure to validate your targets before using it in the case of `Auto Fire` as the button can only be interacted with once
  - fix origin of emanation templates for `Template Helper`

# 3.50.0

- `Item Spell Casting`:
  - add new `recharge` property to the rule element (default `true`)
    - if set to `false`, the charges will not be recharged during long rest
- `Damage Indicator`:
  - add sliver of background color when at min damage (instead of having the background be completely empty)
- add new `Remove Region` keybind which deletes the first found region under your cursor when pressed
  - only regions that are currently visible, not locked and owned can be removed that way
  - if multiple regions are on top of each other, the one created last is picked first
  - this keybind isn't gated behind any setting, it works as soon as it is set

# 3.49.0

- add new `Better Chat Message` tool:
  - convert previously `Merge Damages` tool into subsections of the new tool (associated settings have been reset)
  - add new `Damage Indicator` user setting, which adds a colored display on damage messages showing how well you rolled compared to the min/max values
  - fix not being able to inject damage messages with targets

# 3.48.0

- `Character Importer`:
  - all the following changes need a fresh import of character data
  - add support for alternate ancestry boosts
  - add support for `Custom Feat Choice` pathbuilder feature
    - those feats will now be added as bonus instead of trying to replace others at the same level
  - replace the `Import From Code` with `Import From Url`
    - all you have to do is provide the pathbuilder json id
    - the id is also saved on the actor for further uses
- `Target Helper`:
  - add spacing between regular and splash buttons

# 3.47.2

- `Target Helper`:
  - allow third party to feed an empty array of targets to the message

# 3.47.1

- `Better Merchant`:
  - fix not being able to use the `Price` fields for the filters

# 3.47.0

- convert some remaining deprecated v14 stuff
- `Item Spell Casting`:
  - the `statistic` property now accepts a list of slugs, the module will pick the first found on the actor
    - you can use comma separated slugs in the `Item Cast` generator popup window
  - fix spell attack rolls being regular checks instead when using manual statistics
- `Merge Damage`:
  - you can now `inject` damage from a message that has no origin actor or a different actor than the message before
  - you can now `inject` damage from a message that has no targets into another that has some (won't allow different targets still)
  - fix merge/inject api function merging messages backward

# 3.46.0

- `Item Spell Casting`:
  - revert removal of support for `consumable` items
    - the feature will not work with scrolls & wands (because those are fully handled by the system)
    - the `max` property will have no impact on the feature, the module will instead use the parent item's uses
    - casting the spell will consume one of the parent's use and delete the parent item if it has the `Destroy on Use` flag when reaching `0`
  - add proper support for `ammo` items
    - the ammo must be added to a weapon for the spell to be generated
    - the spell is castable only if the weapon is equipped/invested
    - the `max` property will have no impact on the feature
    - casting the spell will **NOT** consume any ammo, leaving it to the system to handle it (or the user)
    - consuming an ammo will **NOT** automatically trigger the spell leaving it to the user to decide when and if they want to
- `Resource Tracker`:
  - fix shared world resource icon

# 3.45.0

- `Actionable`:
  - add resolve support for `dc` and `max` properties (e.g. `"10 + @actor.level"`) in `ItemCast` rule element
  - `Item Spell Casting` no longer works on consumables
- `Anonymous`:
  - fix check messages originating from an action being partially anonymized

# 3.44.0

- this is a system `8.1.0` release
- remove the `Underground` tool from the module as it breaks the multi levels backgrounds
- fix wrapper issue due to system changes in the latest update

# 3.43.2

- `Hero Action`:
  - add fix for foundry misinterpreting the `Hero Deck` table results type preventing drawing new hero actions

# 3.43.1

- `Roll Tracker`:
  - fix multi rolls (e.g. `2d20`) being recorded as a single one which results in outrageous (and non displayable) numbers being saved
    - such rolls will now be recorded as individual instances by the module with the same metadata

# 3.43.0

- make the necessary changes to support the `PF2e Anachronism` and `SF2e Anachronism` modules
- `Character Importer`:
  - now also look into the anachronism modules compendium packs, which means that you can import a `pf2e` character into a world that runs on the `sf2e` system and vice versa
  - fix calculator icon
- `Droppeth`:
  - fix droppeth token always being created on the base level

# 3.42.0

- this is a foundry `14.360` and system `8.0.3` release
- update to be compatible with the various v14 changes
- remove `Better Template` tool
- `Better Inventory`:
  - add missing `ammo` to the list of mergeable items in the `Merge Items` feature
- `Target Helper`:
  - add new `Template Helper` setting which replace the former `Better Template` tool
    - the feature no longer triggers for custom "templates" placed on the board due to templates no longer existing in foundry and now being done using `Scene Region` (only way to differentiate them is if they have a system context)
  - make the necessary changes to match the new system reroll hook workflow
  - minor row headers styling update

# 3.41.1

- `Actionable`:
  - improve rule generation when using the `Generate 'Item Cast' rules from description` of `Item Spell Casting`
- `Better Merchant`:
  - fix not being able to purchase infinite services

# 3.41.0

- `Item Spell Casting`:
  - make necessary changes for third party to support this feature including some new api functions exposed

# 3.40.3

- `Item Spell Casting`:
  - fix issue when parsing an item description that has been reformatted by foundry (after being edited/saved by user)

# 3.40.2

- `Item Spell Casting`:
  - add a `predicate` input field to the `Generate 'Item Cast' rules from description.` application
  - fix empty `statistic` property when using the `Generate 'Item Cast' rules from description.`

# 3.40.1

- `Item Spell Casting`:
  - add a `statistic` input field to the `Generate 'Item Cast' rules from description.` application as well as improve its styling a bit

# 3.40.0

- `Item Spell Casting`:
  - now properly handle `cantrips`
    - if you provide a `rank` to a cantrip spell, the module will override the default autoscale behavior
  - now display infinite symbols where the uses inputs would be if no `max` property is provided
  - now use any valid spellcasting entry when no `dc` property is provided even if none could cast the spell
    - the module will still prioritize finding a spellcasting entry that could normally cast the spell
  - add new `statistic` property to the rule element:
    - this property takes priority and will look for the statistic of the same slug on the character
    - if the statistic isn't found, the process will continue like before (using the `dc` property or looking for an existing entry)
  - fix uses `value` display showing `0` when the `max` property was added after the `data` was auto-generated in the RE
  - fix cached data not being cleaned if the `Physical Actions` setting isn't enabled
  - fix missing localization for the custom statistic modifier label

# 3.39.0

- `Actionable`:
  - `Physical Actions` now works when added to attachables
    - it will look at the parent item to see if it is equipped or not
    - fix virtual action frequency updates not always being persistent
  - add new `Item Spell Casting` setting
    - it adds a new RuleElement that generates virtual spellcasting entries
    - the rules tab of items also contains a button to automatically generate the REs for virtual spells by parsing the item's description
    - the rule element must contain at a minimum the `ItemCast` key and the `uuid` property pointing to the spell
    - if a `dc` property is provided, the spellcasting entry will use its own statistic,
    - if no `dc` is provided, the module will look for other spellcasting entries avaiable on the character
    - you can also provide the `tradition` and `attribute` properties that will override the generated statistic
    - if a `max` property is provided, the module will use it to limit the amount of times per day the spell can be cast
      - it is recharged on rest
      - the current value can be manipulated by using the input and button added to the spellcasting entry
    - the module prevents the cast of the spell if the parent item isn't equipped
- `Anonymous`:
  - now hide the name of irretrievable spells in spell damage messages (i.e. spells from scrolls)
  - fix spells without damage/save not being anonymized
  - fix prepared spells not revealing spell messages
- `Auto Cover`:
  - now handles the `Aim-Aiding` armor rune to skip some creatures
  - small creature cover computation improvements
- `Character Importer`:
  - fix issue with assigned boosts when a boost selection exist after one or more forced boosts
  - fix not being able to override unmatched equipment entries that are not actually "equipment"
    - this is due to the module using "equipment" as the default type when not being able to find a match
    - the type will be overridden to whatever type the item you drop on the entry
    - the override actually works for any item type, so you don't get stuck with a new type after making a mistake

# 3.38.0

- `Better Merchant`:
  - fix infinite services not showing for players
- `Better Actor Sheet`:
  - add new `Retrain Feats Button` setting which adds a button to feats to replace them with another one
    - by default, the module tries to infer browser filters to make things easier but the user can ultimately pick any feat
  - fix not being able to sort merchant services

# 3.37.0

- `Actionable`:
  - no longer display macro drop zone to variant spells
- `Merge Damage`:
  - you can now `Shift` click on the `merge` and `inject` buttons to open a customization menu
    - the menu allows you to select how much of each message is merged (`full`, `half` or `double`)
    - for `inject`, you can only customize the injected damage as the original message is meant to be kept as is

# 3.36.0

- `Character Importer`:
  - you need to re-import the data to take advantage of the changes made in this version
  - add support to the `Gradual Ability Boost` variant
  - add support to the `Free Archetype` variant

# 3.35.1

- `Character Importer`:
  - fix feats levels being limited to level 10
    - you need to re-import any character that imported pathbuilder data above level 10

# 3.35.0

- `Character Importer`:
  - add support for `Starfinder Second Edition` system
  - you need to re-import the data on any starfinder character if you already had imported before this update

# 3.34.1

- `Auto Cover`:
  - make sure to only account for `Greater-Prone Cover` if the attack is ranged and the target is prone
    - remove the option from the `Check Modifiers` dialog if not
  - fix displayed bonus for `Greater` cover in the `Check Modifiers` dialog

# 3.34.0

- `Auto Cover`:
  - the settings have been reset to avoid some unexpected outcomes
  - no longer convert wall intersect logic for tiny creatures
  - change the wall `Corner to Center` logic to not provide cover if at least one line doesn't intersect
  - remove the `Corner to Spread` and `Corner to Corner` wall setting options
  - add live auto-cover highlights when holding the `Alt` key
  - add cover override that can be found in the `Check Modifiers` dialog

# 3.33.0

- add new `Auto Cover` tool:
  - automatically adds cover to targets when path intersects with a wall or creature
  - add a bunch of options to fine tune the way the calculations are done
  - the module takes into account the extra large rule for creature cover
- `Better Merchant`:
  - fix `filterTraits` error preventing opening merchant actor sheets due to latest changes in the system

# 3.32.0

- `Character Importer`:
  - you need to re-import the data to take advantage of the changes made in this version
  - the tool is now fully implemented feature-wise, the export format of pathbuilder makes it quite difficult to provide more than what has been done so far
  - implement the `Details` tab:
    - languages are fully replaced when assigned, though the module only adds languages that aren't already "free"
  - implement the `Spells` tab:
    - for each expected spellcasting entry, the module will list all the existing ones that exactly match
    - when a new spellcasting entry is created, the slots for up to the character current level will be set
    - you can update/refresh the spellcasting slots at any time
  - fix override for physical items not being retained when re-importing data

# 3.31.1

- `Identify`:
  - fix localization of tooltips
  - fix confirm dialogs error preventing the use of the `Auto` and `Update` features

# 3.31.0

- `Character Importer`:
  - you need to re-import the data to take advantage of the changes made in this version
  - implement the `Items` tab:
    - currency overriding completely reset the character's currencies to the pathbuilder values
    - containers have their name changed to the pathbuilder value if different from the regular name
    - `Spacious Pouch` containers will be `Type I` by default
    - any container that isn't a `Spacious Pouch` will be a `Backpack`
    - replacing a current item will leave it in its current container instead of the pathbuilder container
    - replacing a container will have all of its content be transferred to the new item
    - just like for feats and others, you can drag & drop another item to override the matching ones
  - now retain tab & position of the importer when toggled off
  - now display feats that are automatically awarded by the `Class` and `Background`
  - now diplay a spinner whenever the importer is doing intensive processing to notify the user
  - no longer display the level of attached feats
  - fix importer still being injected in the sheet when closing it fast after opening it (due to async processing)
- `Hero Actions`:
  - fix not being able to use the `removeHeroActions` api function

# 3.30.1

- `Target Helper`:
  - fix a very fringe error when rolling a save

# 3.30.0

- `Character Importer`:
  - you need to re-import the data to take advantage of the changes made in this version
  - implement the `Feats` tab:
    - the module will look for the `current` feats in feat slots instead of matching feats when appropriate
  - reminder that we are still in the testing stage of the tool
- `Merge Damage`:
  - fix newly created message losing the targets from the merged ones and instead using the current targets

# 3.29.0

- `Better Merchant`:
  - fix error when generating default filters without any data on the actor
- add new `Character Importer` tool:
  - this is a tool that parse data imported from the `Pathbuilder` website
  - it shows what the character should have and what is currently on the sheet, the user can then proceed step by step clicking on the different buttons that will add the expected data to the character
  - this is just a preliminary version of the tool, it isn't complete, it is exposed to the public in case you want to test it and give feedbacks

# 3.28.2

- `Target Helper`:
  - fix target rows not showing on action messages

# 3.28.1

- `Actionable`:
  - fix non-`Actionable` rules being filled with unneeded data whenever an item containing an `Actionable` rule is being updated

# 3.28.0

- the module received a significant amount of rework internally
  - this doesn't impact the end user experience, no setting has been reset and all your data is still available
  - due to the sheer amount of features, it is impossible to test everything so keep an eye open for bugs
- `Actionable`:
  - add a new `Physical Actions` setting
    - it adds a new RuleElement that generates virtual actions whenever a physical item is equipped/invested
    - the rule element consist of a single `uuid` property and the `Actionable` key
    - the generated actions are completely virtual and do not exist on the actor's data, they cannot themselves have functionning rule element
    - the module reproduces pretty much every aspect of a regular action, from the `Send to Chat` feature to the frequency updating on turn change
    - virtual actions can on the other hand be affected by rule elements (e.g. `AdjustModifier`, `ItemAlteration`)
    - the virtual data is kept inside the `Actionable` RE itself, it is auto generated once the item is saved, you should not touch the `data` property inside the RE. This also means that literally no data will linger in the actor or the item if you decide to remove the RE
    - add a bunch of relevant functions to the API

# 3.27.0

- `Better Trade`:
  - remove the `With Container Content` feature as the system now does handle it
- `Droppeth`:
  - you can now drop items directly from the compendiums
    - it was previously somehow working if the item had already been cached
- `Giveth`:
  - set setting default value to `disabled`
    - the setting not being disabled by default is a relic from the time the feature had a global `enabled` setting, before the system implemented its own trading workflow
- `Merge Damage`:
  - expose `injectDamageMessage` function to the API
  - expose `mergeDamageMessages` function to the API

# 3.26.0

- this is a release for the version `0.0.3` of the `Starfinder Second Edition` system
- more changes to support the `SF2e` system
  - including some that were unnoticeable if you also had the `PF2e` system installed on your server
- `Anonymous`:
  - now also anonymize the name and traits of spell damage messages (so it doesn't get spoiled there)

# 3.25.0

- this is a `Starfinder Second Edition` system release for version `0.0.1`
- this release tries to make every single feature compatible with the `SF2e` system (there is no point in listing everything that was done)
- `Better Merchant`:
  - `Create Scrolls` is converted into `Create Spell Gems` when running on the `SF2e` system
- `Shared Data`:
  - now also recover the master's armor potency/resilient bonus from `Tech` armors using their grade instead of runes
  - fix the system version of skill ranks not being updated with the master's
    - this probably didn't have any impact beside not displaying the right proficiency in the actor sheet

# 3.24.0

- `Better Actor Sheet`:
  - add sort button to the crafting formulas table
  - add sort button to the `Advanced Alchemy` table
- `Target Helper`:
  - fix action messages with non-basic saves not having their data transferred to damage messages created by it

# 3.23.0

- `Better Template`:
  - now automatically updates the message targets when the template is associated with a message and the `Target Helper` feature is enabled in your world

# 3.22.1

- `Target Helper`:
  - fix queue function not awaiting the message update

# 3.22.0

- `Target Helper`:
  - add a queue system to avoid concurrent message updates when multiple user try to roll saves or apply damage at the same time on the same message
    - this will hopefully prevent some occasion of updates being rolled back

# 3.21.0

- `Anonymous`:
  - add new `Show Traits` world setting:
    - when the module anonymize a message, should traits still be displayed
  - now display traits of anonymized messages (make use of the `Show Traits` setting)
  - now auto-reveal spell messages if a party member has it currently prepared
  - add missing `Reveal Action to Players` context menu option icon
- `Target Helper`:
  - the upgraded check message traits now make use of the `Anonymous` `Show Traits` setting

# 3.20.2

- `Better Merchant`:
  - fix `Sell Items` feature not working because of the latest system currency changes

# 3.20.1

- `Giveth`:
  - fix the feature not taking into account all the original dragged data after sending the request to the gm

# 3.20.0

- this is a system `7.8.0` version release
- `Shared Data`:
  - the module will now prevent HP/SP damage from being reverted when clicking on the `Undo` button
    - the module will instead send a message to the chat informing the user that it must be done manually
    - other things like removing persistent damage will still occur
- fix trade related features' dialog not allowing the user to set a quantity

# 3.19.0

- `Better Merchant`:
  - add new `Create Scrolls` feature
    - it will open the compendium browser to the spells tab and allow you to filter down spells
    - once done, you can select which spells you want to be turned into scrolls and at which heightened level
- `Giveth`:
  - if the dragged effect contains `ChoiceSet` rules, the module will now simulate their selection directly on the client before sending everything to the GM

# 3.18.1

- `Target Helper`:
  - fix issue with character actors `Auto Fire` not being handled

# 3.18.0

- this is a system `7.7.0` release
- some internal changes to match the latest system update
- `Better Inventory`:
  - expose `mergeItems` function to the API
  - expose `splitItem` function to the API
- `Shared Data`:
  - no longer share the `Details` field as updating the bound actor languages will save the merged data into its source resulting in doubling the master's details on every update
- `Target Helper`:
  - add support for the `Area Fire` and `Auto Fire` messages

# 3.17.0

- `Shared Data`:
  - add support to share `Languages`:
    - all the master's languages (and details) will be added to the bound actor
  - now completely redirect the master's base spellcasting statistic to the bound character instead of just copying its proficiency
  - fix master item modifiers only being added when a skill proficiency is boosted

# 3.16.2

- `Better Trade`:
  - fix `Invert Trade Modifier` interfering with all sorts of drag & drop actions that are unrelated to a trade

# 3.16.1

- `Better Actor Sheet`:
  - `Show Avatar to Players`:
    - fix popup window showing a debug title instead of character names

# 3.16.0

- `Better Actor Sheet`:
  - `Sort List Button`:
    - now sort containers' content instead of the containers themselves
    - improve the disabling state of the button for spellcasting entries
    - fix button missing on some spellcasting entries
    - fix items being sorted inside containers when clicking on the other sections of the inventory
- `Better Merchant`:
  - the ratio for bought treasures when reaching the default filter will now be the highest value between the filter ratio and `1` instead of always being `1`
  - `Sell Items`:
    - the assumed ratio for price coloring now uses the default filter (if enabled) instead of the arbitrary `0.5`
      - if not enabled, then a ratio of `1` will be used
      - it is reflected in the `Info` tooltip

# 3.15.0

- `Better Actor Sheet`:
  - add new `Show Avatar to Players` gm-only setting
    - add an extra button in the avatar panel of actor sheets to directly send the avatar image to players
  - add new `Sort List Button` setting
    - this feature adds sorting buttons to different lists on the actor sheet
      - inventory sections of all actors
      - spellcasting entries of character
      - prepared spellcasting spellbook
      - actions/passives of npc
- `Better Inventory`:
  - fix not being able to merge items after a system trade between players
- `Better Merchant`:
  - add new `Sell Items` button to the sheet
    - it opens a window containing all available items to sell to the merchant
      - items that are non-identified, have a quantity of 0, belong to the `coins` stack group or do not match any filter on the merchant are not shown in this window
      - the assumed ratio used for the color coding of the prices is `0.5` for items and `1` for treasure
  - now display the original price of items when hovering over the modified one in the list (if it was changed by a filter)
    - only display the tooltip of services for the GM
  - now indicate that the merchant isn't willing to sell one of its items/services
    - this occur when the item doesn't match any filter
    - the quantity is replaced by a `–`
  - add tooltip to both the `–` and `∞` quantity values in the sheet
  - fix treasures not selling for full price when reaching the default filter
  - fix weird merchant buy prompt message
  - fix some styling issues on the sheet
    - most notably on player clients
- `Better Trade`:
  - add new `Invert Trade Modifier` player-only setting
    - players will no longer have to hold 'shift' to give an item without initiating a trade
    - holding 'shift' will initiate the trade request
- `Target Helper`:
  - fix styling of target buttons of damage chat messages that don't have a `Dice Total` section (i.e. persistent damage cards)
  - fix `Clear Placed Templates` button disappearing whenever a spell chat message is being updated
    - this is actually a system issue and is a temporary workaround until fixed

# 3.14.4

- `Underground`:
  - the `Background Tiles` feature now only affects tiles that themselves have an elevation of `0` or less

# 3.14.3

- `Target Helper`:
  - fix hero/mythic point not being consumed when rerolling a save

# 3.14.2

- `Shared Data`:
  - small code revision of last update to avoid potential issues

# 3.14.1

- `Shared Data`:
  - fix bound actor effects not expiring during `turn-start` event if the `origin` of the effect is self

# 3.14.0

- this is a system `7.5.1` release
- `Better Merchant`:
  - update to work with the latest system changes
  - fix `Search Text` field not being saved when creating/editing a filter
- `Better Trade`:
  - `With Container Content`:
    - can no longer work when trading with another actor that you aren't the owner of (because of the new system trade)
    - will only work if the container itself has a quantity of exactly `1`
- `Droppeth`:
  - use the new trade quantity dialog window
- `Giveth`:
  - the feature now only allows a player to give an effect/condition to another player-owned actor as the system now has its own trade workflow

# 3.13.3

- `Target Helper`:
  - fix reroll error with keeley variant rule

# 3.13.2

- `Better Merchant`:
  - fix browser reload when updating the image of a service on firefox
- `Target Helper`:
  - consume the resource later in the reroll workflow

# 3.13.1

- `Share Data`:
  - expose the `getMasterInMemory` and `getSlavesInMemory` functions to the API
  - now sort masters by alphabetical order in the dropdown
  - fix master having an invalid master id in its data creating conflicts during updates

# 3.13.0

- `Actionable`:
  - now disable the added `use` button if
    - the item has a quantity of `0`
    - the consumable has no use remaining
  - now also add the `use` button in the `Containers` section of the inventory
- `Anonymous`:
  - add `Anonymize NPC Actions` setting
    - it does and works the same as the `Anonymize NPC Spells` setting for actions sent to chat
- `Automatic Rune Progression`:
  - now updates the `Grade` of weapons/armors/shields with the `Tech` and `Analog` traits
    - NOTE that there is currently a bug in the system with the price of armor improvements and until it is fixed, armors price will not be updated by the module as the values are not matching
    - update the settings names and descriptions to reflect the change
- `Target Helper`:
  - no longer display the reroll icon in a target row

# 3.12.0

- bump the system minimum compatibility version to `7.4.3` and foundry's to `13.348`
- `Better Inventory`:
  - move all the inventory related features previously in `Better Actor Sheet` in this tool
    - all moved settings have been reset
- `Better Merchant`:
  - fix buy treasure icon not showing
- `Droppeth`:
  - add the missing `droppethRequest` api function that was available in v12
- `Giveth`:
  - update the `Enabled` setting description to include the fact that party members are now also taken into account
  - add the missing `canDropEffectOnActor` api function that was available in v12
- `Hero Actions`:
  - update the `Private Draw` setting description
- `Identify`:
  - try to always add the `Identify Item` in the item controls section if it exists
  - fix players being able to open the `Identification Tracker` through api function
- fix some typos in the english localization

# 3.11.2

- fix not using fallback to test if a localization key exist, preventing some localization for languages without a localization file

# 3.11.1

- `Target Helper`:
  - add a global `private` property which will make every save rolled for the message "private"
    - this doesn't change the behavior of "private" save rolled for the module

# 3.11.0

- `Giveth`:
  - add `Party` members to the list of targets you can giveth inventory items
- `Resource Tracker`:
  - update the `Enabled` setting hint text
- `Target Helper`:
  - update save reroll to support `Mythic Points`
  - fix localization of hero point rerolled message

# 3.10.4

- `Better Actor Sheet`:
  - `Merge Items`:
    - fix consumables quantity being short by 1 with remaining uses

# 3.10.3

- `Better Actor Sheet`:
  - `Merge Items`:
    - fix remaining uses value when merging only full consumables

# 3.10.2

- `Better Actor Sheet`:
  - `Merge Items`:
    - now allows merging items with different uses values
    - now calculates the total quantity and uses of the merged consumables for the resulting stack

# 3.10.1

- `Better Actor Sheet`:
  - `Split Item`:
    - now reset the uses to their max value in the new stack

# 3.10.0

- `Better Actor Sheet`:
  - `Improvised Weapon Button`:
    - add the `improvised` other tag
    - add the `Thrown 10ft.` trait
    - remove the `Rule Element` as the tag already take care of it
    - change the `Hands` to `1+`
    - now open the weapon sheet to the `Details` tab when created
  - rework `Merge Items`:
    - no longer use source items to diff check (items still need a `sourceId`)
      - this makes the initial check process way faster than the previous iteration of the feature
    - now pick the inventory item with the highest quantity and use it as the source to compare the other items
      - this makes it possible to merge items that are actually identical but are different from the source item
    - it now allows merging of multiple different item stacks of the same source
      - e.g. 2 arrow stacks are identical but different from 2 other arrow stacks, they will be merged into 2 separate stacks
- `Underground`:
  - add `Background Tiles` setting (disabled)
    - it so happen that this feature can conflict with other modules working with tiles so it is now its own setting
  - the `Enabled` setting now requires a reload when changed

# 3.9.0

- add `Better Actor Sheet` tool:
  - `Party Alliance as Observed`: allows players to observe actor sheets without the `Observer` permission as long as they belong to the `party` alliance (not to be confused with the `Party` actor)
  - `Improvised Weapon Button`: add a button in the inventory of character actors to create an improvised weapon on the fly
    - the weapon is simple and contains the `Rule Element` giving the "–2 item penalty to attack rolls"
  - `Allow Item Split`: make item quantity number in sheets clickable to split them into multiple stacks
  - `Items Merging Button`: add a merge button in the inventory tab to merge items in bundle
    - this feature is a bit sensitive and only merge items that have a sourceId and haven't been updated compared to the source item
    - some properties are excluded from the diff test as they would almost always be changed (i.e. `quantity` or `equipped`)
    - everything is merged onto the stack with the highest quantity
    - the initial process to check which items can be merged can take a bit of time depending on how many items are in the inventory as it requires to fetch compendium sources and test against them, the button is disabled until it is finished to avoid multi click
- `Better Merchant`:
  - add `Buy Item` buttons to the merchant sheet to buy items without having to drag & drop them
- `Shared Data`:
  - the `Skills Proficiencies` option now also share the master's `item` modifiers for skills & perception
  - fix race condition between master and bound actors `prepareData`
    - it would happen if you created the master after the bound actor in your world
    - it would prevent the bound actor from "copying" its master's data as it was already processed
    - the fix may have caused other issues though, so let's keep an eye open
- `Underground`:
  - now also force tiles to be behind tokens with negative elevation

# 3.8.4

- `Hero Actions`:
  - fix `Redraw` adding hero actions instead of replacing them

# 3.8.3

- `Hero Actions`:
  - fix trading action not proceeding when there is only one possible target character to trade with

# 3.8.2

- `Better Merchant`:
  - fix issue with old price coins not being updated if their new value is 0

# 3.8.1

- `Shared Data`:
  - fix error with unlinked encounters

# 3.8.0

- this release implements the `Hero Actions` tool and concludes the re-implementation of all the tools from v12
- add Brazilian Portuguese localization (thanks to [mclemente](https://github.com/mclemente))
- `Hero Actions`:
  - v13 no longer allows a player to draw from a table that has the `Draw with Replacement` unchecked if they don't have ownership of the table itself.
    - if you don't give ownership of the table to your players, the module will have the GM do the drawing in their stead via websocket
  - remove the `drawHeroAction` function from the API
- `Roll Tracker`:
  - add `deleteRecords` function to the API
  - fix `Clear Records` only deleting records of the current filter selected in the application
- `Target Helper`:
  - add support for SF2e area-fire actions
    - everything behaves exactly like you would expect from a spell
- fix identification of spell messages missing some of them which impacted both the `Target Helper` and `Anonymous` tools

# 3.7.3

- `Roll Tracker`:
  - add `openTracker`, `togglePause`, `startSession` and `endSession` functions to the API

# 3.7.2

- `Shared Data`:
  - make the master AC bonus `potency` instead of `item` for eidolon and eldamon creatures

# 3.7.1

- `Shared Data`:
  - revert auto enabling and locking of the `Health Pool` and `Hero Points` options

# 3.7.0

- this release implements the `Shared Data` tool
- `Resource Tracker`:
  - remove the `Show Offlines` setting which was doing literally nothing
  - remove the `Display Tracker` setting, it is now exclusively done via the UI control button
  - add `Enabled` world setting, completely disables the tool process in your world when unchecked
- `Shared Data`:
  - masters and bound actors do not need to be owned by the same user anymore
  - masters are no longer restricted to characters or linked actors anymore
    - selecting an unlinked master will use the world actor and not any particular synthetic one
  - the shared data options are no longer added to the actor config menu but have their own application
    - the application will disable options not compatible with the actor and the currently selected master
  - `Health Pool` and `Hero Points` are now always shared once a master is selected (options are locked)
  - bound actor will now receive the master's encounter `Roll Options` when the `Time Events` option is enabled
  - remove `Rest for the Night` automation from the `Time Events` option
  - add `Spellcasting` option for characters to share both the spellcasting proficiency and the focus pool
- `Target Helper`:
  - fix system issue with custom spell save variants not having an id

# 3.6.0

- this release implements the `Identify` tool
- `Better Merchant`:
  - the `Enabled` setting doesn't require reload anymore
  - merchants no longer sell items not matching any filter
  - merchants no longer sell services not matching any filter
  - implement import/export of services
  - add `testItemsForMerchant` to the API for third parties who want to sell in bundle to a merchant
  - fix the module preventing trade of all unidentified items instead of only preventing selling/buying
- `Droppeth`:
  - fix `Enabled` setting not updating the state of the tool until a reload was done
- `Identify`:
  - remove the `Add Party Stash` setting, it is now always "enabled"
  - all previous data should be compatible

# 3.5.1

- `Better Merchant`:
  - add custom title and message to the popup window when selling items
  - fix issue with trading popup showing when not needed and preventing the trade altogether

# 3.5.0

- this release implements the `Better Merchant` tool
- `Better Merchant`:
  - remove the `Services Ratio` toggle on the sheet
  - remove `Purse` functionality from filters
  - services can now have arbitrary tags
  - services are now updated when the application is closed instead of being refreshed live
  - services now have filters much like items
  - the module no longer modifies the data of the items (during data preparation) it instead display the modified values directly in the different applications and completely hijacks the trade to apply them when necessary
- `Merge Damage`:
  - fix the tool not working (though i am not sure the bug was actually in the last version or not)
- `Roll Tracker`:
  - fix creatures list missing some actors
  - fix rolls being mixed up between users
    - i sadly can't go back and fix all the rolls that were saved on the wrong users
- `Target Helper`:
  - fix saves being overridden when rolled by another user while the modifiers windows is open
  - fix `Notes` icon margin

# 3.4.1

- `Target Helper`:
  - fix save rolling not working from a player client
  - fix players clicking on the regular save button of a spell message not prioritizing rolling the target save first

# 3.4.0

- this release implements the `Roll Tracker` tool
- `Roll Tracker`:
  - because of the user settings changes in v13, the previous data isn't accessed by the module anymore
  - now only list creatures that are exclusively owned by the player
- `Target Helper`:
  - the feature has received a significant refactorization to accommodate spells with variants
  - fix fast-healing using the current targets instead of self-targeting the triggering token

# 3.3.1

- `Actionable`:
  - fix case of `Auto Self-Applied` triggering multiple times

# 3.3.0

- `Actionable`:
  - no longer modify the sheet of crafting related actions (e.g. `Quick Alchemy`)
- `Better Template`:
  - add `skip` flag to skip showing the popup on template creation
- `Droppeth`:
  - now give ownership of the dropped token/actor to the user
- `Resource Tracker`:
  - slightly offset the color of the `min` and `max` values
- `Target Helper`:
  - add missing `Upgrade Checks Messages` description

# 3.2.0

- `Target Helper`:
  - make sure to always add save data to spell damage messages that don't already have it, which means that:
    - directly roll the damage without previously creating the spell message will now have saves
    - rolling the damage from a spell message more than once will have saves
  - fix breaking issue when multiple modifiers apps are opened before rolling any and the message "loosing" its data
  - fix the `Add Targets to Message` user setting not actually doing anything

# 3.1.2

- fix breaking error caused by gm-only settings

# 3.1.1

- fix little conflict with the module debug mode

# 3.1.0

- small refactor of tool settings code, nothing on the user's end should be affected
- `Actionable`:
  - fix `Item Macro` & `Spell Macro` settings name/hint
  - fix items being 'usable' when un-identified
- `Better Template`:
  - reset the `Remove Template` checkbox to default value
  - fix error when the module tries to remove a template that was already destroyed
- `Resource Tracker`:
  - fix not being able to create resources in w world with negative world-time

# 3.0.3

- `Automatic Rune Progression`
  - fix not being able to update shield HP when using the `Shield Rune` setting
  - remove the shield HP update automation to fix the bug, so you are gonna have to do it manually from now on whenever a shield rune is updated, there is really no solution for that problem sadly

# 3.0.2

- `Better Movement`:
  - fix tokens being blocked by walls during teleportation
- add `Polish` & `Chinese` localizations

# 3.0.1

- `Resource Tracker`:
  - fix resource menu template path error

# 3.0.0

- this is a foundry `13.344` and system `7.1.0` release
- all `client` settings have been converted into `user` settings and have been reset to their default value
- `Actionable` was revamped:
  - `Action Macro`
    - now works on NPCs as well
    - now uses the macro image for actions that use the default image
    - a `use` and `cancel` function arguments are now also passed to the macros
      - nothing is processed until the `use` function is called from the macro (including uses value reduction)
      - calling the `cancel` function will display a notification to the user (you don't need to call it)
  - `Item Macro`
    - adds a way to link a macro to equipment & consumable items (except scrolls & wands)
    - macros are provided with a `item`, `use` and `cancel` function arguments
      - nothing is processed until the `use` function is called from the macro (including uses value reduction for consumables)
      - calling the `cancel` function will display a notification to the user (you don't need to call it)
  - `Spell Macro`
    - the module doesn't expect anything to be returned from the macros anymore
    - renamed the macro `item` argument to `spell`
    - macros are now provided a `cast` & `cancel` function arguments
      - calling the `cast` function will cast the spell and accepts an object of type `CastOptions` to override the casting options of the spells (e.g. `rank`)
      - calling the `cancel` function will display a notification to the user (you don't need to call it)
  - `Use Consumable`
    - previously a feature of `Use Button`
    - now also handles ammunition
  - `Auto Self-Applied`
    - previously a feature of `Use Button`
- `Automatic Rune Progression`:
  - no longer modifies `Specific Magic Weapon`, `Specific Magic Armor` or `Specific Magic Shield` items
  - no longer hides rune select fields from the item sheet when `Force Update` is enabled
  - now allows the use of `Handwraps of Mighty Blows` without the `Invested` trait
  - add `Shield Rune` setting (disabled) : automatically adds reinforcing runes to shields
    - shield HP is proportionally updated to fit the change
  - add `Subtract Rune Price` setting (enabled): remove the price of fundamental runes from non-specific equipment
- `Droppeth`:
  - remove the `Remove on Empty` setting
  - remove the `Send Message to Chat` setting
- `Giveth`:
  - remove the `Send Message to Chat` setting
- `Merge Damage`:
  - split the tool into 2 settings: `Merge Button` & `Inject Button`
- `Target Helper`:
  - lot of small style improvement/tweaks
  - add `Upgrade Checks Messages` setting (enabled)
    - this allow you to opt out of the upgraded version of simple save check links which was previously imposed on you by the module if the `Add Targets to Messages` setting was enabled
    - is now able to retrieve the origin item if the link was sent to chat from an actor sheet
    - traits are now always shown to the players
  - rework spell message workflow: targets now always show on spell messages that have a save and when the damage is rolled, all the save related data is transferred to the damage message
    - data is removed from the spell message once a damage is rolled
  - extend the action message workflow: on top of being able to drag a save onto an action message, the module will now also do the following:
    - if a single save link is found in the message content, the save will automatically be added to it as if you dragged it manually
    - if an action message currently has data from a **basic** save on it, clicking a damage link will automatically transfer all the data to the newly generated damage message
    - save data is removed from the action message when a damage is rolled from one of its links, which means you could do the drag-save + roll-damage process multiple times from a same action message if it was ever needed
  - extend check message workflow: if a damage message is created right after a save check message, you will be offered the option to transfer the check message data to the damage message following it
    - the save check message is reset to its regular form once transferred to a damage message
- `Underground`:
  - make sure to refresh the canvas when disabling/enabling the feature
- convert `Effects Panel` tool to `Better Effects Panel`
- convert `No Bulk` tool to `Better Inventory`:
  - settings have been reset to default values
- convert `Template Helper` tool to `Better Templates`:
  - remove the `Auto Dismiss` setting
    - it is now an option in the popup instead
  - clicking on either buttons of the popup will respect the `Remove Template` option while closing the popup via the `x` button will do nothing
- add `Anonymous` tool:
  - the `Anonymize NPC spells` allows the GM to cast spells from NPCs while not revealing their name or description to the players
    - the GM can reveal the full spell at any time using the `Reveal spell to players` option in the message context menu
- add `Better Movement` tool:
  - move the `Teleport Tokens` in it while combining both its settings into a single one
  - add `No History Record` setting
    - prevents movement history recording on your client
- add `Better Trade` tool:
  - move the `With Container Content` feature there and reset its setting
- add `Resource Tracker` tool:
  - a small widget to track arbitrary resources that can be toggled via a control button on the left UI
  - resources can be shown to everybody, though only the owner can update them
  - resources created by GMs are shared among all GMs
  - resources can have a timeout option linked to the world clock to decrement their value automatically over time
- remove `Hide Damage` tool
- remove `Spells Summary` tool
- remove `Stances` tool
- remove `De-targeting` tool
- the `Better Merchant`, `Hero Actions`, `Identify`, `Roll Tracker` and `Shared Data` tools will be re-implemented at a later date

# 2.35.1

- `Target Helper`:
  - make sure to always add the `damaging-effect` when a save is basic
    - this is mostly for third party module who manually feed data to the feature's flag

# 2.35.0

- `Hero Actions`:
  - fix the `Trigger` added by the module to system hero deck actions not being localized
- `Teleport Tokens`:
  - add new `Re-Select Tokens` setting (disabled by default)
    - re-select the tokens at the end of the teleport
  - improve the spread algorithm so tokens can be moved around corners
    - this is still a simple logic, but it should be enough for the majority of cases
  - no longer start to spread on the outer squares when a large & larger token is in the selection
  - now sort tokens by size so that larger tokens are behind smaller ones
  - now put the center of large & larger tokens at the center of the square to make sure they don't end up seeing the wrong side of a wall
  - fix large & larger tokens not being teleported if only one of them was in the selection

# 2.34.0

- add new `Teleport Tokens` feature:
  - this is a gm only feature and will move tokens anywhere in a scene without any travel time
  - 2 keybinds are available (no key is bound by default)
    - the `(Unselect)` keybind will also unselect all the tokens to give an unobstructed vision of the scene
  - tokens will fan out in a small radius around the target location while being constrained by any `move` wall
  - if `[Right Click]` is used instead, all the tokens will stack on top of each other at the location
- `Condition Manager`:
  - update the setting description to make it clear that a keybind is involved in the the feature's process

# 2.33.4

- `Actionable`:
  - fix not being able to drop feats in the `Suppressed Class Features` field
  - fix localization of macro delete button tooltip

# 2.33.3

- `Better Merchant`:
  - increase the height of the service menu app
  - fix description editor header scrolling out of bounds when reaching the bottom of the section

# 2.33.2

- `Better Merchant`:
  - fix items with runes not having their price updated by filters
  - fix filters `Price Ratio` field being too small

# 2.33.1

- `Condition Manager`:
  - fix players being able to see the name of creatures in the `Origin` select when they shouldn't (due to settings)

# 2.33.0

- `Condition Manager`:
  - `Origin` now defaults to the current combatant instead of the target's
  - add `Label` field
    - the field will give you a preview the effect label based on the selected origin
    - you can alter the label instead of using the auto generated entry
- `Target Helper`:
  - do not highlight the save icon indicating `Modifiers Matter` existing in the tooltip if said modifiers aren't shown to the user (due to settings)

# 2.32.2

- `Hide Damage`:
  - fix damages made by the GM without any associated actor not being hidden

# 2.32.1

- `Stances`:
  - fix current stance not being toggled off when clicking on its button

# 2.32.0

- `7..5.0``6.1.0` release release
- `Condition Manager`:
  - no longer disable the `Show token icon?` option from the effect
    - the latest system changes now also hides the effect from the `Effects Panel`

# 2.31.2

- `Rolls Tracker`:
  - fix non-creature actors being shown in the list
  - fix x-absis labels not being localized
  - fix shared actors being selected for every user owning them

# 2.31.1

- `Hide Damage`:
  - fix players being able to expand the dice results when some system metagame settings are used

# 2.31.0

- add new `Rolls Tracker` feature:
  - you can access its interface by clicking on the control button added to the left UI part
    - the interface offers different filter options
    - you can select multiple users/actors using the `[shift]` key
  - encounters are automatically registered when one begins
  - the GM can `pause` the whole feature at any time
  - the GM can create `sessions`
    - they allow grouping of data in a controlled amount of time
    - players will not see any new recorded data while a session is active
    - everything will be available to players when the session ends
  - the GM can `clear` recorded data
    - a date can be provided to only delete data prior to it
  - all the GM specific actions can be accessed via the API
    - the `clear` action can receive a `days` argument to delete everything older than `x` allowing some automation if needed
  - no rolls are recorded when a single user is logged in unless you enable the debug mode `CONFIG.debug.modules = true`

# 2.30.3

- `Condition Manager`:
  - fix adding a condition that also add other conditions preventing from closing the character sheet
    - this is actually a system bug, not related to the module itself

# 2.30.2

- `Condition Manager`:
  - revert latest default change of `Expire On`

# 2.30.1

- `Condition Manager`:
  - change the default `Expire On` to be `End of Turn` as this is the default behavior of conditions
  - replace the `Current Combatant is Origin?` checkbox with a `Origin` select
    - you can pick any combatant from the combat

# 2.30.0

- `Condition Manager`:
  - add `Current Combatant is Origin?` row
    - this will add the current combatant as the origin of the effect
    - will only show if the receiving actor is in combat and isn't the current combatant
  - fix persistent-damage conditions not working with the manager

# 2.29.1

- `Condition Manager`:
  - set default options to `1` `Rounds` instead of `Unlimited`
  - add `Counter` row to manually change its value before applying the condition if needed
    - won't show for conditions that can't have counter
  - small improvements to the number fields to avoid invalid entries

# 2.29.0

- add new `Condition Manager` feature
  - to use it, you need to setup a key to hold it while adding a condition to an actor
  - a condition manager popup will show and let you set up a duration, expiration anf if the effect is unidentified (GM only)
  - an effect handling the condition will be created in its place to handle those options

# 2.28.0

- `Droppeth`:
  - add `Droppeth Modifier` keybind
    - allow you to change the key that needs to be held to drop an item on the ground
- `Merge Damages`:
  - significantly improve the handling of damage notes
    - it should now avoid duplication of notes even in more complex cases
    - improve styling of notes in chat message
    - fix awkward "comma" character sometimes showing between notes
- `Target Helper`:
  - remove the select icon from target headers
    - clicking on the target header replace that functionality (double click to open the sheet included)
    - players can now also use it

# 2.27.0

- this is a system `6.8.5` update
- `No Bulk`:
  - fix actor breaking error due to latest system changes

# 2.26.2

- `Target Helper`:
  - fix dropped inline checks not accounting for `adjustment`

# 2.26.1

- `Target Helper`:
  - add the roll message in the `pf2e-toolbelt.rollSave` hook

# 2.26.0

- `Use Button`:
  - add an extra flavor text for consumables `use` to make it more obvious
- `Target Helper`:
  - add two custom hooks when a save is rolled/rerolled

# 2.25.2

- `Droppeth`:
  - only count root items (exclude items inside containers) when it comes to check if a single item exists in a droppeth actor's inventory
- `Stances`:
  - always removes old stances before adding the new one (or non at all)

# 2.25.1

- `Global`:
  - fix players not being able to transfer a container and its content to a `loot` actor
  - fix duplicating items when a player would transfer a container and its content out of a `loot` actor

# 2.25.0

- this is a system `6.8.0` release
- the module now uses a migration manager
  - the main GM will be asked to migrate on load
  - if the system is migrating data, make sure to wait until it is done before starting
- add new/first `With Container Content` global setting
  - when enabled, moving a container to another actor will be accompanied by its entire content
  - will not interfere with any transaction related to merchants
- add `Droppeth` section:
  - this new feature allows any user to drop items directly onto the ground by holding the `[Ctrl]` key before starting to drag
  - a `Loot` actor & token are automatically created to host the dropped item
  - whenever only one item is present in the loot actor, its name and image will be used for the actor
  - if more items are added later on to the loot actor, a generic name & image will be used instead
  - if the only present item is a source of light, the actor will emit said light until the item is removed or more are added
  - you can also drop items directly from the sidebar or the compendium (no quantity window will be shown for those though)
- `Actionable`:
  - update to be compatible with the new crafting actions
  - you cannot add a macro to an action that is associated with crafting
- `Better Merchant`:
  - update filters to be compatible with the new compendium browser
  - switched the `Filters Menu` to `ApplicationV2`
  - merchants now always buy treasures for 100% of their price if they reach the default filter
  - the items selection of `From Merchant` cannot be done directly in the compendium browser anymore
    - that step has been moved after you setup the browser filters and click on `Add To Merchant`
    - a new window will allow you to select which items you want to add
    - items creation is now done in batch of 10 at a time
- `Giveth` rework:
  - add new `Include Effects/Conditions` world setting
    - allows players to drop effects & conditions onto actors they do not own
  - allow creating new stacks when giving items
- `Hero Actions`:
  - allow the use of `Mythic Points` instead of `Hero Points`

# 2.24.0

- if you use the `PF2e Dailies` module, make sure to update it to version `3.15.0`
- `Better Merchant`:
  - add `Buy Max Ratio`, `Sell Max Ratio` and `Service Max Ratio` settings
  - allow 2 decimals to filter and service ratios
- `Spells Summary`:
  - hide non-primary vessel spells from the list
  - fix background color for signature spells
  - fix not being able to modify the focus points
- `Target Helper`:
  - add `speaker` argument to `Dice So Nice!` call

# 2.23.1

- `Identify`:
  - fix date year value when not using the `Unthemed (Gregorian Calendar)`

# 2.23.0

- `Identify`:
  - fix spellcasting entries other than prepared & spontaneous being used to check if a character can use recall knowledge to identify a scroll/wand
- some internal changes

# 2.22.4

- `Target Helper`:
  - fix damage buttons being highlighted or blurred even when the `Show Check Outcomes` metagame setting is disabled

# 2.22.3

- `Target Helper`:
  - fix save result generated for unobservable origin actors
    - this impact the tooltip & the degree of success buttons color

# 2.22.2

- `Target Helper`:
  - improve roll options generation for target inline saves

# 2.22.1

- expose the whole toolbelt API & more to `game.toolbelt`
- `Shared Data`:
  - add bunch of functions to the tool api
- `Target Helper`:
  - fix missing item traits for dropped & reposted saves

# 2.22.0

- `Effects Panel`:
  - remove the `Condition-Sheet Icon` feature
  - no longer display the `Remove-Effect Shortcut` info in the tooltip
    - the functionality still works though
  - those removals are due to a recent system change that makes them impossible to work
- `Identify`:
  - now display the item identification DCs in the `Identify Item` tooltip
- `Spells Summary`:
  - add background color to signature spells
  - fix prepared cantrips having the expended toggle
- `Target Helper`:
  - add vehicles & hazards to the valid target list
    - only hazards with HP will be added
  - add new icon in place of the die to indicate that the actor cannot roll the save
  - add new icon to `Set Splash Targets`
    - this functionality works on top of how the module already handles splash damage
    - it specifically adds splash targets which won't have the regular damage buttons
    - this is useful in situations where an actor targets multiple tokens with the same name which makes it hard to differentiate the original target from the ones that are supposed to be splashed
  - add support for persistent damage messages
    - this refers to the message that adds it to the actor, not the message that applies the damage
    - due to the nature of the data generated by the system for messages originating from a spell, some persistent damage messages can end up having a save added to them even when it shouldn't, there is nothing that can be done about it
  - mousing over a target row header will now emit the `hover` event and highlight the target token
  - you can now drop foundry items (i.e. conditions, effects, equipment) on a target row header
    - works the same way you would drop them on a token or an actor sheet
    - makes it convenient to add conditions/effects to the target token that failed a save for instance
  - replace the `Open Sheet` icon with `Select Target`
    - this simply set the target token as your current selection
    - double-click to open the actor sheet

# 2.21.1

- `Target Helper`:
  - small improvement to header styling
  - fix origin actor pointing to the wrong actor for saves
  - fix adjustment not always showing in the save tooltip

# 2.21.0

- this is a system `6.5.0` update
- use `string#replace` instead of `string#replaceAll` for compatibility with older browsers
- `Actionable`:
  - made the necessary changes to work with the new system frequency handling
  - actions are no longer prevented from being used when no use remain (following the system workflow)
- `Automatic Rune Progression`:
  - add support for all types of handwraps now that the system recognize them
- `Better Browser`:
  - remove the `Remove Bestiary Duplicates` setting/feature now that duplicate monsters have been removed from the system
- `Shared Data`:
  - replace `Turn Start/End` with `Time Events`
    - it now handles turn start/end, initiative change and rest-for-the-night
    - it now handles frequency recharge (doesn't work with frequency of `turn`)
- `Use Button`:
  - remove the `Add To Actions` setting/feature now that the system handles it
  - fix `Auto Self-Applied` message update

# 2.20.0

- `Merge Damages`:
  - no longer emit dice roll sound when merging or splitting messages
  - no longer roll 3D dice when merging or splitting messages
    - you need to update `Dice So Nice` to version `5.1.2`
  - fix parsing of the messages on load when the feature is disabled
- `Target Helper`:
  - skip manual dice roll input when re-rolling a private save

# 2.19.0

- `Better Merchant`:
  - fix incorrect modified price for items that come in bundle (such as arrows)
- `Merge Damages`:
  - increase the size of the icons added to damage messages
  - add a new `Inject Damage` feature/icon to damage messages
    - as opposed to `Merge Damages`, it will leave the previous message intact and only inject damage instances to it
    - useful when only extra damage is added and/or when you want to keep the "identity" of the message
      - if you want to keep the saves from `Target Helper` for instance
    - an merged/injected message cannot inject its damage into another but can still merge to or be merged with
    - a message can be injected more than once
- `Target Helper`:
  - slightly increase the size of icons and text for the header of extra rows

# 2.18.0

- `Hide Damage`:
  - you can now click on the total number to reveal it to all players
- `Target Helper`:
  - clicking the message save button will now first try to roll the inline save for the selected tokens instead of rolling a regular system save
    - this works for both spell and prompted check messages
    - if more than one token is selected, it will roll for each one of them that is a target of the message (and hasn't rolled its save yet) and roll regular system saves for the other ones
    - if the token of a target that has already rolled its save is selected, a regular system save will be rolled instead

# 2.17.0

- `Better Browser`:
  - fix missing results when using the `Search Text` field
- `Target Helper`:
  - some slight improvement in the handling of messages
    - this will cause any message created before this update to not be handled by the feature anymore
  - add support for actions messages (ability & feat)
    - you can now drop a save inline link onto an action message
    - useful for actions that do not have a damage inline link
  - add support for prompted check messages
    - prompted messages are ones that only have an inline link in them
    - some of those messages generated by the system also have a label or flavor header and will also work
      - when clicking on a inline link `Post prompt to chat` icon
      - when using the system `Generate Check Prompt` macro
  - `Roll NPC Saves` is now a button directly added on the message and no longer shows in the context-menu
  - fix targets being added to spell check roll messages
  - fix 3D dice not properly following the `Show Ghost dice for hidden rolls` setting when rolling a private save

# 2.16.0

- this is a system `6.4.1` release
- `Actionable`:
  - make sure the spell macro `options` parameter always has a reference, so the macro can change its data in all use case
- `Target Helper`:
  - add support for the new ally/enemy roll option to damage-taken

# 2.15.2

- `Actionable`:
  - forward cast `options` to the spell macros (containing cast `rank` and more)
- `Better Merchant`:
  - fix sell refusal message

# 2.15.1

- `Actionable`:
  - spell macros can also return an object containing `customNotification` or `skipNotification` to cancel the cast

# 2.15.0

- `Actionable`:
  - spell macros will now cancel the spell cast if it returns `false`
- `Better Merchant`:
  - service macros will now be provided more parameters, see [here](https://github.com/reonZ/pf2e-toolbelt/wiki/Better-Merchant#service-macro) for more details

# 2.14.0

- few updates of the settings descriptions
- `Actionable`:
  - add support for spells
    - a drop zone section has been added in the `Details` tab of the spell sheet
    - the macro is executed on `cast`
    - the spell is forwarded to the macro as the `item` parameter
- add `Better Browser` section:
  - add `Remove Bestiary Duplicates` world setting
    - it removes creatures from the original 3 `Pathfinder Bestiary` that have a version with the same name in the `Pathfinder Monster Core`
    - it only affects the displayed results in the compendium browser
- `Better Merchant`:
  - add a new line to the merchant sidebar menu to set the services ratio
  - you can now link a macro to be executed when the service is purchased/offered

# 2.13.0

- `Actionable`:
  - add support for passive actions
    - a drop zone section has been added to passive actions (since they are not handled by the system self-applied feature)
  - remove the `Chat Message` setting
    - the macro should post the message if needed now that the `item` is passed as argument
- `Better Merchant`:
  - add `Services` feature
    - the GM can create simple services offered by the merchant to Character/NPC/Party actors
    - services consist mostly of a description, it can contain anything
    - services can be imported and exported individually or in bundle
    - players will only see services that are `enabled` and have a quantity other than `0`
  - add a `Services Above Items` world setting
- `Identify`:
  - remove the misidentify icon, after multiple (almost finished) attempts, i wasn't able to reach a state that was satisfactory
- `Target Helper`:
  - button highlighting for basic saves will now take into account legendary save features which halve the damage taken of a failure (e.g. `Greater Juggernaut`)
  - fix `Dice So Nice!` dice not showing for other clients when rolling saves
- `Use Button`:
  - no longer send the action description to chat if a macro is ran

# 2.12.0

- this is a system `6.3.1` release
- add an error notification to features that require a GM to be online and none is found
- `Identify`:
  - no longer display the "Already Identified" banner
  - fix not being able to unlock a item row when clicking on its image, details or a cell that have a green vial
- `Stances`:
  - fix character sheets not being refreshed when a combat ends
- `Template Helper`:
  - you can now hold `shift` when clicking the `🎯Target` button to add the template targets to ones that already exist instead of replacing them

# 2.11.1

- `Target Helper`:
  - fix trying to access a missing global variable

# 2.11.0

- `Identify`:
  - updated settings hints
  - have different icons based on the item actor type
  - allow items from any type of actor to be identified using this feature
    - any item that is in an actor's inventory/stash will have its `Identify Item` button open the tracker
    - players can now also request an identification from any actor they have ownership or can usually update (e.g. loot, party, dead NPCs)

# 2.10.0

- switched all dialogs used by the module to their ApplicationV2 version
- add a new `Identify` feature:
  - help manage the unidentified items from the party members' inventory (plus the party stash if enabled)
  - track the items that have been identified by the characters in the party
  - allow for fast and bundled identification
  - you can open the tracker window using the api function `game.modules.get("pf2e-toolbelt")?.api.identify.openTracker()`
    - best make a macro out of it
  - the `Identify Item` button/icon in the character sheet's inventory tab will now open the tracker window instead of the system's one
    - if the `Allow Player Request` setting is enabled, players will now have access to that button instead of it being GM only
    - sends a request for identification to the GM when used by a player
- `Hide Damage`:
  - fix `Enabled` setting not doing anything when changed until reload
- `Target Helper`:
  - add support for `PF2e Modifiers Matter`
    - modifiers which matter will be colored inside the save tooltip
    - the save icon will blink with the most important modifier color to notify the user
    - it respects the `Always show highlights to everyone` setting
  - fix localization of the `Keeley` low roll modifier
- `Template Helper`:
  - fix targeting of dead actors' tokens
- `Use Button`:
  - fix use button showing for unidentified consumables

# 2.9.2

- `Stances`:
  - fixed custom stances not working

# 2.9.1

- `Underground`:
  - fixed the elevation constant being reset on scene change

# 2.9.0

- this is a system `6.2.1` release
- `Target Helper`:
  - fixed not being able to use new inline checks from system `6.2`
- `Template Helper`:
  - you can now skip the feature by holding `Ctrl` when placing a template.

# 2.8.2

- `Actionable`:
  - now provides the item as argument to the macro scope
- `Hero Actions`:
  - updated the setting hint for `Table UUID` to indicate the use of `Left Click` instead of `Right Click` now that foundry V12 changed those
- `Underground`:
  - fixed error when enabling/disabling the feature while no scene is currently active
- fixed language label issue for `Polish` language

# 2.8.1

- `Shared Data`:
  - the `Turn Start/End` option now also triggers the system's hooks (a virtual combatant is created for that purpose)

# 2.8.0

- this is a system `6.1.0` release
- `Better Merchant`:
  - fixed party not being able to sell items
- `Hero Actions`:
  - fixed broken style in the sheet
- `Shared Data`:
  - fixed breaking changes with skills
- `Stances`:
  - now supports non-feat stances directly

# 2.7.10

- `Better Merchant`
  - fix some trade messages having `undefined` names
- `Template Helper`:
  - prevent the popup from showing on scenes without a square grid

# 2.7.9

- `Template Helper`:
  - fixed spell templates being removed even with the `Orphan Only` option selected

# 2.7.8

- fixed buttons added by both `Actionable` and `Use Button` being considered as submit buttons and would trigger whenever the `Enter` key is being used in an input field on the sheet

# 2.7.7

- `Shared Data`:
  - fixed update on actors that share their health triggering an error to other players

# 2.7.6

- `Target Helper`:
  - fixed shift+click on a target damage button instead applying the damage to the selected token

# 2.7.5

- `Target Helper`:
  - fixed not being able to roll saves on spell cards

# 2.7.4

- `Hero Actions`:
  - fixed private trade not working

# 2.7.3

- `Actionable`:
  - exposes `getActionMacro` function to the API

# 2.7.2

- `Merge Damages`:
  - fixed naming/merging issue with item-less strikes (such as unarmed attack)

# 2.7.1

- `Merge Damages`:
  - fixed modifier tags inside a gm-only section not having any border
  - fixed error when merging damages generated by a temporary/consumable item (wands, scrolls, ..)

# 2.7.0

- added a new `Underground` feature:
  - it allows tokens with negative elevation to remain visible on the board
  - added a few client settings to customize the render of tokens that have a negative elevation

# 2.6.1

- added Polish localization (thanks to [Lioheart](https://github.com/Lioheart))

# 2.6.0

- this is a system `6.0.1` release
- lot of internal changes were made
- `Actionable`:
  - fixed not being able to drop an effect on the item sheet
  - fixed fringe issue preventing the interaction with the `Use Button` feature when both a macro and an effect existed
- `Better Merchant`:
  - the feature was reworked to be compatible with the latest changes
- `Giveth`:
  - the feature was reworked to be compatible with the latest changes
- `Hero Actions`:
  - now uses whisper for private message because of the v12 changes to roll messages
- `Merge Damages`:
  - fixed persistent damages being lost on merge
- `De-targeting`:
  - fixed the feature not starting on load

# 2.5.0

- this is a `6.0.0-beta1` release
- this is the first version of the module for v12, there was a significant amount of stuff that needed to be changed and most likely more that were missed

# 2.4.5

- added extra checks across the features to avoid missing elements errors

# 2.4.4

- `Hero Actions`:
  - fixed a parsing issue when using a custom table pointing to a custom compendium pack journal

# 2.4.3

- `Merge Damages`:
  - avoid `null` degree of success for merged damages

# 2.4.2

- `Merge Damages`:
  - make sure long instances of damage do not stretch the message outside of its bounds

# 2.4.1

- `Actionable`:
  - fixed error with passive actions

# 2.4.0

- added a new `Actionable` Feature:
  - this lets you link a macro to a character action
  - compatible with both regular and feat actions
  - simply drag & drop a macro in the `Details` tab of the action the same way you would for a self-applied effect
  - a `use` button will be generated to execute the macro (compatible with the `Use Button` feature)
  - the macro is executed with the character as `actor` parameter

# 2.3.1

- `Target Helper`:
  - now adds hazards & vehicles as targets
- `Template Helper`:
  - now targets hazards & vehicles
  - still doesn't target "hidden" tokens

# 2.3.0

- `Use Button`:
  - `Add To Actions` no longer creates a second `use` button to actions that already have one (because they have a self-applied effect), it now instead piggy back on the existing button to consume a charge on use
  - `Add To Consumables`
    - no longer adds a button for ammunition
    - now constructs a more in-depth message depending on the consumable
      - scrolls/wands doesn't change
      - items with a formula will now have their description above the roll
      - other items will have their description used instead of the generic system message
      - the `use` button and footer are stripped from the items description when used that way

# 2.2.0

- `Better Merchant`:
  - you can now disable the default filters
    - the default filter will never be chosen as the filter for the transaction if disabled
    - this won't change the `Use Default Purse` behavior of the other filters and will still make sure the default purse has enough gold for the transaction
- `Shared Data`:
  - a master can now share its hero points with another character actor
- `Target Helper`:
  - re-formatted the save tooltip structure based on the different metagame settings (let's hope i got it right this time)
  - GMs can now roll an inline save private and its result won't be shown to the players
    - by having your global roll mode set to private/blind/self at the time of rolling the save
    - by having your modifiers window roll mode set to private/blind/self
    - by holding `ctrl` while clicking on the inline save
    - reroll will keep the private state of the original roll

# 2.1.1

- `Hero Actions`:
  - fixed error when trying to `give` hero actions manually and not using the `draw with replacement` option in the table

# 2.1.0

- `Hero Actions`:
  - added a new gm-only `Give` button to manually give actions to a character
- `Shared Data`:
  - it is now possible for a master to have more than one linked actor
  - non-"linked" actors can now also select a master (NPCs & Characters only)
  - NPCs cannot use the `Skills Proficiencies` or `Weapon Runes` options
- `Target Helper`:
  - no longer shows the result of the die if the `Show Check Outcomes` metagame setting is disabled

# 2.0.2

- `Better Merchant`:
  - fixed error when the merchant had any container in their inventory
- `Stances`:
  - fixed error with missing actions that are associated with a stance

# 2.0.1

- `Better Merchant`:
  - fixed actors not receiving coins from selling items to a merchant
  - fixed not being able to set a buy purse to `0` to prevent the merchant from buying items.

# 2.0.0

- the module has been completely remade from scratch
- the module no longer contains compendium packs
- the `Inventory`, `Npc Lore Knowledges` and `Multi-Cast` features have been retired
- the settings have received an overhaul
  - everything has been reset
  - some settings have been added or split into more settings
  - all settings are now grouped by feature (with a title for each feature)
  - some settings are now enabled/set by default (only the ones that are dependent on a feature-enabling setting)
  - no longer has settings that could be hidden when another setting is disabled
- `Better Merchant`:
  - complete rework of the feature
  - removed individual `Infinite Stock`
  - selling ratio now works off filters like buying does
  - selling items doesn't add coins to the inventory, it instead keep track of it in the filters
  - buying/selling filters now use a modified version of the compendium browser
  - for GM: price numbers of a ratio other than 1 will be colored and can be hovered over to see which filter changed it and at which ratio
- `Effects Panel`:
  - no longer add the `Condition-Sheet Icon` to persistent damage conditions
- `Giveth`:
  - no longer allows to drag & drop effects/conditions onto unowned actors, the feature is strictly reserved for giving "equipment"
- `Hero Actions`:
  - revisited the design and ergonomics of the sheet UI
  - some styling improvement were made to the different dialogs used
  - you can now "safely" use the `Private` and `Allow Trade` settings together
    - users who don't own targeted characters will not be shown the list of their actions (and therefor can't select which one they want to receive)
    - when receiving a trade request, the user will have to select which action they want to give without knowing what they are offered
  - a new `Hero Set Variant` setting has been added
    - when set to 0, the feature will work as before: a character is allowed to have 1 hero action per hero point available
    - when set to any number, the feature functions differently and instead have characters draw a set amount of cards (equal to the setting number) and can use any of them by spending a hero point without being forced to discard or draw any action
- `Hide Damage`:
  - this new setting lets you hide the damage value of non-player owned creature from players, it can be particularly useful paired with the target helper feature so player don't know if they should reroll or not a save just by seeing some big number in the chat message
- `Merge Damages`:
  - material is now propagated to the all the damage instances of the same type instead of splitting them into multiple instances (which was basically creating issues with IWR instead of fixing them)
  - details will now be hidden from players when merging damages for non-player owned creatures (when necessary)
  - merged message will now use the targets from the original messages instead of using current targets
  - if merged damages have more than on roll (usually for splash), those rolls will be added to the merged message as extra rolls
- `Share Health Pool` is now `Shared Data`:
  - the option to select a master is now limited to GMs
  - a master must be a "linked" character actor to be selected
  - only "linked" actors can select a master
  - an actor can now take advantage of turn start/end if their master is in combat
    - effects/conditions on the actor will trigger/expire as if it was in the encounter
    - if the actor is already in the encounter, nothing special will be done
  - an actor can use its master's skills proficiencies
  - an actor can use its master's invested handwraps/weapon fundamental & property runes
  - an actor can use its master's invested armor/bracers potency & resilient runes
- `Spells Summary`:
  - even though the end user experience hasn't changed much, it now works very similarly to the regular spellcasting tab (it is also now an actual tab)
  - spell `uses` are now directly available in the spell rows instead of having to hover over them
  - mousing over the `category` of a spell will show the name of the spellcasting entry in a tooltip
- `Target Helper`:
  - now can use substitute rolls
  - a new icon that can be hovered over shows up if a save roll results in having notes
  - no longer disables the chat message when a roll is inbound
  - no longer show target rows on private messages
- `Template Helper`:
  - added a new `Auto Dismiss` settings which will remove the template after setting the targets (or cancelled)
    - `Orphan Only` refers to templates that do not originate from spell messages (no little trash icon to remove them)
- `Use Button`:
  - new feature that either add new use buttons or enhance existing ones

# 1.43.0

- `Spells Summary` updates:
  - is now compatible with the version `3.0.0` of `PF2e Dailies`
  - no longer compatible with previous versions of `PF2e Dailies`
  - no longer offer backward compatibility support for `PF2e Staves`
  - fixed issue with flexible spellcasting uses showing even not hovered

# 1.42.2

- `Target Token Helper` updates:
  - fixed error on chat render when a registered targets no longer exist in the scene

# 1.42.1

- `Target Token Helper` updates:
  - fixed `enrichHTML` not handling synchronous calls
  - fixed small buttons line height issue with some browsers

# 1.42.0

- `Target Token Helper` updates:
  - now show degree of success adjustment in the save tooltip if any
  - fixed error when adding targets linked to an actor no longer existing

# 1.41.4

- `Spells Summary` updates:
  - fixed feature not properly unregistering itself when disabled
  - fixed character sheets not being re-rendered on setting change
- `Target Token Helper` updates:
  - `Roll All Saves` will now always skip the modifiers dialog

# 1.41.3

- `Target Token Helper` updates:
  - fixed not being able to use the `Block` button when equipped with more than one shield

# 1.41.2

- `Target Token Helper` updates:
  - fixed closing the `Check Modifiers Dialog` without rolling not giving back access to the chat message

# 1.41.1

- `Target Token Helper` updates:
  - the module will now roll ghosted dice with `Dice So Nice` when rolling a save check with the `Show Roll Breakdowns` metagame setting disabled

# 1.41.0

- this is a `5.14.0` release
- updated the module to maintain compatibility with the latest system version
- readme as been updated at long last
- improved management of settings across the different features
  - fixed some fringe quirks
  - can hide settings in relation to another one being disabled
    - the only one for now is `Target Token Helper` client setting
- split up `Template Targeting` from `Target Token Helper`, this is now its own separate feature, there was no reason for it to be disabled when the `Target Token Helper` was turned off as it is a client side feature entirely that doesn't interact with the rest
- `Giveth` updates:
  - updated the transfer item popup
  - updated the giveth message to look more fancy
- `Spells Summary`:
  - updated all the broken stylings
  - now shows the spells specific roll options above the spells list
  - fixed prepare spell toggle showing for cantrips
- `Better Merchant` updates:
  - updated the buy message to look more fancy
  - complete rework of the `From Browser` feature
    - it now works directly from a modified version of the compendium browser
    - the name filter field has been removed, it was interfering too much with the feature
    - you can now pick which items among the ones present in the browser up to a limit of 100
- `Target Token Helper` updates:
  - no longer roll `Dice So Nice` on save check when the `Show Roll Breakdowns` metagame setting is disabled
  - you can now drag & drop save-check inline links onto a damage chat message
    - this will add the save directly into the damage message
    - only links that have a DC and are of type reflex, will or fortitude will be draggable
    - the damage message mustn't already have a `save` module entry
    - you must be the author of the damage message (or GM)

# 1.40.2

- `Better Merchant` updates:
  - added more actor types allowed to sell items (with conditions associated to them)
  - fixed filter data being modified while editing a filter and changing its traits

# 1.40.1

- `Automatic Rune Progression` updates:
  - fixed check for handwraps being equipped/invested not always working depending on the order the data is processed by the system

# 1.40.0

- added a new `Hero Actions - Give Actions` macro (it was already in the API)
- `Better Merchant` updates:
  - added a new `Buy Items` feature
    - once the feature enabled, it will block the transfer if the trade is rejected for any reason
    - it uses filters processed from top to bottom, they are the same as the ones in the compendium browser
    - a filter is selected if it matches the item data and have enough gold remaining in its allocated purse (or have infinite gold)
    - once a filter is selected, its ratio will be used for the purchase
    - if no filter is selected, the ratio of the default filter will be used unless the `All Items` setting is disabled, in that case, the buy will be rejected
    - if the total gold purse cannot afford the buy, the trade will be rejected
    - if the selected filter purse cannot afford the buy and the `All Items` setting is disabled, the trade will be rejected
    - the gold purse of the selected filter will see its amount deducted by the calculated price (unless infinite)
    - the total gold purse is always used to check if an item can be purchased (unless infinite)
    - the total gold purse is always deducted by the calculated price (unless infinite)

# 1.39.1

- `Better Merchant` updates:
  - fixed players not being able to buy items
  - fixed trying to modify html that doesn't exist on players client

# 1.39.0

- `Better Merchant` updates:
  - added a new `Pull from Browser` combo of buttons
    - the magnifier one will open the browser to the `Equipment` tab
    - the other button will offer the possibility to add the resulting list of items from the browser
    - the browser doesn't need to be rendered on screen
    - the browser doesn't need to have the `Equipment` tab opened
    - the `Equipment` tab needs to have been generated at one point before
    - a limit of `100` items to be added has been set
  - properly clamp the price ratio both in the displayed value and in its actual calculation
  - fixed quantity `-` and `+` buttons always being removed
- `Multi Cast` updates:
  - fixed the popup title not containing the actor's name
- `Target Token Helper` updates:
  - optimized the `Block` button behavior for the target rows

# 1.38.0

- `Better Merchant` updates:
  - added an infinity icon which enables `Infinite Stock` for a singular item
    - the `Infinite Stocks` option must be disabled for the icon to show up
    - the merchant's inventory and bulk will be nullified in the sheet as soon as one item has infinite stock
    - same issue about item quantity applies with this

# 1.37.0

- added a new `Better Merchant` world setting:
  - adds custom features to the default system `merchant`
  - everything reverts back when switching to `loot` (exception may be item quantity, see `Infinite Stocks`)
  - `Price Ratio` let you set a global ratio for the merchant (between `0.1` and `5`)
    - new calculated price is only applied when the item is in the merchant's inventory
    - once the item is added to another actor's inventory, the regular price is back
  - `Receive No Coins` will not add coins to the merchant when an item is sold to another actor
  - `Infinite Stocks` will set the quantity of every item in the merchant inventory to `9999`
    - `Treasure` items will not be modified by this
    - the merchant's inventory and bulk will be nullified in the sheet
    - the `+` and `-` quantity buttons will be removed from the items (except for `Treasure` items)
    - the displayed quantity is fictional until one item is sold (on a per item bases)
    - once an item is sold, the quantity is deducted by the system and is updated in the item for good
    - because of that, the quantity cannot be reverted anymore when disabling `Infinite Stocks` or switching the actor to `Loot`

# 1.36.4

- `Target Token Helper` updates:
  - fixed issue with the adjusted damage popup when holding `shift`

# 1.36.3

- `Target Token Helper` updates:
  - changed the "hidden" icon to be the same as the regular one but not filled in
  - updated support for spells originating from consumables, the system data having changed
    - saves won't appear on damage messages that originated from a consumable spell description (only an issue from the activations tab), there is no way to link the message to the original spell currently

# 1.36.2

- `Target Token Helper` updates:
  - fixed unowned target names always ending up being `Unnamed` regardless of the `Tokens Determine NPC Name Visibility` setting
  - fixed target sorting for player not always showing owned targets above unowned ones

# 1.36.1

- `Target Token Helper` updates:
  - fixed some setup issues

# 1.36.0

- `Target Token Helper` updates:
  - the `Target Token Helper` world setting now requires a reload on change
  - added a `Roll All Saves` context menu option to chat messages
    - will only appear for the GM and on messages that have targets and a save
    - only roll saves for non-owned targets, players will have to roll for their own actors
    - will only appear if there are actual saves to roll left (it deduct already rolled saves)

# 1.35.3

- `Target Token Helper` updates:
  - fixed players unable to reroll a save because of the anti-spam feature

# 1.35.2

- removed `Custom Stances` setting, it hasn't been of use for a while now

# 1.35.1

- `Target Token Helper` updates:
  - always show die result to owned targets save

# 1.35.0

- removed the `Hide Modifiers` feature now that the system handles it
- `Spells Summary` updates:
  - replaced the `Consumable` spell category with the appropriate `Wand` or `Scroll`
- `Target Token Helper` updates:
  - players will now see all visible targets, sorted as follow
    - players: owned -> player owned -> unowned
    - gm: unowned -> owned
  - icons representing owned and unowned targets have been added before their name (a special icon is shown for targets that are "hidden" from players)
  - respects all 3 metagame settings `Show Check DCs`, `Show Check Outcomes` and `Show Roll Breakdowns`
  - only the last 10 messages in the chat will be processed on reload
- `Merge Damages` updates:
  - fixed issue with damage traits not working once merged (such as `Holy`)

# 1.34.0

- this is a `5.13.1` release
- `Spells Summary` updates:
  - added description for rituals
  - added support for wands and scrolls
    - their type label is `Consumable`
    - you must first `Draw` the item before being able to `Cast` it
    - you can modify and reset its charges
  - fixed reset icon not being vertically centered

# 1.33.0

- this is a `5.13.0` release
- updated the different helpers and data changes made in the system
- `Target Token Helper` updates:
  - made possible to use the `Target Self` option for inline templates
- `Spells Summary` updates:
  - do not display the sub tabs added by the system with the alternate version
  - fixed the `Range` label
  - properly restore the alternate tab scroll position on sheet render

# 1.32.0

- `Target Token Helper` updates:
  - added support for `Dice So Nice` when rolling inline saves
  - added an anti-spam to prevent users from clicking more than once on an inline save button

# 1.31.1

- now use a custom localization key for the `Open Sheet` tooltip

# 1.31.0

- `Automatic Rune Progression` updates:
  - added exception for `Shield Boss` and `Shield Spikes` to the shield exception (so they get the runes)

# 1.30.1

- fixed an error with `Dice So Nice`

# 1.30.0

- this is a `5.12.0` release
- `Spells Summary` updates:
  - updated to use the new system data
  - added the prepared toggle button to cantrips as is now done in the system
  - now grey out expended spell images
  - fixed focus spell category label
  - fixed overall broken styling
- `Multi Cast` updates:
  - updated to use the new system data
- `Merge Damages` updates:
  - fixed error with formulas with hyphened damage types, the error wasn't preventing the feature from working but was still an eyesore in the console
- added a new `Inventory` client setting:
  - this is a work in progress and is more of a gimmick than an actual useful feature
  - it offers the ability to toggle between the regular and an alternate version of the character sheet's `Inventory` tab at any moment by clicking once more on the tab icon
  - you can drag & drop item icons around to rearrange them or directly equip/invest them depending on where they are dropped

# 1.29.2

- due to issues with settings migration, some settings needed to be completely reset to their default value:
  - `Automatic Rune Progression`
  - `Target Token Helper - Chat`

# 1.29.1

- fixed runes dropdowns reappearing on item sheet refresh

# 1.29.0

- `Automatic Rune Progression` updates:
  - the setting is now a multi-choice instead of an enabled/disabled
  - `Force Update` will always update the runes to be based on the actor's level
  - `Keep Highest` will only update the runes if they are currently lower than what they should be at that level, allowing the use of higher tier runes
  - if you previously had the setting enabled, it will automatically be replaced by the `Force Update` option
  - when the `Force Update` option is chosen, the potency, striking and resilient dropdowns in the item sheet will be removed

# 1.28.0

- added a `Un-Target` client setting, it will remove all the user's targets at turn/round change
- added a `Force Un-Target` world setting, it will forcibly remove the targets of all users at turn/round change
- `Spells Summary` updates:
  - fixed spell name over style
  - fixed spell description not showing up on click

# 1.27.3

- reduce the foundry version requirement to `11.311`

# 1.27.2

- `Target Token Helper` updates:
  - updated styling of the "big" healing-only button to look like the one from the system

# 1.27.1

- added try/catch on all the `prepareBaseData`, `prepareDerivedData` and `prepareEmbeddedDocuments` wrappers of the module to avoid migration errors with the system

# 1.27.0

- `Target Token Helper` updates:
  - the concerned actor of fast-healing and regeneration messages will now automatically be added as a target

# 1.26.0

- this is a `5.11.0` release
- fixed breaking errors with `Automatic Rune Progression`
- fixed styling for `Hero Actions`
- fixed attack message modifiers still showing when using `Hide Modifiers`

# 1.25.1

- staff spellcasting entry spells will now be shown as expended when appropriate, taking into account possible use of spontaneous spell slots

# 1.25.0

- this is a `5.10.5` release
- `Spells Summary` updates:
  - added support for the `Preparing a Staff` feature of `PF2e Dailies`
  - fixed rituals labels
  - fixed disabled cast button styling
  - fixed issue with spell slot index when prepared spellcasting entry had empty slots in between spells

# 1.24.6

- fixed heal button error when trying to heal an actor with bonus healing when using `Target Token Helper`

# 1.24.5

- fixed issue with `Handwraps of Mighty Blows` not always providing the runes to unarmed strikes when using `Automatic Rune Progression`

# 1.24.4

- fixed settings migration only working for the GM

# 1.24.3

- `Target Token Helper` updates:
  - increased the font size of the save result
  - increased contrast between failure and critical failure colors for the save result

# 1.24.2

- fixed `Target Token Helper` adding targets to persistent damage, fast-healing and regeneration messages

# 1.24.1

- fixed the module always disabling the system's `Automatic Bonus Progression` variant rule even when the `Automatic Rune Progression` setting was disabled

# 1.24.0

- this is a `5.10.0` release
- migrated the `Target Token Helper - Chat` setting that was changed in the `1.20.0` update to avoid it showing as `disabled` even though it is enabled with the `small` default option selected
- `Automatic Rune Progression` updates:
  - weapons/strikes belonging to the `shield` group will not receive any weapon potency/striking runes
  - weapons/strikes belonging to the `unarmed` category will not receive any weapon potency/striking runes, those will come from the invested `Handwraps of Mighty Blows`

# 1.23.0

- `Target Token Helper` updates:
  - will now be opinionated when it comes to damage messages with splash damage
    - applying splash damage to a target will blur out both rows for that target
    - applying combined damage to a target will blur out both rows for that target
    - applying combined damage to a target will blur out the combined damage row for all the other targets as well
    - fixed blurring of damage rows not working when initiated by players

# 1.22.2

- `Target Token Helper` updates:
  - fixed chat log not properly scrolling to bottom (again)
  - now also handle scroll-to-bottom for chat-log popouts
  - now properly refresh message popouts that have extras elements injected from this feature

# 1.22.1

- `Target Token Helper` updates:
  - removed highlights for non-save damage rolls (this was nonsensical)

# 1.22.0

- `Target Token Helper` updates:
  - damage buttons rows will now be blurred out when damage has been applied to the target (or when the basic save was a critical success)
  - now highlight the `Damage` and `Double` buttons for non-save damage rolls based on their outcome (`Hit` or `Critical Hit`)

# 1.21.0

- `Target Token Helper` updates:
  - save reroll is no longer limited to using hero points, the dialog now offers a selection of reroll types to choose from
  - now respects the system metagame setting `Show DCs on Attacks and Saves` when generating the tooltip for players
  - fixed? chat not properly scrolling to bottom when updating chat messages

# 1.20.0

- `Target Token Helper` updates:
  - removed the `Target Token Helper - Saves` world setting
  - changed the `Target Token Helper - Chat` into a multi-choices setting
    - you can now select to use small or big (regular) sized buttons in the damage chat message
  - now hide the original damage buttons when there is at least one target damage row visible
  - added a new button to expand/collapse the original damage buttons
  - remade the tooltip showing when hovering over a save, it now gives a lot more information
  - characters can now reroll save checks using hero points
    - if you have `PF2e Workbench` active and its setting `Keeley's Hero Point Rule` enabled, the same implementation of the rule will be used
- `Merge Damages` updates:
  - persistent damages will no longer stack with each other, the one with the highest mean will be chosen
  - fixed targets being re-created for the purpose of displaying them in the damage chat message of `Target Token Helper`

# 1.19.1

- fixed template targeting not working on all grid sizes when using `Target Token Helper`

# 1.19.0

- `Target Token Helper` updates:
  - renamed the `Add targets to message` button to `Set targets for message`
  - removed the `Select All Targeted Tokens` button from damage chat messages
  - added a `Set targets for message` button to damage chat messages (works the same as the one in the spell message)
  - fixed error with save-less damage messages
  - fixed inline saves not showing up for anyone if the actor using wands/scrolls didn't have the `Target Token Helper - Chat` enabled

# 1.18.0

- this is a `5.9.5` release
- added the die result (in the tooltip) for inline save checks when using `Target Token Helper`
- only show an inline save check if the actor actually has one when using `Target Token Helper`
- template targeting of `Target Token Helper` no longer targets tokens that are hidden (not the condition but foundry visibility state)
- template targeting of `Target Token Helper` now only target creatures, hazards and vehicles
- fixed tiny creatures not always being targeted when using `Target Token Helper` template targeting
- fixed not being able to roll inline save checks for spells generated by scrolls/wands when using `Target Token Helper`
- fixed `Multi Cast` with spells generated by scrolls/wands

# 1.17.2

- fixed chat log not scrolling properly on extended damage messages modified by `Target Token Helper` (though i couldn't make it work for the spell card)

# 1.17.1

- fixed players not being able to use inline save rolls on messages they were not the author of when using `Target Token Helper`
- fixed missing roll options on inline save rolls when using `Target Token Helper`

# 1.17.0

- damage buttons are now highlighted depending on the result of the inline save check for spells in damage chat messages when using `Target Token Helper`
- added a `Add targets to message` button to spell cards for spells that have a save and don't deal damage when `Target Token Helper` is enabled
  - adding targets to the message will show the list of owned targets in said message and allow inline save check rolls
- fixed pricing of runeless items when using `Automated Rune Progression` (again!)

# 1.16.6

- fixed template dialog from `Target Token Helper` showing up on all users
- fixed template targeting from `Target Token Helper` not being broadcasted to all users

# 1.16.5

- fixed `Automated Rune Progression` pricing of items that have yet to gain any rune

# 1.16.4

- fixed error with item-less messages when using `Target Token Helper`

# 1.16.3

- changed the default options of the template dialog from `Target Token Helper`

# 1.16.2

- allow the use of `shift + click` on the inline save checks in the extra rows from `Target Token Helper`

# 1.16.1

- console spam is bad

# 1.16.0

- added a `fortitude`/`reflex`/`will` icon to the damage chat messages extra rows from `Target Token Helper` for spells that have a save check
  - clicking on the icon will automatically roll the save check against the original spell
  - once rolled, the result will be displayed next to the icon using the regular system's color coding for the degree of success
- added `Target Token Helper - Saves` world setting (enabled by default): when a damage chat message with multiple targets is created from a spell, should the inline save rolls also generate the regular chat messages

# 1.15.0

- changed `Target Token Helper`, this is no longer a GM only feature, it now enables the global feature to your world but requires client settings to enable its different parts
- added `Target Token Helper - Chat` client setting: damage chat messages will have extra application damage rows for each owned token that was targeted during the roll
- added a new `Select All Targeted Tokens` button to damage chat messages that have more than one owned targeted token
- added `Target Token Helper - Template` client setting: when placing a template on the board, a new dialog will pop allowing you to target all the tokens inside the template (with various criteria)

# 1.14.0

- added `Target Token Helper`, GM only feature where damage chat messages will have extra application damage rows for each token that was targeted during the roll
- fixed `Spells Summary` spell description broken styling
- fixed an issue with module flags, this will only really affect the `Npc Lore Knowledges` feature, you will have to redo them (sorry)

# 1.13.1

- fixed not being able to use `Multi Cast`
- fixed `Multi Cast` not properly using heightened damages
- fixed item traits not being provided to the `Merge Damages` chat message, sadly, the only way of doing it is to merge the traits of all the original chat messages, which could result in occasional false positives when using different weapons

# 1.13.0

- this is a `5.9.1` release
- fixed `Automatic Rune Progression` price manipulation for items that cost less than 1 gold
- fixed `Spells Summary` spell row styling
- fixed `Spells Summary` cast button styling
- fixed `Spells Summary` spell category label

# 1.12.1

- fixed `Permanent Condition Effect` macro issue with badge-less conditions

# 1.12.0

- renamed the module to `PF2e Toolbelt`
- added a compendium pack for macros containing the following
  - `Hero Action - Create Table`
  - `Hero Actions - Remove Hero Actions`
  - `Permanent Condition Effect`
    - helps you generate (or directly add to an actor) an effect setting a permanent condition
    - it automatically sets the name and image of the effect
    - you can select the badge value for the condition
    - you can select if the permanent effect is unidentified, making it impossible for the players to remove the condition

# 1.11.0

- added `Share Health Pool` feature/setting
  - this feature let you link 2 actors together in a "master" and "slave" relationship to share their HP/SP
  - you can find the option to select a "master" for a creature in the `Configure` menu of the actor sheet
    - a "master" cannot also have a "master"
    - a "master" can have multiple "slave"
    - a "slave" cannot also be a "master"
  - the `Force Refresh` option should only be used if you notice some modules getting out of sync with the "slave" creatures

# 1.10.1

- prevent `Dice so Nice` from rolling the dice on `Merge Damages`

# 1.10.0

- this is a `5.8.3` release
- fixed localization for spells headers that were changed in the last system update

# 1.9.1

- fixed traits not showing up in `Merge Damages` chat message

# 1.9.0

- added "only character" warnings to `heroActions` API functions
- added "only GM" warnings to `heroActions` API functions
- added new `heroActions` API functions
  - `getDeckTable` which returns the table used by the feature, looking for the table in that order
    - a table in your world with the UUID specified in the settings
    - a default `Hero Point Deck` table in your world
    - the default `Hero Point Deck` from the compendium
  - `giveHeroActions` which opens a menu allowing you to manually grant hero actions to a character
  - `createChatMessage` generates a chat message with a label and a list of actions
- moved the API doc to the github [wiki](https://github.com/reonZ/pf2e-toolbelt/wiki#api) instead of the `README`

# 1.8.2

- added missing chinese localization (thanks to [LiyuNodream](https://github.com/LiyuNodream))

# 1.8.1

- fixed error with `Merge Damages`

# 1.8.0

- added `Weightless Coins` setting/feature

# 1.7.1

- added exception for `Inspiring Marshal Stance`

# 1.7.0

- this is a `5.7.0` release
- reworked the `Merge Damages` feature
  - you can now merge damages from any source as long the messages have the same originating actor and the same target
  - improved the newly created merged damage chat message, showing all the different damage sources and their outcomes
  - added a new `Split back to original messages` icon on merged damage messages which reverts the merging process
- fixed the `No Dropped Bulk` error that was introduced in this system version

# 1.6.1

- added exception for `Dread Marshal Stance`

# 1.6.0

- added `Hide Modifiers` setting
  - messages generated by non-player owned actors will see their modifiers tags hidden from players
  - can also hide the traits tags on those same messages
- the `Stances` feature has been reworked, it now only uses the actor's data instead of looking and comparing with compendium stances
- removed the `Custom Stances` setting, no longer needed with the new implementation of the feature
- made sure that stances are added/removed automatically only once even if more than one owning player is online

# 1.5.5

- the `Merge Damages` icon will now move itself next to the `PF2e Target Damage` collapse/expand button when present
  - firefox users will have to enable the `:has` feature for it to work because firefox still hasn't made it core

# 1.5.4

- fixed `Cobra Envenom` stance (which has a limited use of once per minute) always replacing `Cobra Stance`
- fixed missing `actionID` in returned data preventing third party from displaying the right description in chat

# 1.5.3

- added missing french localization (thanks to [rectulo](https://github.com/rectulo))

# 1.5.2

- added missing api functions

# 1.5.1

- fixed cn localization file error

# 1.5.0

- added `Hero Actions` setting, this feature replaces the `PF2e Hero Actions`
  - it uses the same data as the standalone module, therefore, nothing will be lost when switching
  - you will need to provide the UUID of your table in the settings if you had one in the standalone module
  - the module doesn't have any compendium pack for the macros, they are still exposed in the API and are easy to setup
- added `Stances` setting, this feature replaces the `PF2e Stances` module but works a bit differently now that the system has changed
  - stance feats/features are no longer hardcoded into the module, it now looks at the system's compendium
  - you can now add custom compendiums and world feat/features as long as they respect the following
    - the feats/features must have the `Stance` trait
    - the feats/features must have a self-applied effect
- now sort settings by scope for the GM (`world` then `client`) and added a `Client Settings` header in the module settings tab

# 1.4.0

- added `Giveth` setting, this feature replaces the `PF2e Giveth` module

# 1.3.0

- added `Spells Summary` setting, this feature replaces the `PF2e Spells Summary` module

# 1.2.1

- `Multi-Cast` button and `Merge Damages` icon will only be shown if you are the author of the message (or the GM)

# 1.2.0

- completely remove event hook when both `Remove Effect Shortcut` & `Condition Sheet Icon` are disabled
- added `Multi-Cast` setting, it adds a new damage button for spells to directly roll multiple instances of the spell in one roll
- added `Merge Damages` setting which allows you to merge multiple damage roll messages into a single one, useful for actions that require you to add the damage before applying `weakness` and `resistance`
  - the module will look at the 5 messages above it to find a matching message
  - the other message needs to have been initiated from the same `Item` (and therefore `Actor`)
  - the other message needs to have the same target (or both no target)

# 1.1.0

- module conflict warnings are only shown to the GM
- Remove Effect Shortcut: no longer accepts `Ctrl + Right Click`

# 1.0.0

this module adds some utilities that are not big enough to warrant standalone modules:

- `No Dropped Bulk`: Dropped equipment in an actor's inventory won't be accounted for bulk value calculation

it will also overlap with some other modules (it is meant to replace them):

- PF2e Unided
- PF2e Automatic Rune Progression
- PF2e Npc Knowledges
- PF2e Effect Description

when such module is active in your world, the GM will receive a warning for each one of them
