Increase difficulty
This commit is contained in:
parent
07b3c2d227
commit
10f4ac0eb9
|
@ -691,7 +691,7 @@ export function GameState(ctx: ContextI, selectedAnimal: string, selectedSegment
|
|||
daysSurvived++
|
||||
|
||||
for (let animal of ['turkey','nutria','deer','salamander','rabbit']) {
|
||||
let count = 1 + Math.floor(Math.random() * daysSurvived)
|
||||
let count = 2 + Math.floor(Math.random() * daysSurvived*2)
|
||||
for (let i = 0; i < count; i++) {
|
||||
let spawn = getSpawnZone(animal)
|
||||
if (!spawn) break
|
||||
|
|
Loading…
Reference in New Issue
Block a user