Wither/Immolate Macro Help Request

Hello Warlocks!

I have a mouseover macro with a shift Curse of Exhaustion that needs help. My macro is:

#showtooltip
/use [mod:shift, @mouseover, exists, harm, nodead][mod:shift, @target] Curse of Exhaustion;
/cast [@mouseover, exists, harm, nodead][@target] [Known: Wither] Wither, [Known: Immolate] Immolate

The problem is in the last line of “[Known: Wither] Wither, [Known: Immolate] Immolate” . If I use a comma after Wither, it keeps Wither; but if I used a semi-colon, it uses Immolate. The spell itself will not change to Wither when specced into Hellcaller unless I have a comma there, but when I spec into Diabolist, I need to change the comma into a semi-colon to be able to cast Immolate.

Anyone able to help out so that it automatically changes to Wither when I spec into Hellcaller and reverses into Immolate when I spec back into Diabolist?

Hm, I think it’s because Immolate is known by default, unlike Wither.

I had a similar problem with a Healthstone / Demonic Healthstone macro, what worked for me was to use a ‘noknown’ designator.

#showtooltip
/use [mod:shift, @mouseover, exists, harm, nodead][mod:shift, @target] Curse of Exhaustion;
/cast [@mouseover, exists, harm, nodead][@target] [Known: Wither] Wither, [noknown: Wither] Immolate

I wonder if this edit can work for you

Edit: But also… thinking again about it, have you ever tried just
/cast [@mouseover, exists, harm, nodead][@target] Immolate
for that line? Since Immolate auto turns into Wither, in theory it should do it.

Darn, neither of these options worked.

Anyone else have any ideas?

Try adding 2 separate lines for Immolate and Wither.

#showtooltip
/use [mod:shift, @mouseover, exists, harm, nodead][mod:shift, @target] Curse of Exhaustion;
/cast [@mouseover, exists, harm, nodead][@target] Immolate
/cast [@mouseover, exists, harm, nodead][@target] Wither