• 0

    posted a message on Squishy 0.10 [2006/08/22]
    Just installed and noticed that when someone on the monitor hasn't lost much health, the bar overlaps the health deficit, making it harder to read. Is there a way to offset the health farther to the right?
    Posted in: General AddOns
  • 0

    posted a message on Clique 0.2.0-Beta Released
    Pretty simple question, I want to use a spell(Mind Blast) if it isn't on cooldown, or another(Smite) if it is. I tried a quick edit of the GetSpellCooldown example on WoWWiki
    local start, duration = GetSpellCooldown(spellID, BOOKTYPE_SPELL);
    if ( start > 0 and duration > 0) then
    	Print('Please wait ' .. duration - ( GetTime() - start) .. ' seconds before using this spell.');
    else
    	Print('Spell is ready.');
    end
    into
    local start, duration = GetSpellCooldown(86, BOOKTYPE_SPELL);
    if ( start > 0 and duration > 0) then
      Clique:CastSpell("Mind Blast(Rank 9)")
    else
      Clique:CastSpell("Smite(Rank 8)")
    end
    but that always picked the else option, plus I had to go through my spellbook and count to the desired cooldown spell, which would change up learning/gaining new spells I'd also like to buff myself with Inner Focus if it is up before I cast a spell, let's say Greater Heal(Rank 3).

    I would just use
    Clique:CastSpell("Mind Blast(Rank 9)")
    Clique:CastSpell("Smite(Rank 8)")
    but that would spam my screen with "Spell isn't ready" as far as I can tell
    Posted in: General AddOns
  • To post a comment, please or register a new account.