Misc. updates.

This commit is contained in:
Steve 2015-12-22 17:58:53 +00:00
parent edc6127109
commit 1f03b81cca
2 changed files with 3 additions and 3 deletions

View File

@ -132,8 +132,6 @@ static void doBattle(void)
doHud();
doObjectives();
doStars(ssx, ssy);
doBullets();
@ -146,6 +144,8 @@ static void doBattle(void)
doPlayer();
doObjectives();
if (player != NULL)
{
doLocations();

View File

@ -447,7 +447,7 @@ void damageFighter(Entity *e, int amount, long flags)
*/
if (e->type == ET_FIGHTER && (!(e->aiFlags & AIF_EVADE)) && e != player && e->aiDamagePerSec >= (e->maxHealth + e->maxShield) * 0.1)
{
if ((rand() % 10) > 6)
if ((rand() % 10) > 7)
{
e->action = doAI;
e->aiFlags |= AIF_EVADE;