mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +00:00
nameplates: disable debufftimer animation
This commit is contained in:
@@ -465,8 +465,8 @@ pfUI:RegisterModule("nameplates", function ()
|
|||||||
if pfUI.debuffs and pfUI.debuffs.active and name then
|
if pfUI.debuffs and pfUI.debuffs.active and name then
|
||||||
this.debuffs[j].cd = this.debuffs[j].cd or CreateFrame("Model", nil, this.debuffs[j], "CooldownFrameTemplate")
|
this.debuffs[j].cd = this.debuffs[j].cd or CreateFrame("Model", nil, this.debuffs[j], "CooldownFrameTemplate")
|
||||||
local start, duration, timeleft = pfUI.debuffs:GetDebuffInfo("target", name)
|
local start, duration, timeleft = pfUI.debuffs:GetDebuffInfo("target", name)
|
||||||
CooldownFrame_SetTimer(this
|
this.debuffs[j].cd:SetAlpha(0)
|
||||||
.debuffs[j].cd, start, duration, 1)
|
CooldownFrame_SetTimer(this.debuffs[j].cd, start, duration, 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
k = k + 1
|
k = k + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user