glow test 20s
This commit is contained in:
parent
32d4ae6a5c
commit
c9fab2d8c2
@ -305,7 +305,7 @@ function Cooldowns:Test(unit)
|
|||||||
if Gladdy.frame.testing then
|
if Gladdy.frame.testing then
|
||||||
self:UpdateTestCooldowns(unit)
|
self:UpdateTestCooldowns(unit)
|
||||||
end
|
end
|
||||||
Cooldowns:AURA_GAIN(_, AURA_TYPE_BUFF, "22812", "Barkskin", _, 10, _, _, _, _, unit, true) -- unit, auraType, spellID, spellName, texture, duration, expirationTime
|
Cooldowns:AURA_GAIN(_, AURA_TYPE_BUFF, "22812", "Barkskin", _, 20, _, _, _, _, unit, true) -- unit, auraType, spellID, spellName, texture, duration, expirationTime
|
||||||
end
|
end
|
||||||
|
|
||||||
function Cooldowns:UpdateTestCooldowns(unit)
|
function Cooldowns:UpdateTestCooldowns(unit)
|
||||||
@ -351,7 +351,7 @@ end
|
|||||||
/run local a=LibStub("Gladdy").modules["Cooldowns"] a:AURA_FADE("arena1",22812)
|
/run local a=LibStub("Gladdy").modules["Cooldowns"] a:AURA_FADE("arena1",22812)
|
||||||
--]]
|
--]]
|
||||||
function Cooldowns:AURA_GAIN(_, auraType, spellID, spellName, _, duration, _, _, _, _, unitCaster, test)
|
function Cooldowns:AURA_GAIN(_, auraType, spellID, spellName, _, duration, _, _, _, _, unitCaster, test)
|
||||||
local arenaUnit = test and unitCaster or Gladdy:GetArenaUnit(unitCaster)
|
local arenaUnit = test and unitCaster or Gladdy:GetArenaUnit(unitCaster, true)
|
||||||
if not Gladdy.db.cooldownIconGlow or not arenaUnit or not Gladdy.buttons[arenaUnit] or auraType ~= AURA_TYPE_BUFF then
|
if not Gladdy.db.cooldownIconGlow or not arenaUnit or not Gladdy.buttons[arenaUnit] or auraType ~= AURA_TYPE_BUFF then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -538,7 +538,7 @@ function Cooldowns:AddCooldown(spellID, value, button)
|
|||||||
icon.texture:SetTexture(self.spellTextures[spellID])
|
icon.texture:SetTexture(self.spellTextures[spellID])
|
||||||
tinsert(button.spellCooldownFrame.icons, icon)
|
tinsert(button.spellCooldownFrame.icons, icon)
|
||||||
self:IconsSetPoint(button)
|
self:IconsSetPoint(button)
|
||||||
Gladdy:Debug("Cooldowns:AddCooldown", button.unit, GetSpellInfo(spellID))
|
Gladdy:Debug("INFO", "Cooldowns:AddCooldown", button.unit, GetSpellInfo(spellID))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user