View Single Post
09-07-12, 07:39 AM   #4
Ereki
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 25
Originally Posted by Barjack View Post
Just a question, but what's the significance of isEnergize in terms of functionality? I mean, why is it not sufficient to rely only on runeReady? It appears that the event with isEnergize being true is firing before a rune is technically ready (perhaps indicating that that rune is about to be "energized", for whatever reason).

But why not just treat that as a not-ready event, ignoring isEnergize, and wait until the energize is complete and the follow-up event happens a split second later, which has runeReady as true and will fix the alpha just like a normal ready event?
I thought of that too but I couldn't get it to work properly I tried just doing:
if not runeReady then
runeButton:SetAlpha(RHaoc)
else
runeButton:SetAlpha(RHaic)
end
But it gave pretty much the same results or completly broke the whole thing, can't really remember.. It didn't work at least
  Reply With Quote