Decompiled source of RtDSouls v0.2.9
RtDSouls.dll
Decompiled 2 weeks ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Generic; 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.Entities; 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("RtDSouls")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RtDSouls")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("9af01bfd-a39f-4bc9-a8b0-ac87059a9355")] [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 rtDSouls { [BepInPlugin("Soloredis.RtDSouls", "RtDSouls", "0.2.9")] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] public class RtDSouls : BaseUnityPlugin { public const string PluginGUID = "Soloredis.RtDSouls"; public const string PluginName = "RtDSouls"; public const string PluginVersion = "0.2.9"; public static bool isModded = true; public AssetBundle MyAssets; internal static ManualLogSource Log; public ConfigEntry<bool> RtDMonstersEnable; public ConfigEntry<bool> RtDOceanEnable; public ConfigEntry<bool> RtDHorrorsEnable; public ConfigEntry<bool> RtDMonstrumEnable; public ConfigEntry<bool> LoggingEnable; private CustomLocalization Localization; public string[] PrefabList = new string[32] { "SAshLandsAttackA_RtD", "SAshLandsAttackF_RtD", "SBlackForestAttackA_RtD", "SBlackForestAttackF_RtD", "SDeepNorthAttackA_RtD", "SDeepNorthAttackF_RtD", "SMeadowsAttackA_RtD", "SMeadowsAttackF_RtD", "SMistlandsAttackA_RtD", "SMIstlandsAttackF_RtD", "SMountainAttackA_RtD", "SMountainAttackF_RtD", "SPlainsAttackA_RtD", "SPlainsAttackF_RtD", "SSwampAttackA_RtD", "SSwampAttackF_RtD", "vfx_bluespirit_death", "vfx_greenspirit_death", "vfx_pinkspirit_death", "vfx_redspirit_death", "vfx_whitespirit_death", "vfx_yellowspirit_death", "SAshLandsAttackF_RtD1", "SBlackForestAttackF_RtD1", "SDeepNorthAttackF_RtD1", "SMeadowsAttackF_RtD1", "SMIstlandsAttackF_RtD1", "SMountainAttackF_RtD1", "SPlainsAttackF_RtD1", "SSwampAttackF_RtD1", "vfx_spiritmonster_death2_RtD", "vfx_spirittmonster_hit2_RtD" }; public string[] SFXList = new string[4] { "sfx_angryspirit_death", "sfx_friendlyspirit_death", "sfx_spirit_hit", "sfx_angryspirit_death1_RtD" }; public string[] UniversalList = new string[34] { "AshLandsDarkS_RtD", "AshLandsFairyS_RtD", "BlackForestNatureS_RtD", "BlackForestShockG_RtD", "DeepNorthArcaneS_RtD", "DeepNorthFairyS_RtD", "MeadowsAirS_RtD", "MeadowsNatureS_RtD", "MistlandsFairyS_RtD", "MistlandsUniverseS_RtD", "MountainHolyS_RtD", "MountainIceS_RtD", "OceanHolyS_RtD", "OceanWaterS_RtD", "PlainsVoidS_RtD", "PlainsHolyS_RtD", "SwampDarkS_RtD", "SwampNatureS_RtD", "AshLandsWhispA_RtD", "AshLandsWhispF_RtD", "BlackForestWhispA_RtD", "BlackForestWhispF_RtD", "DeepNorthWhispA_RtD", "DeepNorthWhispF_RtD", "MeadowsWhispA_RtD", "MeadowsWhispF_RtD", "MistlandsWhispA_RtD", "MistlandsWhispF_RtD", "MountainWhispA_RtD", "MountainWhispF_RtD", "PlainsWhispA_RtD", "PlainsWhispF_RtD", "SwampWhispA_RtD", "SwampWhispF_RtD" }; private void Awake() { CreateConfigs(); Log = ((BaseUnityPlugin)this).Logger; LoadBundle(); AddUniversalSpirits(); AddlocalizationsEnglish(); AddPrefabs(); AddSFX(); PrefabManager.OnPrefabsRegistered += AddDropsCheck; PrefabManager.OnPrefabsRegistered += SpiritDrops; PrefabManager.OnPrefabsRegistered += VanillaMonstersDrops; PrefabManager.OnPrefabsRegistered += FixSFX; PrefabManager.OnPrefabsRegistered += RtDMonsters; PrefabManager.OnPrefabsRegistered += RtDHorrors; PrefabManager.OnPrefabsRegistered += RtDOcean; PrefabManager.OnPrefabsRegistered += RtDMonsters; PrefabManager.OnPrefabsRegistered += RtDMonstrum; if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogWarning((object)"Logging is enabled in the config."); } } private void LoadBundle() { try { MyAssets = AssetUtils.LoadAssetBundleFromResources("rtdsouls", Assembly.GetExecutingAssembly()); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}"); } } private void AddlocalizationsEnglish() { Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization = Localization; string text = "English"; localization.AddTranslation(ref text, new Dictionary<string, string> { { "AngrySpirit_RtD", "Wrathful Spirit" }, { "FriendlySpirit_RtD", "Helpful Spirit" } }); } 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_003d: Expected O, but got Unknown //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Expected O, but got Unknown try { ((BaseUnityPlugin)this).Config.SaveOnConfigSet = true; LoggingEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("RtDSouls Logging", "Enable", false, new ConfigDescription("Enables logging. Disabled by default", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = false } })); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}"); } } private void AddPrefabs() { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Expected O, but got Unknown try { string[] prefabList = PrefabList; foreach (string text in prefabList) { GameObject val = MyAssets.LoadAsset<GameObject>(text); if ((Object)(object)val != (Object)null) { CustomPrefab val2 = new CustomPrefab(val, true); PrefabManager.Instance.AddPrefab(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}"); } } private void AddUniversalSpirits() { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Expected O, but got Unknown try { string[] universalList = UniversalList; foreach (string text in universalList) { GameObject val = MyAssets.LoadAsset<GameObject>(text); if ((Object)(object)val != (Object)null) { CustomCreature val2 = new CustomCreature(val, true); CreatureManager.Instance.AddCreature(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}"); } } private void VanillaMonstersDrops() { //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 //IL_0e64: Unknown result type (might be due to invalid IL or missing references) //IL_0e69: Unknown result type (might be due to invalid IL or missing references) //IL_0e71: Unknown result type (might be due to invalid IL or missing references) //IL_0e7c: Unknown result type (might be due to invalid IL or missing references) //IL_0e83: Unknown result type (might be due to invalid IL or missing references) //IL_0e8a: Unknown result type (might be due to invalid IL or missing references) //IL_0e91: Unknown result type (might be due to invalid IL or missing references) //IL_0e9d: Expected O, but got Unknown //IL_0eaa: Unknown result type (might be due to invalid IL or missing references) //IL_0eaf: Unknown result type (might be due to invalid IL or missing references) //IL_0eb7: Unknown result type (might be due to invalid IL or missing references) //IL_0ec2: Unknown result type (might be due to invalid IL or missing references) //IL_0ec9: Unknown result type (might be due to invalid IL or missing references) //IL_0ed0: Unknown result type (might be due to invalid IL or missing references) //IL_0ed7: Unknown result type (might be due to invalid IL or missing references) //IL_0ee3: Expected O, but got Unknown //IL_0f23: Unknown result type (might be due to invalid IL or missing references) //IL_0f28: Unknown result type (might be due to invalid IL or missing references) //IL_0f30: Unknown result type (might be due to invalid IL or missing references) //IL_0f3b: Unknown result type (might be due to invalid IL or missing references) //IL_0f42: Unknown result type (might be due to invalid IL or missing references) //IL_0f49: Unknown result type (might be due to invalid IL or missing references) //IL_0f50: Unknown result type (might be due to invalid IL or missing references) //IL_0f5c: Expected O, but got Unknown //IL_0f69: Unknown result type (might be due to invalid IL or missing references) //IL_0f6e: Unknown result type (might be due to invalid IL or missing references) //IL_0f76: Unknown result type (might be due to invalid IL or missing references) //IL_0f81: Unknown result type (might be due to invalid IL or missing references) //IL_0f88: Unknown result type (might be due to invalid IL or missing references) //IL_0f8f: Unknown result type (might be due to invalid IL or missing references) //IL_0f96: Unknown result type (might be due to invalid IL or missing references) //IL_0fa2: Expected O, but got Unknown //IL_0fe2: Unknown result type (might be due to invalid IL or missing references) //IL_0fe7: Unknown result type (might be due to invalid IL or missing references) //IL_0fef: Unknown result type (might be due to invalid IL or missing references) //IL_0ffa: Unknown result type (might be due to invalid IL or missing references) //IL_1001: Unknown result type (might be due to invalid IL or missing references) //IL_1008: Unknown result type (might be due to invalid IL or missing references) //IL_100f: Unknown result type (might be due to invalid IL or missing references) //IL_101b: Expected O, but got Unknown //IL_1028: Unknown result type (might be due to invalid IL or missing references) //IL_102d: Unknown result type (might be due to invalid IL or missing references) //IL_1035: Unknown result type (might be due to invalid IL or missing references) //IL_1040: Unknown result type (might be due to invalid IL or missing references) //IL_1047: Unknown result type (might be due to invalid IL or missing references) //IL_104e: Unknown result type (might be due to invalid IL or missing references) //IL_1055: Unknown result type (might be due to invalid IL or missing references) //IL_1061: Expected O, but got Unknown //IL_10a1: Unknown result type (might be due to invalid IL or missing references) //IL_10a6: Unknown result type (might be due to invalid IL or missing references) //IL_10ae: Unknown result type (might be due to invalid IL or missing references) //IL_10b9: Unknown result type (might be due to invalid IL or missing references) //IL_10c0: Unknown result type (might be due to invalid IL or missing references) //IL_10c7: Unknown result type (might be due to invalid IL or missing references) //IL_10ce: Unknown result type (might be due to invalid IL or missing references) //IL_10da: Expected O, but got Unknown //IL_10e7: Unknown result type (might be due to invalid IL or missing references) //IL_10ec: Unknown result type (might be due to invalid IL or missing references) //IL_10f4: Unknown result type (might be due to invalid IL or missing references) //IL_10ff: Unknown result type (might be due to invalid IL or missing references) //IL_1106: Unknown result type (might be due to invalid IL or missing references) //IL_110d: Unknown result type (might be due to invalid IL or missing references) //IL_1114: Unknown result type (might be due to invalid IL or missing references) //IL_1120: Expected O, but got Unknown //IL_1160: Unknown result type (might be due to invalid IL or missing references) //IL_1165: Unknown result type (might be due to invalid IL or missing references) //IL_116d: Unknown result type (might be due to invalid IL or missing references) //IL_1178: Unknown result type (might be due to invalid IL or missing references) //IL_117f: Unknown result type (might be due to invalid IL or missing references) //IL_1186: Unknown result type (might be due to invalid IL or missing references) //IL_118d: Unknown result type (might be due to invalid IL or missing references) //IL_1199: Expected O, but got Unknown //IL_11a6: Unknown result type (might be due to invalid IL or missing references) //IL_11ab: Unknown result type (might be due to invalid IL or missing references) //IL_11b3: Unknown result type (might be due to invalid IL or missing references) //IL_11be: Unknown result type (might be due to invalid IL or missing references) //IL_11c5: Unknown result type (might be due to invalid IL or missing references) //IL_11cc: Unknown result type (might be due to invalid IL or missing references) //IL_11d3: Unknown result type (might be due to invalid IL or missing references) //IL_11df: Expected O, but got Unknown //IL_121f: Unknown result type (might be due to invalid IL or missing references) //IL_1224: Unknown result type (might be due to invalid IL or missing references) //IL_122c: Unknown result type (might be due to invalid IL or missing references) //IL_1237: Unknown result type (might be due to invalid IL or missing references) //IL_123e: Unknown result type (might be due to invalid IL or missing references) //IL_1245: Unknown result type (might be due to invalid IL or missing references) //IL_124c: Unknown result type (might be due to invalid IL or missing references) //IL_1258: Expected O, but got Unknown //IL_1265: Unknown result type (might be due to invalid IL or missing references) //IL_126a: Unknown result type (might be due to invalid IL or missing references) //IL_1272: Unknown result type (might be due to invalid IL or missing references) //IL_127d: Unknown result type (might be due to invalid IL or missing references) //IL_1284: Unknown result type (might be due to invalid IL or missing references) //IL_128b: Unknown result type (might be due to invalid IL or missing references) //IL_1292: Unknown result type (might be due to invalid IL or missing references) //IL_129e: Expected O, but got Unknown //IL_12de: Unknown result type (might be due to invalid IL or missing references) //IL_12e3: Unknown result type (might be due to invalid IL or missing references) //IL_12eb: Unknown result type (might be due to invalid IL or missing references) //IL_12f6: Unknown result type (might be due to invalid IL or missing references) //IL_12fd: Unknown result type (might be due to invalid IL or missing references) //IL_1304: Unknown result type (might be due to invalid IL or missing references) //IL_130b: Unknown result type (might be due to invalid IL or missing references) //IL_1317: Expected O, but got Unknown //IL_1324: Unknown result type (might be due to invalid IL or missing references) //IL_1329: Unknown result type (might be due to invalid IL or missing references) //IL_1331: Unknown result type (might be due to invalid IL or missing references) //IL_133c: Unknown result type (might be due to invalid IL or missing references) //IL_1343: Unknown result type (might be due to invalid IL or missing references) //IL_134a: Unknown result type (might be due to invalid IL or missing references) //IL_1351: Unknown result type (might be due to invalid IL or missing references) //IL_135d: Expected O, but got Unknown //IL_139d: Unknown result type (might be due to invalid IL or missing references) //IL_13a2: Unknown result type (might be due to invalid IL or missing references) //IL_13aa: Unknown result type (might be due to invalid IL or missing references) //IL_13b5: Unknown result type (might be due to invalid IL or missing references) //IL_13bc: Unknown result type (might be due to invalid IL or missing references) //IL_13c3: Unknown result type (might be due to invalid IL or missing references) //IL_13ca: Unknown result type (might be due to invalid IL or missing references) //IL_13d6: Expected O, but got Unknown //IL_13e3: Unknown result type (might be due to invalid IL or missing references) //IL_13e8: Unknown result type (might be due to invalid IL or missing references) //IL_13f0: Unknown result type (might be due to invalid IL or missing references) //IL_13fb: Unknown result type (might be due to invalid IL or missing references) //IL_1402: Unknown result type (might be due to invalid IL or missing references) //IL_1409: Unknown result type (might be due to invalid IL or missing references) //IL_1410: Unknown result type (might be due to invalid IL or missing references) //IL_141c: Expected O, but got Unknown //IL_145c: Unknown result type (might be due to invalid IL or missing references) //IL_1461: Unknown result type (might be due to invalid IL or missing references) //IL_1469: Unknown result type (might be due to invalid IL or missing references) //IL_1474: Unknown result type (might be due to invalid IL or missing references) //IL_147b: Unknown result type (might be due to invalid IL or missing references) //IL_1482: Unknown result type (might be due to invalid IL or missing references) //IL_1489: Unknown result type (might be due to invalid IL or missing references) //IL_1495: Expected O, but got Unknown //IL_14a2: Unknown result type (might be due to invalid IL or missing references) //IL_14a7: Unknown result type (might be due to invalid IL or missing references) //IL_14af: Unknown result type (might be due to invalid IL or missing references) //IL_14ba: Unknown result type (might be due to invalid IL or missing references) //IL_14c1: Unknown result type (might be due to invalid IL or missing references) //IL_14c8: Unknown result type (might be due to invalid IL or missing references) //IL_14cf: Unknown result type (might be due to invalid IL or missing references) //IL_14db: Expected O, but got Unknown //IL_151b: Unknown result type (might be due to invalid IL or missing references) //IL_1520: Unknown result type (might be due to invalid IL or missing references) //IL_1528: Unknown result type (might be due to invalid IL or missing references) //IL_1533: Unknown result type (might be due to invalid IL or missing references) //IL_153a: Unknown result type (might be due to invalid IL or missing references) //IL_1541: Unknown result type (might be due to invalid IL or missing references) //IL_1548: Unknown result type (might be due to invalid IL or missing references) //IL_1554: Expected O, but got Unknown //IL_1561: Unknown result type (might be due to invalid IL or missing references) //IL_1566: Unknown result type (might be due to invalid IL or missing references) //IL_156e: Unknown result type (might be due to invalid IL or missing references) //IL_1579: Unknown result type (might be due to invalid IL or missing references) //IL_1580: Unknown result type (might be due to invalid IL or missing references) //IL_1587: Unknown result type (might be due to invalid IL or missing references) //IL_158e: Unknown result type (might be due to invalid IL or missing references) //IL_159a: Expected O, but got Unknown //IL_15da: Unknown result type (might be due to invalid IL or missing references) //IL_15df: Unknown result type (might be due to invalid IL or missing references) //IL_15e7: Unknown result type (might be due to invalid IL or missing references) //IL_15f2: Unknown result type (might be due to invalid IL or missing references) //IL_15f9: Unknown result type (might be due to invalid IL or missing references) //IL_1600: Unknown result type (might be due to invalid IL or missing references) //IL_1607: Unknown result type (might be due to invalid IL or missing references) //IL_1613: Expected O, but got Unknown //IL_1620: Unknown result type (might be due to invalid IL or missing references) //IL_1625: Unknown result type (might be due to invalid IL or missing references) //IL_162d: Unknown result type (might be due to invalid IL or missing references) //IL_1638: Unknown result type (might be due to invalid IL or missing references) //IL_163f: Unknown result type (might be due to invalid IL or missing references) //IL_1646: Unknown result type (might be due to invalid IL or missing references) //IL_164d: Unknown result type (might be due to invalid IL or missing references) //IL_1659: Expected O, but got Unknown //IL_1699: Unknown result type (might be due to invalid IL or missing references) //IL_169e: Unknown result type (might be due to invalid IL or missing references) //IL_16a6: Unknown result type (might be due to invalid IL or missing references) //IL_16b1: Unknown result type (might be due to invalid IL or missing references) //IL_16b8: Unknown result type (might be due to invalid IL or missing references) //IL_16bf: Unknown result type (might be due to invalid IL or missing references) //IL_16c6: Unknown result type (might be due to invalid IL or missing references) //IL_16d2: Expected O, but got Unknown //IL_16df: Unknown result type (might be due to invalid IL or missing references) //IL_16e4: Unknown result type (might be due to invalid IL or missing references) //IL_16ec: Unknown result type (might be due to invalid IL or missing references) //IL_16f7: Unknown result type (might be due to invalid IL or missing references) //IL_16fe: Unknown result type (might be due to invalid IL or missing references) //IL_1705: Unknown result type (might be due to invalid IL or missing references) //IL_170c: Unknown result type (might be due to invalid IL or missing references) //IL_1718: Expected O, but got Unknown //IL_1758: Unknown result type (might be due to invalid IL or missing references) //IL_175d: Unknown result type (might be due to invalid IL or missing references) //IL_1765: Unknown result type (might be due to invalid IL or missing references) //IL_1770: Unknown result type (might be due to invalid IL or missing references) //IL_1777: Unknown result type (might be due to invalid IL or missing references) //IL_177e: Unknown result type (might be due to invalid IL or missing references) //IL_1785: Unknown result type (might be due to invalid IL or missing references) //IL_1791: Expected O, but got Unknown //IL_179e: Unknown result type (might be due to invalid IL or missing references) //IL_17a3: Unknown result type (might be due to invalid IL or missing references) //IL_17ab: Unknown result type (might be due to invalid IL or missing references) //IL_17b6: Unknown result type (might be due to invalid IL or missing references) //IL_17bd: Unknown result type (might be due to invalid IL or missing references) //IL_17c4: Unknown result type (might be due to invalid IL or missing references) //IL_17cb: Unknown result type (might be due to invalid IL or missing references) //IL_17d7: Expected O, but got Unknown //IL_1817: Unknown result type (might be due to invalid IL or missing references) //IL_181c: Unknown result type (might be due to invalid IL or missing references) //IL_1824: Unknown result type (might be due to invalid IL or missing references) //IL_182f: Unknown result type (might be due to invalid IL or missing references) //IL_1836: Unknown result type (might be due to invalid IL or missing references) //IL_183d: Unknown result type (might be due to invalid IL or missing references) //IL_1844: Unknown result type (might be due to invalid IL or missing references) //IL_1850: Expected O, but got Unknown //IL_185d: Unknown result type (might be due to invalid IL or missing references) //IL_1862: Unknown result type (might be due to invalid IL or missing references) //IL_186a: Unknown result type (might be due to invalid IL or missing references) //IL_1875: Unknown result type (might be due to invalid IL or missing references) //IL_187c: Unknown result type (might be due to invalid IL or missing references) //IL_1883: Unknown result type (might be due to invalid IL or missing references) //IL_188a: Unknown result type (might be due to invalid IL or missing references) //IL_1896: Expected O, but got Unknown //IL_18d6: Unknown result type (might be due to invalid IL or missing references) //IL_18db: Unknown result type (might be due to invalid IL or missing references) //IL_18e3: Unknown result type (might be due to invalid IL or missing references) //IL_18ee: Unknown result type (might be due to invalid IL or missing references) //IL_18f5: Unknown result type (might be due to invalid IL or missing references) //IL_18fc: Unknown result type (might be due to invalid IL or missing references) //IL_1903: Unknown result type (might be due to invalid IL or missing references) //IL_190f: Expected O, but got Unknown //IL_191c: Unknown result type (might be due to invalid IL or missing references) //IL_1921: Unknown result type (might be due to invalid IL or missing references) //IL_1929: Unknown result type (might be due to invalid IL or missing references) //IL_1934: Unknown result type (might be due to invalid IL or missing references) //IL_193b: Unknown result type (might be due to invalid IL or missing references) //IL_1942: Unknown result type (might be due to invalid IL or missing references) //IL_1949: Unknown result type (might be due to invalid IL or missing references) //IL_1955: Expected O, but got Unknown //IL_1995: Unknown result type (might be due to invalid IL or missing references) //IL_199a: Unknown result type (might be due to invalid IL or missing references) //IL_19a2: Unknown result type (might be due to invalid IL or missing references) //IL_19ad: Unknown result type (might be due to invalid IL or missing references) //IL_19b4: Unknown result type (might be due to invalid IL or missing references) //IL_19bb: Unknown result type (might be due to invalid IL or missing references) //IL_19c2: Unknown result type (might be due to invalid IL or missing references) //IL_19ce: Expected O, but got Unknown //IL_19db: Unknown result type (might be due to invalid IL or missing references) //IL_19e0: Unknown result type (might be due to invalid IL or missing references) //IL_19e8: Unknown result type (might be due to invalid IL or missing references) //IL_19f3: Unknown result type (might be due to invalid IL or missing references) //IL_19fa: Unknown result type (might be due to invalid IL or missing references) //IL_1a01: Unknown result type (might be due to invalid IL or missing references) //IL_1a08: Unknown result type (might be due to invalid IL or missing references) //IL_1a14: Expected O, but got Unknown //IL_1a54: Unknown result type (might be due to invalid IL or missing references) //IL_1a59: Unknown result type (might be due to invalid IL or missing references) //IL_1a61: Unknown result type (might be due to invalid IL or missing references) //IL_1a6c: Unknown result type (might be due to invalid IL or missing references) //IL_1a73: Unknown result type (might be due to invalid IL or missing references) //IL_1a7a: Unknown result type (might be due to invalid IL or missing references) //IL_1a81: Unknown result type (might be due to invalid IL or missing references) //IL_1a8d: Expected O, but got Unknown //IL_1a9a: Unknown result type (might be due to invalid IL or missing references) //IL_1a9f: Unknown result type (might be due to invalid IL or missing references) //IL_1aa7: Unknown result type (might be due to invalid IL or missing references) //IL_1ab2: Unknown result type (might be due to invalid IL or missing references) //IL_1ab9: Unknown result type (might be due to invalid IL or missing references) //IL_1ac0: Unknown result type (might be due to invalid IL or missing references) //IL_1ac7: Unknown result type (might be due to invalid IL or missing references) //IL_1ad3: Expected O, but got Unknown try { GameObject prefab = PrefabManager.Instance.GetPrefab("Boar"); 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("Neck"); 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("Greyling"); GameObject prefab8 = PrefabManager.Instance.GetPrefab("MeadowsAirS_RtD"); GameObject prefab9 = PrefabManager.Instance.GetPrefab("MeadowsNatureS_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("Greydwarf"); GameObject prefab11 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); GameObject prefab12 = PrefabManager.Instance.GetPrefab("BlackForestShockG_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("Greydwarf_Elite"); GameObject prefab14 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); GameObject prefab15 = PrefabManager.Instance.GetPrefab("BlackForestShockG_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("Greydwarf_Shaman"); GameObject prefab17 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); GameObject prefab18 = PrefabManager.Instance.GetPrefab("BlackForestShockG_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("Troll"); GameObject prefab20 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); GameObject prefab21 = PrefabManager.Instance.GetPrefab("BlackForestShockG_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("Skeleton"); GameObject prefab23 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); GameObject prefab24 = PrefabManager.Instance.GetPrefab("BlackForestShockG_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("Blob"); 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("BlobElite"); GameObject prefab29 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab30 = PrefabManager.Instance.GetPrefab("SwampNatureS_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("Draugr"); GameObject prefab32 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab33 = PrefabManager.Instance.GetPrefab("SwampNatureS_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("Draugr_Elite"); GameObject prefab35 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab36 = PrefabManager.Instance.GetPrefab("SwampNatureS_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("Leech"); GameObject prefab38 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab39 = PrefabManager.Instance.GetPrefab("SwampNatureS_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("Surtling"); GameObject prefab41 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab42 = PrefabManager.Instance.GetPrefab("SwampNatureS_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("Wraith"); GameObject prefab44 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab45 = PrefabManager.Instance.GetPrefab("SwampNatureS_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("Abomination"); GameObject prefab47 = PrefabManager.Instance.GetPrefab("SwampDarkS_RtD"); GameObject prefab48 = PrefabManager.Instance.GetPrefab("SwampNatureS_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("Wolf"); GameObject prefab50 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab51 = PrefabManager.Instance.GetPrefab("OceanHolyS_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("Hatchling"); GameObject prefab53 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab54 = PrefabManager.Instance.GetPrefab("OceanHolyS_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("StoneGolem"); GameObject prefab56 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab57 = PrefabManager.Instance.GetPrefab("OceanHolyS_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 }); GameObject prefab58 = PrefabManager.Instance.GetPrefab("Fenring"); GameObject prefab59 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab60 = PrefabManager.Instance.GetPrefab("OceanHolyS_RtD"); prefab58.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab59, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab58.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab60, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab61 = PrefabManager.Instance.GetPrefab("Fenring_Cultist"); GameObject prefab62 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab63 = PrefabManager.Instance.GetPrefab("OceanHolyS_RtD"); prefab61.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab62, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab61.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab63, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab64 = PrefabManager.Instance.GetPrefab("Ulv"); GameObject prefab65 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab66 = PrefabManager.Instance.GetPrefab("OceanHolyS_RtD"); prefab64.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab65, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab64.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab66, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab67 = PrefabManager.Instance.GetPrefab("Bat"); GameObject prefab68 = PrefabManager.Instance.GetPrefab("MountainIceS_RtD"); GameObject prefab69 = PrefabManager.Instance.GetPrefab("OceanHolyS_RtD"); prefab67.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab68, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab67.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab69, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab70 = PrefabManager.Instance.GetPrefab("Goblin"); GameObject prefab71 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab72 = PrefabManager.Instance.GetPrefab("PlainsHolyS_RtD"); prefab70.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab71, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab70.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab72, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab73 = PrefabManager.Instance.GetPrefab("GoblinBrute"); GameObject prefab74 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab75 = PrefabManager.Instance.GetPrefab("PlainsHolyS_RtD"); prefab73.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab74, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab73.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab75, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab76 = PrefabManager.Instance.GetPrefab("GoblinShaman"); GameObject prefab77 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab78 = PrefabManager.Instance.GetPrefab("PlainsHolyS_RtD"); prefab76.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab77, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab76.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab78, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab79 = PrefabManager.Instance.GetPrefab("Lox"); GameObject prefab80 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab81 = PrefabManager.Instance.GetPrefab("PlainsHolyS_RtD"); prefab79.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab80, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab79.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab81, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab82 = PrefabManager.Instance.GetPrefab("Deathsquito"); GameObject prefab83 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab84 = PrefabManager.Instance.GetPrefab("PlainsHolyS_RtD"); prefab82.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab83, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab82.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab84, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab85 = PrefabManager.Instance.GetPrefab("BlobTar"); GameObject prefab86 = PrefabManager.Instance.GetPrefab("PlainsVoidS_RtD"); GameObject prefab87 = PrefabManager.Instance.GetPrefab("PlainsHolyS_RtD"); prefab85.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab86, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab85.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab87, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab88 = PrefabManager.Instance.GetPrefab("Dverger"); GameObject prefab89 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab90 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab88.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab89, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab88.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab90, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab91 = PrefabManager.Instance.GetPrefab("Hare"); GameObject prefab92 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab93 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab91.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab92, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab91.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab93, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab94 = PrefabManager.Instance.GetPrefab("Tick"); GameObject prefab95 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab96 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab94.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab95, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab94.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab96, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab97 = PrefabManager.Instance.GetPrefab("Gjall"); GameObject prefab98 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab99 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab97.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab98, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab97.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab99, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab100 = PrefabManager.Instance.GetPrefab("SeekerBrute"); GameObject prefab101 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab102 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab100.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab101, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab100.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab102, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab103 = PrefabManager.Instance.GetPrefab("SeekerBrood"); GameObject prefab104 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab105 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab103.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab104, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab103.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab105, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab106 = PrefabManager.Instance.GetPrefab("Seeker"); GameObject prefab107 = PrefabManager.Instance.GetPrefab("MistlandsUniverseS_RtD"); GameObject prefab108 = PrefabManager.Instance.GetPrefab("MistlandsFairyS_RtD"); prefab106.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab107, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab106.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab108, 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 -= VanillaMonstersDrops; } } private void RtDMonstrum() { //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: 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_0074: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Expected O, but got Unknown //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Unknown result type (might be due to invalid IL or missing references) //IL_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00c8: 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_00db: Expected O, but got Unknown //IL_014c: Unknown result type (might be due to invalid IL or missing references) //IL_0151: Unknown result type (might be due to invalid IL or missing references) //IL_0159: Unknown result type (might be due to invalid IL or missing references) //IL_0164: Unknown result type (might be due to invalid IL or missing references) //IL_016b: Unknown result type (might be due to invalid IL or missing references) //IL_0172: Unknown result type (might be due to invalid IL or missing references) //IL_0179: Unknown result type (might be due to invalid IL or missing references) //IL_0185: Expected O, but got Unknown //IL_0192: Unknown result type (might be due to invalid IL or missing references) //IL_0197: Unknown result type (might be due to invalid IL or missing references) //IL_019f: Unknown result type (might be due to invalid IL or missing references) //IL_01aa: Unknown result type (might be due to invalid IL or missing references) //IL_01b1: Unknown result type (might be due to invalid IL or missing references) //IL_01b8: Unknown result type (might be due to invalid IL or missing references) //IL_01bf: Unknown result type (might be due to invalid IL or missing references) //IL_01cb: Expected O, but got Unknown //IL_023c: 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_0249: Unknown result type (might be due to invalid IL or missing references) //IL_0254: Unknown result type (might be due to invalid IL or missing references) //IL_025b: Unknown result type (might be due to invalid IL or missing references) //IL_0262: Unknown result type (might be due to invalid IL or missing references) //IL_0269: Unknown result type (might be due to invalid IL or missing references) //IL_0275: Expected O, but got Unknown //IL_0282: Unknown result type (might be due to invalid IL or missing references) //IL_0287: Unknown result type (might be due to invalid IL or missing references) //IL_028f: 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_02a8: Unknown result type (might be due to invalid IL or missing references) //IL_02af: Unknown result type (might be due to invalid IL or missing references) //IL_02bb: Expected O, but got Unknown //IL_032c: Unknown result type (might be due to invalid IL or missing references) //IL_0331: Unknown result type (might be due to invalid IL or missing references) //IL_0339: Unknown result type (might be due to invalid IL or missing references) //IL_0344: 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_0365: Expected O, but got Unknown //IL_0372: Unknown result type (might be due to invalid IL or missing references) //IL_0377: Unknown result type (might be due to invalid IL or missing references) //IL_037f: Unknown result type (might be due to invalid IL or missing references) //IL_038a: 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_03ab: Expected O, but got Unknown //IL_041e: Unknown result type (might be due to invalid IL or missing references) //IL_0423: Unknown result type (might be due to invalid IL or missing references) //IL_042b: Unknown result type (might be due to invalid IL or missing references) //IL_0436: 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_0444: Unknown result type (might be due to invalid IL or missing references) //IL_044b: Unknown result type (might be due to invalid IL or missing references) //IL_0457: Expected O, but got Unknown //IL_0464: Unknown result type (might be due to invalid IL or missing references) //IL_0469: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Unknown result type (might be due to invalid IL or missing references) //IL_047c: Unknown result type (might be due to invalid IL or missing references) //IL_0483: Unknown result type (might be due to invalid IL or missing references) //IL_048a: Unknown result type (might be due to invalid IL or missing references) //IL_0491: Unknown result type (might be due to invalid IL or missing references) //IL_049d: Expected O, but got Unknown //IL_0510: Unknown result type (might be due to invalid IL or missing references) //IL_0515: 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_0528: Unknown result type (might be due to invalid IL or missing references) //IL_052f: Unknown result type (might be due to invalid IL or missing references) //IL_0536: Unknown result type (might be due to invalid IL or missing references) //IL_053d: Unknown result type (might be due to invalid IL or missing references) //IL_0549: Expected O, but got Unknown //IL_0556: Unknown result type (might be due to invalid IL or missing references) //IL_055b: Unknown result type (might be due to invalid IL or missing references) //IL_0563: Unknown result type (might be due to invalid IL or missing references) //IL_056e: 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_057c: Unknown result type (might be due to invalid IL or missing references) //IL_0583: Unknown result type (might be due to invalid IL or missing references) //IL_058f: Expected O, but got Unknown //IL_0602: Unknown result type (might be due to invalid IL or missing references) //IL_0607: Unknown result type (might be due to invalid IL or missing references) //IL_060f: Unknown result type (might be due to invalid IL or missing references) //IL_061a: Unknown result type (might be due to invalid IL or missing references) //IL_0621: Unknown result type (might be due to invalid IL or missing references) //IL_0628: Unknown result type (might be due to invalid IL or missing references) //IL_062f: Unknown result type (might be due to invalid IL or missing references) //IL_063b: Expected O, but got Unknown //IL_0648: Unknown result type (might be due to invalid IL or missing references) //IL_064d: 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_0660: Unknown result type (might be due to invalid IL or missing references) //IL_0667: Unknown result type (might be due to invalid IL or missing references) //IL_066e: Unknown result type (might be due to invalid IL or missing references) //IL_0675: Unknown result type (might be due to invalid IL or missing references) //IL_0681: Expected O, but got Unknown //IL_06f4: Unknown result type (might be due to invalid IL or missing references) //IL_06f9: Unknown result type (might be due to invalid IL or missing references) //IL_0701: Unknown result type (might be due to invalid IL or missing references) //IL_070c: Unknown result type (might be due to invalid IL or missing references) //IL_0713: Unknown result type (might be due to invalid IL or missing references) //IL_071a: Unknown result type (might be due to invalid IL or missing references) //IL_0721: Unknown result type (might be due to invalid IL or missing references) //IL_072d: Expected O, but got Unknown //IL_073a: Unknown result type (might be due to invalid IL or missing references) //IL_073f: Unknown result type (might be due to invalid IL or missing references) //IL_0747: Unknown result type (might be due to invalid IL or missing references) //IL_0752: Unknown result type (might be due to invalid IL or missing references) //IL_0759: Unknown result type (might be due to invalid IL or missing references) //IL_0760: Unknown result type (might be due to invalid IL or missing references) //IL_0767: Unknown result type (might be due to invalid IL or missing references) //IL_0773: Expected O, but got Unknown //IL_07e6: Unknown result type (might be due to invalid IL or missing references) //IL_07eb: Unknown result type (might be due to invalid IL or missing references) //IL_07f3: Unknown result type (might be due to invalid IL or missing references) //IL_07fe: Unknown result type (might be due to invalid IL or missing references) //IL_0805: Unknown result type (might be due to invalid IL or missing references) //IL_080c: Unknown result type (might be due to invalid IL or missing references) //IL_0813: Unknown result type (might be due to invalid IL or missing references) //IL_081f: Expected O, but got Unknown //IL_082c: Unknown result type (might be due to invalid IL or missing references) //IL_0831: Unknown result type (might be due to invalid IL or missing references) //IL_0839: Unknown result type (might be due to invalid IL or missing references) //IL_0844: Unknown result type (might be due to invalid IL or missing references) //IL_084b: Unknown result type (might be due to invalid IL or missing references) //IL_0852: Unknown result type (might be due to invalid IL or missing references) //IL_0859: Unknown result type (might be due to invalid IL or missing references) //IL_0865: Expected O, but got Unknown //IL_08d8: Unknown result type (might be due to invalid IL or missing references) //IL_08dd: Unknown result type (might be due to invalid IL or missing references) //IL_08e5: Unknown result type (might be due to invalid IL or missing references) //IL_08f0: Unknown result type (might be due to invalid IL or missing references) //IL_08f7: Unknown result type (might be due to invalid IL or missing references) //IL_08fe: Unknown result type (might be due to invalid IL or missing references) //IL_0905: Unknown result type (might be due to invalid IL or missing references) //IL_0911: Expected O, but got Unknown //IL_091e: Unknown result type (might be due to invalid IL or missing references) //IL_0923: Unknown result type (might be due to invalid IL or missing references) //IL_092b: Unknown result type (might be due to invalid IL or missing references) //IL_0936: Unknown result type (might be due to invalid IL or missing references) //IL_093d: Unknown result type (might be due to invalid IL or missing references) //IL_0944: Unknown result type (might be due to invalid IL or missing references) //IL_094b: Unknown result type (might be due to invalid IL or missing references) //IL_0957: Expected O, but got Unknown //IL_09ca: Unknown result type (might be due to invalid IL or missing references) //IL_09cf: Unknown result type (might be due to invalid IL or missing references) //IL_09d7: Unknown result type (might be due to invalid IL or missing references) //IL_09e2: Unknown result type (might be due to invalid IL or missing references) //IL_09e9: Unknown result type (might be due to invalid IL or missing references) //IL_09f0: 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_0a03: Expected O, but got Unknown //IL_0a10: Unknown result type (might be due to invalid IL or missing references) //IL_0a15: Unknown result type (might be due to invalid IL or missing references) //IL_0a1d: Unknown result type (might be due to invalid IL or missing references) //IL_0a28: Unknown result type (might be due to invalid IL or missing references) //IL_0a2f: Unknown result type (might be due to invalid IL or missing references) //IL_0a36: 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_0a49: Expected O, but got Unknown //IL_0abc: 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_0ac9: Unknown result type (might be due to invalid IL or missing references) //IL_0ad4: Unknown result type (might be due to invalid IL or missing references) //IL_0adb: Unknown result type (might be due to invalid IL or missing references) //IL_0ae2: Unknown result type (might be due to invalid IL or missing references) //IL_0ae9: Unknown result type (might be due to invalid IL or missing references) //IL_0af5: Expected O, but got Unknown //IL_0b02: 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_0b0f: Unknown result type (might be due to invalid IL or missing references) //IL_0b1a: Unknown result type (might be due to invalid IL or missing references) //IL_0b21: Unknown result type (might be due to invalid IL or missing references) //IL_0b28: Unknown result type (might be due to invalid IL or missing references) //IL_0b2f: Unknown result type (might be due to invalid IL or missing references) //IL_0b3b: 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_0bf4: Unknown result type (might be due to invalid IL or missing references) //IL_0bf9: Unknown result type (might be due to invalid IL or missing references) //IL_0c01: Unknown result type (might be due to invalid IL or missing references) //IL_0c0c: Unknown result type (might be due to invalid IL or missing references) //IL_0c13: Unknown result type (might be due to invalid IL or missing references) //IL_0c1a: Unknown result type (might be due to invalid IL or missing references) //IL_0c21: Unknown result type (might be due to invalid IL or missing references) //IL_0c2d: Expected O, but got Unknown //IL_0ca0: Unknown result type (might be due to invalid IL or missing references) //IL_0ca5: Unknown result type (might be due to invalid IL or missing references) //IL_0cad: Unknown result type (might be due to invalid IL or missing references) //IL_0cb8: Unknown result type (might be due to invalid IL or missing references) //IL_0cbf: Unknown result type (might be due to invalid IL or missing references) //IL_0cc6: Unknown result type (might be due to invalid IL or missing references) //IL_0ccd: Unknown result type (might be due to invalid IL or missing references) //IL_0cd9: 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_0d92: Unknown result type (might be due to invalid IL or missing references) //IL_0d97: Unknown result type (might be due to invalid IL or missing references) //IL_0d9f: 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_0db1: Unknown result type (might be due to invalid IL or missing references) //IL_0db8: Unknown result type (might be due to invalid IL or missing references) //IL_0dbf: Unknown result type (might be due to invalid IL or missing references) //IL_0dcb: Expected O, but got Unknown //IL_0dd8: Unknown result type (might be due to invalid IL or missing references) //IL_0ddd: Unknown result type (might be due to invalid IL or missing references) //IL_0de5: 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_0df7: Unknown result type (might be due to invalid IL or missing references) //IL_0dfe: Unknown result type (might be due to invalid IL or missing references) //IL_0e05: Unknown result type (might be due to invalid IL or missing references) //IL_0e11: Expected O, but got Unknown try { GameObject prefab = Cache.GetPrefab<GameObject>("SpiritEssense_RtD"); if (Object.op_Implicit((Object)(object)prefab)) { GameObject prefab2 = PrefabManager.Instance.GetPrefab("MeadowsGolem_RtD"); GameObject prefab3 = PrefabManager.Instance.GetPrefab("MeadowsAirS_RtD"); GameObject prefab4 = PrefabManager.Instance.GetPrefab("MeadowsNatureS_RtD"); prefab2.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 }); prefab2.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab4, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } GameObject prefab5 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD"); if (Object.op_Implicit((Object)(object)prefab5)) { GameObject prefab6 = PrefabManager.Instance.GetPrefab("MeadowsSnade_RtD"); GameObject prefab7 = PrefabManager.Instance.GetPrefab("MeadowsAirS_RtD"); GameObject prefab8 = PrefabManager.Instance.GetPrefab("MeadowsNatureS_RtD"); prefab6.GetComponent<CharacterDrop>().m_drops.Add(new Drop { m_prefab = prefab7, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab6.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 }); } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } GameObject prefab9 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD"); if (Object.op_Implicit((Object)(object)prefab9)) { GameObject prefab10 = PrefabManager.Instance.GetPrefab("BlackForestGolem_RtD"); GameObject prefab11 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); GameObject prefab12 = PrefabManager.Instance.GetPrefab("BlackForestShockG_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 }); } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } GameObject prefab13 = Cache.GetPrefab<GameObject>("SpiritEssense_RtD"); if (Object.op_Implicit((Object)(object)prefab13)) { GameObject prefab14 = PrefabManager.Instance.GetPrefab("BlackForestLocMur_RtD"); GameObject prefab15 = PrefabManager.Instance.GetPrefab("BlackForestNatureS_RtD"); GameObject prefab16 = PrefabManager.Ins