diff --git a/Classic/DireMaul/Options/Colors.lua b/Classic/DireMaul/Options/Colors.lua index e517ed680..597c96e66 100644 --- a/Classic/DireMaul/Options/Colors.lua +++ b/Classic/DireMaul/Options/Colors.lua @@ -52,6 +52,9 @@ BigWigs:AddColors("Hydrospawn", { }) BigWigs:AddColors("Zevrim Thornhoof", { + [17228] = "red", + [22478] = "orange", + [22651] = {"blue","yellow"}, }) BigWigs:AddColors("Alzzin the Wildshaper", { diff --git a/Classic/DireMaul/Options/Sounds.lua b/Classic/DireMaul/Options/Sounds.lua index f77d12bb8..0265af625 100644 --- a/Classic/DireMaul/Options/Sounds.lua +++ b/Classic/DireMaul/Options/Sounds.lua @@ -49,6 +49,9 @@ BigWigs:AddSounds("Hydrospawn", { }) BigWigs:AddSounds("Zevrim Thornhoof", { + [17228] = "alert", + [22478] = "alert", + [22651] = "alarm", }) BigWigs:AddSounds("Alzzin the Wildshaper", { diff --git a/Classic/DireMaul/ZevrimThornhoof.lua b/Classic/DireMaul/ZevrimThornhoof.lua index d3fc6d26a..c6b9b18ec 100644 --- a/Classic/DireMaul/ZevrimThornhoof.lua +++ b/Classic/DireMaul/ZevrimThornhoof.lua @@ -6,7 +6,7 @@ local mod, CL = BigWigs:NewBoss("Zevrim Thornhoof", 429, 402) if not mod then return end mod:RegisterEnableMob(11490) -- Zevrim Thornhoof mod:SetEncounterID(343) ---mod:SetRespawnTime(0) +--mod:SetRespawnTime(0) resets, doesn't respawn -------------------------------------------------------------------------------- -- Initialization @@ -14,25 +14,52 @@ mod:SetEncounterID(343) function mod:GetOptions() return { - + 22478, -- Intense Pain + 22651, -- Sacrifice + 17228, -- Shadow Bolt Volley } end function mod:OnBossEnable() - if self:Retail() then - self:RegisterEvent("ENCOUNTER_START") -- XXX no boss frames + self:Log("SPELL_CAST_START", "IntensePain", 22478) + self:Log("SPELL_CAST_SUCCESS", "Sacrifice", 22651) + self:Log("SPELL_AURA_APPLIED", "SacrificeApplied", 22651) + self:Log("SPELL_CAST_START", "ShadowBoltVolley", 17228) + if self:Heroic() then -- no encounter events in Timewalking + self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus") + self:Death("Win", 11490) end end function mod:OnEngage() + self:CDBar(22478, 3.7) -- Intense Pain + self:CDBar(22651, 7.1) -- Sacrifice + self:CDBar(17228, 8.3) -- Shadow Bolt Volley end -------------------------------------------------------------------------------- -- Event Handlers -- -function mod:ENCOUNTER_START(_, id) -- XXX no boss frames - if id == self.engageId then - self:Engage() +function mod:IntensePain(args) + self:Message(args.spellId, "orange", CL.casting:format(args.spellName)) + self:CDBar(args.spellId, 8.5) + self:PlaySound(args.spellId, "alert") +end + +function mod:Sacrifice(args) + self:CDBar(args.spellId, 17.0) +end + +function mod:SacrificeApplied(args) + self:TargetMessage(args.spellId, "yellow", args.destName) + self:PlaySound(args.spellId, "alarm", nil, args.destName) +end + +function mod:ShadowBoltVolley(args) + if self:MobId(args.sourceGUID) == 11490 then -- Zevrim Thornhoof + self:Message(args.spellId, "red", CL.casting:format(args.spellName)) + self:CDBar(args.spellId, 17.0) + self:PlaySound(args.spellId, "alert") end end