Macro with Mod:shift & mouseover

Hey guys, i have spent the last 2 hours looking through the forums and google, trying to fix my macro.

/use [@mouseover,help,nodead][help,nodead][@player] Flash of Light

the macro works as follows,if the cursor is on a player, it will cast onto the player, if the cursor is not on a player it will cast onto a selected target, if there is no selected target it will cast on my character.

this macro works fine, however i would like to add a modifier so that when i hold shift and use the macro, it will select my character and heal myself ignoring the cursor and selected targets. i do apologise if the answer is something simple, as i have tried numerous ways to do it, but i am very new to WOW and WOW macros.

Edit - found the solution whilst just trying to move [mod:shift] around

/cast [mod:shift,@player][@mouseover,help,nodead][help,nodead][@player]Flash of Light

seems to work

If you’re after more:

1 Like

Cast either trap with no shift or shift both at cursor
#showtooltip
/cast [@cursor, nomod:shift] Freezing Trap; [@cursor] Tar Trap