public TumblePosition(Vector3 position) { var me = Variables._Player; this.Position = position; this.NearbyMelees = EntityManager.Heroes.Enemies.Count( e => e.IsMelee && !e.IsDead && e.IsValidTargetEx(380, true, position)); this.EnemiesInRange = EntityManager.Heroes.Enemies.Count(e => e.Position.IsInRange(position, 600f) && !e.IsDead); this.AlliesInRange = EntityManager.Heroes.Allies.Count(e => e.Position.IsInRange(position, 600f) && !e.IsDead); this.AttackableEnemies = EntityManager.Heroes.Enemies.Count(e => e.IsInAutoAttackRange(me) && !e.IsDead); this.CanCondemn = SpellManager.E.IsReady() && Condemn.GetTarget(position) != null; this.UnderEnemyTurret = Variables.UnderEnemyTower(position.To2D()); this.IsWall = false; // TODO: Mirin mode? }