like a lot of things lmaooo

This commit is contained in:
KadeDev
2021-04-04 14:10:45 -07:00
parent cef2cbde05
commit 83a9f484ef
6 changed files with 203 additions and 93 deletions

21
source/ConvertScore.hx Normal file
View File

@ -0,0 +1,21 @@
class ConvertScore
{
public static function convertScore(noteDiff:Float):Int
{
var daRating:String = Ratings.CalculateRating(noteDiff, 166);
switch(daRating)
{
case 'shit':
return -300;
case 'bad':
return 0;
case 'good':
return 200;
case 'sick':
return 350;
}
return 0;
}
}