Page 1 of 1

Hunter Macros

PostPosted: Thu Dec 09, 2004 4:04 pm
by Monster
Stolen from the WoW hunter forum:

Pet Feeding Macro

This macro will automatically feed your pet with one click. You will need to keep the pet's food in your 3rd bag (second from the left) and in the 1st slot of the bag for it to work. You can substitute 1-4 for 3 in the script if you'd like to store the food in a different bag. Change the 1 to whatever you'd like if you'd rather not store the food in the first slot. Note that you should manually enter this script instead of copying/pasting or it may not work properly. Also, keep it all on one line (don't hit Enter).

Code: Select all
/script if (not PlayerFrame.inCombat) then if (not GetContainerItemLink(3, 1)) then OpenBag(3); else CastSpellByName("Feed Pet"); PickupContainerItem(3, 1); end end


EDIT: Changed the 4 in the script to a 3.

PostPosted: Thu Dec 09, 2004 4:16 pm
by Monster
Auto Aspect Macros

Use these macros to replace your Auto Shot and Attack buttons. This will check if you have the appropriate aspect cast, and if not will cast it right after attacking (won't work before attacking because of timing issues).

This casts Auto Shot then Aspect of the Hawk:

Code: Select all
/script CastSpellByName("Auto Shot"); x=1; y=0; while (UnitBuff("player", x)) do if (string.find(UnitBuff("player", x), "Raven")) then y=1; end; x = x + 1; end; if(y==0) then CastSpellByName("Aspect of the Hawk(Rank 3)"); end;


This starts the melee attack then casts Aspect of the Monkey:

Code: Select all
/script CastSpellByName("Attack");x=1;y=0; while (UnitBuff("player",x)) do if (string.find(UnitBuff("player", x), "AspectOfTheMonkey")) then y=1;end; x=x+1;end; if(y==0) then CastSpellByName("Aspect of the Monkey"); end

PostPosted: Thu Dec 09, 2004 4:46 pm
by Wynn
Since half our guild is hunters, good idea posting that here.