This commit is contained in:
2025-05-17 10:35:45 +02:00
parent 69125d6342
commit 22b048a629
5 changed files with 11 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
using System.Linq;
using System;
using System.Linq;
using BepInEx;
using BepInEx.Configuration;
using HarmonyLib;
@@ -33,7 +34,7 @@ namespace Quasimorph {
Logger.LogInfo("Patched " + originalMethods.Count() + " methods");
}
[HarmonyPatch(typeof(Perk), nameof(Perk.AddExp))]
[HarmonyPatch(typeof(Perk), "AddExp")]
[HarmonyPrefix]
public static void AddExp(ref int val) {
if (debug.Value)