Increased the chance of the cloak fighter running.
Also fixed the chance in Classic difficulty; accidentally made it 10 times as likely as in the original.
This commit is contained in:
parent
801170678a
commit
5ba8759804
|
@ -1834,7 +1834,7 @@ void alien_hurt(object *alien, object *attacker, int damage, bool ion)
|
|||
}
|
||||
}
|
||||
|
||||
run_chance = (game.difficulty == DIFFICULTY_ORIGINAL) ? 0.2 : damage / 150.;
|
||||
run_chance = (game.difficulty == DIFFICULTY_ORIGINAL) ? 0.02 : damage / 50.;
|
||||
|
||||
if ((alien->flags & FL_RUNSAWAY) && CHANCE(run_chance))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue