You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
666 B

local mod = DBM:NewMod(537, "DBM-Party-BC", 8, 250)
local L = mod:GetLocalizedStrings()
mod.statTypes = "normal,heroic,timewalker"
mod:SetRevision("20210922153837")
mod:SetCreatureID(18344)
mod:SetEncounterID(1899)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"UNIT_SPELLCAST_SUCCEEDED"
)
local specWarnAdds = mod:NewSpecialWarningAdds(32371, "-Healer", nil, nil, 1, 2)
function mod:UNIT_SPELLCAST_SUCCEEDED(_, _, spellId)
if spellId == 32371 then
self:SendSync("Adds")
end
end
function mod:OnSync(msg)
if msg == "Adds" and self:AntiSpam(5, 1) then
specWarnAdds:Show()
specWarnAdds:Play("killmob")
end
end