Slightly lower chance of dropping weapons.

This commit is contained in:
Steve 2018-03-07 21:35:56 +00:00
parent 22f7b02413
commit ea15674fd4
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ static void die2(void)
throwFleshChunks(u->x + u->w / 2, u->y + u->h / 2, rrnd(3, 6));
if (rand() % 10 < 4)
if (rand() % 100 < 35)
{
addRandomWeapon(u->x, u->y);
}

View File

@ -80,7 +80,7 @@ static void touch(Entity *other)
throwDebris(u->x + u->w / 2, u->y + u->h / 2, rrnd(3, 5));
if (rand() % 10 < 4)
if (rand() % 100 < 35)
{
addRandomWeapon(u->x, u->y);
}