fix compile errors + some other shit

This commit is contained in:
Kade M
2021-07-10 12:21:21 -07:00
parent 62b457baaf
commit 388c6215c7
5 changed files with 2196 additions and 1387 deletions

View File

@ -18,6 +18,9 @@ class DiffCalc
{
public static var scale = 3 * 1.8;
public static var lastDiffHandOne:Array<Float> = [];
public static var lastDiffHandTwo:Array<Float> = [];
public static function CalculateDiff(song:SwagSong, ?accuracy:Float = .93)
{
trace('calcuilafjwaf');
@ -266,6 +269,10 @@ class DiffCalc
if (accuracy > .965)
accuracy = .965;
lastDiffHandOne = hand_diffOne;
lastDiffHandTwo = hand_diffTwo;
return HelperFunctions.truncateFloat(chisel(accuracy,hand_diffOne,hand_diffTwo,point_npsOne,point_npsTwo,maxPoints),2);
}