Made more smoke come out at critical shield

This commit is contained in:
Layla Marchant 2020-12-23 21:19:33 -05:00
parent be2cc0f1c2
commit 139940e8b2
No known key found for this signature in database
GPG Key ID: 52FB5C20A8336782
1 changed files with 1 additions and 1 deletions

View File

@ -1581,7 +1581,7 @@ static void game_doPlayer()
screen_blit(gfx_shipSprites[shapeToUse], (int)player.x, (int)player.y);
if ((player.maxShield > 1) && (player.shield <= engine.lowShield)
&& CHANCE(1. / 10))
&& CHANCE(player.shield > 1 ? 1. / 10 : 3. / 10))
explosion_add(player.x + RANDRANGE(-10, 10),
player.y + RANDRANGE(-10, 20), SP_SMOKE);
}