Need help adding a mouseover function to a multiple modifier macro

How can I extend the following macro with a mouseover function? I’ve tried different things, but the modifier casts didn’t work afterwards.

Aim: Dispel target at nomod, if mouseover target is present, this should be dispelt.

#showtooltip
/stopcasting
/cast [nomod] Dispel Magic
/cast [mod:altshift, @player] Dispel Magic
/cast [mod:ctrlshift, @party1] Dispel Magic
/cast [mod:ctrlalt, @party2] Dispel Magic
/cast [mod:shift, @cursor] Mass Dispel

Do it as a single cast

#showtooltip
/stopcasting
/cast [mod:altshift,@player] [mod:ctrlshift,@party1] [mod:ctrlalt,@party2] Dispel Magic; [mod:shift,@cursor] Mass Dispel; [@mouseover,harm,nodead] [] Dispel Magic
1 Like

Thank you for the fast answer! I tried the macro directly but unfortunately the mouseover function doesn’t work :-/
It doesn’t matter if I’m aiming at a target or not, the mouseover never works.
It only dispels a target which I have targeted.

all right, i got it! there had to be an “exists”

#showtooltip
/stopcasting
/cast [mod:altshift,@player] [mod:ctrlshift,@party1] [mod:ctrlalt,@party2] Dispel Magic; [mod:shift,@cursor] Mass Dispel; [@mouseover,exists] [] Dispel Magic

help and harm both imply exists. All your change did was make it so you can accidentally mouseover allies (and corpses because you removed nodead).

For reference, this is the dispel macro I use:

/cast [mod:shift,@mouseover,harm,nodead] [mod:shift] Mind Soothe; [mod:alt] !Mass Dispel; [spec:3,@mouseover,help,nodead] Purify Disease; [@mouseover,help,nodead] Purify; [@mouseover,harm,nodead] [harm] Dispel Magic; [spec:3] Purify Disease; Purify
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.