Example #1
0
        public static void Combo_Hammer()
        {
            var target = TargetSelector.GetTarget(CannonQE.Range, TargetSelector.DamageType.Physical);

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

            var Hammer_Q = Config.Item("HammerQ").GetValue <bool>();
            var Hammer_E = Config.Item("HammerE").GetValue <bool>();
            var Hammer_W = Config.Item("HammerW").GetValue <bool>();
            var Switch   = Config.Item("switch").GetValue <bool>();

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

            if (HammerW.IsReady() && target.IsValidTarget(HammerW.Range) && Hammer_W)
            {
            }

            if (HammerE.IsReady() && target.IsValidTarget(HammerE.Range) && Hammer_E)
            {
            }

            if (R.IsReady() && target.IsValidTarget(CannonQE.Range) && Switch)
            {
            }
        }
Example #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();
         }
     }
 }
Example #3
0
 private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser)
 {
     if (Hammer)
     {
         if (Config.Item("agapcloser").GetValue <bool>())
         {
             if (gapcloser.Sender.IsValidTarget(1000))
             {
                 Render.Circle.DrawCircle(gapcloser.Sender.Position, gapcloser.Sender.BoundingRadius, Color.Gold, 5);
                 var targetpos = Drawing.WorldToScreen(gapcloser.Sender.Position);
                 Drawing.DrawText(targetpos[0] - 40, targetpos[1] + 20, Color.Gold, "Gapcloser");
             }
             if (HammerE.CanCast(gapcloser.Sender))
             {
                 HammerE.Cast(gapcloser.Sender);
             }
         }
     }
 }
Example #4
0
 private static void Interrupter2_OnInterruptableTarget(AIHeroClient sender, Interrupter2.InterruptableTargetEventArgs args)
 {
     if (Hammer)
     {
         if (Config.Item("ainterrupt").GetValue <bool>())
         {
             if (sender.IsValidTarget(1000))
             {
                 Render.Circle.DrawCircle(sender.Position, sender.BoundingRadius, Color.Gold, 5);
                 var targetpos = Drawing.WorldToScreen(sender.Position);
                 Drawing.DrawText(targetpos[0] - 40, targetpos[1] + 20, Color.Gold, "Interrupt");
             }
             if (HammerE.CanCast(sender))
             {
                 HammerE.Cast(sender);
             }
         }
     }
 }
Example #5
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);
     }
 }
Example #6
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();
                }
            }
        }