Thread: WA icons

  1. #1

    WA icons

    How to make spell icons grayed / transparent when off CD ? thank you in advance.

  2. #2
    Quote Originally Posted by Schmilblick View Post
    How to make spell icons grayed / transparent when off CD ? thank you in advance.
    Here's what you need to do.

    1. In your aura, go to the "Animations" tab.
    2. Under "Main", change the "type" to "Custom".
    3. To the right of the "type" dropdown, you can change the time - in seconds - to 0.
    4. Check the "Fade" checkbox.
    5. Change the "type" to "Custom Function"
    6. Click "Expand Text Editor"
    7. Copy and paste the following

    Code:
    function(progress, start, delta)
        local start,duration = GetSpellCooldown(INSERT_SPELL_ID);
        
        if (duration == 0 or duration <= 1.5) then
            return 0.5;
        else
            return 1;
        end
    end

    NOTE: You will need to either input the name of the Spell, or its ID. You can find the spell's ID by mousing over the spell and the ID should show in the bottom-left area of the spell's tooltip. When you locate the ID, simply change "INSERT_SPELL_ID" to the spell's ID.

  3. #3
    Thank you, too much work for just an icon, guess I'll have to wait for Droodfocus to get updated for legion :s

  4. #4
    Quote Originally Posted by Schmilblick View Post
    Thank you, too much work for just an icon, guess I'll have to wait for Droodfocus to get updated for legion :s
    If you'd like, you can tell me the spell and I can complete the aura for you. Would only take a few minutes for me to do

  5. #5
    Quote Originally Posted by Sweetsour View Post
    If you'd like, you can tell me the spell and I can complete the aura for you. Would only take a few minutes for me to do
    All classes spells, that's the problem xD

  6. #6
    Stood in the Fire
    15+ Year Old Account
    Join Date
    Mar 2007
    Location
    Denmark
    Posts
    413
    What I do is make 2 WAs for every spell i want to show. One that shows when on cooldown and one that shows when off cooldown.
    Then you simply tick 'desaturate' on the display tab - or change the color and change the opacity specifically.

  7. #7
    Quote Originally Posted by Zungate View Post
    What I do is make 2 WAs for every spell i want to show. One that shows when on cooldown and one that shows when off cooldown.
    Then you simply tick 'desaturate' on the display tab - or change the color and change the opacity specifically.
    You can actually achieve this by only using 1 aura by using custom code. If you'd like me to show you how, I'd be happy to help

  8. #8
    Deleted
    Quote Originally Posted by Schmilblick View Post
    How to make spell icons grayed / transparent when off CD ? thank you in advance.
    Just check "desaturate" under display. If you want it to be transparent you click the button to change icon color and use the slider.

  9. #9
    Quote Originally Posted by Braindog View Post
    Just check "desaturate" under display. If you want it to be transparent you click the button to change icon color and use the slider.
    Then that would be permanent...

Posting Permissions

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