fix the uhmm the uh uhmm fix uhmmm the uhmn uh uhhmm the uh uhmm diff calc so it doesn't uhmm uhmn uh break
This commit is contained in:
parent
fc0a08ed53
commit
ab2d014047
@ -23,7 +23,6 @@ class DiffCalc
|
|||||||
|
|
||||||
public static function CalculateDiff(song:SwagSong, ?accuracy:Float = .93)
|
public static function CalculateDiff(song:SwagSong, ?accuracy:Float = .93)
|
||||||
{
|
{
|
||||||
trace('calcuilafjwaf');
|
|
||||||
// cleaned notes
|
// cleaned notes
|
||||||
var cleanedNotes:Array<SmallNote> = [];
|
var cleanedNotes:Array<SmallNote> = [];
|
||||||
|
|
||||||
@ -38,14 +37,16 @@ class DiffCalc
|
|||||||
{
|
{
|
||||||
for (ii in i.sectionNotes) // notes
|
for (ii in i.sectionNotes) // notes
|
||||||
{
|
{
|
||||||
if (ii[1] > 3 && !i.mustHitSection)
|
var gottaHitNote:Bool = i.mustHitSection;
|
||||||
|
|
||||||
|
if (ii[1] >= 3 && gottaHitNote)
|
||||||
cleanedNotes.push(new SmallNote(ii[0],Math.floor(Math.abs(ii[1]))));
|
cleanedNotes.push(new SmallNote(ii[0],Math.floor(Math.abs(ii[1]))));
|
||||||
else if (ii[1] < 4 && i.mustHitSection)
|
if (ii[1] <= 4 && !gottaHitNote)
|
||||||
cleanedNotes.push(new SmallNote(ii[0],Math.floor(Math.abs(ii[1]))));
|
cleanedNotes.push(new SmallNote(ii[0],Math.floor(Math.abs(ii[1]))));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
trace(cleanedNotes.length + " - playable notes");
|
trace('calcuilafjwaf ' + cleanedNotes.length);
|
||||||
|
|
||||||
var handOne:Array<SmallNote> = [];
|
var handOne:Array<SmallNote> = [];
|
||||||
var handTwo:Array<SmallNote> = [];
|
var handTwo:Array<SmallNote> = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user