diff --git a/src/battle/battle.c b/src/battle/battle.c index e89fc4e..b22a81a 100644 --- a/src/battle/battle.c +++ b/src/battle/battle.c @@ -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(); diff --git a/src/battle/fighters.c b/src/battle/fighters.c index 4ce6740..4de7123 100644 --- a/src/battle/fighters.c +++ b/src/battle/fighters.c @@ -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;