function IETwinShieldProgress:COMBAT_LOG_EVENT_UNFILTERED(_,timestamp, event, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, ....)
if event == "SPELL_AURA_APPLIED" then -- Gained
local spellID, spellName, spellSchool, auraType = ....
if (destName == "Fjola Lightbane" and spellName == "Shield of Lights") or (destName == "Eydis Darkbane" and spellName == "Shield of Darkness") then
self:print(spellName.." gained.")
shieldAbsorbs = 0
end
elseif event == "SPELL_AURA_BROKEN" then -- Removed with force
local spellID, spellName, spellSchool, auraType = ....
if (destName == "Fjola Lightbane" and spellName == "Shield of Lights") or (destName == "Eydis Darkbane" and spellName == "Shield of Darkness") then
self:print(spellName.." broken after "..shieldAbsorbs.." dmg.")
shieldAbsorbs = 0
end
elseif event == "SPELL_AURA_REMOVED" then -- Expired
local spellID, spellName, spellSchool, auraType = ....
if (destName == "Fjola Lightbane" and spellName == "Shield of Lights") or (destName == "Eydis Darkbane" and spellName == "Shield of Darkness") then
self:print(spellName.." expired after "..shieldAbsorbs.." dmg.")
shieldAbsorbs = 0
end
elseif event == "SWING_MISSED" then
local missType, amountMissed = ....
if missType == "ABSORB" then
if destName == "Fjola Lightbane" or destName == "Eydis Darkbane" then
shieldAbsorbs = shieldAbsorbs + amountMissed
end
end
elseif event == "RANGE_MISSED" then
local spellID, spellName, spellSchool, missType, amountMissed = ....
if missType == "ABSORB" then
if destName == "Fjola Lightbane" or destName == "Eydis Darkbane" then
shieldAbsorbs = shieldAbsorbs + amountMissed
end
end
elseif event == "SPELL_MISSED" then
local spellID, spellName, spellSchool, missType, amountMissed = ....
if missType == "ABSORB" then
if destName == "Fjola Lightbane" or destName == "Eydis Darkbane" then
shieldAbsorbs = shieldAbsorbs + amountMissed
end
end
elseif event == "SPELL_PERIODIC_MISSED" then
local spellID, spellName, spellSchool, missType, amountMissed = ....
if missType == "ABSORB" then
if destName == "Fjola Lightbane" or destName == "Eydis Darkbane" then
shieldAbsorbs = shieldAbsorbs + amountMissed
end
end
end
end