示例#1
0
        static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Orbwalking.CanMove(35))
            {
                Q.SC(QD);
                E.MouseSC();
                W.SC();
            }

            E.FleeToPosition();

            #region R.Cast()
            var RT = (Clone != null ? HeroManager.Enemies.Where(x => x.Distance(Clone.ServerPosition) <= R.Range).FirstOrDefault() : null);
            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo && AIO_Menu.Champion.Combo.UseR && Clone.ECTarget(R.Range) > 0 && R.IsReady())
            {
                R.Cast();
            }

            if (Player.HealthPercent < 30 && (RT != null && AIO_Func.isKillable(RT, R.GetDamage2(RT)) || RT == null && 1000f.EnemyCount() > 0) && R.IsReady() &&
                AIO_Menu.Champion.Misc.getBoolValue("R Cast for Heal"))
            {
                R.Cast();
            }
            #endregion

            #region Killsteal
            if (AIO_Menu.Champion.Misc.getBoolValue("KillstealQ"))
            {
                KillstealQ();
            }
            #endregion
        }