private static void CastW() { if (!W.IsReady()) { return; } var target = TargetSelector.GetAATarget(); if (target != null) { W.Cast(); } if (Orbwalker.CurrentMode != Orbwalker.Mode.LaneClear) { return; } var allMinion = MinionManager.GetMinions(ObjectManager.Player.Position, Orbwalker.GetAutoAttackRangeto(), MinionTypes.All, MinionTeam.NotAlly); if (!allMinion.Any(minion => minion.IsValidTarget(Orbwalker.GetAutoAttackRangeto(minion)))) { return; } W.Cast(); }
private void CastQ() { if (!Q.IsReady()) { return; } if (GetQStacks() > 0 || AxeList.Count > 2) { return; } var target = TargetSelector.GetAATarget(); if (target != null) { Q.Cast(); } if (Orbwalker.CurrentMode != Orbwalker.Mode.LaneClear) { return; } var allMinion = MinionManager.GetMinions(ObjectManager.Player.Position, Orbwalker.GetAutoAttackRangeto(), MinionTypes.All, MinionTeam.NotAlly); if (!allMinion.Any(minion => minion.IsValidTarget(Orbwalker.GetAutoAttackRangeto(minion)))) { return; } Q.Cast(); }