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
662 B
30 lines
662 B
local mod = DBM:NewMod(578, "DBM-Party-BC", 5, 262)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod.statTypes = "normal,heroic,timewalker"
|
|
|
|
mod:SetRevision("20220101201928")
|
|
mod:SetCreatureID(17826)
|
|
mod:SetEncounterID(1947)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_SUCCESS 31429",
|
|
"SPELL_AURA_APPLIED 34971"
|
|
)
|
|
|
|
local warnRoar = mod:NewSpellAnnounce(31429, 2)
|
|
local warnFrenzy = mod:NewSpellAnnounce(34971, 4)
|
|
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
|
if args.spellId == 31429 then
|
|
warnRoar:Show()
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args.spellId == 34971 then
|
|
warnFrenzy:Show()
|
|
end
|
|
end
|
|
|