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.
28 lines
750 B
28 lines
750 B
local mod = DBM:NewMod(430, "DBM-Party-Vanilla", 6, 232)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20221029204017")
|
|
mod:SetCreatureID(13596)
|
|
mod:SetEncounterID(428)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_SUCCESS 16495"
|
|
)
|
|
|
|
--Puncture too random, and not important enough, so removed. Fatal bite was never seen?
|
|
local warningFatalBite = mod:NewSpellAnnounce(16495, 3)
|
|
|
|
local timerFatalBiteCD = mod:NewAITimer(180, 16495, nil, nil, nil, 5, nil, DBM_COMMON_L.TANK_ICON)
|
|
|
|
function mod:OnCombatStart(delay)
|
|
timerFatalBiteCD:Start(1-delay)
|
|
end
|
|
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
|
if args.spellId == 16495 then
|
|
warningFatalBite:Show()
|
|
timerFatalBiteCD:Start()
|
|
end
|
|
end
|
|
|