changed comboTimer to be based on waves
This commit is contained in:
parent
d3b4f0f1d9
commit
7258791d9c
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ function consolidateBlocks(hex,side,index){
|
|||
// add scores
|
||||
var now = MainHex.ct;
|
||||
if(now - hex.lastCombo < settings.comboTime ){
|
||||
settings.comboTime = waveone.nextGen/16* 2;
|
||||
//settings.comboTime = settings.creationSpeedModifier * 4;
|
||||
settings.comboTime = (1/settings.creationSpeedModifier) * (waveone.nextGen/16.666667) * 1.5;
|
||||
hex.comboMultiplier += 1;
|
||||
hex.lastCombo = now;
|
||||
var coords = findCenterOfBlocks(deletedBlocks);
|
||||
|
|
Loading…
Reference in a new issue