Help Chi Wave/Chi Burst Macro w/ modifier

Hey, good afternoon everyone.

So im trying to make a macro that auto changes chi burst/wave according to what i have talented for. This step is fine, i make a:

“/cast [known: Chi Burst] Chi Burst
/cast [Known: Chi Wave] Chi Wave”

But i want to be able to put a modifier on my chi wave, so i cast it on my focus when the mod is pressed. I tried:
“/cast [known: Chi Burst] Chi Burst
/cast [Known: Chi Wave] [@focus, mod:alt] Chi Wave; Chi Wave.”

But it isnt working, its always casting on my target or on myself if i have no target. (i tried disabling auto self cast and still didnt work).

Any ideas? Thanks in advance

#showtooltip
/cast [known:123986] Chi Burst; [mod:alt,known:115098,@focus,exists,nodead] [known:115098] Chi Wave

But you can simplify it by defaulting to Chi Wave if Chi Burst isn’t known:

#showtooltip
/cast [known:123986] Chi Burst; [mod:alt,@focus,exists,nodead] [] Chi Wave
1 Like

it worked! Thanks a lot =]