private static void Flee() { if (!Setup.Flee["Key"].Enabled) { return; } Player.IssueOrder(OrderType.MoveTo, Game.CursorPos); if (Player.ManaPercent() < Setup.Flee["Mana"].As <MenuSlider>().Value) { return; } if (Setup.Flee["E"].As <MenuBool>().Enabled&& Spells.E.Ready) { var target = TargetSelector.GetTarget(Spells.E.Range); if (target.IsValidTarget()) { Spells.E.Cast(target); } } if (Setup.Flee["Q"].As <MenuBool>().Enabled&& Spells.Q.Ready) { Spells.Q.Cast(Game.CursorPos); if (Setup.Misc["Anim"].As <MenuBool>().Enabled) { DelayAction.Queue(200, () => MenuGUI.DoEmote(EmoteType.Dance)); } } }