From dcdc240b1d9d7010e9ac13c1822b721d8571837a Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 24 Nov 2017 14:49:52 +0100 Subject: [PATCH] Update: CC - Before Render - Moorcow (a2ow5l92js.js) 444 bytes modified --- a2ow5l92js.js | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/a2ow5l92js.js b/a2ow5l92js.js index 6639ff5..f1d25a9 100644 --- a/a2ow5l92js.js +++ b/a2ow5l92js.js @@ -54,22 +54,45 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) { this.kanisterSpawnScore = 50; this.setNextKanisterSpawnScore = function() { - this.kanisterSpawnScore += 50; - if (this.kanisterSpawnScore > 150) { - this.kanisterSpawnScore += 50; + if (this.score > 200) { + this.kanisterSpawnScore = this.score + 200; } - if (this.kanisterSpawnScore > 300) { - this.kanisterSpawnScore += 50; + if (this.score > 500) { + this.kanisterSpawnScore = this.score + 300; } - if (this.kanisterSpawnScore > 500) { - this.kanisterSpawnScore += 50; + if (this.score > 800) { + this.kanisterSpawnScore = this.score + 400; } - if (this.kanisterSpawnScore > 600) { - this.kanisterSpawnScore += 50; + if (this.score > 1100) { + this.kanisterSpawnScore = this.score + 500; + } + + if (this.score > 1400) { + this.kanisterSpawnScore = this.score + 600; + } + + if (this.score > 1800) { + this.kanisterSpawnScore = this.score + 700; + } + + if (this.score > 2500) { + this.kanisterSpawnScore = this.score + 800; + } + + if (this.score > 3200) { + this.kanisterSpawnScore = this.score + 900; + } + + if (this.score > 4000) { + this.kanisterSpawnScore = this.score + 1000; + } + + if (this.score > 5000) { + this.kanisterSpawnScore = this.score + 1100; } console.log('next kanister spawn score: ' + this.kanisterSpawnScore);