Exemplo n.º 1
0
        public static void Combo_Cannon()
        {
            var target = TargetSelector.GetTarget(CannonQE.Range, TargetSelector.DamageType.Physical);

            if (target == null || !target.IsValid)
            {
                return;
            }

            var Ranged_Q = Config.Item("RangedQ").GetValue <bool>();
            var Ranged_E = Config.Item("RangedE").GetValue <bool>();
            var Ranged_W = Config.Item("RangedW").GetValue <bool>();
            var Switch   = Config.Item("switch").GetValue <bool>();

            if (CannonQ.IsReady() && target.IsValidTarget(CannonQ.Range) && Ranged_Q)
            {
            }

            if (CannonW.IsReady() && target.IsValidTarget(Orbwalking.GetRealAutoAttackRange(Player)) && Ranged_W)
            {
            }

            if (CannonQ.IsReady() && CannonE.IsReady() && target.IsValidTarget(CannonQE.Range) && Ranged_Q && Ranged_E)
            {
            }

            if (R.IsReady() && target.IsValidTarget(HammerQ.Range) && Ranged_Q)
            {
            }
        }
Exemplo n.º 2
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();
         }
     }
 }
Exemplo n.º 3
0
 private static void Drawing_OnDraw(EventArgs args)
 {
     if (Config.Item("q.draw").GetValue <Circle>().Active&& CannonQ.IsReady() || HammerQ.IsReady())
     {
         Helper.SkillDraw(RangeQ, Config.Item("q.draw").GetValue <Circle>().Color, 5);
         if (Cannon)
         {
             Helper.SkillDraw(RangeQExt, Config.Item("q.draw").GetValue <Circle>().Color, 5);
         }
     }
     if (Config.Item("w.draw").GetValue <Circle>().Active&& CannonW.IsReady() || HammerW.IsReady())
     {
         Helper.SkillDraw(RangeW, Config.Item("w.draw").GetValue <Circle>().Color, 5);
     }
     if (Config.Item("e.draw").GetValue <Circle>().Active&& CannonE.IsReady() || HammerE.IsReady())
     {
         Helper.SkillDraw(RangeQ, Config.Item("e.draw").GetValue <Circle>().Color, 5);
     }
 }
Exemplo n.º 4
0
        public static void laneclear_Cannon()
        {
            var minion = ObjectManager.Get <Obj_AI_Minion>().Where(m => m.IsEnemy && !m.IsDead).FirstOrDefault();
            var aa     = Player.GetAutoAttackDamage(minion, true);

            if (Player.IsWindingUp || !minion.IsValidTarget() ||
                !minion.IsValidTarget(CannonQE.Range + 75) || minion.Team == GameObjectTeam.Neutral)
            {
                return;
            }

            var allMinionsCannonQ = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, CannonQ.Range + CannonQ.Width);
            var allMinionsCannonW = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, Orbwalking.GetRealAutoAttackRange(Player));
            var allMinionsCannonE = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, CannonE.Range + CannonE.Width);

            var CannonQfarmpos = CannonQ.GetCircularFarmLocation(allMinionsCannonQ, CannonQ.Width);

            var useq = Config.Item("RangedClearQ").GetValue <bool>();
            var usew = Config.Item("RangedClearW").GetValue <bool>();

            // USE Q
            if (CannonQ.IsReady() && CannonQfarmpos.MinionsHit >=
                Config.Item("RangedClearQHit").GetValue <Slider>().Value&& useq)
            {
                CannonQ.Cast(CannonQfarmpos.Position);
            }

            // USE W
            if (CannonQfarmpos.MinionsHit <= 2 && useq && CannonQ.IsReady() &&
                minion.IsValidTarget(Orbwalking.GetRealAutoAttackRange(Player)))
            {
                return;
            }

            else if (CannonW.IsReady() && usew && minion.Health >= aa * 2 &&
                     minion.IsValidTarget(Orbwalking.GetRealAutoAttackRange(Player)))
            {
                CannonW.Cast(Player);
            }
        }
Exemplo n.º 5
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();
                }
            }
        }