local mod = DBM:NewMod("Buru", "DBM-AQ20", 1) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 156 $"):sub(12, -3)) mod:SetCreatureID(15370) mod:RegisterCombat("combat") mod:RegisterEvents( "CHAT_MSG_MONSTER_EMOTE", "SPELL_AURA_APPLIED", "SPELL_AURA_APPLIED_DOSE", "PLAYER_ALIVE" ) local warnPursue = mod:NewAnnounce("WarnPursue", 3) local specWarnPursue = mod:NewSpecialWarning("SpecWarnPursue") local berserkTimer = mod:NewBerserkTimer(600) local specWarnWeakened = mod:NewSpecialWarning("Buru is Weakened!", nil, "Special warning for Buru's weakened phase") local eggsDead function mod:OnCombatStart(delay) berserkTimer:Start() eggsDead = 0 end function mod:CHAT_MSG_MONSTE_EMOTE(msg) if not msg then return end local _, target = msg.find(L.PursueEmote) if target then warnPursue:Show(target) if target == UnitName("player") then specWarnPursue:Show() end end end function mod:SPELL_AURA_APPLIED(args) if args:IsSpellID(1002041) then specWarnWeakened:Show(); end end function mod:SPELL_AURA_APPLIED_DOSE(args) if args:IsSpellID(1002041) then -- Miasma (Eye Tentacles) specWarnWeakened:Show(); end end