Slightly lower chance of dropping weapons.
This commit is contained in:
parent
22f7b02413
commit
ea15674fd4
|
@ -72,7 +72,7 @@ static void die2(void)
|
||||||
|
|
||||||
throwFleshChunks(u->x + u->w / 2, u->y + u->h / 2, rrnd(3, 6));
|
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);
|
addRandomWeapon(u->x, u->y);
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ static void touch(Entity *other)
|
||||||
|
|
||||||
throwDebris(u->x + u->w / 2, u->y + u->h / 2, rrnd(3, 5));
|
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);
|
addRandomWeapon(u->x, u->y);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue