Fixes a bug where hostile fighters used a debug value for retreat distance

This commit is contained in:
Jaculabilis 2017-07-30 18:17:22 -07:00
parent e8aeae6fac
commit c7d2ec0b48
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ function crisisSetup() {
} else { } else {
power = Math.max(0, power - me[4]); power = Math.max(0, power - me[4]);
logbox("Damage: " + me[4]); logbox("Damage: " + me[4]);
me[0] += 1; me[0] += Math.floor(Math.random()*(8-4+1)+4);
if (activeMC > 0) { if (activeMC > 0) {
logbox(activeMC + " hostile fighters destroyed. The remnants have retreated... for now."); logbox(activeMC + " hostile fighters destroyed. The remnants have retreated... for now.");
} else { } else {