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

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

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

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear)
            {
                Laneclear();
                Jungleclear();
            }

            if (SharpShooter.Menu.Item("stealthrecall", true).GetValue <KeyBind>().Active)
            {
                if (Q.IsReady() && Recall.IsReady())
                {
                    Q.Cast();
                    Recall.Cast();
                }
            }

            Killsteal();
        }
Ejemplo n.º 2
0
        static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Orbwalking.CanMove(100))
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    Combo();
                    break;

                case Orbwalking.OrbwalkingMode.Mixed:
                    Harass();
                    break;

                case Orbwalking.OrbwalkingMode.LaneClear:
                    Laneclear();
                    Jungleclear();
                    break;

                case Orbwalking.OrbwalkingMode.None:
                    break;
                }
            }

            if (AIO_Menu.Champion.Misc.getKeyBindValue("Stealth Recall").Active)
            {
                if (Q.IsReady() && Recall.IsReady())
                {
                    Q.Cast();
                    Recall.Cast();
                }
            }

            Killsteal();
        }
Ejemplo n.º 3
0
        static void Drawing_OnDraw(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            var drawingAA = SharpShooter.Menu.Item("drawingAA", true).GetValue <Circle>();
            var drawingW  = SharpShooter.Menu.Item("drawingW", true).GetValue <Circle>();
            var drawingE  = SharpShooter.Menu.Item("drawingE", true).GetValue <Circle>();

            if (drawingAA.Active)
            {
                Render.Circle.DrawCircle(Player.Position, Orbwalking.GetRealAutoAttackRange(Player), drawingAA.Color);
            }

            if (W.IsReady() && drawingW.Active)
            {
                Render.Circle.DrawCircle(Player.Position, W.Range, drawingW.Color);
            }

            if (E.IsReady() && drawingE.Active)
            {
                Render.Circle.DrawCircle(Player.Position, E.Range, drawingE.Color);
            }

            if (SharpShooter.Menu.Item("drawingQTimer", true).GetValue <Boolean>())
            {
                foreach (var buff in Player.Buffs)
                {
                    if (buff.Name == "TwitchHideInShadows")
                    {
                        var targetpos = Drawing.WorldToScreen(Player.Position);
                        Drawing.DrawText(targetpos[0] - 10, targetpos[1], Color.Gold, "" + (buff.EndTime - Game.ClockTime));
                    }
                }
            }

            if (SharpShooter.Menu.Item("stealthrecall", true).GetValue <KeyBind>().Active)
            {
                var targetpos = Drawing.WorldToScreen(Player.Position);

                if (Q.IsReady() && Recall.IsReady())
                {
                    Drawing.DrawText(targetpos[0] - 60, targetpos[1] - 50, Color.Gold, "Try Stealth recall");
                }
                else if (Player.HasBuff("TwitchHideInShadows") && Player.HasBuff("Recall"))
                {
                    Drawing.DrawText(targetpos[0] - 60, targetpos[1] - 50, Color.Gold, "Stealth Recall Activated");
                }
                else if (!Player.HasBuff("recall"))
                {
                    Drawing.DrawText(targetpos[0] - 60, targetpos[1] - 50, Color.Gold, "Q is not ready");
                }
            }

            if (SharpShooter.Menu.Item("drawingRLine", true).GetValue <Boolean>())
            {
                if (Player.HasBuff("TwitchFullAutomatic", true))
                {
                    var aatarget = TargetSelector.GetTarget(Orbwalking.GetRealAutoAttackRange(Player), TargetSelector.DamageType.Physical);

                    if (aatarget != null)
                    {
                        var from = Drawing.WorldToScreen(Player.Position);

                        var dis = (Orbwalking.GetRealAutoAttackRange(Player) + 300) - Player.Distance(aatarget, false);

                        var to = Drawing.WorldToScreen(dis > 0 ? aatarget.ServerPosition.Extend(Player.Position, -dis) : aatarget.ServerPosition);
                        Drawing.DrawLine(from[0], from[1], to[0], to[1], 10, Color.FromArgb(100, 71, 200, 62));
                    }
                }
            }

            if (SharpShooter.Menu.Item("drawingRTimer", true).GetValue <Boolean>())
            {
                foreach (var buff in Player.Buffs)
                {
                    if (buff.Name == "TwitchFullAutomatic")
                    {
                        var targetpos = Drawing.WorldToScreen(Player.Position);
                        Drawing.DrawText(targetpos[0] - 10, targetpos[1], Color.Gold, "" + (buff.EndTime - Game.ClockTime));
                        break;
                    }
                }
            }
        }
