using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("MoreBossHealth")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("MoreBossHealth")]
[assembly: AssemblyTitle("MoreBossHealth")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace MoreBossHealth;
[HarmonyPatch]
[BepInPlugin("DoomAndGloom.zv7i.ultrakill", "DoomAndGloom", "1.0.0")]
public class Plugin : BaseUnityPlugin
{
[HarmonyPostfix]
[HarmonyPatch(typeof(EnemyIdentifier), "Start")]
public static void Postfix(EnemyIdentifier __instance)
{
__instance.healthBuff = true;
__instance.healthBuffModifier = 6f;
__instance.speedBuff = true;
__instance.speedBuffModifier = 2f;
__instance.damageBuff = true;
__instance.damageBuffModifier = 2f;
__instance.sandified = true;
}
private void Start()
{
//IL_0015: Unknown result type (might be due to invalid IL or missing references)
((BaseUnityPlugin)this).Logger.LogInfo((object)"Loading DoomAndGloom...");
new Harmony("zv7i.ultrakill.doomandgloom").PatchAll();
((BaseUnityPlugin)this).Logger.LogInfo((object)"DoomAndGloom loaded!");
}
}