public static async Task <bool> Execute() { if (!Core.Me.HasTarget || !Core.Me.CurrentTarget.ThoroughCanAttack()) { return(false); } if (await CustomOpenerLogic.Opener()) { return(true); } if (BotManager.Current.IsAutonomous) { if (Core.Me.HasTarget) { Movement.NavigateToUnitLos(Core.Me.CurrentTarget, Core.Me.ClassLevel < 2 ? 3 : 20); } } bool FinisherReady() { if (Casting.SpellCastHistory.Take(5).Any(s => s.Spell == Spells.Verflare || s.Spell == Spells.Verholy)) { return(false); } return(Casting.SpellCastHistory.Take(5).Any(s => s.Spell == Spells.Redoublement)); } if (Core.Me.ClassLevel >= Spells.Verflare.LevelAcquired && FinisherReady() && (BlackMana <= 20 || WhiteMana <= 20)) { await SingleTarget.Displacement(); if (await SingleTarget.Verholy()) { return(true); } return(await SingleTarget.Verflare()); } if (await SingleTarget.Scorch()) { return(true); } if (await Buff.Embolden()) { return(true); } if (await Buff.Manafication()) { return(true); } if (await Buff.LucidDreaming()) { return(true); } if (Utilities.Routines.RedMage.OnGcd && Casting.LastSpell != Spells.CorpsACorps) { if (await Aoe.ContreSixte()) { return(true); } if (await SingleTarget.Fleche()) { return(true); } } if (await Aoe.Moulinet()) { return(true); } if (await Aoe.Scatter()) { return(true); } if (await SingleTarget.CorpsACorps()) { return(true); } if (await SingleTarget.Redoublement()) { return(true); } if (await SingleTarget.Zwerchhau()) { return(true); } if (await SingleTarget.Riposte()) { return(true); } if (await SingleTarget.Displacement()) { return(true); } if (await SingleTarget.Engagement()) { return(true); } if (Casting.LastSpell == Spells.CorpsACorps) { return(true); } if (await SingleTarget.Verstone()) { return(true); } if (await SingleTarget.Verfire()) { return(true); } if (await SingleTarget.Veraero()) { return(true); } if (await SingleTarget.Verthunder()) { return(true); } if (await Buff.Acceleration()) { return(true); } return(await SingleTarget.Jolt()); }