예제 #1
0
파일: Main.cs 프로젝트: chienhao10/Hesa
        private void Game_OnTick()
        {
            var mana = Player.ManaPercent;

            if (killstealMenu.GetCheckbox("enable"))
            {
                Killsteal.DoKS();
            }


            if (Orbwalker.ActiveMode == (OrbwalkingMode.Combo) && mana >= comboMenu.GetSlider("mana"))
            {
                Combo.DoCombo();
                Items.DoItems();
                Items.Doorbs();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.Harass) && mana >= harassMenu.GetSlider("mana"))
            {
                Harass.DoHarass();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.LaneClear) && mana >= laneclearMenu.GetSlider("mana"))
            {
                LaneClear.DoLaneClear();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.LastHit) && mana >= lasthitMenu.GetSlider("mana"))
            {
                LastHit.DoLastHit();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.Flee))
            {
                Flee.DoFlee();
                Items.DoItems();
            }
            //Items.DoQss();
            Pots.DoPots();
            SS.DoSmite();
            SS.DoHeal();
            if (qRange == GetQRange())
            {
                return;
            }
            qRange  = GetQRange();
            Q.Range = qRange;
        }
예제 #2
0
파일: Main.cs 프로젝트: xuxiaoyi211/Hesa
        private void Game_OnTick()
        {
            if (Orbwalker.ActiveMode == (OrbwalkingMode.Combo) && itemMenu.GetCheckbox("enable"))
            {
                Items.DoItems();
                Items.Doorbs();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.LaneClear) && itemMenu.GetCheckbox("enable"))
            {
                Items.Dohydra();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.Flee) && itemMenu.GetCheckbox("enable"))
            {
                Items.DoItems();
            }
            SS.DoSmite();
            Items.DoQss();
            SS.DoHeal();
            Pots.DoPots();
        }
예제 #3
0
파일: Main.cs 프로젝트: chienhao10/Hesa
        private void Game_OnTick()
        {
            if (Player.IsRecalling() || Player.IsDead)
            {
                return;
            }

            var mana = Player.ManaPercent;

            if (killstealMenu.GetCheckbox("enable"))
            {
                Killsteal.DoKS();
            }


            if (Orbwalker.ActiveMode == (OrbwalkingMode.Combo) && mana >= comboMenu.GetSlider("mana"))
            {
                Combo.DoCombo();
                Items.DoItems();
                Items.Doorbs();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.Harass) && mana >= harassMenu.GetSlider("mana"))
            {
                Harass.DoHarass();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.LaneClear) && mana >= laneclearMenu.GetSlider("mana"))
            {
                LaneClear.DoLaneClear();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.LastHit) && mana >= lasthitMenu.GetSlider("mana"))
            {
                LastHit.DoLastHit();
            }

            if (Orbwalker.ActiveMode == (OrbwalkingMode.Flee))
            {
                Flee.DoFlee();
                Items.DoItems();
            }

            /*if (rMode.GetKeybind("rKey"))
             * {
             *  RTap.DoRTap();
             * }*/
            if (autowMenu.GetCheckbox("autoW"))
            {
                AutoW.DoAutoW();
            }
            Pots.DoPots();
            SS.DoSmite();
            SS.DoHeal();

            if (rRange == GetRRange())
            {
                return;
            }
            rRange  = GetRRange();
            R.Range = rRange;
        }