private static ulong GetBattlePoints(MyObjectBuilder_CubeGrid[] grids) { ulong pts = 0; foreach (var grid in grids) { pts += MyCubeGrid.GetBattlePoints(grid); } return(pts); }