Spell Trigger - Show GCD | Condition - Charges == 0 inconsistency
anaseskyrider opened this issue ยท 0 comments
Description
When checking for charges == 0
on a spell using conditions, the expected results will change depending on whether or not the spell actually has charges. When you enable tracking the GCD on the spell trigger, a spell with no charges will return true
on charges == 0
during the GCD, but on a spell with charges, it will always react according to its actual charges.
While there is a difference between spells with no charges and spells with charges in the WoW code, I was under the impression that WeakAuras generalizes the charges to something more universal, such that spells with no charges are treated like spells with 1 charge.
WeakAuras Version
WeakAuras 3.2.3
World of Warcraft Flavor
Retail (Default)
Tested with only WeakAuras
- Yes
- No
Lua Error
No response
Reproduction Steps
- Create an icon.
- Add a Spell - Cooldown/Charges/Count trigger.
- Under the trigger's Extra Options, enable Show Global Cooldown.
- Add a condition:
Charges = 0
that desaturates the icon. - Set the spell trigger to a spell without charges, then trigger the GCD.
- Set the spell trigger to a spell with charges, then trigger the GCD.
Last Good Version
No response
Screenshots
No response
Export String
No response