Soandso2
Well-known member
- Joined
- Mar 13, 2023
- RedCents
- 937¢
So, when writing a macro or Lua and you want your toon to cast a spell or use a discipline or skill, what are the conditions really?
In my loop I have a check to see if my aura is up. If it is not, I have to cast it. Easy enough. But I also hate spam, so I dont want to have the macro attempt to cast the aura for seven thousand times before actually succeeding, because I was stunned or feared or .. well, whatever.
Personally, I would love to see something like /if ${Me.Able} /whatever but I figure that is not a thing. Currently, I am checking for Stunned, Feared, Mezzed and Charmed, and that I am not casting something else, or that I am not in combat (as this might make the attempt to cast fail or interrupt my DPS for a few seconds)
Are there other conditions for keep in mind?
In my loop I have a check to see if my aura is up. If it is not, I have to cast it. Easy enough. But I also hate spam, so I dont want to have the macro attempt to cast the aura for seven thousand times before actually succeeding, because I was stunned or feared or .. well, whatever.
Personally, I would love to see something like /if ${Me.Able} /whatever but I figure that is not a thing. Currently, I am checking for Stunned, Feared, Mezzed and Charmed, and that I am not casting something else, or that I am not in combat (as this might make the attempt to cast fail or interrupt my DPS for a few seconds)
Are there other conditions for keep in mind?

