Add shard counter

This commit is contained in:
2024-04-13 16:22:49 +02:00
parent 0498808166
commit cbd2c60cf2
7 changed files with 103 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
-- COMBAT_LOG_EVENT_UNFILTERED
function(e, ...)
local caster, err = CLEUParser.GetSourceName(...)
if err then return end
if caster ~= aura_env.PlayerName then return end
local subevent, err = CLEUParser.GetSubevent(...)
if err then return end
if subevent ~= "SPELL_PERIODIC_DAMAGE" then return end
local spellID, err = CLEUParser.GetSpellId(...)
if err then return end
if spellID == 980 then
aura_env.AgonyStack:Push(time())
end
end