*Edit - Changed the macro so if your pet is killed and is not showing up as
grouped with you it will check on your pets status and either rez or call your
pet
I started a hunter a couple of days ago and decided that having 3-4 buttons on
my pet was taking up to much space...so I wrote this macro. I think there are
some already made but I wasnt able to find them so I just used the Auto Riposte
macro and changed some info around to work with this one. This will Rez your
pet, heal your pet if health gets to number lvl and also call you pet if it isnt
already out. The Health lvl is just something off my head...I havent found out
how to get it to do it a curtain % yet. So until then I would say change the ###
to what ever is half your pets health (thats what I have mine at). If there are
any problems...please let me know
/script CN=CastSpellByName;UE=UnitExists("pet");UH=UnitHealth("pet");if (UE and
(UH==0)) or not UE then CN("Revive Pet");end;if UE and (UH<=###) then CN("Mend
Pet(Rank 1)");end;if not UE then CN("Call Pet");end
  |