Condition for "Item Usable"
0xjc opened this issue ยท 2 comments
For cooldown icons I like the following setup: show both when ready/not ready, but add an activation border when ready. The latter is done with a Notification with Trigger Condition being Spell/Item Cooldown == 0 sec (Usable).
I have been using this setup for a potion icon. However, the condition "Item Cooldown == 0 sec" will trigger even if the potion has been used in combat. This occurs due to the override introduced in 49f98a9 which forces duration = 0
if enable
is 0.
To resolve this, I was thinking we should have a condition that just checks enable
. For now I will use a custom Lua condition.
Changed in 4fcc3e4