Macros - Auto Pet Revive/Cure/Feed
Being a hunter tends to take a lot of actionbar realestate so I
decided to combine a few actions into one button. I call this macro "Cure"
because it will do the best it can to cure whatever ails my pet.
/script if (not UnitExists("pet") or UnitHealth("pet")==0) then
CastSpellByName("Revive Pet"); else if (UnitAffectingCombat("pet")) then
CastSpellByName("Mend Pet"); else CastSpellByName("Feed Pet");
PickupContainerItem(2,16); end; end;
If my pet is not out, or
dead it will cast "Revive Pet", if my pet is in combat it will cast "Mend Pet"
and if my pet is alive and out of combat it will cast "Feed Pet"(optionally put
your food in a specific bag slot every time to have it feed
automatically..."PickupContainerItem()").
|
|