1. #1

    Weak Auras and charges (Guard)

    Ok, I'm having a bit of trouble with making a weak aura indicator for the new guard. I want to create a guard icon that shows up if I have 1 or 2 charges of guard available. The way I would do this with most spell is track spell CD progress and invert it. This doesn't work for a spell with charges because it will diaper if you have under the maximum number of charges. Action usable seems like it would work, but then the icon disappears when I have less than 2 chi, and I don't want that.

    Basically, how can I track if Guard can be used regardless of my chi?
    Last edited by Zython; 2014-12-08 at 10:19 PM.
    Banned from Twitter by Elon, so now I'm your problem.
    Quote Originally Posted by Brexitexit View Post
    I am the total opposite of a cuck.

  2. #2
    I believe that there were some WA changes recently to support spell charges better, but I don't know them, and can't find the docs.

    Failing that, use a custom trigger and http://wowpedia.org/API_GetSpellCharges which can return the number of charges for you.

    Code:
    function() { return (GetSpellCharges("Guard") or 0) > 0 }

  3. #3
    I found a solution by stacking the CD progress w/1 charge and CD progress inverse on top of each other as a group. Probably not the most elegant solution, but whatever works.

  4. #4
    http://pastebin.com/Cpg4sVx7

    This shows Guard at all times even if no chi(Cooldown Spell inverse), and shows it on CD and still shows stacks and shows how much guard is left if one is up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •