Macro on spell based on the form

Hi all
I am looking for building macros that do the following
If I am in bear form do ironfur
If I am in caster mode do lifebloom (only if it is available)
If I am in cat form do rake (if it is specced)

the idea is to have less keybinds and at the same time play the current form in a bit better way

#showtooltip
/cast [form:1] Ironfur; [form:2] Rake; Lifebloom

Add in some known:spellid conditions if you want to change them based off talents but with what you provided there’s no need for them.

2 Likes

So I want to do the following
if I am in bear form (either as guardian or as resto druid) cast ironfur

if I am in caster form cast lifebloom
/cast[spec:1] Ironfur;
/cast Lifebloom

The above only casts lifeloom

1 Like

Make sure you have the macro on each of your form bars. Unless your forms are in a weird order i.e. bear isn’t 1 and cat isn’t 2, then the macro should work as intended.

[spec:1] = Boomkin btw

1 Like

can I make it work if this is not in the forms bars?
Where I can find the list of all spec:X
and what spec:X is the caster form?

Forms/Stances and Specs are totally different things.

  • Specs are your specs (Balance, Feral, Guardian, Restoration) and are numbered in the order they appear on the Specialization Tab (aka Alphabetically)
  • Forms are your shapeshift forms (Bear, Cat, Travel, Moonkin, Treant, Mount) and numbered in the order they appear on your Form/Stance Bar, Caster/Not being in a form is noform

No. If you’re not pressing the macro you’re not using the macro. It needs to be on whatever button you happen to be pressing.

so correcting it, should be
/cast[form:1] Ironfur;
/cast Lifebloom

/cast [form:1] Ironfur;
/cast Lifebloom

This means: If I am in form 1, cast Ironfur. After that (whether you were in form 1 or not) cast Lifebloom (which will fail if Ironfur is on the global cooldown, if not, bye bear form).

If instead you do

/cast [form:1] Ironfur; Lifebloom

It means if I am in form 1, cast Ironfur, else cast Lifebloom.

IDK how these spells behave, but the latter will save you from unnecessary error messages at best and unpleasant unshifts at worst.

1 Like

This is still the macro you want.

so it works like that ?
If in form1 ironfur
If in form2 rake
else lifebloom

Correct. That said, that particular macro is no different than placing those spells in the same location on Bar 1 for the various forms.

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