Please disclose if your mod was created primarily using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of ScytheEverything v0.1.2
plugins/ScytheEverything.dll
Decompiled a year agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using HarmonyLib; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyTitle("ScytheEverything")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ScytheEverything")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("7a3a346c-6ef3-4a41-8fab-24671fdcf8f7")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace ScytheEverything; [BepInPlugin("com.oathorse.ScytheEverything", "Scythe Everything", "0.1.0")] public class ScytheEverything : BaseUnityPlugin { [HarmonyPatch(typeof(Attack), "DoMeleeAttack")] public class Patch_Attack_DoMeleeAttack { private static void Postfix(Attack __instance) { if (__instance.m_harvest && __instance.GetWeapon() != null) { SharedData shared = __instance.GetWeapon().m_shared; float damage = 1000000f; shared.m_attack.m_attackRange = 20f; shared.m_attack.m_harvestRadius = 20f; shared.m_attack.m_harvestRadiusMaxLevel = 20f; shared.m_damages.m_damage = damage; shared.m_toolTier = 9; } } } public const string PluginGUID = "com.oathorse.ScytheEverything"; public const string PluginName = "Scythe Everything"; public const string PluginVersion = "0.1.0"; private readonly Harmony harmony = new Harmony("com.oathorse.ScytheEverything"); private void Awake() { harmony.PatchAll(); } }