Thread Tools Display Modes
11-20-14, 02:30 AM   #1
Wowguy25
A Deviate Faerie Dragon
Join Date: Nov 2012
Posts: 17
Custom LUA triggers for Weak Auras

I have two custom LUA triggers I need help with. I have written a few custom triggers for Weak Auras but I don't really know LUA. I just look at other triggers and try to use common sense. But these are far beyond what I can do.

The first thing I want to do is to have a trigger activate when I'm at/above X energy, but fade after Y seconds, irrespective of how much energy I have. I don't want it to fade for any other reason (such as if I go below X energy). Also, I never want that trigger to trigger again until after I have been below X energy.

The other trigger I want is to activate when an ability has a cooldown of 0 (not "ability usable" because then things like stealth or being cc'd will mess with it), but I want it to fade after X seconds, not stay active for as long as the ability has 0 cooldown.

Any help with this is much appreciated!
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Custom LUA triggers for Weak Auras


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off