Make droids and evil blobs more aggressive.
This commit is contained in:
parent
6cf315d3ef
commit
25c3c499c5
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue