Drop weapons a little more frequently.
This commit is contained in:
parent
3b88f1c973
commit
f3cf1ec945
|
@ -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 < 3)
|
if (rand() % 10 < 4)
|
||||||
{
|
{
|
||||||
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() % 100 < 30)
|
if (rand() % 10 < 4)
|
||||||
{
|
{
|
||||||
addRandomWeapon(u->x, u->y);
|
addRandomWeapon(u->x, u->y);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue