Skip to content

Commit

Permalink
Adjust dot tracking (for Prescience, maybe)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Oct 26, 2024
1 parent eea4349 commit cc03189
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Targets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1045,11 +1045,9 @@ do
local a = class.auras[ aura ]
local window = a and a.duration or grace
local friendly = a and ( a.friendly or a.dot == "buff" ) or false
local expires = not ( a and a.no_ticks or friendly )

for unit, entry in pairs( targets ) do
-- NYI: Check for dot vs. debuff, since debuffs won't 'tick'
if expires and now - entry.last_seen > window then
if now - entry.last_seen > window then
ns.trackDebuff( aura, unit )
elseif special == "combatExit" and not friendly then
-- Hekili:Error( format( "Auditor removed an aura %d from %s after exiting combat.", aura, unit ) )
Expand Down

0 comments on commit cc03189

Please sign in to comment.