I am attempting to reduce the number of buttons on screen for DPS since I am primarily a healer. To that end I’m trying to use the “mod” key for setting up a “nuke” button.
Here is what I am attempting to do:
#showtooltip
/cast [nomod][@target][@targettarget][@mouseover] Lightning Bolt;[mod:ctrl][@target][@targettarget][@mouseover] Chain Ligntning;[mod:alt][@target][@targettarget][@mouseover] Lava Burst
In theory what it should do is fire on target,or target of target, or mouseover (in that order) if they are valid targets. If I have no mod it’s lightning bolt, if it’s control, chain lightning and if it’s alt then lava burst.
However, it doesn’t work. If I remove all of the targeting values it does.
… But that makes it difficult to use as healer. For me I am either mousing over some target of opportunity or I want to nuke the target the tank/dps person I have targeted between heals.
Anyone have suggestions that will work for this type of macro?
I’m confused with what you’re trying to do… just hide a couple action bars if you don’t want your screen to be cluttered
I could just add all the extra buttons, I was just expecting the macro to work. I was hoping someone was going to point out “hey, do it this way and it works”.
I’m sure there’s someone who could help ya! I’d try the discord, or there’s probably a weakaura/macro discord out there. In my experience I’ve found its not really worth it tbh! I just play with action bars visible till I’m comfortable with the keybinds and then hide them all! I find it uncluttered my UI a lot
After watching the video (thanks!) this seems to work but you can only have 1 target per, not all 3. I dont think macro will let me make one long enough to capture all the target/targettarget/mouseover instances.
/cast [nomod,@target] Lightning Bolt;[mod:alt,@target,] Lava Burst;[mod:shift,@target] Chain Lightning;
So as long as you’re happy with either @target or @targettarget or @mouseover being the one target type it’ll work.
I might have to go back to just having 3 keybinds and then correct the targeting specifics I need.
#showtooltip
/cast [@target][@targettarget][@mouseover] Lightning Bolt
#showtooltip
/cast [@target][@targettarget][@mouseover] Lava Burst
#showtooltip
/cast [@target][@targettarget][@mouseover] Chain Lightning
yeah, i’ve found having @mouseover down the line of a macro doesn’t work. not sure why when everything else works but that.
I think you can sort of work around the macro character limitations by splitting it into multiple macros; one for target selection/use and others for ability selections.
Something like the following to cast lightning bolt on no mod at your target if it is an enemy, your target’s target if it is an enemy, otherwise at your mouseover target if it is an enemy. Holding shift casts chain lightning under the same conditions instead.
macro1 placed on right multi-action bar 1:
/cast [@target, harm][@targettarget, harm][@mouseover, harm] lightning bolt;
macro2 placed on right multi-action bar 2:
/cast [@target, harm][@targettarget, harm][@mouseover, harm] chain lightning;
macro3 placed on your main actionbar to actually press:
/click [nomod] MultiBarRightButton1; [mod:shift] MultiBarRightButton2
Also, if you want to override your current target or target’s target to cast on a target of opportunity via mouseover, you probably want it first in line.
1 Like
There is also Gnomesequencer for more advanced macro mileage.
2 Likes