Please disclose if any significant portion of your mod was created 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 BellTowerNerf v1.0.0
BellTowerNerf.dll
Decompiled 2 years agousing System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using FRCSharp; using RoR2; using RoR2.CharacterAI; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = "")] [assembly: AssemblyCompany("BellTowerNerf")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("BellTowerNerf")] [assembly: AssemblyTitle("BellTowerNerf")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] namespace BellTowerNerf; [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("com.Moffein.BellTowerNerf", "BellTowerNerf", "1.0.0")] public class BellTowerNerfPlugin : BaseUnityPlugin { public void Awake() { RoR2Application.onLoad = (Action)Delegate.Combine(RoR2Application.onLoad, new Action(ModifyAI)); } private void ModifyAI() { //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Invalid comparison between Unknown and I4 if (!Object.op_Implicit((Object)(object)VF2ContentPackProvider.masterMonsterBrassMonolith)) { return; } CharacterMaster component = VF2ContentPackProvider.masterMonsterBrassMonolith.GetComponent<CharacterMaster>(); if (!Object.op_Implicit((Object)(object)component)) { return; } AISkillDriver[] componentsInChildren = ((Component)component).GetComponentsInChildren<AISkillDriver>(); for (int i = 0; i < componentsInChildren.Length; i++) { if ((int)componentsInChildren[i].skillSlot == 1) { Object.Destroy((Object)(object)componentsInChildren[i]); } } } }