Macro - check condition if spell on cooldown

Just a quick question. Is there any condition that checks if a spell is on CD or if a spec is available? I have this macro:

#showtooltip
/cancelform [noform:4]
/cast [noform:4] Soulshape
/cast [form:4] Flicker

and I would like to use /stopmacro if Soulshape is on CD. Thanks

You can’t test if a spell is on CD for those purposes. Soulshape automatically becomes Flicker so there’s no point to coding them separately.

You can test against a spec using the spec:# condition, where # is the order they appear in the talent screen.

1 Like

Thanks for pointing out the spec:# condition. It seems the form number changes with the spec. Finally, I’ve got it working:

#showtooltip
/cancelform [spec:1, noform:5] [spec:2/3/4, noform:4]
/cast Soulshape

It’s shame, I cannot test it against an unusable action. It cancels forms when Soulshape is on CD, which is quite annoying due to GCD. Also, it is interesting when you use that macro on let’s say Catform and shapeshift into Soulshape. Then, when you use /cancelform it gets back to Catform :slight_smile:

What is it you’re trying to accomplish? If you’re trying to cancel Soulshape you can do that just by casting almost any spell. If you’re trying to cancelform in order to cast Soulshape that’s completely unnecessary.

I cannot shapeshift to Soulform if I am in one of the Druid’s forms. I have to first cancel the form and then cast Soulshape.

Eh? Works fine for me.

But it doesn’t work for me.


EDIT.
Just for everyone who has the same issue as I, there is the console variable autoUnshift, which controls if one can freely change forms. Essentially, in the file C:\Program Files (x86)\World of Warcraft\_retail_\WTF\Account\<your account>\config-cache.wtf change the line:

SET autoUnshift "0"

to

SET autoUnshift "1"

and it’s going to work. It’s 1 but default so one of my addons must have messed that. Thanks.

1 Like

Just FYI, you can type /console autoUnshift 1 in game without needing to manually edit config files.

1 Like

Yes, it is true. And for completness:

  • /console cvar_default autoUnshift resets the setting to its default value
  • /console cvar_default, without a variable name, resets to the default interface

I’d rather recommended backing up the WTF folder before running the latter command.

There is the whole website about that: https://wowpedia.fandom.com/wiki/Console_variables

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.