From 6e001056c512014bce7bdc26adc9d7b84c983d98 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 24 Nov 2022 22:25:25 -0800 Subject: game: tweak teepee powerup probabilities lower likelihoods of the >1 quantities to make it a bit more difficult --- src/game.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/game.c b/src/game.c index 9976623..156a439 100644 --- a/src/game.c +++ b/src/game.c @@ -640,14 +640,14 @@ static void update_entities(play_t *play, game_t *game) unsigned qty; float chance; } quantities[] = { - { .qty = 4, .chance = .5 }, - { .qty = 6, .chance = .25 }, - { .qty = 9, .chance = .12 }, - { .qty = 12, .chance = .08 }, - { .qty = 18, .chance = .06 }, - { .qty = 24, .chance = .04 }, - { .qty = 30, .chance = .02 }, - { .qty = 36, .chance = .005 }, + { .qty = 4, .chance = .25 }, + { .qty = 6, .chance = .125 }, + { .qty = 9, .chance = .06 }, + { .qty = 12, .chance = .04 }, + { .qty = 18, .chance = .03 }, + { .qty = 24, .chance = .02 }, + { .qty = 30, .chance = .01 }, + { .qty = 36, .chance = .001 }, }; game->teepee->quantity = 1; -- cgit v1.2.3