Drastically reduce chance of natural fog

This commit is contained in:
Flashfyre 2024-04-10 12:56:31 -04:00
parent 012158e7ff
commit a9040edc84
1 changed files with 8 additions and 11 deletions

View File

@ -247,7 +247,6 @@ export function getRandomWeatherType(arena: any /* Importing from arena causes a
weatherPool = [ weatherPool = [
{ weatherType: WeatherType.NONE, weight: 8 }, { weatherType: WeatherType.NONE, weight: 8 },
{ weatherType: WeatherType.RAIN, weight: 5 }, { weatherType: WeatherType.RAIN, weight: 5 },
{ weatherType: WeatherType.FOG, weight: 2 }
]; ];
if (hasSun) if (hasSun)
weatherPool.push({ weatherType: WeatherType.SUNNY, weight: 8 }); weatherPool.push({ weatherType: WeatherType.SUNNY, weight: 8 });
@ -266,9 +265,9 @@ export function getRandomWeatherType(arena: any /* Importing from arena causes a
break; break;
case Biome.SWAMP: case Biome.SWAMP:
weatherPool = [ weatherPool = [
{ weatherType: WeatherType.NONE, weight: 2 }, { weatherType: WeatherType.NONE, weight: 3 },
{ weatherType: WeatherType.RAIN, weight: 5 }, { weatherType: WeatherType.RAIN, weight: 4 },
{ weatherType: WeatherType.FOG, weight: 8 } { weatherType: WeatherType.FOG, weight: 1 }
]; ];
break; break;
case Biome.BEACH: case Biome.BEACH:
@ -283,7 +282,7 @@ export function getRandomWeatherType(arena: any /* Importing from arena causes a
weatherPool = [ weatherPool = [
{ weatherType: WeatherType.NONE, weight: 10 }, { weatherType: WeatherType.NONE, weight: 10 },
{ weatherType: WeatherType.RAIN, weight: 5 }, { weatherType: WeatherType.RAIN, weight: 5 },
{ weatherType: WeatherType.FOG, weight: 3 } { weatherType: WeatherType.FOG, weight: 1 }
]; ];
break; break;
case Biome.SEABED: case Biome.SEABED:
@ -329,25 +328,23 @@ export function getRandomWeatherType(arena: any /* Importing from arena causes a
break; break;
case Biome.GRAVEYARD: case Biome.GRAVEYARD:
weatherPool = [ weatherPool = [
{ weatherType: WeatherType.NONE, weight: 3 },
{ weatherType: WeatherType.FOG, weight: 1 } { weatherType: WeatherType.FOG, weight: 1 }
]; ];
break; break;
case Biome.RUINS: case Biome.RUINS:
weatherPool = [ weatherPool = [
{ weatherType: WeatherType.NONE, weight: 4 }, { weatherType: WeatherType.NONE, weight: 4 }
{ weatherType: WeatherType.FOG, weight: 1 }
]; ];
break; break;
case Biome.WASTELAND: case Biome.WASTELAND:
weatherPool = [ weatherPool = [
{ weatherType: WeatherType.NONE, weight: 4 }, { weatherType: WeatherType.NONE, weight: 4 }
{ weatherType: WeatherType.FOG, weight: 1 }
]; ];
break; break;
case Biome.ABYSS: case Biome.ABYSS:
weatherPool = [ weatherPool = [
{ weatherType: WeatherType.NONE, weight: 4 }, { weatherType: WeatherType.NONE, weight: 4 }
{ weatherType: WeatherType.FOG, weight: 1 }
]; ];
break; break;
} }