Commit e8d33487 authored by Bui's avatar Bui

over1500combo every 500 instead of 100

parent 806b21df
...@@ -413,7 +413,7 @@ class Game{ ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment