Replace the following part:
Code:
function GridStatusSinestra:COMBAT_LOG_EVENT_UNFILTERED( ... )
local eventType = select( 3, ... );
local auraType = select( 11, ... ) or "";
local auraAmmount = select( 12, ... ) or "";
local playerName = select( 8, ... );
if( (UnitInRaid( playerName ) or UnitInParty( playerName )) ) then
self:Debug( "----wrack applied" );
if( eventType == "SPELL_AURA_APPLIED" and AURAS[auraType]) then
self:AuraGained(select( 7, ... ))
elseif( eventType == "SPELL_AURA_REMOVED" and AURAS[auraType]) then
self:AuraFaded(select( 7, ... ))
elseif( eventType =="UNIT_DIED" ) then
self:AuraFaded(select( 7, ... ))
end;
end;
end
With:
Code:
function GridStatusSinestra:COMBAT_LOG_EVENT_UNFILTERED( ... )
local eventType = select( 3, ... );
local auraType = select( 12, ... ) or "";
local auraAmmount = select( 13, ... ) or "";
local playerName = select( 9, ... );
if( (UnitInRaid( playerName ) or UnitInParty( playerName )) ) then
self:Debug( "----wrack applied" );
if( eventType == "SPELL_AURA_APPLIED" and AURAS[auraType]) then
self:AuraGained(select( 8, ... ))
elseif( eventType == "SPELL_AURA_REMOVED" and AURAS[auraType]) then
self:AuraFaded(select( 8, ... ))
elseif( eventType =="UNIT_DIED" ) then
self:AuraFaded(select( 8, ... ))
end;
end;
end