using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using HaelMod.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("HaelMod")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("HaelMod")]
[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("ee6d0084-422e-4a8e-accb-15c325d6281e")]
[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 HaelMod
{
[BepInPlugin("Hael.752692cd-7fff-45e7-9775-021b30f670d7", "HaelMod", "1.0.0.0")]
public class HaelModBase : BaseUnityPlugin
{
private const string modGuid = "Hael.752692cd-7fff-45e7-9775-021b30f670d7";
private const string modName = "HaelMod";
private const string modVersion = "1.0.0.0";
private readonly Harmony harmony = new Harmony("Hael.752692cd-7fff-45e7-9775-021b30f670d7");
private static HaelModBase instance;
internal ManualLogSource mls;
private void Awake()
{
if ((Object)(object)instance == (Object)null)
{
instance = this;
}
mls = Logger.CreateLogSource("Hael.752692cd-7fff-45e7-9775-021b30f670d7");
mls.LogInfo((object)"HaelMod loaded");
harmony.PatchAll(typeof(HaelModBase));
harmony.PatchAll(typeof(JesterAIPatch));
}
}
}
namespace HaelMod.Patches
{
[HarmonyPatch(typeof(JesterAI))]
internal class JesterAIPatch
{
[HarmonyPatch("SetJesterInitialValues")]
[HarmonyPostfix]
private static void patchInitialiseTimer(ref float ___popUpTimer)
{
___popUpTimer = 295f;
}
}
}