Exemplo n.º 1
0
        static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Orbwalking.CanMove(10))
            {
                AIO_Func.SC(Q);
                AIO_Func.SC(W);
                AIO_Func.SC(E);
                AIO_Func.SC(R);
                if (AIO_Func.UnitIsImmobileUntil(Player) > 0.5 && AIO_Menu.Champion.Combo.UseR && Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo && R.IsReady())
                {
                    R.Cast();
                }
            }

            if (AIO_Menu.Champion.Misc.getBoolValue("KillstealQ"))
            {
                KillstealQ();
            }
            if (AIO_Menu.Champion.Misc.getBoolValue("KillstealE"))
            {
                KillstealE();
            }
        }
Exemplo n.º 2
0
        static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Orbwalking.CanMove(10))
            {
                if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo)
                {
                    Combo();
                }

                if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed)
                {
                    Harass();
                }

                if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear)
                {
                    Laneclear();
                    Jungleclear();
                }
                if (AIO_Func.UnitIsImmobileUntil(Player) > 0.5 && AIO_Menu.Champion.Misc.getBoolValue("Cleanse(W)") && W.IsReady())
                {
                    W.Cast();
                }
            }

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

            #region Ping Notify on R killable enemies
            if (R.IsReady() && AIO_Menu.Champion.Misc.getBoolValue("Ping Notify on R killable enemies (local/client side)"))
            {
                if (LastPingTime + 333 < Utils.GameTimeTickCount) //궁 4틱 이상으로 잡을수 있는 적 핑찍기.
                {
                    foreach (var target in HeroManager.Enemies.Where(x => x.IsValidTarget(R.Range) && AIO_Func.isKillable(x, R.GetDamage2(x) * 4)))
                    {
                        Game.ShowPing(PingCategory.Normal, target.Position, true);
                    }

                    LastPingTime = Utils.GameTimeTickCount;
                }
            }
            #endregion
        }
Exemplo n.º 3
0
Arquivo: Jinx.cs Projeto: werdbrian/LS
        static void AutoE()
        {
            if (!AIO_Menu.Champion.Misc.getBoolValue("Auto E On Immobile Targets"))
                return;

            foreach (Obj_AI_Hero target in HeroManager.Enemies.Where(x => x.IsValidTarget(E.Range)))
            {
                if (E.CanCast(target) && AIO_Func.UnitIsImmobileUntil(target) >= E.Delay - 0.5)
                    E.Cast(target, false, true);
            }
        }
Exemplo n.º 4
0
        static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Orbwalking.CanMove(10))
            {
                if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo)
                {
                    Combo();
                }

                if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed)
                {
                    Harass();
                }

                if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear)
                {
                    Laneclear();
                    Jungleclear();
                }
                if (AIO_Func.UnitIsImmobileUntil(Player) > 0.5 && AIO_Menu.Champion.Misc.getBoolValue("Cleanse(W)") && W.IsReady())
                {
                    W.Cast();
                }
            }

            #region Killsteal
            if (AIO_Menu.Champion.Misc.UseKillsteal)
            {
                Killsteal();
            }
            if (AIO_Menu.Champion.Misc.getBoolValue("KillstealR"))
            {
                KillstealR();
            }
            #endregion
            #region AfterAttack
            AIO_Func.AASkill(Q);
            if (AIO_Func.AfterAttack())
            {
                AA();
            }
            #endregion
        }
Exemplo n.º 5
0
        static void Combo()
        {
            if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, Q.DamageType);
                AIO_Func.LCast(Q, Qtarget, QD, float.MaxValue);
            }

            if (AIO_Menu.Champion.Combo.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, E.DamageType);
                AIO_Func.LCast(E, Etarget, 0, 0);
            }

            if (AIO_Menu.Champion.Combo.UseW && W.IsReady())
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, W.DamageType);
                if (AIO_Func.UnitIsImmobileUntil(Wtarget) >= W.Delay - 0.5)
                {
                    AIO_Func.CCast(W, Wtarget);
                }
            }
        }