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
754 B
30 lines
754 B
local mod = DBM:NewMod(523, "DBM-Party-BC", 7, 247)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20231014053250")
|
|
mod:SetCreatureID(18371)
|
|
mod:SetEncounterID(1890)
|
|
|
|
if not mod:IsRetail() then
|
|
mod:SetModelID(18916)
|
|
end
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"CHAT_MSG_RAID_BOSS_EMOTE"
|
|
)
|
|
|
|
local warnFocusFire = mod:NewTargetAnnounce(32300, 3)
|
|
|
|
local specWarnFocusFire = mod:NewSpecialWarningDodge(32300, nil, nil, nil, 1, 2)
|
|
|
|
function mod:CHAT_MSG_RAID_BOSS_EMOTE(_, _, _, _, target)
|
|
local targetname = DBM:GetUnitFullName(target) or target
|
|
if targetname == UnitName("player") then
|
|
specWarnFocusFire:Show()
|
|
specWarnFocusFire:Play("watchstep")
|
|
else
|
|
warnFocusFire:Show(target)
|
|
end
|
|
end
|
|
|