public override async Task <bool> Pull() { if (!Common_Utils.InActiveInstance() || Target == null) { return(false); } if (BotManager.Current.IsAutonomous && !ff14bot.Managers.RoutineManager.IsAnyDisallowed(CapabilityFlags.Movement)) { if (await Movement.MovementComposite().ExecuteCoroutine()) { return(false); } } if (!OpenerEnabled) { if (Me.IsCasting) { var waitUntilCombatTime = TimeSpan.FromMilliseconds(Math.Min(Me.SpellCastInfo.SpellData.AdjustedCastTime.TotalMilliseconds, 2500)); if (await DodgeManager.DodgeThis(Me.SpellCastInfo.SpellData, CurrentTarget, CastedAura, IsDot, IsBuff, IsHealingSpell)) { await Coroutine.Wait(waitUntilCombatTime, () => Me.InCombat); } return(true); } if (CombatHelper.LastSpell != null && CombatHelper.LastTarget != Me) { await Heal(); await CombatBuff(); await Combat(); var waitUntilCombatTime = TimeSpan.FromMilliseconds(Math.Min(CombatHelper.LastSpell.AdjustedCastTime.TotalMilliseconds, 2500)); await Coroutine.Wait(waitUntilCombatTime, () => Me.InCombat); return(true); } } Logger.DebugLog("Pulsing Pull"); switch (MainSettingsModel.Instance.CurrentRoutine) { case "Barret": return(await BarretRotation.Pull()); case "Beatrix": return(await BeatrixRotation.Pull()); case "Cecil": return(await CecilRotation.Pull()); case "Cyan": return(await CyanRotation.Pull()); case "Edward": return(await EdwardRotation.Pull()); case "Eiko": return(await EikoRotation.Pull()); case "Elayne": return(await ElayneRotation.Pull()); case "Freya": return(await FreyaRotation.Pull()); case "Mikoto": return(await MikotoRotation.Pull()); case "Paine": return(await PaineRotation.Pull()); case "Remiel": return(await RemielRotation.Pull()); case "Sabin": return(await SabinRotation.Pull()); case "Shadow": return(await ShadowRotation.Pull()); case "Surito": return(await SuritoRotation.Pull()); case "Vivi": return(await ViviRotation.Pull()); } return(false); }