Mercurial > wow > buffalo2
diff Modules/BuffFrame.lua @ 136:414e37af1b1b v8.0.1-20180718
8.0.1 "pre-patch" updates
- disabled PaperDoll, ArtifactPower, and Social/LFG modules
author | Nenue |
---|---|
date | Wed, 18 Jul 2018 15:31:15 -0400 |
parents | ea2c616a3b4f |
children | 6e2f20230190 |
line wrap: on
line diff
--- a/Modules/BuffFrame.lua Thu Jan 25 20:58:10 2018 -0500 +++ b/Modules/BuffFrame.lua Wed Jul 18 15:31:15 2018 -0400 @@ -394,7 +394,7 @@ button:RegisterForClicks('AnyUp') button:SetScript('OnClick', Audit_OnClick) button:SetScript('OnEvent', Audit_OnEvent) - button:RegisterEvent('POWER_REGEN_ENABLED') + --button:RegisterEvent('POWER_REGEN_ENABLED') button:SetPoint('TOPLEFT', 0, (i-1) * 16 * -1) facade.Audit[i] = button end @@ -423,13 +423,15 @@ end --]] - local name, rank, icon, count, dispelType, duration, expires, caster, isStealable, nameplateShowPersonal, spellID, canApplyAura, isBossDebuff, _, nameplateShowAll, timeMod, value1, value2, value3 = UnitAura(frame.unit, frame:GetID(), frame.filter) + local name, icon, count, dispelType, duration, expires, caster, isStealable, nameplateShowPersonal, spellID, canApplyAura, isBossDebuff, _, nameplateShowAll, timeMod, value1, value2, value3 = UnitAura(frame.unit, frame:GetID(), frame.filter) values[1] = value1 values[2] = value2 values[3] = value3 facade.buffName = name + print(expires, duration) + if expires and duration then if duration ~= 0 then local startTime = (expires - duration)