Ejemplo n.º 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();
         }
     }
 }
Ejemplo n.º 2
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);
             }
         }
     }
 }
Ejemplo n.º 3
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);
             }
         }
     }
 }