#Ulduar/General Vezax: Don't play run away sound for surge of darkness, no tank i know of kites this.
#Ulduar/Yogg Saron: using syncing for phase 3 trigger, so people in brain room can still get timers if shadow barrior drops before they portal up.
@@ -53,11 +53,8 @@
elseif args:IsSpellID(62662) then
specWarnSurgeDarkness:Show()
timerNextSurgeofDarkness:Start()
- if self.Options.SpecialWarningSurgeDarkness then
- PlaySoundFile("Sound\\Creature\\HoodWolf\\HoodWolfTransformPlayer01.wav")
end
end
-end
function mod:SPELL_INTERRUPT(args)
if args:IsSpellID(62661) then
@@ -195,14 +195,9 @@
function mod:SPELL_AURA_REMOVED(args)
if args:IsSpellID(63894) then -- Shadowy Barrier removed from Yogg-Saron (start p3)
- warnP3:Show()
- phase = 3
- brainportal:Stop()
- timerEmpower:Start()
- warnEmpowerSoon:Schedule(40)
- warnBrainPortalSoon:Cancel()
- timerNextDeafeningRoar:Start(30)
- warnDeafeningRoarSoon:Schedule(25)
+ if mod:LatencyCheck() then
+ self:SendSync("Phase3") -- Sync this because you don't get it in your combat log if you are in brain room.
+ end
elseif args:IsSpellID(64167, 64163) then -- Lunatic Gaze
timerNextLunaricGaze:Start()
end
@@ -224,4 +219,17 @@
targetWarningsShown[UnitGUID(uId)] = true
specWarnGuardianLow:Show()
end
+end
+
+function mod:OnSync(msg)
+ if msg == "Phase3" then
+ warnP3:Show()
+ phase = 3
+ brainportal:Stop()
+ timerEmpower:Start()
+ warnEmpowerSoon:Schedule(40)
+ warnBrainPortalSoon:Cancel()
+ timerNextDeafeningRoar:Start(30)
+ warnDeafeningRoarSoon:Schedule(25)
+ end
end
\ No newline at end of file