Can't get this macro to work without breaking

#showtooltip
/castsequence [known:Hammer of Light] Wake of Ashes; reset=30 Execution Sentence, Wake of Ashes

What this macro is supposed to do is cast Hammer of Light whenever my Wake of Ashes is transformed into Hammer of Light (by Templar hero talents), and follow the regular castsequence of Execution Sentence into Wake of Ashes whenever Hammer of Light isn’t active.

And it works PERFECTLY… until I change zones. Then the second part becomes broken and it only ever does Wake of Ashes/Hammer of Light. Not even a /reload fixes it. I have to actually restart the game to get it working again.

I just find it strange that changing zones can completely break a macro that was otherwise working fine.

Try switching known over to use the spell id.

Then the first part doesn’t work, it doesn’t recognize the Hammer of Light spell ID