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.
37 lines
786 B
37 lines
786 B
local mod = DBM:NewMod(578, "DBM-Party-BC", 5, 262)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
if mod:IsRetail() then
|
|
mod.statTypes = "normal,heroic,timewalker"
|
|
end
|
|
|
|
mod:SetRevision("20231014053250")
|
|
mod:SetCreatureID(17826)
|
|
mod:SetEncounterID(1947)
|
|
|
|
if not mod:IsRetail() then
|
|
mod:SetModelID(18570)
|
|
mod:SetModelOffset(-0.4, 0, 0.3)
|
|
end
|
|
|
|
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
|
|
|