public static void Normal(Obj_AI_Base target, bool Combo = false) { Orbwalker.OrbwalkTo(Game.CursorPos); if (target == null || insectpos(target) == null || Common.Mana() > Player.Instance.Mana || !Azir.R.IsReady()) { return; } var insecpos = target.ServerPosition.Extend(insectpos(target), -200).To3D(); var rpos = Player.Instance.ServerPosition.Extend(insectpos(target), Azir.R.Range).To3D(); if (target.IsValidTarget(Azir.R.Range)) { if (Menus.JumperMenu.checkbox("flash") && Azir.Flash != null) { var flashrange = Azir.Flash.Range + 250; var enemies = EntityManager.Heroes.Enemies.Where(e => e.IsValidTarget(flashrange) && e.IsKillable()); var pred = Prediction.Position.PredictCircularMissileAoe( enemies.Cast <Obj_AI_Base>().ToArray(), flashrange, Azir.R.Width + 25, Azir.R.CastDelay, Azir.R.Speed); var castpos = pred.OrderByDescending(p => p.GetCollisionObjects <AIHeroClient>().Length) .FirstOrDefault(p => p.CollisionObjects.Contains(target)); if (castpos?.GetCollisionObjects <AIHeroClient>().Length > Player.Instance.CountEnemeis(Azir.R.Range)) { Azir.Flash.Cast(castpos.CastPosition); } } Azir.R.Cast(rpos); } else { if (Azir.Q.IsInRange(insecpos)) { Jumper.Jump(insecpos); } } Orbwalker.OrbwalkTo(insecpos); }
public static void Normal() { target = TargetSelector.SelectedTarget; if (target != null) { if (target.IsValidTarget(R.Width) && R.IsReady()) { if (tower != null && FleeMenu.GetCheckBoxValue("Tower")) { R.Cast(Azir.Position.Extend(tower.ServerPosition, R.Range).To3D()); } else if (ally != null && FleeMenu.GetCheckBoxValue("Ally")) { R.Cast(Azir.Position.Extend(ally.ServerPosition, R.Range).To3D()); } else { R.Cast(Azir.Position.Extend(insecLoc, R.Range).To3D()); } } else { Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos); } if (target.IsValidTarget(1100)) { if (Q.IsReady()) { if (R.IsReady()) { insecLoc = Vector3.Zero; var direction = (TargetSelector.SelectedTarget.ServerPosition - ObjectManager.Player.ServerPosition).To2D().Normalized(); var insecPos = TargetSelector.SelectedTarget.ServerPosition.To2D() + (direction * 175f); if (Orbwalker.AzirSoldiers.OrderBy(s => s.Distance(insecPos)).FirstOrDefault() != null) { soldposition = Orbwalker.AzirSoldiers.OrderBy(s => s.Distance(insecPos)).FirstOrDefault().ServerPosition; } insecLoc = Azir.ServerPosition; Jumper.jump(insecPos.To3D(), insecPos.To3D()); } else { Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos); } } else { Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos); } } else { Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos); } } else { Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos); } }
public static void Game_OnTick(EventArgs args) { updatespells(); if (Insec.NewInsec) { var rpos = Player.Instance.ServerPosition.Extend(Insec.insectpos(), Azir.R.Range).To3D(); var qtime = Game.Time - Insec.qtime; if ((qtime > 0.1f && qtime < 0.1) || TargetSelector.SelectedTarget.IsValidTarget(Azir.R.Range - 75)) { Azir.R.Cast(rpos); } } if (Menus.ComboMenu.keybind("key")) { Combo.Execute(); } if (Menus.HarassMenu.keybind("key") || Menus.HarassMenu.keybind("toggle")) { Harass.Execute(); } if (Menus.LaneClearMenu.keybind("key")) { LaneClear.Execute(); } if (Menus.JungleClearMenu.keybind("key")) { JungleClear.Execute(); } if (Menus.JumperMenu.keybind("jump")) { Jumper.Jump(Game.CursorPos); } if (Menus.JumperMenu.keybind("normal")) { var target = TargetSelector.SelectedTarget; Insec.Normal(target); } if (Menus.JumperMenu.keybind("new")) { Insec.New(); } if (Menus.Auto.checkbox("tower")) { var azirtower = ObjectManager.Get <GameObject>() .FirstOrDefault(o => o != null && o.Name.ToLower().Contains("towerclicker") && Player.Instance.Distance(o) < 500); if (azirtower != null && azirtower.CountEnemeis(800) >= Menus.Auto.slider("Tenemy")) { Player.UseObject(azirtower); } } Insec.NormalInsec = Menus.JumperMenu.keybind("normal"); Insec.NewInsec = Menus.JumperMenu.keybind("new"); }
public static void Execute() { Jumper.jump(Game.CursorPos, Game.CursorPos); }