1
0
forked from akanyan/mu3-mods

fix(MPO): min threshold from 0 to AA

This commit is contained in:
2024-12-24 02:02:03 +00:00
parent 8c532260b3
commit 0ece7d4f42
6 changed files with 25 additions and 16 deletions

View File

@ -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;

View File

@ -48,7 +48,7 @@ class patch_OptionMiniSummaryController: OptionMiniSummaryController {
comp.text = "FB未達で中断";
break;
case 7:
comp.text = "スコア表示";
comp.text = "AA未達で中断";
break;
}
} else {