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.

40 lines
888 B

local mod = DBM:NewMod(554, "DBM-Party-BC", 12, 255)
local L = mod:GetLocalizedStrings()
if mod:IsRetail() then
mod.statTypes = "normal,heroic,timewalker"
end
mod:SetRevision("20231014053250")
mod:SetCreatureID(17881)
mod:SetEncounterID(1919)
if not mod:IsRetail() then
mod:SetModelID(20510)
mod:SetModelScale(0.2)
end
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 37605",
"SPELL_CAST_SUCCESS 31422"
)
local warnFrenzy = mod:NewSpellAnnounce(37605, 3)
local warnTimeStop = mod:NewSpellAnnounce(31422, 3)
local timerTimeStop = mod:NewBuffActiveTimer(4, 31422, nil, nil, nil, 3)
function mod:SPELL_AURA_APPLIED(args)
if args.spellId == 37605 then
warnFrenzy:Show()
end
end
function mod:SPELL_CAST_SUCCESS(args)
if args.spellId == 31422 then
warnTimeStop:Show()
timerTimeStop:Start()
end
end