Releases: Foundry-Workshop/Item-Macro
Releases · Foundry-Workshop/Item-Macro
Release v3.0.1
fix element search for AppV1 and AppV2 sheets, prevent event propagat…
Release v3.0.0
update swade support, closes #22
Release v2.2.0
scope and system migration
Release v2.1.0
update item use hook for dnd5e 4.0
Release v2.0.1
fix item macro permission for players
Release v2.0.0
README.md
Release v1.11.1
fixed macro lacking context
Release v1.11.0
Starting from v1.11.0, Item Macro changes how it's supporting DnD 5e (3.0.0+).
Here is the breakdown of the changes:
General
- Changed
item.executeMacro()
method to be async - Updated how Item Macro is built and called to allow retrieving its value
DnD5e
- Switched DnD 5e's support to
dnd5e.preUseItem
Hook- Because of that, there no longer is distinction between using item from sheet, macro or any other way
- Because of that, using plain
item.use()
in Item Macro is now disabled as it can lead to uncontrolled infinite loops - Since good practice dictates that all 3rd party modules, including custom sheets, should make use of
item.use()
, this means that all of them should now be supported by default
Character Sheet Hook
andRight Click Override
settings for dnd5e are now removed in favor of singleOverride default macro execution
- Item Macros that you wish to still execute "standard"
item.use()
must now do it in one of two ways:- Return
true
from macro, or - Call
item.use({}, {skipItemMacro: true})
instead (passingskipItemMacro = true
inoptions
argument)
- Return
Item Macro v1.11.0 onwards will not work with DnD 5e 2.4.
If you do not use the newest version of the DnD 5e system, please do not update Item Macro and/or install v1.10.5 instead using this manifest link.
Release v1.10.5
fixed tidy 5e sheet compability stacking. Closes #6
Release v1.10.4
added tidy5e sheet compatibility