I've been looking everywhere but couldn't find one that works or tries to do exactly what I want.
It's very simple: I want a macro that casts Haunt when it's up, and otherwise casts Shadow Bolt. I've tried castsequence, castrandom and various other things, but they're never fluid or properly prioritized. If Haunt is up, it has to cast that, and if not, it has to only try to to cast SB so that I don't get fail casts like you do with a castrandom where one ability has a CD and the other doesn't.
Anyone know how to accomplish this?