if CombatLog_Object_IsA(destFlags, COMBATLOG_FILTER_ME) or addon:IsMyPet(destFlags, destGUID) then |
-- register our own and our pet's auras |
auraTable = playerAuras |
else |
elseif not self:IsPvPTarget(destGUID) and band(destFlags, COMBATLOG_OBJECT_REACTION_FRIENDLY) == 0 then |
-- and also those of non friendly NPCs |
local unitType = band(destGUID:sub(1, 5), 0x007) |
if (unitType ~= 0 and unitType ~= 4) and (band(destFlags, COMBATLOG_OBJECT_REACTION_FRIENDLY) == 0) then |
auraTable = enemyAuras |
end |
auraTable = enemyAuras |
end |
|
if auraTable then |