Decompiled source of RtDMMO v2.6.90
RtDMMO.dll
Decompiled 10 hours ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Configuration; using BepInEx.Logging; using Jotunn.Managers; using Jotunn.Utils; 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("RtDMMO")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RtDMMO")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("4702d4c1-6e74-455c-be46-36bbc6845348")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace RtDMMO; [BepInPlugin("Soloredis.RtDMMO", "RtDMMO", "0.0.2")] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] public class RtDMMO : BaseUnityPlugin { public const string PluginGUID = "Soloredis.RtDMMO"; public const string PluginName = "RtDMMO"; public const string PluginVersion = "0.0.2"; public static bool isModded = true; internal static ManualLogSource Log; public static AssetBundle MyAssets; public ConfigEntry<bool> LoggingEnable; public string[] rtdMinorBleedList = new string[12] { "MeadowsMutantMelee1_RtD", "BlackForestMutantMelee1_RtD", "SwampMutantMelee1_RtD", "EikthyrSpiritAttack1_RtD", "troll_melee1_RtD", "PlainsSpellC2_RtD", "PlainsSpellC3_RtD", "DeepNorthMeleeC1_RtD", "BlackForestGolemMelee1_RtD", "MeadowsGolemMelee1_RtD", "MeadowsMeleeC1_RtD", "MistlandsMeleeC1_RtD" }; public string[] rtdMinorBurnList = new string[2] { "PlainsSpellC1_RtD", "PlainsSizzlerSpell_RtD" }; public string[] rtdMinorFrostbiteList = new string[3] { "PlainsSpellC4_RtD", "MountainUndeadSpell_RtD", "MountainSpell_RtD" }; public string[] rtdNormalBleedList = new string[5] { "MistlandsMutantMelee1_RtD", "SwampBossMelee1_RtD", "PlainsBossMelee1_RtD", "AshLandsMeleeC1_RtD", "SwampMeleeC1_RtD" }; public string[] rtdNormalBurnList = new string[1] { "PlainsMutantSpell_RtD" }; public string[] rtdNormalFrostbiteList = new string[2] { "MountainMutantSpell_RtD", "MountainBossSpell_RtD" }; public string[] rtdMajorBleedList = new string[3] { "SpiderQueenMelee1_RtD", "NecromancerMelee1_RtD", "ThorMelee1_RtD" }; public string[] rtdMajorBurnList = new string[2] { "AshLandsMutantSpell_RtD", "dragon_firebreath1_RtD" }; public string[] rtdMajorFrostbiteList = new string[3] { "DeepNorthMutantSpell_RtD", "SpiritAttackDoubleHand1_RtD", "ThorSpell1_RtD" }; private void Awake() { CreateConfigurationValues(); PrefabManager.OnPrefabsRegistered += EditCrawlers; PrefabManager.OnPrefabsRegistered += EditDoDNPC; PrefabManager.OnPrefabsRegistered += EditRtDSouls; PrefabManager.OnPrefabsRegistered += MushroomMonster; PrefabManager.OnPrefabsRegistered += DoDMonsters; PrefabManager.OnPrefabsRegistered += RtDOcean; PrefabManager.OnPrefabsRegistered += RtDMonsters; } public void CreateConfigurationValues() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Expected O, but got Unknown //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Expected O, but got Unknown try { ((BaseUnityPlugin)this).Config.SaveOnConfigSet = true; LoggingEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("Logging", "Enable", false, new ConfigDescription("Admin only, Enables logging. Disabled by default.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true } })); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}"); } } private void EditCrawlers() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Expected O, but got Unknown //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Expected O, but got Unknown //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_010f: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011d: Unknown result type (might be due to invalid IL or missing references) //IL_0124: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Expected O, but got Unknown //IL_013c: Unknown result type (might be due to invalid IL or missing references) //IL_0141: Unknown result type (might be due to invalid IL or missing references) //IL_0149: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_0169: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Expected O, but got Unknown //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01ba: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_01cd: Unknown result type (might be due to invalid IL or missing references) //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01ee: Expected O, but got Unknown //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0200: Unknown result type (might be due to invalid IL or missing references) //IL_0208: Unknown result type (might be due to invalid IL or missing references) //IL_0213: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Unknown result type (might be due to invalid IL or missing references) //IL_0221: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Expected O, but got Unknown //IL_0274: Unknown result type (might be due to invalid IL or missing references) //IL_0279: Unknown result type (might be due to invalid IL or missing references) //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_028c: Unknown result type (might be due to invalid IL or missing references) //IL_0293: Unknown result type (might be due to invalid IL or missing references) //IL_029a: Unknown result type (might be due to invalid IL or missing references) //IL_02a1: Unknown result type (might be due to invalid IL or missing references) //IL_02ad: Expected O, but got Unknown //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_02c7: Unknown result type (might be due to invalid IL or missing references) //IL_02d2: Unknown result type (might be due to invalid IL or missing references) //IL_02d9: Unknown result type (might be due to invalid IL or missing references) //IL_02e0: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_02f3: Expected O, but got Unknown //IL_0333: Unknown result type (might be due to invalid IL or missing references) //IL_0338: Unknown result type (might be due to invalid IL or missing references) //IL_0340: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0352: Unknown result type (might be due to invalid IL or missing references) //IL_0359: Unknown result type (might be due to invalid IL or missing references) //IL_0360: Unknown result type (might be due to invalid IL or missing references) //IL_036c: Expected O, but got Unknown //IL_0379: Unknown result type (might be due to invalid IL or missing references) //IL_037e: Unknown result type (might be due to invalid IL or missing references) //IL_0386: Unknown result type (might be due to invalid IL or missing references) //IL_0391: Unknown result type (might be due to invalid IL or missing references) //IL_0398: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03a6: Unknown result type (might be due to invalid IL or missing references) //IL_03b2: Expected O, but got Unknown //IL_03f2: Unknown result type (might be due to invalid IL or missing references) //IL_03f7: Unknown result type (might be due to invalid IL or missing references) //IL_03ff: Unknown result type (might be due to invalid IL or missing references) //IL_040a: Unknown result type (might be due to invalid IL or missing references) //IL_0411: Unknown result type (might be due to invalid IL or missing references) //IL_0418: Unknown result type (might be due to invalid IL or missing references) //IL_041f: Unknown result type (might be due to invalid IL or missing references) //IL_042b: Expected O, but got Unknown //IL_0438: Unknown result type (might be due to invalid IL or missing references) //IL_043d: Unknown result type (might be due to invalid IL or missing references) //IL_0445: Unknown result type (might be due to invalid IL or missing references) //IL_0450: Unknown result type (might be due to invalid IL or missing references) //IL_0457: Unknown result type (might be due to invalid IL or missing references) //IL_045e: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Expected O, but got Unknown //IL_04b1: Unknown result type (might be due to invalid IL or missing references) //IL_04b6: Unknown result type (might be due to invalid IL or missing references) //IL_04be: Unknown result type (might be due to invalid IL or missing references) //IL_04c9: Unknown result type (might be due to invalid IL or missing references) //IL_04d0: Unknown result type (might be due to invalid IL or missing references) //IL_04d7: Unknown result type (might be due to invalid IL or missing references) //IL_04de: Unknown result type (might be due to invalid IL or missing references) //IL_04ea: Expected O, but got Unknown //IL_04f7: Unknown result type (might be due to invalid IL or missing references) //IL_04fc: Unknown result type (might be due to invalid IL or missing references) //IL_0504: Unknown result type (might be due to invalid IL or missing references) //IL_050f: Unknown result type (might be due to invalid IL or missing references) //IL_0516: Unknown result type (might be due to invalid IL or missing references) //IL_051d: Unknown result type (might be due to invalid IL or missing references) //IL_0524: Unknown result type (might be due to invalid IL or missing references) //IL_0530: Expected O, but got Unknown //IL_0570: Unknown result type (might be due to invalid IL or missing references) //IL_0575: Unknown result type (might be due to invalid IL or missing references) //IL_057d: Unknown result type (might be due to invalid IL or missing references) //IL_0588: Unknown result type (might be due to invalid IL or missing references) //IL_058f: Unknown result type (might be due to invalid IL or missing references) //IL_0596: Unknown result type (might be due to invalid IL or missing references) //IL_059d: Unknown result type (might be due to invalid IL or missing references) //IL_05a9: Expected O, but got Unknown //IL_05b6: Unknown result type (might be due to invalid IL or missing references) //IL_05bb: Unknown result type (might be due to invalid IL or missing references) //IL_05c3: Unknown result type (might be due to invalid IL or missing references) //IL_05ce: Unknown result type (might be due to invalid IL or missing references) //IL_05d5: Unknown result type (might be due to invalid IL or missing references) //IL_05dc: Unknown result type (might be due to invalid IL or missing references) //IL_05e3: Unknown result type (might be due to invalid IL or missing references) //IL_05ef: Expected O, but got Unknown //IL_062f: Unknown result type (might be due to invalid IL or missing references) //IL_0634: Unknown result type (might be due to invalid IL or missing references) //IL_063c: Unknown result type (might be due to invalid IL or missing references) //IL_0647: Unknown result type (might be due to invalid IL or missing references) //IL_064e: Unknown result type (might be due to invalid IL or missing references) //IL_0655: Unknown result type (might be due to invalid IL or missing references) //IL_065c: Unknown result type (might be due to invalid IL or missing references) //IL_0668: Expected O, but got Unknown //IL_0675: Unknown result type (might be due to invalid IL or missing references) //IL_067a: Unknown result type (might be due to invalid IL or missing references) //IL_0682: Unknown result type (might be due to invalid IL or missing references) //IL_068d: Unknown result type (might be due to invalid IL or missing references) //IL_0694: Unknown result type (might be due to invalid IL or missing references) //IL_069b: Unknown result type (might be due to invalid IL or missing references) //IL_06a2: Unknown result type (might be due to invalid IL or missing references) //IL_06ae: Expected O, but got Unknown //IL_06ee: Unknown result type (might be due to invalid IL or missing references) //IL_06f3: Unknown result type (might be due to invalid IL or missing references) //IL_06fb: Unknown result type (might be due to invalid IL or missing references) //IL_0706: Unknown result type (might be due to invalid IL or missing references) //IL_070d: Unknown result type (might be due to invalid IL or missing references) //IL_0714: Unknown result type (might be due to invalid IL or missing references) //IL_071b: Unknown result type (might be due to invalid IL or missing references) //IL_0727: Expected O, but got Unknown //IL_0734: Unknown result type (might be due to invalid IL or missing references) //IL_0739: Unknown result type (might be due to invalid IL or missing references) //IL_0741: Unknown result type (might be due to invalid IL or missing references) //IL_074c: Unknown result type (might be due to invalid IL or missing references) //IL_0753: Unknown result type (might be due to invalid IL or missing references) //IL_075a: Unknown result type (might be due to invalid IL or missing references) //IL_0761: Unknown result type (might be due to invalid IL or missing references) //IL_076d: Expected O, but got Unknown //IL_07ad: Unknown result type (might be due to invalid IL or missing references) //IL_07b2: Unknown result type (might be due to invalid IL or missing references) //IL_07ba: Unknown result type (might be due to invalid IL or missing references) //IL_07c5: Unknown result type (might be due to invalid IL or missing references) //IL_07cc: Unknown result type (might be due to invalid IL or missing references) //IL_07d3: Unknown result type (might be due to invalid IL or missing references) //IL_07da: Unknown result type (might be due to invalid IL or missing references) //IL_07e6: Expected O, but got Unknown //IL_07f3: Unknown result type (might be due to invalid IL or missing references) //IL_07f8: Unknown result type (might be due to invalid IL or missing references) //IL_0800: Unknown result type (might be due to invalid IL or missing references) //IL_080b: Unknown result type (might be due to invalid IL or missing references) //IL_0812: Unknown result type (might be due to invalid IL or missing references) //IL_0819: Unknown result type (might be due to invalid IL or missing references) //IL_0820: Unknown result type (might be due to invalid IL or missing references) //IL_082c: Expected O, but got Unknown //IL_086c: Unknown result type (might be due to invalid IL or missing references) //IL_0871: Unknown result type (might be due to invalid IL or missing references) //IL_0879: Unknown result type (might be due to invalid IL or missing references) //IL_0884: Unknown result type (might be due to invalid IL or missing references) //IL_088b: Unknown result type (might be due to invalid IL or missing references) //IL_0892: Unknown result type (might be due to invalid IL or missing references) //IL_0899: Unknown result type (might be due to invalid IL or missing references) //IL_08a5: Expected O, but got Unknown //IL_08b2: Unknown result type (might be due to invalid IL or missing references) //IL_08b7: Unknown result type (might be due to invalid IL or missing references) //IL_08bf: Unknown result type (might be due to invalid IL or missing references) //IL_08ca: Unknown result type (might be due to invalid IL or missing references) //IL_08d1: Unknown result type (might be due to invalid IL or missing references) //IL_08d8: Unknown result type (might be due to invalid IL or missing references) //IL_08df: Unknown result type (might be due to invalid IL or missing references) //IL_08eb: Expected O, but got Unknown //IL_092b: Unknown result type (might be due to invalid IL or missing references) //IL_0930: Unknown result type (might be due to invalid IL or missing references) //IL_0938: Unknown result type (might be due to invalid IL or missing references) //IL_0943: Unknown result type (might be due to invalid IL or missing references) //IL_094a: Unknown result type (might be due to invalid IL or missing references) //IL_0951: Unknown result type (might be due to invalid IL or missing references) //IL_0958: Unknown result type (might be due to invalid IL or missing references) //IL_0964: Expected O, but got Unknown //IL_0971: Unknown result type (might be due to invalid IL or missing references) //IL_0976: Unknown result type (might be due to invalid IL or missing references) //IL_097e: Unknown result type (might be due to invalid IL or missing references) //IL_0989: Unknown result type (might be due to invalid IL or missing references) //IL_0990: Unknown result type (might be due to invalid IL or missing references) //IL_0997: Unknown result type (might be due to invalid IL or missing references) //IL_099e: Unknown result type (might be due to invalid IL or missing references) //IL_09aa: Expected O, but got Unknown //IL_09ea: Unknown result type (might be due to invalid IL or missing references) //IL_09ef: Unknown result type (might be due to invalid IL or missing references) //IL_09f7: Unknown result type (might be due to invalid IL or missing references) //IL_0a02: Unknown result type (might be due to invalid IL or missing references) //IL_0a09: Unknown result type (might be due to invalid IL or missing references) //IL_0a10: Unknown result type (might be due to invalid IL or missing references) //IL_0a17: Unknown result type (might be due to invalid IL or missing references) //IL_0a23: Expected O, but got Unknown //IL_0a30: Unknown result type (might be due to invalid IL or missing references) //IL_0a35: Unknown result type (might be due to invalid IL or missing references) //IL_0a3d: Unknown result type (might be due to invalid IL or missing references) //IL_0a48: Unknown result type (might be due to invalid IL or missing references) //IL_0a4f: Unknown result type (might be due to invalid IL or missing references) //IL_0a56: Unknown result type (might be due to invalid IL or missing references) //IL_0a5d: Unknown result type (might be due to invalid IL or missing references) //IL_0a69: Expected O, but got Unknown //IL_0aa9: Unknown result type (might be due to invalid IL or missing references) //IL_0aae: Unknown result type (might be due to invalid IL or missing references) //IL_0ab6: Unknown result type (might be due to invalid IL or missing references) //IL_0ac1: Unknown result type (might be due to invalid IL or missing references) //IL_0ac8: Unknown result type (might be due to invalid IL or missing references) //IL_0acf: Unknown result type (might be due to invalid IL or missing references) //IL_0ad6: Unknown result type (might be due to invalid IL or missing references) //IL_0ae2: Expected O, but got Unknown //IL_0aef: Unknown result type (might be due to invalid IL or missing references) //IL_0af4: Unknown result type (might be due to invalid IL or missing references) //IL_0afc: Unknown result type (might be due to invalid IL or missing references) //IL_0b07: Unknown result type (might be due to invalid IL or missing references) //IL_0b0e: Unknown result type (might be due to invalid IL or missing references) //IL_0b15: Unknown result type (might be due to invalid IL or missing references) //IL_0b1c: Unknown result type (might be due to invalid IL or missing references) //IL_0b28: Expected O, but got Unknown //IL_0b68: Unknown result type (might be due to invalid IL or missing references) //IL_0b6d: Unknown result type (might be due to invalid IL or missing references) //IL_0b75: Unknown result type (might be due to invalid IL or missing references) //IL_0b80: Unknown result type (might be due to invalid IL or missing references) //IL_0b87: Unknown result type (might be due to invalid IL or missing references) //IL_0b8e: Unknown result type (might be due to invalid IL or missing references) //IL_0b95: Unknown result type (might be due to invalid IL or missing references) //IL_0ba1: Expected O, but got Unknown //IL_0bae: Unknown result type (might be due to invalid IL or missing references) //IL_0bb3: Unknown result type (might be due to invalid IL or missing references) //IL_0bbb: Unknown result type (might be due to invalid IL or missing references) //IL_0bc6: Unknown result type (might be due to invalid IL or missing references) //IL_0bcd: Unknown result type (might be due to invalid IL or missing references) //IL_0bd4: Unknown result type (might be due to invalid IL or missing references) //IL_0bdb: Unknown result type (might be due to invalid IL or missing references) //IL_0be7: Expected O, but got Unknown //IL_0c27: Unknown result type (might be due to invalid IL or missing references) //IL_0c2c: Unknown result type (might be due to invalid IL or missing references) //IL_0c34: Unknown result type (might be due to invalid IL or missing references) //IL_0c3f: Unknown result type (might be due to invalid IL or missing references) //IL_0c46: Unknown result type (might be due to invalid IL or missing references) //IL_0c4d: Unknown result type (might be due to invalid IL or missing references) //IL_0c54: Unknown result type (might be due to invalid IL or missing references) //IL_0c60: Expected O, but got Unknown //IL_0c6d: Unknown result type (might be due to invalid IL or missing references) //IL_0c72: Unknown result type (might be due to invalid IL or missing references) //IL_0c7a: Unknown result type (might be due to invalid IL or missing references) //IL_0c85: Unknown result type (might be due to invalid IL or missing references) //IL_0c8c: Unknown result type (might be due to invalid IL or missing references) //IL_0c93: Unknown result type (might be due to invalid IL or missing references) //IL_0c9a: Unknown result type (might be due to invalid IL or missing references) //IL_0ca6: Expected O, but got Unknown try { GameObject prefab = PrefabManager.Instance.GetPrefab("Beetle_Shrub_CC"); GameObject prefab2 = PrefabManager.Instance.GetPrefab("MeadowsAirS_RtD"); GameObject prefab3 = PrefabManager.Instance.GetPrefab("MeadowsNatureS_RtD"); prefab.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab2, m_chance = 0.15f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab3, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab4 = PrefabManager.Instance.GetPrefab("Beetle_Gold_CC"); GameObject prefab5 = PrefabManager.Instance.GetPrefab("BlackForestShockG_RtD"); GameObject prefab6 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); prefab4.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab5, m_chance = 0.15f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab4.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab6, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab7 = PrefabManager.Instance.GetPrefab("SpiderCrab_Forest_CC"); GameObject prefab8 = PrefabManager.Instance.GetPrefab("BlackForestShockG_RtD"); GameObject prefab9 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); prefab7.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab8, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab7.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab9, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab10 = PrefabManager.Instance.GetPrefab("Spider_Forest_CC"); GameObject prefab11 = PrefabManager.Instance.GetPrefab("BlackForestShockG_RtD"); GameObject prefab12 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); prefab10.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab11, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab10.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab12, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab13 = PrefabManager.Instance.GetPrefab("Spider_Swamp_CC"); GameObject prefab14 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab15 = PrefabManager.Instance.GetPrefab("SwampNatureS_RtD"); prefab13.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab14, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab13.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab15, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab16 = PrefabManager.Instance.GetPrefab("Spider_Cave_CC"); GameObject prefab17 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab18 = PrefabManager.Instance.GetPrefab("SwampNatureS_RtD"); prefab16.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab17, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab16.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab18, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab19 = PrefabManager.Instance.GetPrefab("Beetle_Stink_CC"); GameObject prefab20 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab21 = PrefabManager.Instance.GetPrefab("SwampNatureS_RtD"); prefab19.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab20, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab19.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab21, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab22 = PrefabManager.Instance.GetPrefab("Beetle_Scarab_CC"); GameObject prefab23 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab24 = PrefabManager.Instance.GetPrefab("SwampNatureS_RtD"); prefab22.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab23, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab22.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab24, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab25 = PrefabManager.Instance.GetPrefab("Insect_Cave_CC"); GameObject prefab26 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab27 = PrefabManager.Instance.GetPrefab("SwampNatureS_RtD"); prefab25.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab26, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab25.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab27, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab28 = PrefabManager.Instance.GetPrefab("SpiderCrab_Cave_CC"); GameObject prefab29 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab30 = PrefabManager.Instance.GetPrefab("MountainHolyS_RtD"); prefab28.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab29, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab28.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab30, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab31 = PrefabManager.Instance.GetPrefab("Spider_Plains_CC"); GameObject prefab32 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab33 = PrefabManager.Instance.GetPrefab("PlansHolyS_RtD"); prefab31.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab32, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab31.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab33, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab34 = PrefabManager.Instance.GetPrefab("Insect_Mist_CC"); GameObject prefab35 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab36 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab34.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab35, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab34.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab36, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab37 = PrefabManager.Instance.GetPrefab("Insect_Lava_CC"); GameObject prefab38 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD"); GameObject prefab39 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_RtD"); prefab37.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab38, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab37.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab39, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab40 = PrefabManager.Instance.GetPrefab("Spider_Lava_CC"); GameObject prefab41 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD"); GameObject prefab42 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_RtD"); prefab40.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab41, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab40.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab42, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab43 = PrefabManager.Instance.GetPrefab("Insect_Hoarfrost_CC"); GameObject prefab44 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD"); GameObject prefab45 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_RtD"); prefab43.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab44, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab43.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab45, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab46 = PrefabManager.Instance.GetPrefab("Spider_Hoarfrost_CC"); GameObject prefab47 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD"); GameObject prefab48 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_RtD"); prefab46.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab47, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab46.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab48, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab49 = PrefabManager.Instance.GetPrefab("SpiderCrab_Ocean_CC"); GameObject prefab50 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); GameObject prefab51 = PrefabManager.Instance.GetPrefab("BlackForestShockG_RtD"); prefab49.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab50, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab49.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab51, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while editing ores: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= EditCrawlers; } } private void EditDoDNPC() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Expected O, but got Unknown //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Expected O, but got Unknown //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_010f: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011d: Unknown result type (might be due to invalid IL or missing references) //IL_0124: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Expected O, but got Unknown //IL_013c: Unknown result type (might be due to invalid IL or missing references) //IL_0141: Unknown result type (might be due to invalid IL or missing references) //IL_0149: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_0169: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Expected O, but got Unknown //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01ba: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_01cd: Unknown result type (might be due to invalid IL or missing references) //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01ee: Expected O, but got Unknown //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0200: Unknown result type (might be due to invalid IL or missing references) //IL_0208: Unknown result type (might be due to invalid IL or missing references) //IL_0213: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Unknown result type (might be due to invalid IL or missing references) //IL_0221: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Expected O, but got Unknown //IL_0274: Unknown result type (might be due to invalid IL or missing references) //IL_0279: Unknown result type (might be due to invalid IL or missing references) //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_028c: Unknown result type (might be due to invalid IL or missing references) //IL_0293: Unknown result type (might be due to invalid IL or missing references) //IL_029a: Unknown result type (might be due to invalid IL or missing references) //IL_02a1: Unknown result type (might be due to invalid IL or missing references) //IL_02ad: Expected O, but got Unknown //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_02c7: Unknown result type (might be due to invalid IL or missing references) //IL_02d2: Unknown result type (might be due to invalid IL or missing references) //IL_02d9: Unknown result type (might be due to invalid IL or missing references) //IL_02e0: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_02f3: Expected O, but got Unknown //IL_0333: Unknown result type (might be due to invalid IL or missing references) //IL_0338: Unknown result type (might be due to invalid IL or missing references) //IL_0340: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0352: Unknown result type (might be due to invalid IL or missing references) //IL_0359: Unknown result type (might be due to invalid IL or missing references) //IL_0360: Unknown result type (might be due to invalid IL or missing references) //IL_036c: Expected O, but got Unknown //IL_0379: Unknown result type (might be due to invalid IL or missing references) //IL_037e: Unknown result type (might be due to invalid IL or missing references) //IL_0386: Unknown result type (might be due to invalid IL or missing references) //IL_0391: Unknown result type (might be due to invalid IL or missing references) //IL_0398: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03a6: Unknown result type (might be due to invalid IL or missing references) //IL_03b2: Expected O, but got Unknown //IL_03f2: Unknown result type (might be due to invalid IL or missing references) //IL_03f7: Unknown result type (might be due to invalid IL or missing references) //IL_03ff: Unknown result type (might be due to invalid IL or missing references) //IL_040a: Unknown result type (might be due to invalid IL or missing references) //IL_0411: Unknown result type (might be due to invalid IL or missing references) //IL_0418: Unknown result type (might be due to invalid IL or missing references) //IL_041f: Unknown result type (might be due to invalid IL or missing references) //IL_042b: Expected O, but got Unknown //IL_0438: Unknown result type (might be due to invalid IL or missing references) //IL_043d: Unknown result type (might be due to invalid IL or missing references) //IL_0445: Unknown result type (might be due to invalid IL or missing references) //IL_0450: Unknown result type (might be due to invalid IL or missing references) //IL_0457: Unknown result type (might be due to invalid IL or missing references) //IL_045e: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Expected O, but got Unknown //IL_04b1: Unknown result type (might be due to invalid IL or missing references) //IL_04b6: Unknown result type (might be due to invalid IL or missing references) //IL_04be: Unknown result type (might be due to invalid IL or missing references) //IL_04c9: Unknown result type (might be due to invalid IL or missing references) //IL_04d0: Unknown result type (might be due to invalid IL or missing references) //IL_04d7: Unknown result type (might be due to invalid IL or missing references) //IL_04de: Unknown result type (might be due to invalid IL or missing references) //IL_04ea: Expected O, but got Unknown //IL_04f7: Unknown result type (might be due to invalid IL or missing references) //IL_04fc: Unknown result type (might be due to invalid IL or missing references) //IL_0504: Unknown result type (might be due to invalid IL or missing references) //IL_050f: Unknown result type (might be due to invalid IL or missing references) //IL_0516: Unknown result type (might be due to invalid IL or missing references) //IL_051d: Unknown result type (might be due to invalid IL or missing references) //IL_0524: Unknown result type (might be due to invalid IL or missing references) //IL_0530: Expected O, but got Unknown //IL_0570: Unknown result type (might be due to invalid IL or missing references) //IL_0575: Unknown result type (might be due to invalid IL or missing references) //IL_057d: Unknown result type (might be due to invalid IL or missing references) //IL_0588: Unknown result type (might be due to invalid IL or missing references) //IL_058f: Unknown result type (might be due to invalid IL or missing references) //IL_0596: Unknown result type (might be due to invalid IL or missing references) //IL_059d: Unknown result type (might be due to invalid IL or missing references) //IL_05a9: Expected O, but got Unknown //IL_05b6: Unknown result type (might be due to invalid IL or missing references) //IL_05bb: Unknown result type (might be due to invalid IL or missing references) //IL_05c3: Unknown result type (might be due to invalid IL or missing references) //IL_05ce: Unknown result type (might be due to invalid IL or missing references) //IL_05d5: Unknown result type (might be due to invalid IL or missing references) //IL_05dc: Unknown result type (might be due to invalid IL or missing references) //IL_05e3: Unknown result type (might be due to invalid IL or missing references) //IL_05ef: Expected O, but got Unknown //IL_062f: Unknown result type (might be due to invalid IL or missing references) //IL_0634: Unknown result type (might be due to invalid IL or missing references) //IL_063c: Unknown result type (might be due to invalid IL or missing references) //IL_0647: Unknown result type (might be due to invalid IL or missing references) //IL_064e: Unknown result type (might be due to invalid IL or missing references) //IL_0655: Unknown result type (might be due to invalid IL or missing references) //IL_065c: Unknown result type (might be due to invalid IL or missing references) //IL_0668: Expected O, but got Unknown //IL_0675: Unknown result type (might be due to invalid IL or missing references) //IL_067a: Unknown result type (might be due to invalid IL or missing references) //IL_0682: Unknown result type (might be due to invalid IL or missing references) //IL_068d: Unknown result type (might be due to invalid IL or missing references) //IL_0694: Unknown result type (might be due to invalid IL or missing references) //IL_069b: Unknown result type (might be due to invalid IL or missing references) //IL_06a2: Unknown result type (might be due to invalid IL or missing references) //IL_06ae: Expected O, but got Unknown //IL_06ee: Unknown result type (might be due to invalid IL or missing references) //IL_06f3: Unknown result type (might be due to invalid IL or missing references) //IL_06fb: Unknown result type (might be due to invalid IL or missing references) //IL_0706: Unknown result type (might be due to invalid IL or missing references) //IL_070d: Unknown result type (might be due to invalid IL or missing references) //IL_0714: Unknown result type (might be due to invalid IL or missing references) //IL_071b: Unknown result type (might be due to invalid IL or missing references) //IL_0727: Expected O, but got Unknown //IL_0734: Unknown result type (might be due to invalid IL or missing references) //IL_0739: Unknown result type (might be due to invalid IL or missing references) //IL_0741: Unknown result type (might be due to invalid IL or missing references) //IL_074c: Unknown result type (might be due to invalid IL or missing references) //IL_0753: Unknown result type (might be due to invalid IL or missing references) //IL_075a: Unknown result type (might be due to invalid IL or missing references) //IL_0761: Unknown result type (might be due to invalid IL or missing references) //IL_076d: Expected O, but got Unknown //IL_07ad: Unknown result type (might be due to invalid IL or missing references) //IL_07b2: Unknown result type (might be due to invalid IL or missing references) //IL_07ba: Unknown result type (might be due to invalid IL or missing references) //IL_07c5: Unknown result type (might be due to invalid IL or missing references) //IL_07cc: Unknown result type (might be due to invalid IL or missing references) //IL_07d3: Unknown result type (might be due to invalid IL or missing references) //IL_07da: Unknown result type (might be due to invalid IL or missing references) //IL_07e6: Expected O, but got Unknown //IL_07f3: Unknown result type (might be due to invalid IL or missing references) //IL_07f8: Unknown result type (might be due to invalid IL or missing references) //IL_0800: Unknown result type (might be due to invalid IL or missing references) //IL_080b: Unknown result type (might be due to invalid IL or missing references) //IL_0812: Unknown result type (might be due to invalid IL or missing references) //IL_0819: Unknown result type (might be due to invalid IL or missing references) //IL_0820: Unknown result type (might be due to invalid IL or missing references) //IL_082c: Expected O, but got Unknown //IL_086c: Unknown result type (might be due to invalid IL or missing references) //IL_0871: Unknown result type (might be due to invalid IL or missing references) //IL_0879: Unknown result type (might be due to invalid IL or missing references) //IL_0884: Unknown result type (might be due to invalid IL or missing references) //IL_088b: Unknown result type (might be due to invalid IL or missing references) //IL_0892: Unknown result type (might be due to invalid IL or missing references) //IL_0899: Unknown result type (might be due to invalid IL or missing references) //IL_08a5: Expected O, but got Unknown //IL_08b2: Unknown result type (might be due to invalid IL or missing references) //IL_08b7: Unknown result type (might be due to invalid IL or missing references) //IL_08bf: Unknown result type (might be due to invalid IL or missing references) //IL_08ca: Unknown result type (might be due to invalid IL or missing references) //IL_08d1: Unknown result type (might be due to invalid IL or missing references) //IL_08d8: Unknown result type (might be due to invalid IL or missing references) //IL_08df: Unknown result type (might be due to invalid IL or missing references) //IL_08eb: Expected O, but got Unknown //IL_092b: Unknown result type (might be due to invalid IL or missing references) //IL_0930: Unknown result type (might be due to invalid IL or missing references) //IL_0938: Unknown result type (might be due to invalid IL or missing references) //IL_0943: Unknown result type (might be due to invalid IL or missing references) //IL_094a: Unknown result type (might be due to invalid IL or missing references) //IL_0951: Unknown result type (might be due to invalid IL or missing references) //IL_0958: Unknown result type (might be due to invalid IL or missing references) //IL_0964: Expected O, but got Unknown //IL_0971: Unknown result type (might be due to invalid IL or missing references) //IL_0976: Unknown result type (might be due to invalid IL or missing references) //IL_097e: Unknown result type (might be due to invalid IL or missing references) //IL_0989: Unknown result type (might be due to invalid IL or missing references) //IL_0990: Unknown result type (might be due to invalid IL or missing references) //IL_0997: Unknown result type (might be due to invalid IL or missing references) //IL_099e: Unknown result type (might be due to invalid IL or missing references) //IL_09aa: Expected O, but got Unknown //IL_09ea: Unknown result type (might be due to invalid IL or missing references) //IL_09ef: Unknown result type (might be due to invalid IL or missing references) //IL_09f7: Unknown result type (might be due to invalid IL or missing references) //IL_0a02: Unknown result type (might be due to invalid IL or missing references) //IL_0a09: Unknown result type (might be due to invalid IL or missing references) //IL_0a10: Unknown result type (might be due to invalid IL or missing references) //IL_0a17: Unknown result type (might be due to invalid IL or missing references) //IL_0a23: Expected O, but got Unknown //IL_0a30: Unknown result type (might be due to invalid IL or missing references) //IL_0a35: Unknown result type (might be due to invalid IL or missing references) //IL_0a3d: Unknown result type (might be due to invalid IL or missing references) //IL_0a48: Unknown result type (might be due to invalid IL or missing references) //IL_0a4f: Unknown result type (might be due to invalid IL or missing references) //IL_0a56: Unknown result type (might be due to invalid IL or missing references) //IL_0a5d: Unknown result type (might be due to invalid IL or missing references) //IL_0a69: Expected O, but got Unknown //IL_0aa9: Unknown result type (might be due to invalid IL or missing references) //IL_0aae: Unknown result type (might be due to invalid IL or missing references) //IL_0ab6: Unknown result type (might be due to invalid IL or missing references) //IL_0ac1: Unknown result type (might be due to invalid IL or missing references) //IL_0ac8: Unknown result type (might be due to invalid IL or missing references) //IL_0acf: Unknown result type (might be due to invalid IL or missing references) //IL_0ad6: Unknown result type (might be due to invalid IL or missing references) //IL_0ae2: Expected O, but got Unknown //IL_0aef: Unknown result type (might be due to invalid IL or missing references) //IL_0af4: Unknown result type (might be due to invalid IL or missing references) //IL_0afc: Unknown result type (might be due to invalid IL or missing references) //IL_0b07: Unknown result type (might be due to invalid IL or missing references) //IL_0b0e: Unknown result type (might be due to invalid IL or missing references) //IL_0b15: Unknown result type (might be due to invalid IL or missing references) //IL_0b1c: Unknown result type (might be due to invalid IL or missing references) //IL_0b28: Expected O, but got Unknown //IL_0b68: Unknown result type (might be due to invalid IL or missing references) //IL_0b6d: Unknown result type (might be due to invalid IL or missing references) //IL_0b75: Unknown result type (might be due to invalid IL or missing references) //IL_0b80: Unknown result type (might be due to invalid IL or missing references) //IL_0b87: Unknown result type (might be due to invalid IL or missing references) //IL_0b8e: Unknown result type (might be due to invalid IL or missing references) //IL_0b95: Unknown result type (might be due to invalid IL or missing references) //IL_0ba1: Expected O, but got Unknown //IL_0bae: Unknown result type (might be due to invalid IL or missing references) //IL_0bb3: Unknown result type (might be due to invalid IL or missing references) //IL_0bbb: Unknown result type (might be due to invalid IL or missing references) //IL_0bc6: Unknown result type (might be due to invalid IL or missing references) //IL_0bcd: Unknown result type (might be due to invalid IL or missing references) //IL_0bd4: Unknown result type (might be due to invalid IL or missing references) //IL_0bdb: Unknown result type (might be due to invalid IL or missing references) //IL_0be7: Expected O, but got Unknown //IL_0c27: Unknown result type (might be due to invalid IL or missing references) //IL_0c2c: Unknown result type (might be due to invalid IL or missing references) //IL_0c34: Unknown result type (might be due to invalid IL or missing references) //IL_0c3f: Unknown result type (might be due to invalid IL or missing references) //IL_0c46: Unknown result type (might be due to invalid IL or missing references) //IL_0c4d: Unknown result type (might be due to invalid IL or missing references) //IL_0c54: Unknown result type (might be due to invalid IL or missing references) //IL_0c60: Expected O, but got Unknown //IL_0c6d: Unknown result type (might be due to invalid IL or missing references) //IL_0c72: Unknown result type (might be due to invalid IL or missing references) //IL_0c7a: Unknown result type (might be due to invalid IL or missing references) //IL_0c85: Unknown result type (might be due to invalid IL or missing references) //IL_0c8c: Unknown result type (might be due to invalid IL or missing references) //IL_0c93: Unknown result type (might be due to invalid IL or missing references) //IL_0c9a: Unknown result type (might be due to invalid IL or missing references) //IL_0ca6: Expected O, but got Unknown //IL_0ce6: Unknown result type (might be due to invalid IL or missing references) //IL_0ceb: Unknown result type (might be due to invalid IL or missing references) //IL_0cf3: Unknown result type (might be due to invalid IL or missing references) //IL_0cfe: Unknown result type (might be due to invalid IL or missing references) //IL_0d05: Unknown result type (might be due to invalid IL or missing references) //IL_0d0c: Unknown result type (might be due to invalid IL or missing references) //IL_0d13: Unknown result type (might be due to invalid IL or missing references) //IL_0d1f: Expected O, but got Unknown //IL_0d2c: Unknown result type (might be due to invalid IL or missing references) //IL_0d31: Unknown result type (might be due to invalid IL or missing references) //IL_0d39: Unknown result type (might be due to invalid IL or missing references) //IL_0d44: Unknown result type (might be due to invalid IL or missing references) //IL_0d4b: Unknown result type (might be due to invalid IL or missing references) //IL_0d52: Unknown result type (might be due to invalid IL or missing references) //IL_0d59: Unknown result type (might be due to invalid IL or missing references) //IL_0d65: Expected O, but got Unknown //IL_0da5: Unknown result type (might be due to invalid IL or missing references) //IL_0daa: Unknown result type (might be due to invalid IL or missing references) //IL_0db2: Unknown result type (might be due to invalid IL or missing references) //IL_0dbd: Unknown result type (might be due to invalid IL or missing references) //IL_0dc4: Unknown result type (might be due to invalid IL or missing references) //IL_0dcb: Unknown result type (might be due to invalid IL or missing references) //IL_0dd2: Unknown result type (might be due to invalid IL or missing references) //IL_0dde: Expected O, but got Unknown //IL_0deb: Unknown result type (might be due to invalid IL or missing references) //IL_0df0: Unknown result type (might be due to invalid IL or missing references) //IL_0df8: Unknown result type (might be due to invalid IL or missing references) //IL_0e03: Unknown result type (might be due to invalid IL or missing references) //IL_0e0a: Unknown result type (might be due to invalid IL or missing references) //IL_0e11: Unknown result type (might be due to invalid IL or missing references) //IL_0e18: Unknown result type (might be due to invalid IL or missing references) //IL_0e24: Expected O, but got Unknown try { GameObject prefab = PrefabManager.Instance.GetPrefab("NomadMeadows_DoD"); GameObject prefab2 = PrefabManager.Instance.GetPrefab("MeadowsAirS_RtD"); GameObject prefab3 = PrefabManager.Instance.GetPrefab("MeadowsNatureS_RtD"); prefab.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab2, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab3, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab4 = PrefabManager.Instance.GetPrefab("SkuggaMeadows_DoD"); GameObject prefab5 = PrefabManager.Instance.GetPrefab("MeadowsAirS_RtD"); GameObject prefab6 = PrefabManager.Instance.GetPrefab("MeadowsNatureS_RtD"); prefab4.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab5, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab4.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab6, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab7 = PrefabManager.Instance.GetPrefab("NomadBlackForest_DoD"); GameObject prefab8 = PrefabManager.Instance.GetPrefab("BlackForestShockG_RtD"); GameObject prefab9 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); prefab7.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab8, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab7.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab9, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab10 = PrefabManager.Instance.GetPrefab("SkuggaBlackForest_DoD"); GameObject prefab11 = PrefabManager.Instance.GetPrefab("BlackForestShockG_RtD"); GameObject prefab12 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); prefab10.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab11, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab10.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab12, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab13 = PrefabManager.Instance.GetPrefab("NomadSwamp_DoD"); GameObject prefab14 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab15 = PrefabManager.Instance.GetPrefab("SwampNatureS_RtD"); prefab13.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab14, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab13.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab15, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab16 = PrefabManager.Instance.GetPrefab("SkuggaSwamp_DoD"); GameObject prefab17 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab18 = PrefabManager.Instance.GetPrefab("SwampNatureS_RtD"); prefab16.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab17, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab16.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab18, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab19 = PrefabManager.Instance.GetPrefab("NomadMountains_DoD"); GameObject prefab20 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab21 = PrefabManager.Instance.GetPrefab("MountainHolyS_RtD"); prefab19.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab20, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab19.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab21, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab22 = PrefabManager.Instance.GetPrefab("NjordMountains_DoD"); GameObject prefab23 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab24 = PrefabManager.Instance.GetPrefab("MountainHolyS_RtD"); prefab22.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab23, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab22.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab24, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab25 = PrefabManager.Instance.GetPrefab("SkuggaMountains_DoD"); GameObject prefab26 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab27 = PrefabManager.Instance.GetPrefab("MountainHolyS_RtD"); prefab25.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab26, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab25.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab27, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab28 = PrefabManager.Instance.GetPrefab("NomadPlains_DoD"); GameObject prefab29 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab30 = PrefabManager.Instance.GetPrefab("PlansHolyS_RtD"); prefab28.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab29, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab28.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab30, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab31 = PrefabManager.Instance.GetPrefab("EinherjarPlains_DoD"); GameObject prefab32 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab33 = PrefabManager.Instance.GetPrefab("PlansHolyS_RtD"); prefab31.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab32, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab31.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab33, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab34 = PrefabManager.Instance.GetPrefab("SkuggaPlains_DoD"); GameObject prefab35 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab36 = PrefabManager.Instance.GetPrefab("PlansHolyS_RtD"); prefab34.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab35, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab34.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab36, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab37 = PrefabManager.Instance.GetPrefab("SkuggaMistlands_DoD"); GameObject prefab38 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab39 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab37.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab38, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab37.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab39, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab40 = PrefabManager.Instance.GetPrefab("NomadMistlands_DoD"); GameObject prefab41 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab42 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab40.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab41, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab40.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab42, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab43 = PrefabManager.Instance.GetPrefab("VidarMistlands_DoD"); GameObject prefab44 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab45 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab43.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab44, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab43.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab45, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab46 = PrefabManager.Instance.GetPrefab("NomadAshLands_DoD"); GameObject prefab47 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD"); GameObject prefab48 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_RtD"); prefab46.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab47, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab46.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab48, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab49 = PrefabManager.Instance.GetPrefab("SkuggaAshLands_DoD"); GameObject prefab50 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD"); GameObject prefab51 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_RtD"); prefab49.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab50, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab49.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab51, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab52 = PrefabManager.Instance.GetPrefab("NomadDeepNorth_DoD"); GameObject prefab53 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD"); GameObject prefab54 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_RtD"); prefab52.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab53, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab52.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab54, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab55 = PrefabManager.Instance.GetPrefab("SkuggaDeepNorth_DoD"); GameObject prefab56 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD"); GameObject prefab57 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_RtD"); prefab55.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab56, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab55.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab57, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= EditDoDNPC; } } private void MushroomMonster() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Expected O, but got Unknown //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Expected O, but got Unknown //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_010f: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011d: Unknown result type (might be due to invalid IL or missing references) //IL_0124: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Expected O, but got Unknown //IL_013c: Unknown result type (might be due to invalid IL or missing references) //IL_0141: Unknown result type (might be due to invalid IL or missing references) //IL_0149: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_0169: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Expected O, but got Unknown //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01ba: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_01cd: Unknown result type (might be due to invalid IL or missing references) //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01ee: Expected O, but got Unknown //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0200: Unknown result type (might be due to invalid IL or missing references) //IL_0208: Unknown result type (might be due to invalid IL or missing references) //IL_0213: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Unknown result type (might be due to invalid IL or missing references) //IL_0221: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Expected O, but got Unknown //IL_0274: Unknown result type (might be due to invalid IL or missing references) //IL_0279: Unknown result type (might be due to invalid IL or missing references) //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_028c: Unknown result type (might be due to invalid IL or missing references) //IL_0293: Unknown result type (might be due to invalid IL or missing references) //IL_029a: Unknown result type (might be due to invalid IL or missing references) //IL_02a1: Unknown result type (might be due to invalid IL or missing references) //IL_02ad: Expected O, but got Unknown //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_02c7: Unknown result type (might be due to invalid IL or missing references) //IL_02d2: Unknown result type (might be due to invalid IL or missing references) //IL_02d9: Unknown result type (might be due to invalid IL or missing references) //IL_02e0: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_02f3: Expected O, but got Unknown //IL_0333: Unknown result type (might be due to invalid IL or missing references) //IL_0338: Unknown result type (might be due to invalid IL or missing references) //IL_0340: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0352: Unknown result type (might be due to invalid IL or missing references) //IL_0359: Unknown result type (might be due to invalid IL or missing references) //IL_0360: Unknown result type (might be due to invalid IL or missing references) //IL_036c: Expected O, but got Unknown //IL_0379: Unknown result type (might be due to invalid IL or missing references) //IL_037e: Unknown result type (might be due to invalid IL or missing references) //IL_0386: Unknown result type (might be due to invalid IL or missing references) //IL_0391: Unknown result type (might be due to invalid IL or missing references) //IL_0398: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03a6: Unknown result type (might be due to invalid IL or missing references) //IL_03b2: Expected O, but got Unknown //IL_03f2: Unknown result type (might be due to invalid IL or missing references) //IL_03f7: Unknown result type (might be due to invalid IL or missing references) //IL_03ff: Unknown result type (might be due to invalid IL or missing references) //IL_040a: Unknown result type (might be due to invalid IL or missing references) //IL_0411: Unknown result type (might be due to invalid IL or missing references) //IL_0418: Unknown result type (might be due to invalid IL or missing references) //IL_041f: Unknown result type (might be due to invalid IL or missing references) //IL_042b: Expected O, but got Unknown //IL_0438: Unknown result type (might be due to invalid IL or missing references) //IL_043d: Unknown result type (might be due to invalid IL or missing references) //IL_0445: Unknown result type (might be due to invalid IL or missing references) //IL_0450: Unknown result type (might be due to invalid IL or missing references) //IL_0457: Unknown result type (might be due to invalid IL or missing references) //IL_045e: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Expected O, but got Unknown //IL_04b1: Unknown result type (might be due to invalid IL or missing references) //IL_04b6: Unknown result type (might be due to invalid IL or missing references) //IL_04be: Unknown result type (might be due to invalid IL or missing references) //IL_04c9: Unknown result type (might be due to invalid IL or missing references) //IL_04d0: Unknown result type (might be due to invalid IL or missing references) //IL_04d7: Unknown result type (might be due to invalid IL or missing references) //IL_04de: Unknown result type (might be due to invalid IL or missing references) //IL_04ea: Expected O, but got Unknown //IL_04f7: Unknown result type (might be due to invalid IL or missing references) //IL_04fc: Unknown result type (might be due to invalid IL or missing references) //IL_0504: Unknown result type (might be due to invalid IL or missing references) //IL_050f: Unknown result type (might be due to invalid IL or missing references) //IL_0516: Unknown result type (might be due to invalid IL or missing references) //IL_051d: Unknown result type (might be due to invalid IL or missing references) //IL_0524: Unknown result type (might be due to invalid IL or missing references) //IL_0530: Expected O, but got Unknown //IL_0570: Unknown result type (might be due to invalid IL or missing references) //IL_0575: Unknown result type (might be due to invalid IL or missing references) //IL_057d: Unknown result type (might be due to invalid IL or missing references) //IL_0588: Unknown result type (might be due to invalid IL or missing references) //IL_058f: Unknown result type (might be due to invalid IL or missing references) //IL_0596: Unknown result type (might be due to invalid IL or missing references) //IL_059d: Unknown result type (might be due to invalid IL or missing references) //IL_05a9: Expected O, but got Unknown //IL_05b6: Unknown result type (might be due to invalid IL or missing references) //IL_05bb: Unknown result type (might be due to invalid IL or missing references) //IL_05c3: Unknown result type (might be due to invalid IL or missing references) //IL_05ce: Unknown result type (might be due to invalid IL or missing references) //IL_05d5: Unknown result type (might be due to invalid IL or missing references) //IL_05dc: Unknown result type (might be due to invalid IL or missing references) //IL_05e3: Unknown result type (might be due to invalid IL or missing references) //IL_05ef: Expected O, but got Unknown try { GameObject prefab = PrefabManager.Instance.GetPrefab("MushroomMeadows_MP"); GameObject prefab2 = PrefabManager.Instance.GetPrefab("MeadowsAirS_RtD"); GameObject prefab3 = PrefabManager.Instance.GetPrefab("MeadowsNatureS_RtD"); prefab.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab2, m_chance = 0.15f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab3, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab4 = PrefabManager.Instance.GetPrefab("MushroomForest_MP"); GameObject prefab5 = PrefabManager.Instance.GetPrefab("BlackForestShockG_RtD"); GameObject prefab6 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); prefab4.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab5, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab4.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab6, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab7 = PrefabManager.Instance.GetPrefab("MushroomSwamp_MP"); GameObject prefab8 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab9 = PrefabManager.Instance.GetPrefab("SwampNatureS_RtD"); prefab7.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab8, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab7.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab9, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab10 = PrefabManager.Instance.GetPrefab("MushroomMountain_MP"); GameObject prefab11 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab12 = PrefabManager.Instance.GetPrefab("MountainHolyS_RtD"); prefab10.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab11, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab10.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab12, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab13 = PrefabManager.Instance.GetPrefab("MushroomPlains_MP"); GameObject prefab14 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab15 = PrefabManager.Instance.GetPrefab("PlansHolyS_RtD"); prefab13.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab14, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab13.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab15, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab16 = PrefabManager.Instance.GetPrefab("MushroomMistlands_MP"); GameObject prefab17 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab18 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab16.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab17, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab16.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab18, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab19 = PrefabManager.Instance.GetPrefab("MushroomAshLands_MP"); GameObject prefab20 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD"); GameObject prefab21 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_RtD"); prefab19.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab20, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab19.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab21, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab22 = PrefabManager.Instance.GetPrefab("MushroomDeepNorth_MP"); GameObject prefab23 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD"); GameObject prefab24 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_RtD"); prefab22.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab23, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab22.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab24, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= MushroomMonster; } } private void DoDMonsters() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Expected O, but got Unknown //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Expected O, but got Unknown //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_010f: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011d: Unknown result type (might be due to invalid IL or missing references) //IL_0124: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Expected O, but got Unknown //IL_013c: Unknown result type (might be due to invalid IL or missing references) //IL_0141: Unknown result type (might be due to invalid IL or missing references) //IL_0149: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_0169: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Expected O, but got Unknown //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01ba: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_01cd: Unknown result type (might be due to invalid IL or missing references) //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01ee: Expected O, but got Unknown //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0200: Unknown result type (might be due to invalid IL or missing references) //IL_0208: Unknown result type (might be due to invalid IL or missing references) //IL_0213: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Unknown result type (might be due to invalid IL or missing references) //IL_0221: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Expected O, but got Unknown //IL_0274: Unknown result type (might be due to invalid IL or missing references) //IL_0279: Unknown result type (might be due to invalid IL or missing references) //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_028c: Unknown result type (might be due to invalid IL or missing references) //IL_0293: Unknown result type (might be due to invalid IL or missing references) //IL_029a: Unknown result type (might be due to invalid IL or missing references) //IL_02a1: Unknown result type (might be due to invalid IL or missing references) //IL_02ad: Expected O, but got Unknown //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_02c7: Unknown result type (might be due to invalid IL or missing references) //IL_02d2: Unknown result type (might be due to invalid IL or missing references) //IL_02d9: Unknown result type (might be due to invalid IL or missing references) //IL_02e0: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_02f3: Expected O, but got Unknown //IL_0333: Unknown result type (might be due to invalid IL or missing references) //IL_0338: Unknown result type (might be due to invalid IL or missing references) //IL_0340: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0352: Unknown result type (might be due to invalid IL or missing references) //IL_0359: Unknown result type (might be due to invalid IL or missing references) //IL_0360: Unknown result type (might be due to invalid IL or missing references) //IL_036c: Expected O, but got Unknown //IL_0379: Unknown result type (might be due to invalid IL or missing references) //IL_037e: Unknown result type (might be due to invalid IL or missing references) //IL_0386: Unknown result type (might be due to invalid IL or missing references) //IL_0391: Unknown result type (might be due to invalid IL or missing references) //IL_0398: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03a6: Unknown result type (might be due to invalid IL or missing references) //IL_03b2: Expected O, but got Unknown //IL_03f2: Unknown result type (might be due to invalid IL or missing references) //IL_03f7: Unknown result type (might be due to invalid IL or missing references) //IL_03ff: Unknown result type (might be due to invalid IL or missing references) //IL_040a: Unknown result type (might be due to invalid IL or missing references) //IL_0411: Unknown result type (might be due to invalid IL or missing references) //IL_0418: Unknown result type (might be due to invalid IL or missing references) //IL_041f: Unknown result type (might be due to invalid IL or missing references) //IL_042b: Expected O, but got Unknown //IL_0438: Unknown result type (might be due to invalid IL or missing references) //IL_043d: Unknown result type (might be due to invalid IL or missing references) //IL_0445: Unknown result type (might be due to invalid IL or missing references) //IL_0450: Unknown result type (might be due to invalid IL or missing references) //IL_0457: Unknown result type (might be due to invalid IL or missing references) //IL_045e: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Expected O, but got Unknown //IL_04b1: Unknown result type (might be due to invalid IL or missing references) //IL_04b6: Unknown result type (might be due to invalid IL or missing references) //IL_04be: Unknown result type (might be due to invalid IL or missing references) //IL_04c9: Unknown result type (might be due to invalid IL or missing references) //IL_04d0: Unknown result type (might be due to invalid IL or missing references) //IL_04d7: Unknown result type (might be due to invalid IL or missing references) //IL_04de: Unknown result type (might be due to invalid IL or missing references) //IL_04ea: Expected O, but got Unknown //IL_04f7: Unknown result type (might be due to invalid IL or missing references) //IL_04fc: Unknown result type (might be due to invalid IL or missing references) //IL_0504: Unknown result type (might be due to invalid IL or missing references) //IL_050f: Unknown result type (might be due to invalid IL or missing references) //IL_0516: Unknown result type (might be due to invalid IL or missing references) //IL_051d: Unknown result type (might be due to invalid IL or missing references) //IL_0524: Unknown result type (might be due to invalid IL or missing references) //IL_0530: Expected O, but got Unknown //IL_0570: Unknown result type (might be due to invalid IL or missing references) //IL_0575: Unknown result type (might be due to invalid IL or missing references) //IL_057d: Unknown result type (might be due to invalid IL or missing references) //IL_0588: Unknown result type (might be due to invalid IL or missing references) //IL_058f: Unknown result type (might be due to invalid IL or missing references) //IL_0596: Unknown result type (might be due to invalid IL or missing references) //IL_059d: Unknown result type (might be due to invalid IL or missing references) //IL_05a9: Expected O, but got Unknown //IL_05b6: Unknown result type (might be due to invalid IL or missing references) //IL_05bb: Unknown result type (might be due to invalid IL or missing references) //IL_05c3: Unknown result type (might be due to invalid IL or missing references) //IL_05ce: Unknown result type (might be due to invalid IL or missing references) //IL_05d5: Unknown result type (might be due to invalid IL or missing references) //IL_05dc: Unknown result type (might be due to invalid IL or missing references) //IL_05e3: Unknown result type (might be due to invalid IL or missing references) //IL_05ef: Expected O, but got Unknown //IL_062f: Unknown result type (might be due to invalid IL or missing references) //IL_0634: Unknown result type (might be due to invalid IL or missing references) //IL_063c: Unknown result type (might be due to invalid IL or missing references) //IL_0647: Unknown result type (might be due to invalid IL or missing references) //IL_064e: Unknown result type (might be due to invalid IL or missing references) //IL_0655: Unknown result type (might be due to invalid IL or missing references) //IL_065c: Unknown result type (might be due to invalid IL or missing references) //IL_0668: Expected O, but got Unknown //IL_0675: Unknown result type (might be due to invalid IL or missing references) //IL_067a: Unknown result type (might be due to invalid IL or missing references) //IL_0682: Unknown result type (might be due to invalid IL or missing references) //IL_068d: Unknown result type (might be due to invalid IL or missing references) //IL_0694: Unknown result type (might be due to invalid IL or missing references) //IL_069b: Unknown result type (might be due to invalid IL or missing references) //IL_06a2: Unknown result type (might be due to invalid IL or missing references) //IL_06ae: Expected O, but got Unknown //IL_06ee: Unkn