update to 1.6

This commit is contained in:
KadeDeveloper 2021-07-21 01:01:10 -07:00
parent 60087b31f9
commit b310243ff1

View File

@ -3091,35 +3091,35 @@ class PlayState extends MusicBeatState
vocals.volume = 0; vocals.volume = 0;
if (theFunne && !daNote.isSustainNote) if (theFunne && !daNote.isSustainNote)
noteMiss(daNote.noteData, daNote); noteMiss(daNote.noteData, daNote);
if (daNote.isParent) if (daNote.isParent)
{
health -= 0.20; // give a health punishment for failing a LN
trace("hold fell over at the start");
for (i in daNote.children)
{
i.alpha = 0.3;
i.sustainActive = false;
}
}
else
{
if (!daNote.wasGoodHit
&& daNote.isSustainNote
&& daNote.sustainActive
&& daNote.spotInLine != daNote.parent.children.length)
{ {
health -= 0.20; // give a health punishment for failing a LN health -= 0.20; // give a health punishment for failing a LN
trace("hold fell over at " + daNote.spotInLine); trace("hold fell over at the start");
for (i in daNote.parent.children) for (i in daNote.children)
{ {
i.alpha = 0.3; i.alpha = 0.3;
i.sustainActive = false; i.sustainActive = false;
} }
if (daNote.parent.wasGoodHit)
misses++;
updateAccuracy();
} }
} else
{
if (!daNote.wasGoodHit
&& daNote.isSustainNote
&& daNote.sustainActive
&& daNote.spotInLine != daNote.parent.children.length)
{
health -= 0.20; // give a health punishment for failing a LN
trace("hold fell over at " + daNote.spotInLine);
for (i in daNote.parent.children)
{
i.alpha = 0.3;
i.sustainActive = false;
}
if (daNote.parent.wasGoodHit)
misses++;
updateAccuracy();
}
}
} }
} }
else else