Fixes a bug where hostile fighters used a debug value for retreat distance
This commit is contained in:
parent
e8aeae6fac
commit
c7d2ec0b48
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue