12 lines
263 B
C#
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);
|
|
}
|
|
}
|
|
} |