Multiplier decreases instead of being reset on each hit
This commit is contained in:
@@ -473,7 +473,7 @@ function difficultyComparator (a, b) {
|
||||
function takeDamage (state) {
|
||||
if (!state.isPlaying) { return; }
|
||||
state.score.combo = 0;
|
||||
state.score.multiplier = 1;
|
||||
state.score.multiplier = Math.ceil(state.score.multiplier / 2);
|
||||
if (AFRAME.utils.getUrlParameter('godmode')) { return; }
|
||||
state.damage++;
|
||||
checkGameOver(state);
|
||||
|
||||
Reference in New Issue
Block a user