forked from akanyan/mu3-mods
feat(MPO): add textures and fix an edge case
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user