mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-02 11:40:01 +00:00
Several changes
Fix stale debuff icons/tooltips on target frame after target swap Fix debuffs not showing on nameplates for timer-less spells (e.g. Hurricane) Fix buffwatch timer visually speeding up when another debuff fades Remove 50ms aura cache (slotMapCache/auraFC) - caused stale debuff data Remove "Show Only Own Debuffs" from unitframes and nameplates GUI Force selfdebuff=0 for unitframes/nameplates on login to reset old SavedVariables
This commit is contained in:
@@ -277,14 +277,8 @@ pfUI:RegisterModule("buffwatch", "vanilla:tbc", function ()
|
||||
and data[3] and data[3] ~= "" -- buff has a name
|
||||
and data[4] and data[4] ~= "" -- buff has a texture
|
||||
then
|
||||
-- For player: no slot in uuid (slots shift when other buffs expire)
|
||||
-- For target: include slot (multiple players can have same debuff, slot identifies who)
|
||||
local uuid
|
||||
if frame.unit == "player" or (frame.config and frame.config.selfdebuff == "1") then
|
||||
uuid = data[4] .. data[3] -- texture + name only (stable in selfdebuff mode)
|
||||
else
|
||||
uuid = data[4] .. data[3] .. data[2] -- texture + name + slot
|
||||
end
|
||||
-- No slot in uuid: slots shift when debuffs expire causing timer resets
|
||||
local uuid = data[4] .. data[3] -- texture + name only
|
||||
|
||||
-- update bar data
|
||||
frame.bars[bar] = frame.bars[bar] or CreateStatusBar(bar, frame)
|
||||
@@ -518,4 +512,4 @@ pfUI:RegisterModule("buffwatch", "vanilla:tbc", function ()
|
||||
pfUI.uf.target.debuffbar:SetPoint("BOTTOM", pfUI.uf.target, "TOP", 0, border*2+1)
|
||||
UpdateMovable(pfUI.uf.target.debuffbar)
|
||||
end
|
||||
end)
|
||||
end)
|
||||
Reference in New Issue
Block a user