コード例 #1
0
        private static void OnTick(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            try
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    Combo();
                    break;

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

                case Orbwalking.OrbwalkingMode.LaneClear:
                    WaveClear();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    Freeze();
                    break;

                default:
                    break;
                }

                KillSteal();

                ChaseEnemyAfterDeath();

                if (Config.Item("JungleStealAlert").GetValue <bool>())
                {
                    JungleStealAlert();
                }

                if (Config.Item("JungleSteal").GetValue <bool>())
                {
                    JungleSteal();
                }

                UpdateSpellsRange();

                SkinManager.Update();

                levelUpManager.Update();
            }
            catch (Exception ex)
            {
                Console.WriteLine("OnTick e:" + ex.ToString());
                if (mustDebug)
                {
                    Game.PrintChat("OnTick e:" + ex.Message);
                }
            }
        }
コード例 #2
0
        private static void OnTick(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            try
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    BurstCombo();
                    Combo();
                    break;

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

                case Orbwalking.OrbwalkingMode.LaneClear:
                    WaveClear();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    Freeze();
                    break;

                default:
                    break;
                }

                KillSteal();

                UpdateSpell();

                SkinManager.Update();

                levelUpManager.Update();
            }
            catch (Exception ex)
            {
                Console.WriteLine("OnTick e:" + ex.ToString());
                if (mustDebug)
                {
                    Game.PrintChat("OnTick e:" + ex.Message);
                }
            }
        }
コード例 #3
0
ファイル: Program.cs プロジェクト: thathadlsp/LeagueSharp-6
        static void Game_OnGameUpdate(EventArgs args)
        {
            try
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    Combo();
                    BurstCombo();
                    break;

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

                case Orbwalking.OrbwalkingMode.LaneClear:
                    JungleClear();
                    WaveClear();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    Freeze();
                    break;

                default:
                    break;
                }

                if (Config.Item("HarassToggle").GetValue <KeyBind>().Active)
                {
                    Harass();
                }

                UseUltUnderTower();

                skinManager.Update();

                levelUpManager.Update();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
                if (mustDebug)
                {
                    Game.PrintChat(ex.Message);
                }
            }
        }
コード例 #4
0
ファイル: Program.cs プロジェクト: wangsiqi211/Ergou
        static void Game_OnGameUpdate(EventArgs args)
        {
            try
            {
                if (Config.Item("ComboKey").GetValue <KeyBind>().Active)
                {
                    BurstCombo();
                    Combo();
                }
                if (Config.Item("HarassKey").GetValue <KeyBind>().Active)
                {
                    Harass();
                }
                if (Config.Item("LaneClearKey").GetValue <KeyBind>().Active)
                {
                    WaveClear();
                }
                if (Config.Item("FreezeKey").GetValue <KeyBind>().Active)
                {
                    Freeze();
                }
                if (Config.Item("ChaseKey").GetValue <KeyBind>().Active)
                {
                    ChaseEnemy();
                }

                if (Config.Item("UseHarassAlways").GetValue <bool>())
                {
                    Harass();
                }

                SkinManager.Update();

                levelUpManager.Update();
            }
            catch (Exception ex)
            {
                Console.WriteLine("OnTick e:" + ex.ToString());
                if (mustDebug)
                {
                    Game.PrintChat("OnTick e:" + ex.Message);
                }
            }
        }
コード例 #5
0
        static void Game_OnGameUpdate(EventArgs args)
        {
            try
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    BurstCombo();
                    Combo();
                    break;

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

                case Orbwalking.OrbwalkingMode.LaneClear:
                    WaveClear();
                    JungleClear();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    break;

                default:
                    break;
                }

                FlashCombo();

                TibbersControl();

                //QPassiveStack();
                EPassiveStack();

                skinManager.Update();

                levelUpManager.Update();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
            }
        }
コード例 #6
0
        static void Game_OnGameUpdate(EventArgs args)
        {
            try
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    Combo();
                    break;

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

                case Orbwalking.OrbwalkingMode.LaneClear:
                    WaveClear();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    //Freeze();
                    break;

                default:
                    break;
                }

                SkinManager.Update();

                levelUpManager.Update();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
                if (mustDebug)
                {
                    Game.PrintChat(ex.Message);
                }
            }
        }
コード例 #7
0
        static void Game_OnGameUpdate(EventArgs args)
        {
            try
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    BurstCombo();
                    Combo();
                    break;

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

                case Orbwalking.OrbwalkingMode.LaneClear:
                    WaveClear();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    //Freeze();
                    break;

                default:
                    break;
                }

                KillSteal();

                skinManager.Update();

                levelUpManager.Update();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
            }
        }
コード例 #8
0
        static void Game_OnGameUpdate(EventArgs args)
        {
            try
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    Combo();
                    BurstCombo();
                    break;

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

                case Orbwalking.OrbwalkingMode.LaneClear:
                    JungleClear();
                    WaveClear();
                    LastHit();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    LastHit();

                    break;

                default:
                    break;
                }

                if (Config.Item("Rflash").GetValue <KeyBind>().Active)
                {
                    FlashCombo();
                }

                if (Config.Item("UseSkin").GetValue <bool>())
                {
                    Player.SetSkin(Player.CharData.BaseSkinName, Config.Item("SkinID").GetValue <Slider>().Value);
                }

                if (Config.Item("HarassToggle").GetValue <KeyBind>().Active)
                {
                    Harass();
                }

                UseUltUnderTower();

                /*skinManager.Update();*/

                levelUpManager.Update();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
                if (mustDebug)
                {
                    Game.PrintChat(ex.Message);
                }
            }
        }