This commit is contained in:
2024-08-24 22:41:08 +02:00
parent 77f1ac5d7a
commit c21f59778f
431 changed files with 68581 additions and 68581 deletions

View File

@@ -1,27 +1,27 @@
-- COMBAT_LOG_EVENT_UNFILTERED
-- For some reason the non lua version does not work (with status > event > spell aura applied...)
function(e, ...)
local subevent, err = CLEUParser.GetSubevent(...)
if err ~= nil then
-- print(err)
return
end
if subevent == "SPELL_AURA_APPLIED" then
local spellid, err = CLEUParser.GetSpellId(...)
if err ~= nil then
-- print(err)
return
end
local target, err = CLEUParser.GetDestName(...)
if err ~= nil then
-- print(err)
return
end
-- print(target, spellid)
if spellid == 208052 and UnitName("player") == target then
return true
end
end
end
-- COMBAT_LOG_EVENT_UNFILTERED
-- For some reason the non lua version does not work (with status > event > spell aura applied...)
function(e, ...)
local subevent, err = CLEUParser.GetSubevent(...)
if err ~= nil then
-- print(err)
return
end
if subevent == "SPELL_AURA_APPLIED" then
local spellid, err = CLEUParser.GetSpellId(...)
if err ~= nil then
-- print(err)
return
end
local target, err = CLEUParser.GetDestName(...)
if err ~= nil then
-- print(err)
return
end
-- print(target, spellid)
if spellid == 208052 and UnitName("player") == target then
return true
end
end
end