diff --git a/WarWithin/TheDawnbreaker/Options/Colors.lua b/WarWithin/TheDawnbreaker/Options/Colors.lua index 5c3d54312..5826a2175 100644 --- a/WarWithin/TheDawnbreaker/Options/Colors.lua +++ b/WarWithin/TheDawnbreaker/Options/Colors.lua @@ -5,7 +5,7 @@ BigWigs:AddColors("Shadowcrown", { [428086] = "red", [445996] = "orange", [451026] = "cyan", - [453140] = "orange", + [453140] = {"blue","orange"}, [453212] = "purple", }) diff --git a/WarWithin/TheDawnbreaker/Options/Sounds.lua b/WarWithin/TheDawnbreaker/Options/Sounds.lua index 1d635a6f9..5ff926202 100644 --- a/WarWithin/TheDawnbreaker/Options/Sounds.lua +++ b/WarWithin/TheDawnbreaker/Options/Sounds.lua @@ -5,7 +5,7 @@ BigWigs:AddSounds("Shadowcrown", { [428086] = "alert", [445996] = "long", [451026] = "warning", - [453140] = "long", + [453140] = {"long","underyou"}, [453212] = "alarm", }) diff --git a/WarWithin/TheDawnbreaker/Shadowcrown.lua b/WarWithin/TheDawnbreaker/Shadowcrown.lua index 382243a14..35379a7fb 100644 --- a/WarWithin/TheDawnbreaker/Shadowcrown.lua +++ b/WarWithin/TheDawnbreaker/Shadowcrown.lua @@ -48,6 +48,8 @@ function mod:OnBossEnable() -- Mythic self:Log("SPELL_CAST_START", "ObsidianBeam", 453212) self:Log("SPELL_CAST_START", "CollapsingNight", 453140) + self:Log("SPELL_PERIODIC_DAMAGE", "CollapsingNightDamage", 453173) + self:Log("SPELL_PERIODIC_MISSED", "CollapsingNightDamage", 453173) end function mod:OnEngage() @@ -98,8 +100,8 @@ function mod:DarknessComes(args) end end self:Message(args.spellId, "cyan", CL.percent:format(percent, args.spellName)) - self:PlaySound(args.spellId, "warning") self:CastBar(args.spellId, 15) + self:PlaySound(args.spellId, "warning") end function mod:BurningShadows() @@ -126,26 +128,37 @@ end function mod:ObsidianBlast(args) self:Message(args.spellId, "purple") - self:PlaySound(args.spellId, "alarm") self:CDBar(args.spellId, 13.3) + self:PlaySound(args.spellId, "alarm") end function mod:CollapsingDarkness(args) self:Message(args.spellId, "orange") - self:PlaySound(args.spellId, "long") self:CDBar(args.spellId, 15.7) + self:PlaySound(args.spellId, "long") end -- Mythic function mod:ObsidianBeam(args) self:Message(args.spellId, "purple") - self:PlaySound(args.spellId, "alarm") self:CDBar(args.spellId, 24.3) + self:PlaySound(args.spellId, "alarm") end function mod:CollapsingNight(args) self:Message(args.spellId, "orange") - self:PlaySound(args.spellId, "long") self:CDBar(args.spellId, 24.8) + self:PlaySound(args.spellId, "long") +end + +do + local prev = 0 + function mod:CollapsingNightDamage(args) + if self:Me(args.destGUID) and args.time - prev > 1.25 then + prev = args.time + self:PersonalMessage(453140, "underyou") + self:PlaySound(453140, "underyou") + end + end end