public static void Postfix(scrMistakesManager __instance, ref HitMargin hit)
            {
                if (Settings.RestrictJudgments[(int)hit] && !invokedFailAction)
                {
                    invokedFailAction = true;
                    FAMargin          = hit;

                    __instance.controller.FailAction(true);
                }
            }
Ejemplo n.º 2
0
 static bool Prefix(scrMistakesManager __instance, HitMargin hit)
 {
     Main.statsMenu.hitDict[hit] += 1;
     Main.statsMenu.currAcc       = __instance.percentAcc;
     return(true);
 }