1. #1

    if GetSpellCooldown, Deathknight question

    Hi,
    I was just wondering if the GetSpellCooldown API in macros returns 0 when the spell is ready but the rune required is on cooldown. I'm very bad at chat API functions and can't make it print out the results to save my life.

  2. #2
    Deleted
    Code:
    /dump GetSpellCooldown("Spell")
    Anyways, nope, GetSpellCooldown always takes into account rune "cooldowns" (at least it did last I checked).

  3. #3
    That actually works to my benefit. I'm trying to make my Blood Tap macro smarter. I know there are smart macros out there but I want the satisfaction from doing it myself. <-- is being selfish.

  4. #4
    Deleted
    Hm, how exactly do you want to make it smarter? Can't use /run to perform spell casts.

  5. #5
    Indeed the only thing I've seen GetSpellCooldown used successfully with is announcing abilities in chat,
    (in which case I highly recommend RSA - Raeli's Spell Announcer).

    Gershuun @ Borean Tundra US - Interface & Macros Moderator

  6. #6
    Hi, guys!

    I need make macro like:
    if GetSpellCooldown(47014)==0 then s0=47014;
    if GetSpellCooldown(50330)==0 then s0=50330;
    CastSpellByID(s0);

    how i must write. i did one, but WoW says: Only Blizzard interface you can use.

  7. #7
    Deleted
    That's because CastSpellByID is protected to prevent the exact thing you're trying to do. Macros cannot decide based on spells' cooldowns.

Posting Permissions

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