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

12 lines
300 B
C#

using HarmonyLib;
namespace Escapists2 {
[HarmonyPatch]
public class XPPatch {
[HarmonyPrefix]
[HarmonyPatch(typeof(CharacterStats), "ModifyStat_Internal")]
static void XPMulti(ref float change, ref HiddenFloat stat, ref float max) {
change *= Main.xpMultiplier.Value;
}
}
}