Update: CC - Before Render - Moorcow (zo950m57cc.js) 53 bytes modified
parent
e5222924a4
commit
86615e493b
|
@ -243,15 +243,15 @@
|
|||
|
||||
if (kanister) {
|
||||
meshType = 6;
|
||||
} else {
|
||||
}
|
||||
|
||||
var mesh = this.getNextMesh(meshType);
|
||||
|
||||
if (!mesh) {
|
||||
console.warn('re-attempt to spawn');
|
||||
return this.spawnEnemy(false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!kanister) {
|
||||
this.enemiesSpawned++;
|
||||
this.setLevelProperties();
|
||||
}
|
||||
|
@ -783,7 +783,7 @@
|
|||
|
||||
if (material.name.indexOf('Trees') === -1) {
|
||||
|
||||
mesh.burnLife -= data.delta * 2;
|
||||
mesh.burnLife -= data.delta;
|
||||
if (mesh.burnLife < 0) {
|
||||
mesh.burnLife = 0;
|
||||
this.burn(mesh);
|
||||
|
@ -796,7 +796,7 @@
|
|||
);
|
||||
|
||||
if (mesh.burnLife <= 0) {
|
||||
mesh.explodeLife -= data.delta * 2;
|
||||
mesh.explodeLife -= data.delta;
|
||||
if (mesh.explodeLife < 0) {
|
||||
mesh.explodeLife = 0;
|
||||
}
|
||||
|
@ -882,7 +882,7 @@
|
|||
|
||||
if (this.enemySpawnTime > this.enemySpawnInterval && this.running) {
|
||||
this.enemySpawnTime = 0;
|
||||
this.spawnEnemy();
|
||||
this.spawnEnemy(false);
|
||||
}
|
||||
|
||||
this.enemies = this.enemies.reduce(
|
||||
|
|
Loading…
Reference in New Issue