forked from akanyan/mu3-mods
fix(MPO): min threshold from 0 to AA
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
using MU3.Battle;
|
||||
using MU3.DB;
|
||||
using MU3.User;
|
||||
using MU3.Util;
|
||||
using System;
|
||||
|
||||
namespace MU3.Notes;
|
||||
|
||||
@ -17,19 +19,20 @@ class patch_NotesManager: NotesManager {
|
||||
var abort = (patch_UserOption.eAbort)GameOption.abort;
|
||||
switch(abort) {
|
||||
case patch_UserOption.eAbort.SSS1:
|
||||
threshold = 1007500;
|
||||
break;
|
||||
case patch_UserOption.eAbort.FB:
|
||||
threshold = 970000;
|
||||
threshold = TechnicalRankID.SSS1.getLower();
|
||||
break;
|
||||
case patch_UserOption.eAbort.PB:
|
||||
if(_userFumen == null) {
|
||||
UserManager userManager = Singleton<UserManager>.instance;
|
||||
_userFumen = userManager.getUserFumen(_sessionInfo.musicData.id, _sessionInfo.musicLevel, create: false);
|
||||
_previousPb = _userFumen?.TechScoreMax ?? 0;
|
||||
_previousPb = Math.Max(TechnicalRankID.AA.getLower(), _userFumen?.TechScoreMax ?? 0);
|
||||
}
|
||||
threshold = _previousPb;
|
||||
break;
|
||||
case patch_UserOption.eAbort.FB:
|
||||
case patch_UserOption.eAbort.AA:
|
||||
threshold = TechnicalRankID.AA.getLower();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user