Merge branch 'stable' of https://github.com/KadeDev/Kade-Engine into stable

This commit is contained in:
Kade M
2021-06-21 01:23:36 -07:00
105 changed files with 18524 additions and 683 deletions

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;
}
}