Help with macro

I’m having an issue with a macro that can’t seem to make it work like I want.

Basically, what I want it to do is for me to cast either Death Grip or Gorefiend’s Grasp on my mouseover target or my current target. Using the macro above, all I get is Gorefiend’s Grasp to appear as the icon and for the only spell to be cast, regardless if I hold shift or not. Each segment of the macro work perfectly well if they are separated, but once I combine them with the modifier does the issue arise.

Edit:
After tinkering a bit, I got it to sorta work.

Unfortunately, for this new macro Gorefiend’s Grasp will only cast if I mouseover the target. And I would like for it to cast Gorefiendn’s Grasp on my current target when holding down shift.

[this, and this]
[this] [or this]
#showtooltip
/cast [mod:shift,@mouseover,exists,nodead] [mod:shift] Gorefiend's Grasp; [@mouseover,harm,nodead] [] Death Grip
1 Like

Thanks that worked perfectly.