So, here’s the error:
Message: Interface\AddOns\DPS_Tracker\libs\EventHandler.lua:329: attempt to perform arithmetic on field ‘?’ (a nil value)
And here’s the code fragment that provokes the error:
if resisted ~= nil then
damageStats[RESISTED] = damageStats[RESISTED] + resisted ← line 329
end
This block accumulates the amount of resistence of a mob over the course of a combat encounter. More specifically, the ‘resisted’ variable is the 18th parameter of a CLEU spell or range _DAMAGE event.
Any help/advice would be appreciated.