like a lot of things lmaooo
This commit is contained in:
21
source/ConvertScore.hx
Normal file
21
source/ConvertScore.hx
Normal 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;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user