forked from akanyan/mu3-mods
fix(MPO): min threshold from 0 to AA
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
using MU3.DB;
|
||||
using MU3.User;
|
||||
using MU3.Util;
|
||||
using System;
|
||||
|
||||
namespace MU3.Battle;
|
||||
class patch_Counters: Counters {
|
||||
@ -27,7 +28,7 @@ class patch_Counters: Counters {
|
||||
GameEngine ge = SingletonMonoBehaviour<GameEngine>.instance;
|
||||
UserManager userManager = Singleton<UserManager>.instance;
|
||||
_userFumen = userManager.getUserFumen(ge.sessionInfo.musicData.id, ge.sessionInfo.musicLevel, create: false);
|
||||
_previousPb = _userFumen?.TechScoreMax ?? 0;
|
||||
_previousPb = Math.Max(_userFumen?.TechScoreMax ?? 0, TechnicalRankID.AA.getLower());
|
||||
}
|
||||
|
||||
switch(_eAbort) {
|
||||
@ -37,6 +38,10 @@ class patch_Counters: Counters {
|
||||
case patch_UserOption.eAbort.PB:
|
||||
self = _previousPb;
|
||||
break;
|
||||
case patch_UserOption.eAbort.FB:
|
||||
case patch_UserOption.eAbort.AA:
|
||||
self = TechnicalRankID.AA.getLower();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user