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 MoreStamina v1.0.1
MoreStamina.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 BepInEx.Logging; using Bobi.patches; using HarmonyLib; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("Bobi")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Bobi")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("4997e060-9561-4c6c-b591-f80c74579eee")] [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 Bobi { [BepInPlugin("morestamina.mod", "MoreStamina", "1.0")] public class MoreStamina : BaseUnityPlugin { public const string pluginGuid = "morestamina.mod"; public const string pluginName = "MoreStamina"; public const string pluginVersion = "1.0"; private readonly Harmony harmony = new Harmony("morestamina.mod"); private static MoreStamina Instance; internal ManualLogSource mls; public void Awake() { if (Object.op_Implicit((Object)(object)(Instance = null))) { Instance = this; } mls = Logger.CreateLogSource("morestamina.mod"); harmony.PatchAll(typeof(MoreStamina)); harmony.PatchAll(typeof(PlayerControllerPatch)); } } } namespace Bobi.patches { [HarmonyPatch(typeof(PlayerController))] internal class PlayerControllerPatch { [HarmonyPatch("Update")] [HarmonyPostfix] private static void Update_MyPatch(ref float ___EnergySprintDrain) { ___EnergySprintDrain = 2.5f; } } }