TellMeWhen icon indicating copy to clipboard operation
TellMeWhen copied to clipboard

Condition for "Item Usable"

Open 0xjc opened this issue 6 years ago • 0 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 https://github.com/ascott18/TellMeWhen/commit/49f98a99f10fda3d2f4ecdeba94c319424dd9852 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.

0xjc avatar Nov 21 '19 00:11 0xjc