Hello all,
I am running into an issue with the following macro:
#showtooltip
/use [nomod]13
/cast [mod:shift,nopet]Call Pet 1;[mod:shift,@mouseover,help][mod:shift,@target][mod:shift,@player]Roar of Sacrifice
/cast [mod:alt,nopet]Call Pet 1;[mod:alt,@mouseover,help][mod:alt,@target][mod:alt,@player]Command Pet
The macro works fine on my mouseover and target, but will not self-cast when my mouse is not over a player AND I do not have a target. What is going on?
you are using the same modifier for two conditional targets
[mod:shift,@target][mod:shift,@player]
as the macro procs for first true statement your macro will never cast on yourself with SHIFT as written
you have the same problem with [mod:alt,@target][mod:alt,@player]
also [mod:shift,@target] is the same as [mod:shift]
i think you want [mod:shift,exists]
though id use [help] or [harm], and/or [nodead] as they also imply exists
im not entirely sure how you want the macro to work or id rewrite it for you
GL
That is very helpful!
Basically, I want the macro to work as follows: If I have a mouseover, cast Roar. If I have a target, cast Roar. If I have no target and no mouseover, cast Roar on myself.
#showtooltip
/use [nomod]13
/cast [mod:shift,nopet]Call Pet 1; [mod:shift,@mouseover,help,nodead][mod:shift,nodead] [mod:shift,@player]Roar of Sacrifice
/cast [mod:alt,nopet]Call Pet 1; [mod:alt,@mouseover,help,nodead][mod:alt,nodead] [mod:alt,@player]Command Pet
this is over 255 characters but it can be streamlined to
#showtooltip
/use [nomod]13; [nopet]Call Pet 1; [mod:shift,@mouseover,help,nodead] [mod:shift,help,nodead] [mod:shift,@player]Roar of Sacrifice; [mod:alt,@mouseover,help,nodead] [mod:alt,help,nodead] [@player]Command Pet
haven’t tested it but it should work
#showtooltip
/use [mod:shift/alt,nopet] Call Pet 1; [mod:shift,@mouseover,help,nodead] [mod:shift] Roar of Sacrifice; [mod:alt,@mouseover,help,nodead] [mod:alt] Command Pet; 13
Make sure you have auto self cast enabled in Interface > Combat
1 Like
Wow, I never knew about the mod:shift/alt thing! that is SOOO handy! Your macro works perfectly! One question, how is the logic being processed for the 13 at the end??
Macros fire on the first true condition so if none of the other conditions are true it uses your trinket.