I’m not familiar with the druid class but I’m guessing the following:
Bear Form is form 1
cat form is form 2
you can’t cast prowl in combat.
casting “bear form” when you already are a bear kicks you out of bear
same for cat form: if already a cat, casting cat again kicks you out of cat
same for prowl, if already in prowl/stealth, casting prowl/stealth again
kicks you out of stealth.
If last 3 things aren’t true then “!” isn’t needed.
According to prowl’s wowhead description, casting Prowl when not a cat also shifts you into cat form automatically: 1 step prowl, makes you a stealthy kitty even if you are butt-ugly bear.
The [group] option checks if you are in a group (there is also a group:party and group:raid).
So modifying the macro you said works best
#showtooltip
/cast [group]!Bear Form;[nocombat] !Prowl; [noform:2] Cat Form; !Bear Form
Again, if you can’t cancel bear, cat or prowl by casting those again when you are bear/cat/stealthy cat, you don’t need the “!”
If you are in a group, always go into Bear (!=don't cancel bear if a bear)
If you are not in a group then
if you are not in combat, cast Prowl (!=don't cancel prowl) .
Otherwise, become the bear (! = don't cancel bear)
Incorrect. Macros are based on if-then-else condition logic
This,
/cast [option1, andoption2] action1;[option3][oroption4] action2; action3
Is read like this:
If option1 and option2 are both true then do action1
else if option3 is true or option4 is true then do action2
else do action3
If there are no options for an ability or you use empty square brackets [] then that is considered an always true and the ability is cast normally.
Macros are evaluated left-to-right and WoW will attempt to cast the first ability it finds based on the options you specified. If the options tell wow to cast a spell that currently can’t be cast (like casting a non-combat only spell in combat, or its on CD), too bad Wow will still attempt to cast it and the action will fizzle. WoW will not attempt to find a valid ability later in the macro.
In terms of limitations, only conditionals macros support can be tested for and there is a limit of 255 characters. Some addons allow you to do up to 1k characters because that’s actually what the base wow API allows. Also only 1 GCD-triggering ability per macro will be executed.
Some Macro resources,
Full list of conditionals https://wow.gamepedia.com/Macro_conditionals
Most complete list of macro commands I can find, https://wow.gamepedia.com/Macro_commands
Explanation of unitid’s https://wow.gamepedia.com/UnitId
GCD Explained https://wow.gamepedia.com/Cooldown#Global_cooldown
Thing about recent changes, “!” doesn’t prevent Toggling of Druid Shapeshifting
Even though it DOES prevent Toggling of Prowl.
And for some reason, Flight Form prevents casting of Prowl directly. So you can’t go directly from Flight Form into stealth. You CAN macro Cat form and Prowl into the same action though to leave flight form and stealth in a single action, but it’s clunky.
It didn’t use to work like this. No idea when it was changed.
You can if you disable the option that prevents casting while flying.
Start of Legion.
I don’t recommend what you’re trying to do for one reason: in a raid situation while off-tanking it’s beneficial to cat-weave (dps in cat form) at times.