WoWInterface - View Single Post - Help with using expirationTime
View Single Post
05-06-20, 02:22 PM   #11
A Pyroguard Emberseer
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,977
Originally Posted by Xrystal View Post
Yep, that is the other reason. I was thinking more the case that between the aura's being read and the timers being set that perhaps the aura at no 3 wasn't the same as the one initially at no 3. I'm not sure if things get shuffled around by wow based on expiration order.
They get shuffled around based on start time. Note refreshing an existing buff doesn't change its position.
Also, you should consider buffs getting reapplied before their timer expires or the user canceling buffs. Both of these make C_Timer.After() a poor candidate.

Originally Posted by Fizzlemizz View Post
button:SetScript("PostClick", function(self, arg1)
local function popup(self)
SecureActionButtonTemplate is a protected template, meaning you can't show or hide the button while in combat.
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 05-06-20 at 02:40 PM.
  Reply With Quote