Decompiled source of RtDAdditions v0.0.9
RtDAdditions.dll
Decompiled 3 days 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; using Jotunn.Managers; using Jotunn.Utils; using Microsoft.CodeAnalysis; 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("RtDAdditions")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RtDAdditions")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("c6864c18-84df-4dc3-9f05-d8359493cf59")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace rtDAdditions { [BepInPlugin("Soloredis.RtDAdditions", "RtDAdditions", "0.0.9")] [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.*/)] [BepInIncompatibility("zolantris.ValheimRAFT")] public class RtDAdditions : BaseUnityPlugin { public const string PluginGUID = "Soloredis.RtDAdditions"; public const string PluginName = "RtDAdditions"; public const string PluginVersion = "0.0.9"; internal static ManualLogSource Log; public static AssetBundle MyAssets; public ConfigEntry<bool> ModEnable; public ConfigEntry<bool> EditOreEnable; public ConfigEntry<bool> EditCrawlersEnable; public ConfigEntry<bool> EditDoDNPCEnable; public ConfigEntry<bool> EditGooglyEnable; public ConfigEntry<bool> EditFeFiFoFumEnable; public ConfigEntry<bool> EditDoDMushroomsEnable; public ConfigEntry<bool> EditSkitteringMadnessEnable; public ConfigEntry<bool> EditRtDSoulsEnable; public ConfigEntry<bool> FantasyCreaturesEnable; public ConfigEntry<bool> DoDMonstersEnable; public ConfigEntry<bool> RtDMonstersEnable; public ConfigEntry<bool> RtDOceanEnable; 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() { CreateConfigs(); Log = ((BaseUnityPlugin)this).Logger; if (ModEnable.Value) { if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogWarning((object)"Logging is enabled in the config."); } if (EditOreEnable.Value) { PrefabManager.OnPrefabsRegistered += EditOre; } if (EditCrawlersEnable.Value) { PrefabManager.OnPrefabsRegistered += EditCrawlers; } if (EditDoDNPCEnable.Value) { PrefabManager.OnPrefabsRegistered += EditDoDNPC; } if (EditGooglyEnable.Value) { PrefabManager.OnPrefabsRegistered += EditGoogly; } if (EditFeFiFoFumEnable.Value) { PrefabManager.OnPrefabsRegistered += EditFeFiFoFum; } if (EditDoDMushroomsEnable.Value) { PrefabManager.OnPrefabsRegistered += EditDoDMushrooms; } if (EditSkitteringMadnessEnable.Value) { PrefabManager.OnPrefabsRegistered += EditSkitteringMadness; } if (EditRtDSoulsEnable.Value) { PrefabManager.OnPrefabsRegistered += EditRtDSouls; } if (FantasyCreaturesEnable.Value) { PrefabManager.OnPrefabsRegistered += FantasyCreatures; } if (DoDMonstersEnable.Value) { PrefabManager.OnPrefabsRegistered += DoDMonsters; } if (RtDMonstersEnable.Value) { PrefabManager.OnPrefabsRegistered += RtDMonsters; } if (RtDOceanEnable.Value) { PrefabManager.OnPrefabsRegistered += RtDOcean; } } } public void CreateConfigs() { //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_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Expected O, but got Unknown //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Expected O, but got Unknown //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Expected O, but got Unknown //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00cf: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Expected O, but got Unknown //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Expected O, but got Unknown //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0119: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Expected O, but got Unknown //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Expected O, but got Unknown //IL_0156: 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_0163: Unknown result type (might be due to invalid IL or missing references) //IL_0171: Expected O, but got Unknown //IL_0171: Unknown result type (might be due to invalid IL or missing references) //IL_017b: Expected O, but got Unknown //IL_01a0: Unknown result type (might be due to invalid IL or missing references) //IL_01a5: Unknown result type (might be due to invalid IL or missing references) //IL_01ad: Unknown result type (might be due to invalid IL or missing references) //IL_01bb: Expected O, but got Unknown //IL_01bb: Unknown result type (might be due to invalid IL or missing references) //IL_01c5: Expected O, but got Unknown //IL_01ea: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Unknown result type (might be due to invalid IL or missing references) //IL_01f7: Unknown result type (might be due to invalid IL or missing references) //IL_0205: Expected O, but got Unknown //IL_0205: Unknown result type (might be due to invalid IL or missing references) //IL_020f: Expected O, but got Unknown //IL_0234: Unknown result type (might be due to invalid IL or missing references) //IL_0239: Unknown result type (might be due to invalid IL or missing references) //IL_0241: Unknown result type (might be due to invalid IL or missing references) //IL_024f: Expected O, but got Unknown //IL_024f: Unknown result type (might be due to invalid IL or missing references) //IL_0259: Expected O, but got Unknown //IL_027e: Unknown result type (might be due to invalid IL or missing references) //IL_0283: Unknown result type (might be due to invalid IL or missing references) //IL_028b: Unknown result type (might be due to invalid IL or missing references) //IL_0299: Expected O, but got Unknown //IL_0299: Unknown result type (might be due to invalid IL or missing references) //IL_02a3: Expected O, but got Unknown //IL_02c8: Unknown result type (might be due to invalid IL or missing references) //IL_02cd: Unknown result type (might be due to invalid IL or missing references) //IL_02d5: Unknown result type (might be due to invalid IL or missing references) //IL_02e3: Expected O, but got Unknown //IL_02e3: Unknown result type (might be due to invalid IL or missing references) //IL_02ed: Expected O, but got Unknown //IL_0312: Unknown result type (might be due to invalid IL or missing references) //IL_0317: Unknown result type (might be due to invalid IL or missing references) //IL_031f: Unknown result type (might be due to invalid IL or missing references) //IL_032d: Expected O, but got Unknown //IL_032d: Unknown result type (might be due to invalid IL or missing references) //IL_0337: Expected O, but got Unknown //IL_035c: Unknown result type (might be due to invalid IL or missing references) //IL_0361: Unknown result type (might be due to invalid IL or missing references) //IL_0369: Unknown result type (might be due to invalid IL or missing references) //IL_0377: Expected O, but got Unknown //IL_0377: Unknown result type (might be due to invalid IL or missing references) //IL_0381: Expected O, but got Unknown //IL_03a6: Unknown result type (might be due to invalid IL or missing references) //IL_03ab: Unknown result type (might be due to invalid IL or missing references) //IL_03b3: Unknown result type (might be due to invalid IL or missing references) //IL_03c1: Expected O, but got Unknown //IL_03c1: Unknown result type (might be due to invalid IL or missing references) //IL_03cb: Expected O, but got Unknown //IL_03f0: Unknown result type (might be due to invalid IL or missing references) //IL_03f5: Unknown result type (might be due to invalid IL or missing references) //IL_03fe: Expected O, but got Unknown //IL_03fe: Unknown result type (might be due to invalid IL or missing references) //IL_0408: Expected O, but got Unknown try { ((BaseUnityPlugin)this).Config.SaveOnConfigSet = true; ModEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("RtDAdditions Enable", "Enable", true, new ConfigDescription("Enable or Disable the entire mod.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 5 } })); EditOreEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("Ore Adjustments", "Enable", true, new ConfigDescription("Changes the tool tiers of Horems metals from Biome Flora. Requires Biome Flora.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 10 } })); EditCrawlersEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("Crawlers Adjustments", "Enable", true, new ConfigDescription("Adds RtDSouls drops to Horems Crawlers from CreepyCrawlers. Requires CreepyCrawlers.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 15 } })); EditDoDNPCEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("DoDNPC Adjustments", "Enable", true, new ConfigDescription("Adds RtDSouls drops to Horems NPC's from DoDNPC. Requires DoDNPC.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 20 } })); EditGooglyEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("Googly Adjustments", "Enable", true, new ConfigDescription("Adds RtDSouls drops to Horems Googly Eyes from Googly. Requires Googly's.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 25 } })); EditFeFiFoFumEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("FeFiFoFum Adjustments", "Enable", true, new ConfigDescription("Adds RtDSouls drops to Horems Giants from FeFiFoFum. Requires FeFiFoFum.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 30 } })); EditDoDMushroomsEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("DoDMushroom Adjustments", "Enable", true, new ConfigDescription("Adds RtDSouls drops to Horems Giants from DoDMushrooms. Requires MushroomMonsters.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 35 } })); EditSkitteringMadnessEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("SkitteringMadness Adjustments", "Enable", true, new ConfigDescription("Adds RtDSouls drops to Horems Scorpions from SkitteringMadness. Requires SkitteringMadness.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 40 } })); EditRtDSoulsEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("RtDSouls Adjustments", "Enable", true, new ConfigDescription("Adds random Status Effects to RtDSouls Monsters. Requires Horems Assembly.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 45 } })); RtDMonstersEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("RtDMonsters", "Enable", true, new ConfigDescription("RtDMonsters will have a chance to drop a friendly or angry spirit unique to AshLands or DeepNorth. Drops essense & Tokens. Requires RtDMonsters mod.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 50 } })); RtDOceanEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("RtDOcean", "Enable", true, new ConfigDescription("RtDOcean will have a chance to drop a friendly or angry spirit unique to the Ocean. This only adds Souls to the surface dwellers. Drops essense. Requires RtDOcean mod.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 55 } })); FantasyCreaturesEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("FantasyCreatures", "Enable", true, new ConfigDescription("FantasyCreatures will have a chance to drop a friendly or angry spirits. Drops essense. Requires Horems Fantasy Creatures mod", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 60 } })); DoDMonstersEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("DoDMonsters", "Enable", true, new ConfigDescription("DoDMonsters will have a chance to drop a friendly or angry spirits. Drops essense. Requires Horems DoDMonsters mod. This specific option is primarly balanced for DoDExperience.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 64 } })); LoggingEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("Logging", "Enable", true, new ConfigDescription("Enables logging.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true } })); SynchronizationManager.OnConfigurationSynchronized += delegate(object obj, ConfigurationSynchronizationEventArgs attr) { if (attr.InitialSynchronization) { Logger.LogMessage((object)"Initial Config sync event received for RtDAdditions"); } else { Logger.LogMessage((object)"Config sync event received for RtDAdditions"); } }; } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}"); } } private void EditOre() { try { GameObject prefab = PrefabManager.Instance.GetPrefab("MineRock_Zinc_Small_BF"); if ((Object)(object)prefab != (Object)null) { MineRock component = prefab.GetComponent<MineRock>(); if ((Object)(object)component != (Object)null) { component.m_minToolTier = 0; } } GameObject prefab2 = PrefabManager.Instance.GetPrefab("MineRock_Gold_BF"); if ((Object)(object)prefab2 != (Object)null) { MineRock component2 = prefab2.GetComponent<MineRock>(); if ((Object)(object)component2 != (Object)null) { component2.m_minToolTier = 1; } } GameObject prefab3 = PrefabManager.Instance.GetPrefab("MineRock_MoonIron_BF"); if ((Object)(object)prefab3 != (Object)null) { MineRock component3 = prefab3.GetComponent<MineRock>(); if ((Object)(object)component3 != (Object)null) { component3.m_minToolTier = 2; } } GameObject prefab4 = PrefabManager.Instance.GetPrefab("MineRock_Orichalcum_BF"); if ((Object)(object)prefab4 != (Object)null) { MineRock component4 = prefab4.GetComponent<MineRock>(); if ((Object)(object)component4 != (Object)null) { component4.m_minToolTier = 3; } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while editing ores: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= EditOre; } } 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 EditGoogly() { //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 try { GameObject prefab = PrefabManager.Instance.GetPrefab("FlyingEye_GE"); 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("FlyingEyePurple_GE"); 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("FlyingEyeGreen_GE"); 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("FlyingEyeBlue_GE"); 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,