mirror of https://github.com/hykilpikonna/AquaDX
[F] 0.10000000149011612
Build AquaMai / build (push) Has been cancelled
Details
Build AquaMai / build (push) Has been cancelled
Details
parent
cf0e3ce989
commit
e9ee31b22a
|
@ -12,12 +12,12 @@ public class Config
|
|||
[ConfigComment(
|
||||
en: "Globally increase A judgment, unit is the same as in the game",
|
||||
zh: "全局增加 A 判,单位和游戏里一样")]
|
||||
public float JudgeAdjustA { get; set; }
|
||||
public double JudgeAdjustA { get; set; }
|
||||
|
||||
[ConfigComment(
|
||||
en: "Globally increase B judgment, unit is the same as in the game",
|
||||
zh: "全局增加 B 判,单位和游戏里一样")]
|
||||
public float JudgeAdjustB { get; set; }
|
||||
public double JudgeAdjustB { get; set; }
|
||||
|
||||
[ConfigComment(
|
||||
en: "Touch screen delay, unit is milliseconds, one second = 1000 milliseconds. Must be an integer",
|
||||
|
|
|
@ -11,14 +11,14 @@ public class JudgeAdjust
|
|||
[HarmonyPatch(typeof(UserOption), "GetAdjustMSec")]
|
||||
public static void GetAdjustMSec(ref float __result)
|
||||
{
|
||||
__result += AquaMai.AppConfig.Utils.JudgeAdjustA * 16.666666f;
|
||||
__result += (float)AquaMai.AppConfig.Utils.JudgeAdjustA * 16.666666f;
|
||||
}
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(UserOption), "GetJudgeTimingFrame")]
|
||||
public static void GetJudgeTimingFrame(ref float __result)
|
||||
{
|
||||
__result += AquaMai.AppConfig.Utils.JudgeAdjustB;
|
||||
__result += (float)AquaMai.AppConfig.Utils.JudgeAdjustB;
|
||||
}
|
||||
|
||||
[HarmonyPrefix]
|
||||
|
|
Loading…
Reference in New Issue