changed comboTimer to be based on waves

This commit is contained in:
Garrett Finucane 2014-07-27 19:52:48 -04:00
parent d3b4f0f1d9
commit 7258791d9c

View file

@ -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);