Page 1 of 1

Aspect spam macro

PostPosted: Thu May 14, 2015 3:57 pm
by skyracer500
Anyone have one of these? It's like the rogue stealth macro but for aspect of the hawk.. It's really annoying being a US player and wasting 240+ mana on hawk cuz it cancels before it even registers.

Re: Aspect spam macro

PostPosted: Thu May 14, 2015 4:50 pm
by Youfie
/script i=1;m=0;while(UnitBuff("target",i)~=nil) do
if(strfind(UnitBuff("target",i),"XXXXX")~=nil) then m=1; end;i=i+1;end; c=CastSpellByName;
if(m==1) then c("Aspect of the Hawk");


You must replace XXXXX by Aspect of the Hawk icon name.


Use the script below while targeting yourself and while having the Aspect active to get the icon name :
/script i=1; while UnitBuff("target",i)~=nil do DEFAULT_CHAT_FRAME:AddMessage(UnitBuff("target",i));
i=i+1; end



Haven't tested this myself, but it should work, according to http://www.wowwiki.com/Useful_macros_%281.0%29

Re: Aspect spam macro

PostPosted: Thu May 14, 2015 5:38 pm
by skyracer500
I tried doing that but it isn't working. The spell icon name is Spell_Nature_RavenForm. That macro was the only one that worked.

Re: Aspect spam macro

PostPosted: Thu May 14, 2015 10:07 pm
by Youfie
Hum.

What about :
/script if not IsCurrentAction(XX) then UseAction(XX) end;

Where XX is the button ID (e.g. 1 for first button of the first action bar, 13 for the first button of your second action bar etc.) of your Aspect?

Sometimes the simplier the better :)

Re: Aspect spam macro

PostPosted: Sat May 16, 2015 10:49 am
by nimpie
/script if not buffed("Trueshot Aura") then CastSpellByName("Trueshot Aura") else if not buffed("Aspect of the Hawk") then CastSpellByName("Aspect of the Hawk") else if not buffed("Track Humanoids") then CastSpellByName("Track Humanoids") end end end;

Re: Aspect spam macro

PostPosted: Mon May 18, 2015 6:58 pm
by Youfie
nimpie wrote:/script if not buffed("Trueshot Aura") then CastSpellByName("Trueshot Aura") else if not buffed("Aspect of the Hawk") then CastSpellByName("Aspect of the Hawk") else if not buffed("Track Humanoids") then CastSpellByName("Track Humanoids") end end end;

Is this confirmed to work? :)

Without anything like Super Macro needed? Didn't know about this "buffed();" function, will try it out asap :).