Closed Spblizard closed 11 months ago
Hi, after new update(Hildir request) mod doesn't work, but i'm add fix this patch:
diff --git a/LevelingSystem/Experience & Leveling System (C#)/Skills/Skill Patches/SkillMining.cs b/LevelingSystem/Experience & Leveling System (C#)/Skills/Skill Patches/SkillMining.cs index d6d5f2e..2432a65 100644 --- a/LevelingSystem/Experience & Leveling System (C#)/Skills/Skill Patches/SkillMining.cs +++ b/LevelingSystem/Experience & Leveling System (C#)/Skills/Skill Patches/SkillMining.cs @@ -22,7 +22,7 @@ namespace Cozyheim.LevelingSystem private class PatchClass { [HarmonyPostfix] - [HarmonyPatch(typeof(ItemDrop.ItemData), "GetDamage", new Type[] { typeof(int) })] + [HarmonyPatch(typeof(ItemDrop.ItemData), "GetDamage", new Type[] { typeof(int), typeof(float) })] static void ItemData_GetDamage_Mining_Postfix(ItemDrop.ItemData __instance, ref HitData.DamageTypes __result) { if (Instance == null) diff --git a/LevelingSystem/Experience & Leveling System (C#)/Skills/Skill Patches/SkillWoodcutting.cs b/LevelingSystem/Experience & Leveling System (C#)/Skills/Skill Patches/SkillWoodcutting.cs index 842bb2d..95d75e6 100644 --- a/LevelingSystem/Experience & Leveling System (C#)/Skills/Skill Patches/SkillWoodcutting.cs +++ b/LevelingSystem/Experience & Leveling System (C#)/Skills/Skill Patches/SkillWoodcutting.cs @@ -23,7 +23,7 @@ namespace Cozyheim.LevelingSystem private class PatchClass { [HarmonyPostfix] - [HarmonyPatch(typeof(ItemDrop.ItemData), "GetDamage", new Type[] { typeof(int) })] + [HarmonyPatch(typeof(ItemDrop.ItemData), "GetDamage", new Type[] { typeof(int), typeof(float) })] static void ItemData_GetDamage_Woodcutting_Postfix(ItemDrop.ItemData __instance, ref HitData.DamageTypes __result) { if (Instance == null)
can you add to fix it?
Hi! Thank you, I'll check it out ASAP later today :-) Sorry for the delay.
All good. Implemented, and released the update.
Hi, after new update(Hildir request) mod doesn't work, but i'm add fix this patch:
can you add to fix it?