1
0
forked from akanyan/mu3-mods

feat(MPO): add textures and fix an edge case

This commit is contained in:
2024-12-27 20:11:39 +00:00
parent 076fb75a6d
commit c6884bff7e
12 changed files with 2664 additions and 41 deletions

File diff suppressed because it is too large Load Diff

View File

@ -75,20 +75,20 @@ public static class CustomRating {
return res / 55;
}
public static bool IsNaiveEnabled() {
private static bool isNaiveEnabled() {
return Singleton<UserManager>.instance.userOption.customSet.Rating == (UserOption.eRating)patch_UserOption.eRating.Naive;
}
public static bool IsReachableEnabled() {
private static bool isReachableEnabled() {
return Singleton<UserManager>.instance.userOption.customSet.Rating == (UserOption.eRating)patch_UserOption.eRating.Reachable;
}
public static bool IsEnabled() {
return IsNaiveEnabled() || IsReachableEnabled();
return isNaiveEnabled() || isReachableEnabled();
}
public static int Get() {
if(IsNaiveEnabled()) {
if(isNaiveEnabled()) {
return GetNaive();
} else if(IsReachableEnabled()) {
} else if(isReachableEnabled()) {
return GetReachable();
} else {
return 0;
@ -96,10 +96,12 @@ public static class CustomRating {
}
public static byte GetSuffix() {
if(IsNaiveEnabled()) {
if(isNaiveEnabled()) {
return MU3CounterBase.FigurePlus;
} else {
} else if(isReachableEnabled()) {
return MU3CounterBase.FigureMinus;
} else {
return 0;
}
}
}