Ejemplo n.º 4
0
        static void Drawing_OnDraw(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            var drawW = AIO_Menu.Champion.Drawings.Wrange;
            var drawE = AIO_Menu.Champion.Drawings.Erange;

            if (W.IsReady() && drawW.Active)
            {
                Render.Circle.DrawCircle(Player.Position, W.Range, drawW.Color);
            }

            if (E.IsReady() && drawW.Active)
            {
                Render.Circle.DrawCircle(Player.Position, E.Range, drawW.Color);
            }

            if (AIO_Menu.Champion.Drawings.getBoolValue("Stealth Timer"))
            {
                var buff  = AIO_Func.getBuffInstance(Player, "TwitchHideInShadows");
                var mypos = Drawing.WorldToScreen(Player.Position);

                if (buff != null)
                {
                    Drawing.DrawText(mypos[0] - 10, mypos[1], Color.SpringGreen, (buff.EndTime - Game.ClockTime).ToString("0.00"));
                }
            }

            if (AIO_Menu.Champion.Misc.getKeyBindValue("Stealth Recall").Active)
            {
                var mypos = Drawing.WorldToScreen(Player.Position);

                if (Q.IsReady() && Recall.IsReady())
                {
                    Drawing.DrawText(mypos[0] - 60, mypos[1] - 50, Color.SpringGreen, "Try Stealth recall");
                }
                else if (Player.HasBuff2("TwitchHideInShadows") && Player.HasBuff2("Recall"))
                {
                    Drawing.DrawText(mypos[0] - 60, mypos[1] - 50, Color.SpringGreen, "Stealth Recall Activated");
                }
                else if (!Player.HasBuff2("recall"))
                {
                    Drawing.DrawText(mypos[0] - 60, mypos[1] - 50, Color.SpringGreen, "Q is not ready");
                }
            }

            if (AIO_Menu.Champion.Drawings.getBoolValue("R Pierce Line"))
            {
                if (Player.HasBuff2("TwitchFullAutomatic", true))
                {
                    var aatarget = TargetSelector.GetTarget(Orbwalking.GetRealAutoAttackRange(Player), TargetSelector.DamageType.Physical);

                    if (aatarget != null)
                    {
                        var from = Drawing.WorldToScreen(Player.Position);
                        var dis  = (Orbwalking.GetRealAutoAttackRange(Player) + 300) - Player.Distance(aatarget, false);
                        var to   = Drawing.WorldToScreen(dis > 0 ? aatarget.ServerPosition.Extend(Player.Position, -dis) : aatarget.ServerPosition);

                        Drawing.DrawLine(from[0], from[1], to[0], to[1], 10, Color.FromArgb(100, 71, 200, 62));
                    }
                }
            }

            if (AIO_Menu.Champion.Drawings.getBoolValue("R Timer"))
            {
                var buff  = AIO_Func.getBuffInstance(Player, "TwitchFullAutomatic");
                var mypos = Drawing.WorldToScreen(Player.Position);

                if (buff != null)
                {
                    Drawing.DrawText(mypos[0] - 10, mypos[1], Color.SpringGreen, (buff.EndTime - Game.ClockTime).ToString("0.00"));
                }
            }
        }