Decompiled source of Increased Explosions v1.0.0

IncreasedExplosions.dll

Decompiled 6 days ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
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("Puffier Spores")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Puffier Spores")]
[assembly: AssemblyCopyright("Copyright ©  2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("6a865847-706e-4903-8ba3-d630e1934049")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace IncreasedExplosionsMod;

[BepInPlugin("Rissoe.IncreasedExplosions", "Increased Explosions", "1.0.0")]
public class ExplosionInfo : BaseUnityPlugin
{
	public const string modGUID = "Rissoe.IncreasedExplosions";

	public const string modName = "Increased Explosions";

	public const string modVersion = "1.0.0";

	private readonly Harmony harmony = new Harmony("Rissoe.IncreasedExplosions");

	private void Awake()
	{
		harmony.PatchAll(typeof(AOEPatch));
		Debug.Log((object)"Increased Explosions loaded!");
	}
}
[HarmonyPatch(typeof(AOE))]
public class AOEPatch
{
	[HarmonyPatch("Explode")]
	[HarmonyPrefix]
	public static void ExplosionFix(AOE __instance)
	{
		__instance.knockback *= 10f;
	}
}