static bool ShouldTakeAction() { return(Minions.GetMinionsInLane(SessionBasedData.MyTeam, SessionBasedData.CurrentLane).Count() >= Minions.GetMinionsInLane(SessionBasedData.EnemyTeam, SessionBasedData.CurrentLane).Count() && !ObjectManager.Player.IsUnderAllyTurret() && !ObjectManager.Player.IsUnderEnemyTurret()); }
static bool ShouldTakeAction() { return(GameObjects.AllyMinions.Count(m => !m.IsDead && m.Distance(ObjectManager.Player.Position) < 800) == 0 || Minions.GetMinionsInLane(SessionBasedData.MyTeam, SessionBasedData.CurrentLane).Count() < Minions.GetMinionsInLane(SessionBasedData.EnemyTeam, SessionBasedData.CurrentLane).Count() || ObjectManager.Get <Obj_AI_Hero>().Count(e => e.IsEnemy && !e.IsDead && e.IsVisible && e.Distance(ObjectManager.Player) < 1600) < 1); }
static bool ShouldTakeAction() { return(ObjectManager.Player.IsUnderAllyTurret() || ObjectManager.Player.IsUnderEnemyTurret() || ObjectManager.Get <Obj_BarracksDampener>().Any(b => b.IsEnemy && b.IsTargetable && b.Distance(ObjectManager.Player) < 800) || GameObjects.AllyMinions.Count(m => !m.IsDead && m.Distance(ObjectManager.Player.Position) < 800) == 0 || Minions.GetMinionsInLane(SessionBasedData.MyTeam, SessionBasedData.CurrentLane).Count() < Minions.GetMinionsInLane(SessionBasedData.EnemyTeam, SessionBasedData.CurrentLane).Count() || ObjectManager.Get <Obj_AI_Hero>().Count(e => e.IsEnemy && !e.IsDead && e.IsVisible && e.Distance(ObjectManager.Player) < 1600) < 1); }