Skip to content

Commit

Permalink
Deprecate restart object in all modules
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Jun 1, 2024
1 parent daafa1d commit 6a64a58
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions DBM-Raids-Shadowlands/FatedAffixes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ do
if eventType == 0 then
timerReconfigurationEmitterCD:Stop()
elseif eventType == 1 and specialTimers[372419][1][encounterID][stage] then
timerReconfigurationEmitterCD:Restart(specialTimers[372419][1][encounterID][stage])
timerReconfigurationEmitterCD:Stop()
timerReconfigurationEmitterCD:Start(specialTimers[372419][1][encounterID][stage])
elseif timeAdjust and eventType == 2 then
if timerReconfigurationEmitterCD:GetRemaining() < timeAdjust then
local elapsed, total = timerReconfigurationEmitterCD:GetTime()
Expand All @@ -382,7 +383,8 @@ do
if eventType == 0 then
timerChaoticEssenceCD:Stop()
elseif eventType == 1 and specialTimers[372642][1][encounterID][stage] then
timerChaoticEssenceCD:Restart(specialTimers[372642][1][encounterID][stage])
timerChaoticEssenceCD:Stop()
timerChaoticEssenceCD:Start(specialTimers[372642][1][encounterID][stage])
elseif timeAdjust and eventType == 2 then
if timerChaoticEssenceCD:GetRemaining() < timeAdjust then
local elapsed, total = timerChaoticEssenceCD:GetTime()
Expand All @@ -399,7 +401,8 @@ do
if eventType == 0 then
timerProtoformBarrierCD:Stop()
elseif eventType == 1 and specialTimers[372418][1][encounterID][stage] then
timerProtoformBarrierCD:Restart(specialTimers[372418][1][encounterID][stage])
timerProtoformBarrierCD:Stop()
timerProtoformBarrierCD:Start(specialTimers[372418][1][encounterID][stage])
elseif timeAdjust and eventType == 2 then
if timerProtoformBarrierCD:GetRemaining() < timeAdjust then
local elapsed, total = timerProtoformBarrierCD:GetTime()
Expand All @@ -416,7 +419,8 @@ do
if eventType == 0 then
timerCreationSparkCD:Stop()
elseif eventType == 1 and specialTimers[372647][1][encounterID][stage] then
timerCreationSparkCD:Restart(specialTimers[372647][1][encounterID][stage])
timerCreationSparkCD:Stop()
timerCreationSparkCD:Start(specialTimers[372647][1][encounterID][stage])
elseif timeAdjust and eventType == 2 then
if timerCreationSparkCD:GetRemaining() < timeAdjust then
local elapsed, total = timerCreationSparkCD:GetTime()
Expand Down

0 comments on commit 6a64a58

Please sign in to comment.