public static Unit GetAllyFountain() { if (_ally == null || !_ally.IsValid) { _ally = ObjectManager.GetEntities<Unit>() .FirstOrDefault(x => x.Team == ObjectManager.LocalHero.Team && x.ClassID == ClassID.CDOTA_Unit_Fountain); } return _ally; }