diff --git a/Dragonflight/DawnOfTheInfinite/ChronoLordDeios.lua b/Dragonflight/DawnOfTheInfinite/ChronoLordDeios.lua index c001ab36f..05d38b5ce 100644 --- a/Dragonflight/DawnOfTheInfinite/ChronoLordDeios.lua +++ b/Dragonflight/DawnOfTheInfinite/ChronoLordDeios.lua @@ -16,6 +16,7 @@ mod:SetStage(1) local summonInfiniteKeeperCount = 1 local infinityOrbCount = 1 local temporalBreathCount = 1 +local infiniteCorruptionCount = 1 local infiniteKeeperDeaths = 0 -------------------------------------------------------------------------------- @@ -30,6 +31,7 @@ function mod:GetOptions() 416152, -- Summon Infinite Keeper {412027, "DISPEL"}, -- Chronal Burn 410904, -- Infinity Orb + {410908, "OFF"}, -- Infinity Nova 416139, -- Temporal Breath -- Stage 2: Lord of the Infinite 416264, -- Infinite Corruption @@ -46,7 +48,8 @@ function mod:OnBossEnable() self:Death("InfiniteKeeperDeath", 205212) self:Log("SPELL_AURA_APPLIED", "ChronalBurnApplied", 412027) self:Log("SPELL_CAST_START", "InfinityOrb", 410904) - -- TODO Infinity Nova duration? + self:Log("SPELL_AURA_APPLIED", "InfinityNovaApplied", 410908) + self:Log("SPELL_AURA_APPLIED_DOSE", "InfinityNovaApplied", 410908) self:Log("SPELL_CAST_START", "TemporalBreath", 416139) -- Stage 2: Lord of the Infinite @@ -57,6 +60,7 @@ function mod:OnEngage() summonInfiniteKeeperCount = 1 infinityOrbCount = 1 temporalBreathCount = 1 + infiniteCorruptionCount = 1 infiniteKeeperDeaths = 0 self:SetStage(1) self:CDBar(410904, 9.6) -- Infinity Orb @@ -107,11 +111,11 @@ function mod:InfinityOrb(args) infinityOrbCount = infinityOrbCount + 1 if self:GetStage() == 1 then -- pull:9.6, 17.0, 17.4, 17.4, 17.4, 24.0, 12.0, 12.0, 12.0... - if infinityOrbCount == 2 then + if infinityOrbCount == 2 then -- 2 self:CDBar(args.spellId, 17.0) elseif infinityOrbCount < 6 then -- 3, 4, 5 self:CDBar(args.spellId, 17.4) - elseif infinityOrbCount == 6 then + elseif infinityOrbCount == 6 then -- 6 self:CDBar(args.spellId, 24.0) else -- 7, 8, 9... self:CDBar(args.spellId, 12.0) @@ -121,8 +125,14 @@ function mod:InfinityOrb(args) end end +function mod:InfinityNovaApplied(args) + if self:Me(args.destGUID) then + self:Bar(args.spellId, 4, CL.on_group:format(args.spellName)) + end +end + function mod:TemporalBreath(args) - self:Message(args.spellId, "orange") + self:Message(args.spellId, "purple") self:PlaySound(args.spellId, "alarm") temporalBreathCount = temporalBreathCount + 1 if self:GetStage() == 1 then @@ -143,5 +153,10 @@ end function mod:InfiniteCorruption(args) self:Message(args.spellId, "red") self:PlaySound(args.spellId, "long") + infiniteCorruptionCount = infiniteCorruptionCount + 1 self:CDBar(args.spellId, 24.6) + if infiniteCorruptionCount == 2 then + -- the first Infinite Corruption resets the CD of Infinity Orb + self:CDBar(410904, 19.2) -- Infinity Orb + end end diff --git a/Dragonflight/DawnOfTheInfinite/Options/Colors.lua b/Dragonflight/DawnOfTheInfinite/Options/Colors.lua index 36f2e9d7b..e51dd7752 100644 --- a/Dragonflight/DawnOfTheInfinite/Options/Colors.lua +++ b/Dragonflight/DawnOfTheInfinite/Options/Colors.lua @@ -65,7 +65,7 @@ BigWigs:AddColors("Time-Lost Battlefield", { BigWigs:AddColors("The Infinite Dragonflight", { [410904] = "yellow", [412027] = {"blue","yellow"}, - [416139] = "orange", + [416139] = "purple", [416152] = "red", [416264] = "red", ["stages"] = "cyan",