Skip to content

Commit

Permalink
Fix similar problem on mimiron
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed May 16, 2024
1 parent 136ea70 commit ba2cfae
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions DBM-Raids-WoTLK/Ulduar/Mimiron.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ end
mod:DisableESCombatDetection()--fires for RP, and we need yells to identify hard mode anyways
mod:SetModelID(28578)
mod:SetUsedIcons(1, 2, 3, 4, 5, 6, 7, 8)
mod:SetHotfixNoticeRev(20230209000000)
mod:SetMinSyncRevision(20230113000000)
mod:SetHotfixNoticeRev(20240516000000)
mod:SetMinSyncRevision(20240516000000)

mod:RegisterCombat("combat_yell", L.YellPull)
mod:SetWipeTime(30)--Combat drops during long RPs

mod:RegisterEvents(
"CHAT_MSG_MONSTER_YELL"
Expand Down Expand Up @@ -93,6 +94,10 @@ local function show_warning_for_spinup(self)
end
end

local function unfuckWipeTimer(self)
self:SetWipeTime(5)
end

function mod:OnCombatStart(delay)
self.vb.hardmode = false
enrage:Start(-delay)
Expand All @@ -105,6 +110,8 @@ function mod:OnCombatStart(delay)
if self.Options.RangeFrame then
DBM.RangeCheck:Show(6)
end
self:SetWipeTime(15)
self:Schedule(15, unfuckWipeTimer, self)
end

function mod:OnCombatEnd()
Expand Down Expand Up @@ -275,6 +282,8 @@ function mod:UNIT_SPELLCAST_SUCCEEDED(uId, _, spellId)
--timerNextFlameSuppressant:Stop()
timerPlasmaBlastCD:Stop()
timerP1toP2:Start()--41.5
self:SetWipeTime(44.5)
self:Schedule(44.5, unfuckWipeTimer, self)
-- if self.vb.hardmode then
-- timerNextFrostBomb:Start(42.2)--Disabled since i'm not entirely convinced this has a timer but instead is cast when a certain fire threshold is triggrred, i've seen from 42 all the way to never cast (solo raids with far less fire).
-- end
Expand All @@ -289,8 +298,12 @@ function mod:UNIT_SPELLCAST_SUCCEEDED(uId, _, spellId)
-- timerNextFrostBomb:Stop()
timerRocketStrikeCD:Stop()
timerP2toP3:Start()--24
self:SetWipeTime(27)
self:Schedule(27, unfuckWipeTimer, self)
elseif self:GetStage(4) then
timerP3toP4:Start()--27.9
self:SetWipeTime(30.9)
self:Schedule(30.9, unfuckWipeTimer, self)
--Need to be reverified on live
-- if self.vb.hardmode then
-- timerNextFrostBomb:Start(32)
Expand Down Expand Up @@ -322,6 +335,8 @@ function mod:OnSync(event, args)
timerPlasmaBlastCD:Stop()
--Timers are using retail adjusted to yell, need actual confirmation
timerP1toP2:Start(37.2)
self:SetWipeTime(40.2)
self:Schedule(40.2, unfuckWipeTimer, self)
-- if self.vb.hardmode then
-- timerNextFrostBomb:Start(42.2)
-- end
Expand All @@ -337,10 +352,14 @@ function mod:OnSync(event, args)
-- timerNextFrostBomb:Stop()
timerRocketStrikeCD:Stop()
timerP2toP3:Start(16.8)--16.8-25, using yells is swell
self:SetWipeTime(28)
self:Schedule(28, unfuckWipeTimer, self)
elseif event == "Phase4" and self:GetStage(3) then
self:SetStage(4)
--All these timers might be wrong because they are mashed between retail and legacy using math guesses
timerP3toP4:Start(24)
self:SetWipeTime(27)
self:Schedule(27, unfuckWipeTimer, self)
--Adjusted to live, but live timers might be wrong, plus need to be classic vetted anyways
-- if self.vb.hardmode then
-- timerNextFrostBomb:Start(28.5)
Expand Down

0 comments on commit ba2cfae

Please sign in to comment.