Update: CC - Before Render - Moorcow (080g209iov.js) 85 bytes modified
parent
703d529d06
commit
8fcca3afd1
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue