over1500combo every 500 instead of 100

This commit is contained in:
Bui 2018-12-30 16:50:58 +00:00
parent 806b21df08
commit e8d33487e0

View File

@ -413,7 +413,7 @@ class Game{
if(this.combo > this.globalScore.maxCombo){ if(this.combo > this.globalScore.maxCombo){
this.globalScore.maxCombo = this.combo this.globalScore.maxCombo = this.combo
} }
if(this.combo === 50 || this.combo > 0 && this.combo % 100 === 0){ if(this.combo === 50 || this.combo > 0 && this.combo % 100 === 0 && this.combo < 1500 || this.combo % 500 === 0){
this.controller.playSoundMeka("combo-" + (this.combo <= 1400 ? this.combo : "over1500")) this.controller.playSoundMeka("combo-" + (this.combo <= 1400 ? this.combo : "over1500"))
} }
this.view.updateCombo(this.combo) this.view.updateCombo(this.combo)