diff --git a/Classic/Stratholme/Options/Colors.lua b/Classic/Stratholme/Options/Colors.lua index b2f9ed71d..22543bfc8 100644 --- a/Classic/Stratholme/Options/Colors.lua +++ b/Classic/Stratholme/Options/Colors.lua @@ -33,6 +33,8 @@ BigWigs:AddColors("Magistrate Barthilas", { }) BigWigs:AddColors("Ramstein the Gorger", { + [5568] = "yellow", + [17307] = {"blue","purple"}, }) BigWigs:AddColors("Postmaster Malown", { diff --git a/Classic/Stratholme/Options/Sounds.lua b/Classic/Stratholme/Options/Sounds.lua index 72f7252ae..b07c67052 100644 --- a/Classic/Stratholme/Options/Sounds.lua +++ b/Classic/Stratholme/Options/Sounds.lua @@ -33,6 +33,8 @@ BigWigs:AddSounds("Magistrate Barthilas", { }) BigWigs:AddSounds("Ramstein the Gorger", { + [5568] = "info", + [17307] = "alert", }) BigWigs:AddSounds("Postmaster Malown", { diff --git a/Classic/Stratholme/RamsteinTheGorger.lua b/Classic/Stratholme/RamsteinTheGorger.lua index 1bfa5eabd..7dee15f70 100644 --- a/Classic/Stratholme/RamsteinTheGorger.lua +++ b/Classic/Stratholme/RamsteinTheGorger.lua @@ -6,7 +6,7 @@ local mod, CL = BigWigs:NewBoss("Ramstein the Gorger", 329, 455) if not mod then return end mod:RegisterEnableMob(10439) -- Ramstein the Gorger mod:SetEncounterID(483) ---mod:SetRespawnTime(0) +--mod:SetRespawnTime(0) resets, doesn't respawn -------------------------------------------------------------------------------- -- Initialization @@ -14,25 +14,41 @@ mod:SetEncounterID(483) function mod:GetOptions() return { - + 17307, -- Knockout + 5568, -- Trample } end function mod:OnBossEnable() - if self:Retail() then - self:RegisterEvent("ENCOUNTER_START") -- XXX no boss frames + self:Log("SPELL_CAST_SUCCESS", "Knockout", 17307) + self:Log("SPELL_AURA_APPLIED", "KnockoutApplied", 17307) + self:Log("SPELL_CAST_SUCCESS", "Trample", 5568) + if self:Heroic() then -- no encounter events in Timewalking + self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus") + self:Death("Win", 10439) end end function mod:OnEngage() + self:CDBar(5568, 4.9) -- Trample + self:CDBar(17307, 8.5) -- Knockout end -------------------------------------------------------------------------------- -- Event Handlers -- -function mod:ENCOUNTER_START(_, id) -- XXX no boss frames - if id == self.engageId then - self:Engage() - end +function mod:Knockout(args) + self:CDBar(args.spellId, 13.4) +end + +function mod:KnockoutApplied(args) + self:TargetMessage(args.spellId, "purple", args.destName) + self:PlaySound(args.spellId, "alert", nil, args.destName) +end + +function mod:Trample(args) + self:Message(args.spellId, "yellow") + self:CDBar(args.spellId, 8.5) + self:PlaySound(args.spellId, "info") end