Пример #1
0
 private static void Jungle()
 {
     if (Hammer || Jayce.IsMelee)
     {
         var mob = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, Orbwalking.GetRealAutoAttackRange(ObjectManager.Player) + 100, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);
         if (mob == null || (mob.Count == 0))
         {
             return;
         }
         if (HammerQ.CanCast(mob[0]) && Helper.MenuCheck("q.hammer.jungle"))
         {
             HammerQ.CastOnUnit(mob[0]);
         }
         if (Jayce.Distance(mob[0].Position) < 600 && Helper.MenuCheck("w.hammer.jungle"))
         {
             HammerW.Cast();
         }
         if (HammerE.CanCast(mob[0]) && Helper.MenuCheck("e.hammer.jungle"))
         {
             HammerE.CastOnUnit(mob[0]);
         }
         if (!HammerQ.IsReady() && !HammerW.IsReady() && !HammerE.IsReady() && Helper.MenuCheck("jungle.switch"))
         {
             R.Cast();
         }
     }
     if (Cannon || !Jayce.IsMelee)
     {
         var mob = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, Orbwalking.GetRealAutoAttackRange(ObjectManager.Player) + 100, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);
         if (mob == null || (mob.Count == 0))
         {
             return;
         }
         if (CannonQ.IsReady() && CannonE.IsReady() && Helper.MenuCheck("q.cannon.jungle") && Helper.MenuCheck("e.cannon.jungle"))
         {
             Helper.JungleExt();
         }
         if (CannonQ.IsReady() && !CannonE.IsReady() && CannonQ.CanCast(mob[0]) && Helper.MenuCheck("q.cannon.jungle"))
         {
             CannonQ.CastOnUnit(mob[0]);
         }
         if (Jayce.Distance(mob[0].Position) < 600 && Helper.MenuCheck("w.cannon.jungle"))
         {
             CannonW.Cast();
         }
         if (!CannonQ.IsReady() && !CannonW.IsReady() && !CannonE.IsReady() && Helper.MenuCheck("jungle.switch"))
         {
             R.Cast();
         }
     }
 }
Пример #2
0
        public static void laneclear_Hammer()
        {
            var minion = ObjectManager.Get <Obj_AI_Minion>().Where(m => m.IsEnemy && !m.IsDead).FirstOrDefault();
            var aa     = Player.GetAutoAttackDamage(minion, true);

            if (!Mechanics.HammerMode || Player.IsWindingUp)
            {
                return;
            }

            else if (!minion.IsValidTarget() ||
                     !minion.IsValidTarget(CannonQE.Range) || minion.Team == GameObjectTeam.Neutral)
            {
                return;
            }


            var allMinionsHammerQ = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, HammerQ.Range + HammerQ.Width).OrderBy(m => m.Health);
            var allMinionsHammerW = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, Orbwalking.GetRealAutoAttackRange(Player));
            var allMinionsHammerE = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, HammerE.Range + HammerE.Width);

            var useq = Config.Item("HammerClearQ").GetValue <bool>();
            var usew = Config.Item("HammerClearW").GetValue <bool>();
            var usee = Config.Item("HammerClearE").GetValue <bool>();

            if (HammerQ.IsReady() && useq && MinionCheck(allMinionsHammerQ.FirstOrDefault(), 150) >= 2)
            {
                HammerQ.Cast(allMinionsHammerQ.FirstOrDefault());
            }


            if (HammerW.IsReady() && allMinionsHammerW.Count >= 3 && usew)
            {
                HammerW.Cast(Player);
            }
        }
Пример #3
0
        private static void Combo()
        {
            if (Cannon || !Jayce.IsMelee)
            {
                if (Helper.MenuCheck("q.cannon") && Helper.MenuCheck("e.cannon") && CannonQ.IsReady() && CannonE.IsReady())
                {
                    Helper.Ext();
                }

                if (Helper.MenuCheck("q.cannon") && CannonQ.IsReady() && !CannonE.IsReady())
                {
                    foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(CannonQ.Range)))
                    {
                        if (CannonQ.GetPrediction(enemy).Hitchance >= HitChance.VeryHigh)
                        {
                            CannonQ.Cast(enemy);
                        }
                    }
                }

                if (Helper.MenuCheck("w.cannon") && CannonW.IsReady())
                {
                    foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(600)))
                    {
                        CannonW.Cast();
                    }
                }

                if (Helper.MenuCheck("combo.switch") && !CannonQ.IsReady() && !CannonE.IsReady() && !CannonW.IsReady())
                {
                    R.Cast();
                }
            }
            if (Hammer || Jayce.IsMelee)
            {
                if (Helper.MenuCheck("q.hammer") && HammerQ.IsReady())
                {
                    foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(HammerQ.Range)))
                    {
                        HammerQ.Cast(enemy);
                    }
                }
                if (Helper.MenuCheck("w.hammer") && HammerW.IsReady())
                {
                    foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(600)))
                    {
                        HammerW.Cast();
                    }
                }
                if (Helper.MenuCheck("e.hammer") && HammerE.IsReady())
                {
                    foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(HammerE.Range)))
                    {
                        HammerE.Cast(enemy);
                    }
                }
                if (Helper.MenuCheck("combo.switch") && !HammerQ.IsReady() && !HammerW.IsReady() && !HammerE.IsReady())
                {
                    R.Cast();
                }
            }
        }