コード例 #1
0
ファイル: LeeSinSharp.cs プロジェクト: MadScripts/LeagueSharp
        private static void OnGameUpdate(EventArgs args)
        {
            LeeSin.loaidraw();
            LeeSin.CastR_kill();
            target = SimpleTs.GetTarget(1500, SimpleTs.DamageType.Physical);
            LeeSin.checkLock(target);
            LeeSin.orbwalker.SetAttacks(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("ActiveCombo").GetValue <KeyBind>().Active)
            {
                LeeSin.combo();
            }
            if (Config.Item("ActiveCombo1").GetValue <KeyBind>().Active)
            {
                LeeSin.combo2();
            }
            if (Config.Item("ActiveInsec").GetValue <KeyBind>().Active)
            {
                LeeSin.useinsec();
            }

            if (LeeSin.orbwalker.ActiveMode.ToString() == "LaneClear")
            {
            }
        }
コード例 #2
0
ファイル: LeeSinSharp.cs プロジェクト: betw01/detu
        private static void OnGameUpdate(EventArgs args)
        {
            target = SimpleTs.GetTarget(1000, SimpleTs.DamageType.Physical);
            LeeSin.checkLock(target);
            if (Config.Item("db_targ").GetValue <KeyBind>().Active)
            {
                LeeSin.wardJump(Game.CursorPos.To2D());
            }

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


            if (LeeSin.orbwalker.ActiveMode.ToString() == "Combo")
            {
                Console.WriteLine(LeeSin.Q.ChargedSpellName);
                Console.WriteLine(LeeSin.Qdata.Name);
            }

            if (LeeSin.orbwalker.ActiveMode.ToString() == "Mixed")
            {
            }

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


            if (Config.Item("harassOn").GetValue <bool>() && LeeSin.orbwalker.ActiveMode.ToString() == "None")
            {
            }
        }