calculate grade with possible values from radarValues, not from judgement counts from attempted steps
This commit is contained in:
@@ -75,14 +75,14 @@ RadarValues Trail::GetRadarValues() const
|
||||
NoteData nd;
|
||||
pSteps->GetNoteData( nd );
|
||||
RadarValues rv_orig;
|
||||
NoteDataUtil::GetRadarValues( nd, e->pSong->m_fMusicLengthSeconds, rv_orig );
|
||||
NoteDataUtil::CalculateRadarValues( nd, e->pSong->m_fMusicLengthSeconds, rv_orig );
|
||||
PlayerOptions po;
|
||||
po.FromString( e->Modifiers );
|
||||
if( po.ContainsTransformOrTurn() )
|
||||
NoteDataUtil::TransformNoteData( nd, po, pSteps->m_StepsType );
|
||||
NoteDataUtil::TransformNoteData( nd, e->Attacks, pSteps->m_StepsType, e->pSong );
|
||||
RadarValues transformed_rv;
|
||||
NoteDataUtil::GetRadarValues( nd, e->pSong->m_fMusicLengthSeconds, transformed_rv );
|
||||
NoteDataUtil::CalculateRadarValues( nd, e->pSong->m_fMusicLengthSeconds, transformed_rv );
|
||||
rv += transformed_rv;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user