Make droids and evil blobs more aggressive.

This commit is contained in:
Steve 2018-03-19 08:08:18 +00:00
parent 6cf315d3ef
commit 25c3c499c5
2 changed files with 4 additions and 4 deletions

View File

@ -248,13 +248,13 @@ static void lookForPlayer(void)
r = randF() * 0.3;
}
if (r < 0.065)
if (r < 0.1)
{
moveTowardsPlayer();
u->shotsToFire = rrnd(1, u->maxShotsToFire);
u->action = u->preFire;
}
else if (r < 0.12)
else if (r < 0.2)
{
u->dx = 0;
u->shotsToFire = rrnd(1, u->maxShotsToFire);

View File

@ -233,13 +233,13 @@ static void lookForPlayer(void)
r = randF() * 0.3;
}
if (r < 0.065)
if (r < 0.1)
{
chase();
u->shotsToFire = rrnd(1, u->maxShotsToFire);
u->action = u->preFire;
}
else if (r < 0.12)
else if (r < 0.2)
{
u->dx = 0;
u->shotsToFire = rrnd(1, u->maxShotsToFire);