Update: CC - Before Render - Moorcow (qemp4een6t.js) 373 bytes modified
parent
4a4e196c06
commit
29a166c5da
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
if (!this.entityLoaded) {
|
if (!this.entityLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -84,50 +85,24 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
this.kanisterTime = 0;
|
this.kanisterTime = 0;
|
||||||
this.kanisterLife = 16.344;
|
this.kanisterLife = 16.344;
|
||||||
this.kanisterLeakTime = 0.1;
|
this.kanisterLeakTime = 0.1;
|
||||||
this.kanisterSpawnScore = 50;
|
this.kanisterSpawnScore = 1000;
|
||||||
|
|
||||||
this.setNextKanisterSpawnScore = function () {
|
this.setNextKanisterSpawnScore = function () {
|
||||||
|
|
||||||
this.kanisterSpawnScore = this.score + 100;
|
if (this.score > 10000) {
|
||||||
|
this.kanisterSpawnScore = 15000;
|
||||||
if (this.score > 200) {
|
} else if (this.score > 7500) {
|
||||||
this.kanisterSpawnScore = this.score + 200;
|
this.kanisterSpawnScore = 10000;
|
||||||
}
|
} else if (this.score > 5000) {
|
||||||
|
this.kanisterSpawnScore = 7500;
|
||||||
if (this.score > 500) {
|
} else if (this.score > 2500) {
|
||||||
this.kanisterSpawnScore = this.score + 300;
|
this.kanisterSpawnScore = 5000;
|
||||||
}
|
} else if (this.score > 1500) {
|
||||||
|
this.kanisterSpawnScore = 2500;
|
||||||
if (this.score > 800) {
|
} else if (this.score > 1000) {
|
||||||
this.kanisterSpawnScore = this.score + 400;
|
this.kanisterSpawnScore = 1500;
|
||||||
}
|
} else {
|
||||||
|
this.kanisterSpawnScore = 500;
|
||||||
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);
|
console.log('next kanister spawn score: ' + this.kanisterSpawnScore);
|
||||||
|
@ -943,5 +918,4 @@ if (this.score > this.kanisterSpawnScore) {
|
||||||
this.spawnEnemy(true);
|
this.spawnEnemy(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;//# sourceURL=beforeRender.js
|
||||||
//# sourceURL=beforeRender.js
|
|
||||||
|
|
Loading…
Reference in New Issue