forked from akanyan/mu3-mods
fix(MPO): min threshold from 0 to AA
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
using MU3.Game;
|
||||
using MU3.User;
|
||||
using MU3.Util;
|
||||
using System;
|
||||
|
||||
namespace MU3;
|
||||
class patch_BattleUI: BattleUI {
|
||||
@ -34,12 +35,12 @@ class patch_BattleUI: BattleUI {
|
||||
var userFumen = userManager.getUserFumen(_sessionInfo.musicData.id, _sessionInfo.musicLevel, create: false);
|
||||
var previousPb = userFumen?.TechScoreMax ?? 0;
|
||||
rank = UIRetireInfo.Rank.S;
|
||||
num = 1010000 - previousPb;
|
||||
num = 1010000 - Math.Max(previousPb, TechnicalRankID.AA.getLower());
|
||||
break;
|
||||
case patch_UserOption.eAbort.FB:
|
||||
case patch_UserOption.eAbort.ZERO:
|
||||
case patch_UserOption.eAbort.AA:
|
||||
rank = UIRetireInfo.Rank.S;
|
||||
num = 1010000;
|
||||
num = 1010000 - TechnicalRankID.AA.getLower();
|
||||
break;
|
||||
default:
|
||||
rank = UIRetireInfo.Rank.MAX;
|
||||
|
Reference in New Issue
Block a user