1. #1

    Prot Weak Aura Help!!!

    Hey guys,

    I am trying to find/ figure out a few weak auras for my prot, currently all I have is an Ignore Pain icon that shows duration and absorb amount, and a shield block icon showing time left on buff (I can not figure out how to show stacks of Shield Block on the icon as well as duration).

    I would also like to have icons showing the buff time for Last Stand, Shield Wall, Demoralizing Shout, Battle Cry, Avatar and Shockwave.

    What I'm wanting is to show the spell icon greyed out when it is on cooldown with its time left until its up, then it becomes "normal colour" of spell icon when it is available for use and when I activate said spell it shows the duration of the actual buff, eg. Shield Wall 8 seconds counting down, then convert back to a greyed icon with the cooldown time remaining, if ANYONE could help that would be greatly appreciated, I will leave a screenshot of my current UI to give you a better understanding and hope someone can help! Thanks

    I can not leave a screenshot of my UI here new to forum sorry!

    Ps. Add me on battletag if you like to help out !
    Smay#1890

  2. #2
    Deleted
    Hello.

    I think I understand what you are looking for. Give this one a whirl and see if you like it. The sleep deprivation is immense at the moment, so if you run into any problems, let me know and I might be able to sort them out when I am normal again.

    The aura is a simple cooldown aura with a custom text function. So as usual, you pick the desired spell in the spell field in the trigger tab (I made this for Spell Reflection, you will have to duplicate it for the rest of the spells you wish to track). The custom text function is found below. You should be able to customize the icon size, text size and all that jazz freely. Hope it fits your needs!


    Import string:
    Code:
    dGK0laqiacTiaXLifvJIu1PivwfPKEfPeZsvClvWUuLmmsPogQYYGipJuyAQiUMQu2MKsFdGuJdq6CsQSosr4Eqk2NksXbLuyHquEiavtesvBesPpcq5KKIOvIk3eGGDIQ6NqQmusrzPsk6PqnvvYvvrQ6RKI0ybqNfaElaj3fGO9s8xizWkhg0IbupgOjlOllAZq4ZQuJwf60KSAvKsVwfjZwOBlj7gLFlXWfy5iEostxQRRQ2UQu9DjvnEiQoVkQ1RIuz)ul8KlbRe(80ajnQLNGPcgPxi9I3lEcUsWHcouUeCOIEA)mWw9Ekyi7SGb)0UuDLiVfmIpdSvfMEupOEq9G6HgKXiFyv(GsN58888mNNNNhTHK(Xl8tGTQWE8sge4yg6HgpalBCqgJaEPedl1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Ku6JhH3J3nVhpG594b594rq6X7gPhpGr6XdIKoZ5555zopppps2FcZJ3JhVhpEMlzHMZCMtWKsd7u4RTGBcKrJWoVohKcg4YNbMslyekMIEuUe8NMOalXcrawAPfmTHGNIQzffRf8f60mPf87cFENGepPfba

    Custom text function:
    Code:
    function(_,_,_,_,spellName,_)
        
        start, duration, enabled = GetSpellCooldown(spellName)
        
        if duration == 0 then
            -- ready to be cast --
            WeakAuras.regions[aura_env.id].region.icon:SetDesaturated(false)
            return ""
        end
        
        _, _, _, _, _, _, expirationTime = UnitBuff("player", spellName) 
        
        if expirationTime then
            -- buff is active on player --
            remaining = expirationTime - GetTime()
            if remaining > 0 then
                return string.format("%1.0f", remaining)
            end
        end
        
        -- spell is on cd --
        WeakAuras.regions[aura_env.id].region.icon:SetDesaturated(true)
        remainingCD = start + duration - GetTime()
        return string.format("%1.0f", remainingCD)
    end

Posting Permissions

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