diff --git a/qemp4een6t.js b/qemp4een6t.js index ac5559f..05f2f7d 100644 --- a/qemp4een6t.js +++ b/qemp4een6t.js @@ -1,3 +1,4 @@ + if (!this.entityLoaded) { return; } @@ -84,50 +85,24 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) { this.kanisterTime = 0; this.kanisterLife = 16.344; this.kanisterLeakTime = 0.1; - this.kanisterSpawnScore = 50; + this.kanisterSpawnScore = 1000; this.setNextKanisterSpawnScore = function () { - this.kanisterSpawnScore = this.score + 100; - - if (this.score > 200) { - this.kanisterSpawnScore = this.score + 200; - } - - if (this.score > 500) { - this.kanisterSpawnScore = this.score + 300; - } - - if (this.score > 800) { - this.kanisterSpawnScore = this.score + 400; - } - - 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; + if (this.score > 10000) { + this.kanisterSpawnScore = 15000; + } else if (this.score > 7500) { + this.kanisterSpawnScore = 10000; + } else if (this.score > 5000) { + this.kanisterSpawnScore = 7500; + } else if (this.score > 2500) { + this.kanisterSpawnScore = 5000; + } else if (this.score > 1500) { + this.kanisterSpawnScore = 2500; + } else if (this.score > 1000) { + this.kanisterSpawnScore = 1500; + } else { + this.kanisterSpawnScore = 500; } console.log('next kanister spawn score: ' + this.kanisterSpawnScore); @@ -943,5 +918,4 @@ if (this.score > this.kanisterSpawnScore) { this.spawnEnemy(true); } -return null; -//# sourceURL=beforeRender.js \ No newline at end of file +return null;//# sourceURL=beforeRender.js