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(
|
[ConfigComment(
|
||||||
en: "Globally increase A judgment, unit is the same as in the game",
|
en: "Globally increase A judgment, unit is the same as in the game",
|
||||||
zh: "全局增加 A 判,单位和游戏里一样")]
|
zh: "全局增加 A 判,单位和游戏里一样")]
|
||||||
public float JudgeAdjustA { get; set; }
|
public double JudgeAdjustA { get; set; }
|
||||||
|
|
||||||
[ConfigComment(
|
[ConfigComment(
|
||||||
en: "Globally increase B judgment, unit is the same as in the game",
|
en: "Globally increase B judgment, unit is the same as in the game",
|
||||||
zh: "全局增加 B 判,单位和游戏里一样")]
|
zh: "全局增加 B 判,单位和游戏里一样")]
|
||||||
public float JudgeAdjustB { get; set; }
|
public double JudgeAdjustB { get; set; }
|
||||||
|
|
||||||
[ConfigComment(
|
[ConfigComment(
|
||||||
en: "Touch screen delay, unit is milliseconds, one second = 1000 milliseconds. Must be an integer",
|
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")]
|
[HarmonyPatch(typeof(UserOption), "GetAdjustMSec")]
|
||||||
public static void GetAdjustMSec(ref float __result)
|
public static void GetAdjustMSec(ref float __result)
|
||||||
{
|
{
|
||||||
__result += AquaMai.AppConfig.Utils.JudgeAdjustA * 16.666666f;
|
__result += (float)AquaMai.AppConfig.Utils.JudgeAdjustA * 16.666666f;
|
||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyPostfix]
|
[HarmonyPostfix]
|
||||||
[HarmonyPatch(typeof(UserOption), "GetJudgeTimingFrame")]
|
[HarmonyPatch(typeof(UserOption), "GetJudgeTimingFrame")]
|
||||||
public static void GetJudgeTimingFrame(ref float __result)
|
public static void GetJudgeTimingFrame(ref float __result)
|
||||||
{
|
{
|
||||||
__result += AquaMai.AppConfig.Utils.JudgeAdjustB;
|
__result += (float)AquaMai.AppConfig.Utils.JudgeAdjustB;
|
||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyPrefix]
|
[HarmonyPrefix]
|
||||||
|
|
Loading…
Reference in New Issue