I have disabled all other modules: True (except Item Macro)
Conflicting Module(s): Item Macro
Foundry and System version: Foundry 9.269, DnD 1.6.3
OS, Hosting, Browser (if applicable): Windows 10, Chrome
This change removes unnecessary unequip calls, particularly when the HUD is first opened, and avoids potential issues with item macros that trigger on equip/unequip.
Example scenario on current branch:
PC has a moon-touched weapon equipped before combat. This weapon has an item macro that toggles the token's light radius on/off on equip/unequip.
Combat begins, and the PC opens Argon Combat HUD and has the moon-touched weapon as their default active set.
If Auto Equip is enabled, this will cause the weapon to unequip and re-equip very quickly, triggering the unequip macro. In the best case, it will also trigger the equip macro immediately after, but in the worst case (which I was experiencing in my game), only the unequip macro will trigger, potentially leading to weird scenarios where an item is equipped, but its associated effect is not active.
I have disabled all other modules: True (except Item Macro) Conflicting Module(s): Item Macro Foundry and System version: Foundry 9.269, DnD 1.6.3 OS, Hosting, Browser (if applicable): Windows 10, Chrome
This change removes unnecessary unequip calls, particularly when the HUD is first opened, and avoids potential issues with item macros that trigger on equip/unequip.
Example scenario on current branch: