public override void OnStart() { if (Level == 0) { Level = -1; } _stopwatch.Start(); var riftOptions = new RiftCoroutine.RiftOptions { RiftCount = RiftCount > 0 ? RiftCount : PluginSettings.Current.RiftCount, IsEmpowered = IsEmpowered || PluginSettings.Current.UseEmpoweredRifts }; _riftCoroutine = new RiftCoroutine(RiftType.Nephalem, riftOptions); }
public override async Task <bool> StartTask() { if (Level == 0) { Level = -1; } var riftOptions = new RiftCoroutine.RiftOptions { RiftCount = RiftCount > 0 ? RiftCount : PluginSettings.Current.RiftCount, IsEmpowered = IsEmpowered || PluginSettings.Current.UseEmpoweredRifts, NormalRiftForXPShrine = IsGetXPShrine || PluginSettings.Current.NormalRiftForXPShrine, }; _riftCoroutine = new RiftCoroutine(SelectedRiftType, riftOptions); return(false); }
public override void OnStart() { if (!Adventurer.Enabled) { Logger.Error("Plugin is not enabled. Please enable Adventurer and try again."); _isDone = true; return; } var riftOptions = new RiftCoroutine.RiftOptions { RiftCount = RiftCount > 0 ? RiftCount : PluginSettings.Current.RiftCount, }; PluginEvents.CurrentProfileType = ProfileType.Rift; _stopwatch.Start(); //AdvDia.Update(true); _riftCoroutine = new RiftCoroutine(RiftType.Nephalem, riftOptions); }
public override void OnStart() { if (!Adventurer.Enabled) { Logger.Error("Plugin is not enabled. Please enable Adventurer and try again."); _isDone = true; return; } var riftOptions = new RiftCoroutine.RiftOptions { RiftCount = RiftCount > 0 ? RiftCount : PluginSettings.Current.RiftCount, IsEmpowered = IsEmpowered || PluginSettings.Current.UseEmpoweredRifts }; PluginEvents.CurrentProfileType = ProfileType.Rift; _stopwatch.Start(); _riftCoroutine = new RiftCoroutine(RiftType.Greater, riftOptions); }