示例#1
0
        private static void OnGameUpdate(EventArgs args)
        {
            LeeSin.loaidraw();
            LeeSin.CastR_kill();
            if (passiveTimer <= Environment.TickCount)
            {
                passiveStacks = 0;
            }
            if (q2Timer <= Environment.TickCount)
            {
                q2Done = false;
            }

            target = TargetSelector.GetTarget(1500, TargetSelector.DamageType.Physical);
            LeeSin.checkLock(target);
            LeeSin.orbwalker.SetAttack(true);
            if (Config.Item("ActiveWard").GetValue <KeyBind>().Active)
            {
                LeeSin.wardJump(Game.CursorPos.To2D());
            }

            if (Config.Item("ActiveHarass").GetValue <KeyBind>().Active)
            {
                LeeSin.doHarass();
            }

            if (Config.Item("ActiveClear").GetValue <KeyBind>().Active)
            {
                Laneclear.Clear();
                Laneclear.Jgclear();
            }

            if (Config.Item("ActiveCombo").GetValue <KeyBind>().Active)
            {
                LeeSin.combo();
            }
            if (Config.Item("ActiveCombo1").GetValue <KeyBind>().Active)
            {
                LeeSin.combo2();
            }
            if (Config.Item("ActiveInsec").GetValue <KeyBind>().Active)
            {
                LeeSin.insecOrbwalk(LeeSin.LockedTarget);
                LeeSin.useinsec();
            }

            //if (LeeSin.orbwalker.ActiveMode.ToString() == "LaneClear")
            //{

            //}
        }
示例#2
0
 private static void onDraw(EventArgs args)
 {
     if (Config.Item("DrawQ").GetValue <bool>())
     {
         Render.Circle.DrawCircle(ObjectManager.Player.Position, 1000, System.Drawing.Color.Gray,
                                  Config.Item("CircleThickness").GetValue <Slider>().Value);
         //Config.Item("CircleQuality").GetValue<Slider>().Value);
     }
     if (Config.Item("DrawW").GetValue <bool>())
     {
         Render.Circle.DrawCircle(ObjectManager.Player.Position, 700, System.Drawing.Color.Gray,
                                  Config.Item("CircleThickness").GetValue <Slider>().Value);
         //Config.Item("CircleQuality").GetValue<Slider>().Value);
     }
     if (Config.Item("DrawE").GetValue <bool>())
     {
         Render.Circle.DrawCircle(ObjectManager.Player.Position, 350, System.Drawing.Color.Gray,
                                  Config.Item("CircleThickness").GetValue <Slider>().Value);
         //Config.Item("CircleQuality").GetValue<Slider>().Value);
     }
     if (Config.Item("DrawR").GetValue <bool>())
     {
         Render.Circle.DrawCircle(ObjectManager.Player.Position, 375, System.Drawing.Color.Gray,
                                  Config.Item("CircleThickness").GetValue <Slider>().Value);
         //Config.Item("CircleQuality").GetValue<Slider>().Value);
     }
     if (Config.Item("DrawInsec").GetValue <bool>() && LeeSin.R.IsReady())
     {
         if (!LeeSin.loaidraw())
         {
             Vector2 heroPos = Drawing.WorldToScreen(LeeSin.LockedTarget.Position);
             Vector2 diempos = Drawing.WorldToScreen(LeeSin.getward1(LeeSin.LockedTarget));
             Drawing.DrawLine(heroPos[0], heroPos[1], diempos[0], diempos[1], 1, System.Drawing.Color.White);
         }
         else
         {
             Vector2 heroPos = Drawing.WorldToScreen(LeeSin.LockedTarget.Position);
             Vector2 diempos = Drawing.WorldToScreen(LeeSin.getward3(LeeSin.LockedTarget));
             Drawing.DrawLine(heroPos[0], heroPos[1], diempos[0], diempos[1], 1, System.Drawing.Color.White);
         }
     }
 }