Pet Attack Macro?

Anything related to Hunter pets.
Forum rules
Treat others with respect. Report, don't respond. Read the complete forum rules.
User avatar
dantey
Posts: 1
Joined: Sun Jan 22, 2023 9:13 am

Pet Attack Macro?

Unread post by dantey »

I hope it is a right place to post this here,

Hey I’ve been trying to figure out how to get a pet attack macro going here. I found one that works, it applies Hunter’s Mark and my little hardy charges my target but a big pop-up tells me I’m using something outside of the Blizzard UI function and I’m not really sure what I’m doing wrong that causes that?gbwhatsapp

In any case, if there is something I can do about this without the dumb pop-up that would be great, I’ve just been having to use Ctrl+1 over an dover and I mean it works but it’s kinda annoying…
Last edited by dantey on Wed Jan 25, 2023 2:50 am, edited 1 time in total.
User avatar
SylviaDragon
Grand Master Hunter
Grand Master Hunter
Posts: 1806
Joined: Tue Nov 09, 2010 11:26 pm
Realm: Drenden/illidan
Gender: Agender but idc

Re: Pet Attack Macro?

Unread post by SylviaDragon »

can't really say what may be wrong with it without seeing the macro in question. I know if you are trying to macro two abilities together that have a global cd it wont work.
I usually just make a macro for my main shots that attaches a pet attack command to the end of it. Sadly i cant copy the exact macro right now since the servers are down but my macros tend to look something like this

/targetenemy [noharm][dead] <--- (this part is optional. it auto targets the nearest enemy for you like tab target will. though if you are not careful you can accidentally pull trash)
/cast Arcane Shot <---- (replace arcane shot with whatever spells you want)
/petattack <--- (pet will attack whatever target you are focus attacking and switch focus when you do)

Image

Vesania
Apprentice Hunter
Apprentice Hunter
Posts: 73
Joined: Tue Jul 12, 2022 6:22 am

Re: Pet Attack Macro?

Unread post by Vesania »

You can use two methods: cast sequence or modifiers.

Cast sequence will use your spells one after the other, based on what is listed in the macro. Each cast is one spell in the sequence.

#showtooltip Kill Command
/petattack
/castsequence Hunter's Mark, Kill Command
/use Claw(Basic Attack)
/use Bite(Basic Attack)
/use Smack(Basic Attack)

Modifiers will use one spell OR the other, based on a key you press along with the macro.

#showtooltip Kill Command
/petattack
/cast [nomod] Hunter's Mark
/cast [mod:shift] Kill Command
/use Claw(Basic Attack)
/use Bite(Basic Attack)
/use Smack(Basic Attack)

If you don't want anything else but casting Hunter's Mark and your pet attacking the target, then the macro is very simple.

#showtooltip Hunter's Mark
/petattack
/cast Hunter's Mark
/use Claw(Basic Attack)
/use Bite(Basic Attack)
/use Smack(Basic Attack)
User avatar
Rawr
Illustrious Master Hunter
Illustrious Master Hunter
Posts: 4481
Joined: Thu Jul 01, 2010 10:21 pm
Realm: Draka-Wyrmrest Accord
Gender: Female

Re: Pet Attack Macro?

Unread post by Rawr »

Id like to that if this is for Classic you should turn off Growl and add /use Growl that way your pet doesn't waste Focus growling when they have enough aggro. :mrgreen:

Image

hatakerandy
Posts: 1
Joined: Thu May 18, 2023 5:36 am
Realm: Grave Danger

Re: Pet Attack Macro?

Unread post by hatakerandy »

dantey wrote: Sun Jan 22, 2023 9:23 am I hope it is a right place to post this here,

Hey I’ve been trying to figure out how to get a pet attack macro going here. I found one that works, it applies Hunter’s Mark and my little hardy charges my target but a big pop-up tells me I’m using something outside of the Blizzard UI function and I’m not really sure what I’m doing wrong that causes that?\

In any case, if there is something I can do about this without the dumb pop-up that would be great, I’ve just been having to use Ctrl+1 over an dover and I mean it works but it’s kinda annoying…
It will help, just create a simple pet attack macro without any additional commands or abilities. For example: /petattack. Test this basic macro to see if it triggers the popup warning. If it doesn't, gradually add more commands or abilities to the macro until you identify the specific line that causes the issue.
Ellipsi5
Posts: 4
Joined: Thu Jun 13, 2024 4:35 pm

Re: Pet Attack Macro?

Unread post by Ellipsi5 »

I'd like to share the way I've got my wind serpent set up. I've made the following macro:
(be sure to include rank number)

Code: Select all

#showtooltip Growl(Rank #)
/cast Growl(Rank #)
/cast [combat] Growl(Rank #)
/petattack [combat]
I have that macro set to mouse wheel up and I have [follow] set to mouse wheel down.
I also have my pet set to Passive, I have Lightning Breath set to auto cast and I have Growl set not to auto cast.

What does this solve? Why do I need this?

I want the first thing my pet does to be growl.
I want to be able to recall and send out my pet at any time.
I don't want my pet to use lightning breath until it has growled.
I want mouse wheel up to cast growl again.

Without that macro:

If I just made a macro that made my pet growl it will get within melee range, growl and begin auto attacking, It will also auto cast lightning breath. It will even cast growl again if I use the macro again during the fight.

So, what's the problem?

The problem is that if I recall my pet after casting growl, I can not send my pet back into combat as growl is now on CD.

With the macro:

The first attack is growl
The pet can be recalled and sent into battle at-will even while Growl is still on CD.
Using the macro again casts growl if available and if the pet has enough focus.
The only time Lightning breath is cast before growl is if I use the macro, get close enough to be considered "in combat", recall my pet and then use the macro again.

I hope this is helpful to someone. I know not everyone uses a wind serpent but it's the only pet in Classic that has a ranged attack.
Post Reply