Mouseover and Mod

Looking to make a macro something like Power Word Shield and Pain Suppression when I hold shift. Can’t quite get it right though. Please help!

#showtooltip
/cast [mod:shift,@mouseover,help][mod:shift,@target,help][mod:shift,@player,help] Pain Suppression; Power Word: Shield

What exactly isn’t working? Your macro can be cleaned up a bit, but it should function.

Do you want PWS to also work on the same logic as Pain Suppression? (So, friendly mouseover if you have it, if not, friendly target if you have it, if not, self cast.) In that case, you need to repeat the conditionals for PWS, just without the mod:shift. Right now, your macro will just use the default casting logic for PWS as it has no conditionals.

Assuming that’s what you’re looking for:

#showtooltip
/cast [mod:shift,@mouseover,help,nodead][mod:shift,help][mod:shift,@player]Pain Suppression;[@mouseover,help,nodead][help][@player]Power Word: Shield

Oh! I understand, I figured the conditionals would be applied to PWS. Thank you so much