static bool isAllyFountain(SharpDX.Vector3 Position) { float fountainRange = 750; var map = Utility.Map.GetMap(); if (map != null && map.Type == Utility.Map.MapType.SummonersRift) { fountainRange = 1050; } return ObjectManager.Get<GameObject>().Where(spawnPoint => spawnPoint is Obj_SpawnPoint && spawnPoint.IsAlly).Any(spawnPoint => SharpDX.Vector2.Distance(Position.To2D(), spawnPoint.Position.To2D()) < fountainRange); }