Priest macro with mouseover

/cast [@mouseover, help, dead] Resurrection; [@mouseover, help, nodead] Penance [@focustarget]penance

So here is my macro. I’m trying to get it to rez a party member if dead. Heal them if they are not dead (with mouseover), or cast Penance at my Tank’s Target (focustarget) if i’m not mousing over anyone. But my syntax looks off. Any help?

This is my Disc Priest for comparison if that helps anyone. My main is Stilgaur.

At first glance I see you are missing a semicolon after the first Penance.

/cast [@mouseover, help, dead] Resurrection; [@mouseover, help, nodead] Penance; [@focustarget]Penance

Thanks, could not tell if it would pass through or if it needed the 1st semicolon.

You could simplify it and only have Penance once.

/cast [@mouseover, help, dead] Resurrection; [@mouseover, help, nodead] [@focustarget]Penance
#showtooltip
/cast [@mouseover,help,dead] Resurrection; [@mouseover,help] [@focustarget,harm,nodead] [] Penance

Don’t need nodead on the Penance mouseover because you’ve got dead on the Resurrect Condition.

That said, you may want to limit the Resurrect to while out of combat, given that Priests can’t BR.

#showtooltip
/cast [nocombat,@mouseover,help,dead] Resurrection; [@mouseover,help,nodead] [@focustarget,harm,nodead] [] Penance

I personally wouldn’t include the resurrect at all, Mass Res has the same cast time.