Files
BepInEx/Projects/SevenDaysToDie/SevenDaysToDie/XPPatch.cs
2024-08-22 08:46:27 +02:00

12 lines
263 B
C#

using HarmonyLib;
namespace SevenDaysToDie {
[HarmonyPatch]
public class Patches {
[HarmonyPrefix]
[HarmonyPatch(typeof(Progression), "AddLevelExp")]
static void XPMulti(ref int _exp) {
_exp = (int)(_exp * Main.xpMultiplier.Value);
}
}
}