Made boss spawning rarer

This commit is contained in:
Joshua Barretto 2019-08-04 10:27:08 +01:00
parent 7c6479a1fa
commit daa9b81c69

View File

@ -131,7 +131,7 @@ impl World {
};
const SPAWN_RATE: f32 = 0.1;
const BOSS_RATE: f32 = 0.1;
const BOSS_RATE: f32 = 0.03;
let supplement = ChunkSupplement {
npcs: if rand::thread_rng().gen::<f32>() < SPAWN_RATE && sim_chunk.chaos < 0.5 {
vec![NpcInfo {