コード例 #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")
            {
            }
        }