Update: CC - Before Render - Moorcow (080g209iov.js) 85 bytes modified

beta.r3js.org
-=yb4f310 2017-11-18 09:32:38 +01:00
parent 703d529d06
commit 8fcca3afd1
1 changed files with 7 additions and 1 deletions

View File

@ -72,8 +72,14 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
//this.nextSpawnTime = this.getNextSpawnTime();
this.setLevelProperties = function() {
this.prevLevel = this.level;
this.level = Math.floor(this.enemiesSpawned / 10) + 1;
this.spawnInterval -= 1 / (this.level);
if (this.prevLevel !== this.level) {
this.spawnInterval -= 1 / (this.level);
}
}
this.spawnEnemy = function() {