public static void BeforeAttack(Orbwalker.BeforeAttackEventArgs args) { if (args.Unit.IsMe && Program.Q.IsReady() && Program.ComboMenu.Item("QCombo").GetValue <bool>()) { if (args.Target.IsValid <Obj_AI_Hero>()) { var target = (Obj_AI_Hero)args.Target; if (Program.ComboMenu.Item("RCombo").GetValue <bool>() && Program.R.IsReady() && Program.Orbwalker.ActiveMode == MyOrbwalker.OrbwalkingMode.Combo) { if (!target.UnderTurret(true)) { Program.R.Cast(); } } if (target.IsMelee && target.IsFacing(Heroes.Player)) { if (target.Distance(Heroes.Player.ServerPosition) < 325) { var tumblePosition = target.GetTumblePos(); args.Process = false; Tumble.Cast(tumblePosition); } } } } }
public static void BeforeAttack(Orbwalker.BeforeAttackEventArgs args) { if (args.Unit.IsMe || Program.Q.IsReady() || Program.ComboMenu.Item("QCombo").GetValue <bool>()) { if (MyWizard.UltActive() && MyWizard.TumbleActive() && Program.EscapeMenu.Item("QUlt").GetValue <bool>() && Heroes.EnemyHeroes.Any(h => h.IsMelee && h.Distance(Heroes.Player) < h.AttackRange + h.BoundingRadius)) { args.Process = false; } } }
public static void BeforeAttack(Orbwalker.BeforeAttackEventArgs args) { if (args.Unit.IsMe || Program.Q.IsReady() || Program.ComboMenu.Item("QCombo").GetValue <bool>()) { if (ObjectManager.Player.HasBuff("vaynetumblefade") && Program.EscapeMenu.Item("QUlt").GetValue <bool>() && Heroes.EnemyHeroes.Any(h => h.IsMelee && h.Distance(Heroes.Player) < h.AttackRange + h.BoundingRadius)) { args.Process = false; } } }
public static void BeforeAttack(Orbwalker.BeforeAttackEventArgs args) { if (args.Unit.IsMe && Program.Q.IsReady() && Program.ComboMenu.Item("QCombo").GetValue <bool>()) { if (args.Target.IsValid <Obj_AI_Hero>()) { var target = (Obj_AI_Hero)args.Target; if (Program.ComboMenu.Item("RCombo").GetValue <bool>() && Program.R.IsReady() && Program.Orbwalker.ActiveMode == MyOrbwalker.OrbwalkingMode.Combo) { if (!target.UnderTurret(true)) { Program.R.Cast(); } } if (target.IsMelee && target.IsFacing(Heroes.Player)) { if (target.Distance(Heroes.Player.ServerPosition) < 325) { var tumblePosition = target.GetTumblePos(); args.Process = false; Tumble.Cast(tumblePosition); } } var closestJ4Wall = ObjectManager.Get <Obj_AI_Minion>() .FirstOrDefault( m => m.CharData.BaseSkinName == "jarvanivwall" && ObjectManager.Player.ServerPosition.Distance(m.Position) < 100); if (closestJ4Wall != null) { args.Process = false; Program.Q.Cast(ObjectManager.Player.ServerPosition.Extend(closestJ4Wall.Position, 300)); } } } }