Skip to content

Commit 7151d83

Browse files
Merge main into partyIndexText and resolve Frames/Core.lua conflict
2 parents 2f98a1b + 439e51a commit 7151d83

15 files changed

Lines changed: 1078 additions & 482 deletions

File tree

AuraBlacklist/Config.lua

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ local addonName, DF = ...
88
-- ============================================================
99

1010
local pairs = pairs
11+
local InCombatLockdown = InCombatLockdown
1112

1213
-- Initialize the AuraBlacklist namespace
1314
DF.AuraBlacklist = DF.AuraBlacklist or {}
@@ -69,10 +70,13 @@ DF.AuraBlacklist.BuffSpells = {
6970
{ spellId = 156322, display = "Eternal Flame", icon = 135433 },
7071
},
7172
SHAMAN = {
72-
{ spellId = 974, display = "Earth Shield", icon = 136089 },
73-
{ spellId = 61295, display = "Riptide", icon = 252995 },
74-
{ spellId = 462854, display = "Skyfury", icon = 135831 },
75-
{ spellId = 369459, display = "Source of Magic", icon = 4630412 },
73+
{ spellId = 207400, display = "Ancestral Vigor", icon = 237574 },
74+
{ spellId = 974, display = "Earth Shield", icon = 136089 },
75+
{ spellId = 382024, display = "Earthliving Weapon", icon = 237578 },
76+
{ spellId = 444490, display = "Hydrobubble", icon = 1320371 },
77+
{ spellId = 61295, display = "Riptide", icon = 252995 },
78+
{ spellId = 462854, display = "Skyfury", icon = 135831 },
79+
{ spellId = 369459, display = "Source of Magic", icon = 4630412 },
7680
},
7781
MONK = {
7882
{ spellId = 450769, display = "Aspect of Harmony", icon = 5927638 },
@@ -109,11 +113,19 @@ DF.AuraBlacklist.BuffSpells = {
109113
-- Sated / Exhaustion family — applied after Heroism/Bloodlust
110114
-- ============================================================
111115
DF.AuraBlacklist.DebuffSpells = {
116+
-- Sated / Exhaustion family
112117
{ spellId = 57723, display = "Exhaustion", icon = 136090 },
113118
{ spellId = 160455, display = "Fatigued", icon = 132307 },
114119
{ spellId = 95809, display = "Insanity", icon = 132127 },
115120
{ spellId = 57724, display = "Sated", icon = 136090 },
116121
{ spellId = 80354, display = "Temporal Displacement", icon = 236502 },
122+
-- Deserter
123+
{ spellId = 26013, display = "BG Deserter", icon = 135971 },
124+
{ spellId = 71041, display = "Dungeon Deserter", icon = 135971 },
125+
-- Skyriding
126+
{ spellId = 427490, display = "Ride Along Available", icon = 4640493 },
127+
{ spellId = 447959, display = "Ride Along Active", icon = 4640493 },
128+
{ spellId = 447960, display = "Ride Along Inactive", icon = 4640493 },
117129
}
118130

119131
-- ============================================================
@@ -142,9 +154,18 @@ DF.AuraBlacklist.AlternateSpellIDs = {
142154
-- ============================================================
143155
function DF.AuraBlacklist.IsBlacklisted(blacklistTable, spellId)
144156
if not blacklistTable or not spellId then return false end
145-
if blacklistTable[spellId] then return true end
146-
-- Check if this spell ID is an alternate of a blacklisted primary
147-
local primary = DF.AuraBlacklist.AlternateSpellIDs[spellId]
148-
if primary and blacklistTable[primary] then return true end
149-
return false
157+
-- Find the entry (direct or via alternate)
158+
local entry = blacklistTable[spellId]
159+
if not entry then
160+
local primary = DF.AuraBlacklist.AlternateSpellIDs[spellId]
161+
if primary then entry = blacklistTable[primary] end
162+
end
163+
if not entry then return false end
164+
-- Legacy support: plain true = always blacklisted
165+
if entry == true then return true end
166+
-- Table format: check combat/ooc flags
167+
if InCombatLockdown() then
168+
return entry.combat
169+
end
170+
return entry.ooc
150171
end

0 commit comments

Comments
 (0)