Originally Posted by Dullahan
Hey. In the past I've created macros that use items (usually trinkets) while casting a spell so I dont forget to make use of it. For instance, I have trinkets where the use increases my healing by a few hundred. I then make a macro that uses it when I cast chain heal.
The problem I am now trying to get around is the macro attempting to use the item when its on cooldown which results in the cast/use failure sound as well as a warning message. This is always disconcerting to hear as a healer in battle. How can I prevent my macro from trying to use an item that isn't ready?
|
You can't implicitly. Macros are by design not able to make decisions based on cooldowns. Explicitly, however, you have two options. A, make the use of the trinket triggered by a modifier, i.e.
/use [modifier:shift] Xiri's Gift
/cast Starfire
The spell will cast every time, trinket only activates if you hold shift. The second option is to add code to your macro that removes the cast failing information from your errors frame, etc. Don't know the code offhand (I don't use it, I don't mind seeing the errors), but I know it's in this thread somewhere.