phase 1 removing tbc

This commit is contained in:
Brues
2026-05-25 18:16:02 -05:00
parent 199842e220
commit 58609b8c5c
19 changed files with 3 additions and 3054 deletions
-9
View File
@@ -21,9 +21,6 @@ pfUI:RegisterModule("actionbar", "vanilla", function ()
local drag_await
local drag_active
local function AssumeButtonDrag()
-- skip during combat
if InCombatLockdown and InCombatLockdown() then return end
-- skip if keydown press is not enabled
if C.bars.keydown ~= "1" then return end
@@ -285,9 +282,6 @@ pfUI:RegisterModule("actionbar", "vanilla", function ()
end
local function ButtonDrag(self)
-- skip during combat
if InCombatLockdown and InCombatLockdown() then return end
local self = self or this
if _G.LOCK_ACTIONBAR == "1" and not (pfUI_config.bars.shiftdrag == "1" and IsShiftKeyDown()) then return end
@@ -300,9 +294,6 @@ pfUI:RegisterModule("actionbar", "vanilla", function ()
end
local function ButtonDragStop(self)
-- skip during combat
if InCombatLockdown and InCombatLockdown() then return end
local self = self or this
if MacroFrame_SaveMacro then
-7
View File
@@ -1,7 +0,0 @@
pfUI:RegisterModule("combatlogfix", "tbc", function ()
-- Fixes the combatlog break bugs that exist since patch 2.4 by simply clearing the whole log
-- on every update. This is required in order to receive new log events. Otherwise, addons like
-- Omen or Recount won't work and simply don't receive any new data at a given time.
local combatlog = CreateFrame("Frame", "pfCombatLogFix", UIParent)
combatlog:SetScript("OnUpdate", CombatLogClearEntries)
end)
+2 -2
View File
@@ -105,8 +105,8 @@ pfUI:RegisterModule("raid", "vanilla:tbc", function ()
this.tick = GetTime() + 1.0
this.pendingUpdate = nil
-- don't proceed without raid or during combat
if not UnitInRaid("player") or (InCombatLockdown and InCombatLockdown()) then return end
-- don't proceed without raid
if not UnitInRaid("player") then return end
-- clear all existing frames
for i=1, maxraid do SetRaidIndex(pfUI.uf.raid[i], 0) end
-11
View File
@@ -484,12 +484,6 @@ pfUI:RegisterModule("unlock", "vanilla:tbc", function ()
pfUI.unlock:SetScript("OnShow", function()
if this.skip then this.skip = nil return end
if InCombatLockdown and InCombatLockdown() then
DEFAULT_CHAT_FRAME:AddMessage(ERR_NOT_IN_COMBAT, 1, .2, .2)
this.skip = true
this:Hide()
return
end
this.grid = this.grid or DrawGrid()
@@ -510,11 +504,6 @@ pfUI:RegisterModule("unlock", "vanilla:tbc", function ()
pfUI.unlock:SetScript("OnHide", function()
if this.skip then this.skip = nil return end
if InCombatLockdown and InCombatLockdown() then
this.skip = true
this:Show()
return
end
for name, frame in pairs(pfUI.movables) do
local frame = frame or _G[name]