private double CalculateComboRate(int comboNotes, int totalNotes)
{
var progress = (double)comboNotes / totalNotes;
if (progress >= 0.9)
{
return 2;
}
else if (progress >= 0.8)
{
return 1.7;
}
else if (progress >= 0.7)
{
return 1.5;
}
else if (progress >= 0.5)
{
return 1.4;
}
else if (progress >= 0.25)
{
return 1.3;
}
else if (progress >= 0.1)
{
return 1.2;
}
else if (progress >= 0.05)
{
return 1.1;
}
else
{
return 1;
}
}