Misc. updates.
This commit is contained in:
parent
edc6127109
commit
1f03b81cca
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue