some more fixes so botplay works
This commit is contained in:
parent
cde9e30dfc
commit
880c51ac3c
@ -3937,11 +3937,11 @@ class PlayState extends MusicBeatState
|
|||||||
if (i != null)
|
if (i != null)
|
||||||
replayAna.anaArray.push(i); // put em all there
|
replayAna.anaArray.push(i); // put em all there
|
||||||
}
|
}
|
||||||
|
if (PlayStateChangeables.botPlay)
|
||||||
notes.forEachAlive(function(daNote:Note)
|
notes.forEachAlive(function(daNote:Note)
|
||||||
{
|
{
|
||||||
if ((daNote.mustPress && daNote.tooLate && !PlayStateChangeables.useDownscroll || daNote.mustPress && daNote.tooLate
|
daNote.rating = Ratings.CalculateRating(-(daNote.strumTime - Conductor.songPosition), Math.floor((PlayStateChangeables.safeFrames / 60) * 1000));
|
||||||
&& PlayStateChangeables.useDownscroll)
|
if (daNote.canBeHit && !daNote.tooLate && daNote.mustPress && daNote.rating == "sick")
|
||||||
&& daNote.mustPress && PlayStateChangeables.botPlay)
|
|
||||||
{
|
{
|
||||||
// Force good note hit regardless if it's too late to hit it or not as a fail safe
|
// Force good note hit regardless if it's too late to hit it or not as a fail safe
|
||||||
if (loadRep)
|
if (loadRep)
|
||||||
|
@ -106,11 +106,7 @@ class Ratings
|
|||||||
// IF LEMON SEES THIS I'M SORRY :(
|
// IF LEMON SEES THIS I'M SORRY :(
|
||||||
|
|
||||||
// trace('Hit Info\nDifference: ' + noteDiff + '\nZone: ' + Conductor.safeZoneOffset * 1.5 + "\nTS: " + customTimeScale + "\nLate: " + 155 * customTimeScale);
|
// trace('Hit Info\nDifference: ' + noteDiff + '\nZone: ' + Conductor.safeZoneOffset * 1.5 + "\nTS: " + customTimeScale + "\nLate: " + 155 * customTimeScale);
|
||||||
|
|
||||||
if (FlxG.save.data.botplay && !PlayState.loadRep)
|
|
||||||
return "sick"; // FUNNY
|
|
||||||
|
|
||||||
|
|
||||||
var rating = checkRating(noteDiff,customTimeScale);
|
var rating = checkRating(noteDiff,customTimeScale);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user