A little help with macros (<if> conditional)

84 Troll Priest
I've read through a few sits and still couldn't find an answer. Is there a way to create a macro that would so something like:
if Inner Fire is active cast Inner Will
else cast Inner Fire

Would really help alot.
Reply Quote
100 Night Elf Druid
No, you can't do that. There are only a few conditions that can be tested (e.g. stance/form, target hostile/friendly, in/out of combat). You can't check for general (de)buffs, combo points, health status etc in macros.
Reply Quote
91 Night Elf Rogue
It might be a good idea to ask questions like that in the UI/macro forum.
Reply Quote
85 Gnome Mage
You can't check conditions like that. That said you could obtain the result you're after in this specific case with a simple:

/castsequence Inner Fire, Inner Will

Which would cast Inner Fire on the first press, and Inner Will on the second, then reset. So you'd get a toggle.
Reply Quote
85 Human Priest
/castsequence !Inner Fire, !Inner Will

Should do the trick.
Reply Quote
Moved to our dedicated Interface & Macro forum. Good luck!
Reply Quote
90 Troll Warlock
/castsequence reset=1800 !Inner Fire, !Inner Will

Should do the trick.

added a reset, just incase the buff expires.
Edited by Arkajin on 14/01/2011 14:14 GMT
Reply Quote
Well out of combat a script can be used, but addons and macros that make "pseudo"-intelligent choices aren't permitted in combat.

That said - Yeah the casting sequence can do the trick.
Reply Quote
85 Goblin Hunter
The "!" in that macro does nothing and isnt needed, inner fire and will is just a buff and not a aura or something like that.
Reply Quote

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Forums Code of Conduct

Report Post # written by

Explain (256 characters max)