Update: CC - Before Render - Moorcow (a2ow5l92js.js) 444 bytes modified

beta.r3js.org
-=yb4f310 2017-11-24 14:49:52 +01:00
parent 0baaa0249b
commit dcdc240b1d
1 changed files with 32 additions and 9 deletions

View File

@ -54,22 +54,45 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
this.kanisterSpawnScore = 50;
this.setNextKanisterSpawnScore = function() {
this.kanisterSpawnScore += 50;
if (this.kanisterSpawnScore > 150) {
this.kanisterSpawnScore += 50;
if (this.score > 200) {
this.kanisterSpawnScore = this.score + 200;
}
if (this.kanisterSpawnScore > 300) {
this.kanisterSpawnScore += 50;
if (this.score > 500) {
this.kanisterSpawnScore = this.score + 300;
}
if (this.kanisterSpawnScore > 500) {
this.kanisterSpawnScore += 50;
if (this.score > 800) {
this.kanisterSpawnScore = this.score + 400;
}
if (this.kanisterSpawnScore > 600) {
this.kanisterSpawnScore += 50;
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);