private static void OnGameUpdate(EventArgs args) { if (GameObjects.Player.IsDead) { return; } if (Extension.AttackedTimer < Game.Time) { Extension.Attacked = false; } if (E.IsReady()) { Automatic.CastE(); Automatic.SemiE(); if (KillstealMenu.EBool.Enabled) { Killsteal.CastE(); } } switch (Orbwalker.ActiveMode) { case OrbwalkerMode.Combo: if (E.IsReady()) { Combo.CastE(); } if (Q.IsReady()) { Combo.CastQ(); } break; case OrbwalkerMode.Harass: if (E.IsReady()) { Harass.CastE(); } break; } }
private static void OnGameUpdate(EventArgs args) { Killsteal.CastQ(); Killsteal.CastE(); Harass.CastE(); Automatic.CastR(); Automatic.CastW(); switch (Orbwalker.ActiveMode) { case OrbwalkerMode.Combo: if (Configs.AutomaticMenu.MinionsChase.Enabled) { if (Orbwalker.GetTarget() == null) { if (GameObjects.EnemyHeroes.Any(x => x.IsValidTarget(1300f) && GameObjects.Player.Distance(x) > GameObjects.Player.AttackRange)) { var minion = GameObjects.EnemyMinions.OrderBy(x => x.Distance(GameObjects.Player)).FirstOrDefault(); if (minion != null) { Orbwalker.Orbwalk(minion, Game.CursorPos); } } } } Combo.CastQ(); break; case OrbwalkerMode.Harass: Harass.CastQ(); break; case OrbwalkerMode.LaneClear: Jungleclear.CastQ(); Jungleclear.CastE(); Laneclear.CastE(); break; case OrbwalkerMode.LastHit: Lasthit.CastE(); break; } }
private static void OnGameUpdate(EventArgs args) { Automatic.CastQ(); Killsteal.CastE(); switch (Orbwalker.ActiveMode) { case OrbwalkerMode.Combo: Combo.CastQ(); Combo.CastW(); Combo.CastR(); break; case OrbwalkerMode.Harass: Harass.CastW(); Harass.CastE(); break; case OrbwalkerMode.LaneClear: Laneclear.CastE(); Jungleclear.CastW(); Jungleclear.CastE(); break; } }
private static void OnBeforeAttack(object sender, BeforeAttackEventArgs args) { var forceTarget = GameObjects.EnemyHeroes.FirstOrDefault(x => x.IsCharged() && x.IsValidTarget(Player.GetRealAutoAttackRange(x))); if (forceTarget != null && Orbwalker.ActiveMode == OrbwalkerMode.Combo && Orbwalker.GetTarget() != forceTarget) { Orbwalker.ForceTarget = forceTarget; } switch (Orbwalker.ActiveMode) { case OrbwalkerMode.Combo: if (Q.IsReady()) { Combo.CastQ(args); } if (E.IsReady()) { Combo.CastE(args); } break; case OrbwalkerMode.Harass: if (Q.IsReady()) { Harass.CastQ(args); } if (E.IsReady()) { Harass.CastE(args); } break; case OrbwalkerMode.LaneClear: if (Q.IsReady() || E.IsReady()) { Structureclear.Cast(args); } var target = args.Target as AIMinionClient; if (target == null) { return; } if (target.IsMinion()) { if (Q.IsReady()) { Laneclear.CastQ(); } if (E.IsReady()) { Laneclear.CastE(args); } if (Extension.HasEBuff(target)) { Orbwalker.ForceTarget = target; } } if (target.IsJungle() && target.Health > Player.GetAutoAttackDamage(target) * 3) { if (Q.IsReady()) { Jungleclear.CastQ(); } } if ((target.GetJungleType() & JungleType.Legendary) != 0 && target.Health > Player.GetAutoAttackDamage(target) * 3) { if (E.IsReady()) { Jungleclear.CastE(args); } } break; } }