Macro based on what pet is in the Grimoire

Hi there!

I’m assuming the answer is no, but there might be a smart workaround someone already came up with - perhaps an addon.
I’ve been using macros for pet command abilities that otherwise summon the specific pet when it’s not out to be able to cast their specific ability - example: Spell Lock on the specific key I usually have interrupts that would summon me a Felhunter instead if it’s not already out. If it is [pet:Felhunter], it should cast Spell Lock.

I’m trying out the Grimoire of Sacrifice but that messes with this setup in a way I can’t really fix since there are no macro conditionals for buffs on the player I know of. If Grimoire is up, regardless of which pet was out, the old macros will fail and will try to summon me the pet I’d like to use the command ability of that I now gained from Grimoire. I wouldn’t want to put them on a different key as that’d mess with gameplay muscle memory and would miss the entire point.

I tried using nopet for when I have Grimoire up, but sometimes I don’t have any pet Grimoired and I just want to quickly summon it back with the same key I then want to use the command ability of immediately after. I’m guessing some kind of Frankenstein castsequence could be some sort of workaround… but that’s beyond me at this point.

Also, Shadow Bulwark in a macro always tries to use the pet ability, not the one the player gets from Grimoire, so that’s also a bit of a headache when trying to use nopet for Grimoire which has a different pet other then Voidwalker sacrificed with it. I can use “Command Ability” but that’s not ideal - I would want to have Summon Voidwalker anyways on the Shadow Bulwark key when it’s not available.

Using modifier keys would not be a solution as those are already mapped different keys linked to different actions in my action bar setup.

Has anyone been in a similar situation before, are there any smart solutions?


If Blizzard changed how Grimoire of Sacrifice worked and it applied a different form/stance in the background to the player based on which pet was sacrificed, this problem would immediately be solved.

I don’t have much help to offer I don’t think, but have you tried using /cast Command Demon in-place of the direct spell, for example Shadow Bulwark as you say.

I did try that, but that doesn’t really solve the issue. Just the small “sub-issue” of the two types of Shadow Bulwarks. I guess I’ll have to see how far addons can push it - or if there isn’t one how far I can push it via coding…