Update: CC - Before Render - Moorcow (a2ow5l92js.js) 444 bytes modified
parent
0baaa0249b
commit
dcdc240b1d
|
@ -54,22 +54,45 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
this.kanisterSpawnScore = 50;
|
this.kanisterSpawnScore = 50;
|
||||||
|
|
||||||
this.setNextKanisterSpawnScore = function() {
|
this.setNextKanisterSpawnScore = function() {
|
||||||
this.kanisterSpawnScore += 50;
|
|
||||||
|
|
||||||
if (this.kanisterSpawnScore > 150) {
|
if (this.score > 200) {
|
||||||
this.kanisterSpawnScore += 50;
|
this.kanisterSpawnScore = this.score + 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.kanisterSpawnScore > 300) {
|
if (this.score > 500) {
|
||||||
this.kanisterSpawnScore += 50;
|
this.kanisterSpawnScore = this.score + 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.kanisterSpawnScore > 500) {
|
if (this.score > 800) {
|
||||||
this.kanisterSpawnScore += 50;
|
this.kanisterSpawnScore = this.score + 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.kanisterSpawnScore > 600) {
|
if (this.score > 1100) {
|
||||||
this.kanisterSpawnScore += 50;
|
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);
|
||||||
|
|
Loading…
Reference in New Issue