public void ResetRinger(bool resetAll) { if (ActiveTime.IsRunning) { ActiveTime.Stop(); ActiveTime.Reset(); } if (resetAll && ActiveTimeLong.IsRunning) { ActiveTimeLong.Stop(); ActiveTimeLong.Reset(); } }
public void StartRinger() { if (GRonly && Hud.Game.SpecialArea != SpecialArea.GreaterRift) { return; } if (Bossonly && Hud.Game.RiftPercentage < 100) { return; } if (!ActiveTime.IsRunning) { ActiveTime.Start(); } if (!ActiveTimeLong.IsRunning) { ActiveTimeLong.Start(); } }