From c7d2ec0b4876477bf8af8def6dd450d27eabbda9 Mon Sep 17 00:00:00 2001 From: Jaculabilis Date: Sun, 30 Jul 2017 18:17:22 -0700 Subject: [PATCH] Fixes a bug where hostile fighters used a debug value for retreat distance --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index dd0abe0..f84dff2 100644 --- a/index.html +++ b/index.html @@ -286,7 +286,7 @@ function crisisSetup() { } else { power = Math.max(0, power - me[4]); logbox("Damage: " + me[4]); - me[0] += 1; + me[0] += Math.floor(Math.random()*(8-4+1)+4); if (activeMC > 0) { logbox(activeMC + " hostile fighters destroyed. The remnants have retreated... for now."); } else {