Unleash Life and Healing Surge macro

I’ve been trying to figure this out. I’d like to cast Unleash Life if it’s available, otherwise Healing Surge.

I’ve tried playing around with reset=cooldown-<int> and it’s not really working.

It works the first sequence, but still casts Healing Surge when Unleash Life comes off CD.

Any way to do this?

reset=cooldown-<int> that’s not a thing.
You can see the correct syntax here:
https://warcraft.wiki.gg/wiki/MACRO_castsequence

Also, you need to understand that reset=# means reset # seconds after the most recent press, not since the first press. Essentially, what you’re trying to do isn’t possible to automate. Use 2 keys or a modifier macro.

#showtooltip
/cast [mod,@mouseover,help,nodead] [mod] Unleash Life; [@mouseover,help,nodead] [] Healing Surge