diff --git a/src/types/auralist.lua b/src/types/auralist.lua index 81402d5..558a486 100644 --- a/src/types/auralist.lua +++ b/src/types/auralist.lua @@ -24,10 +24,10 @@ types.AuraList = AuraList local statusLists = { Immune = { - [642] = true, -- Divine Shield, Paladin + [642] = true, -- Divine Shield, Paladin [186265] = true, -- Aspect of the Turtle, Hunter - [45438] = true, -- Ice Block - [31224] = true, -- Cloak of Shadows + [45438] = true, -- Ice Block + [31224] = true, -- Cloak of Shadows [196555] = true, -- Netherwalk }, Bomb = { @@ -115,6 +115,19 @@ local statusLists = { -- Amirdrassil [427721] = true, -- Nymue, Weaver's burden (dot part) + + -- Waycrest Manor + [263943] = true, -- Etch + [264378] = true, -- Fragment Soul + + -- Ruby Lifepools + [381862] = true, -- Kyrakka, Infernocore + + -- Nokhud Offensive + [381692] = true, -- Swift Stab + + -- Priory of the Sacred Flame + [447439] = true, -- Savage Mauling }, } @@ -122,7 +135,7 @@ local statusLists = { -- callback function with UnitAuraInfo table as argument local function ForEachAuraSlots(unit, fn, continuationToken, ...) local GetAuraDataBySlot = C_UnitAuras.GetAuraDataBySlot - local n = select('#', ...) + local n = select("#", ...) for i = 1, n do local slot = select(i, ...) fn(GetAuraDataBySlot(unit, slot)) @@ -136,7 +149,7 @@ local function ForEachAuraFiltered(unit, filter, fn) local continuationToken = nil repeat continuationToken = ForEachAuraSlots(unit, fn, UnitAuraSlots(unit, filter, nil, continuationToken)) - until (continuationToken == nil) + until continuationToken == nil end -- Similar to what AuraUtils.ForEachAura does except the callback fn takes a @@ -146,7 +159,6 @@ local function ForEachAura(unit, fn) ForEachAuraFiltered(unit, "HARMFUL", fn) end - ---@return AuraList function AuraList.new(cls, ...) --- I really dislike duplicating this everywhere but it makes @@ -163,7 +175,6 @@ function AuraList:Init(unitframe) self.statusCount = {} self.auras = {} -- map AuraInstanceID to UnitAuraInfo table - self.triggers = {} self.triggersBySpell = {} self.triggersByStatus = {}