using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Configuration;
using BepInEx.Logging;
using Jotunn.Managers;
using Jotunn.Utils;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("RtDMMO")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("RtDMMO")]
[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("4702d4c1-6e74-455c-be46-36bbc6845348")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace RtDMMO;
[BepInPlugin("Soloredis.RtDMMO", "RtDMMO", "2.8.2")]
[NetworkCompatibility(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInIncompatibility("org.bepinex.plugins.valheim_plus")]
[BepInIncompatibility("Therzie.Wizardry")]
[BepInIncompatibility("Therzie.Warfare")]
[BepInIncompatibility("Therzie.WarfareFireAndIce")]
[BepInIncompatibility("Therzie.MonstrumDeepNorth")]
[BepInIncompatibility("Therzie.Armory")]
[BepInIncompatibility("Therzie.Monstrum")]
public class RtDMMO : BaseUnityPlugin
{
public const string PluginGUID = "Soloredis.RtDMMO";
public const string PluginName = "RtDMMO";
public const string PluginVersion = "2.8.2";
public static bool isModded = true;
internal static ManualLogSource Log;
public static AssetBundle MyAssets;
public ConfigEntry<bool> LoggingEnable;
public string[] rtdMinorBleedList = new string[18]
{
"MeadowsMutantMelee1_RtD", "BlackForestMutantMelee1_RtD", "SwampMutantMelee1_RtD", "EikthyrSpiritAttack1_RtD", "troll_melee1_RtD", "PlainsSpellC2_RtD", "PlainsSpellC3_RtD", "DeepNorthMeleeC1_RtD", "BlackForestGolemMelee1_RtD", "MeadowsGolemMelee1_RtD",
"MeadowsMeleeC1_RtD", "MistlandsMeleeC1_RtD", "FaeSpellMeadows_RtD", "PixieSpellMeadows_RtD", "FaeSpellBlackForest_RtD", "PixieSpellBlackForest_RtD", "FaeSpellSwamp_RtD", "PixieSpellSwamp_RtD"
};
public string[] rtdMinorBurnList = new string[2] { "PlainsSpellC1_RtD", "PlainsSizzlerSpell_RtD" };
public string[] rtdMinorFrostbiteList = new string[5] { "PlainsSpellC4_RtD", "MountainUndeadSpell_RtD", "MountainSpell_RtD", "FaeSpellMountain_RtD", "PixieSpellMountain_RtD" };
public string[] rtdNormalBleedList = new string[12]
{
"MistlandsMutantMelee1_RtD", "SwampBossMelee1_RtD", "PlainsBossMelee1_RtD", "AshLandsMeleeC1_RtD", "SwampMeleeC1_RtD", "FaeSpellMistlands_RtD", "CursedKnightMelee3_RtD", "BefoulerMelee3_RtD", "DavilMeele_RtD", "ExecutionerMelee3_RtD",
"NorthernMelee3_RtD", "PixieSpellMistlands_RtD"
};
public string[] rtdNormalBurnList = new string[3] { "PlainsMutantSpell_RtD", "FaeSpellPlains_RtD", "PixieSpellPlains_RtD" };
public string[] rtdNormalFrostbiteList = new string[2] { "MountainMutantSpell_RtD", "MountainBossSpell_RtD" };
public string[] rtdMajorBleedList = new string[4] { "SpiderQueenMelee1_RtD", "NecromancerMelee1_RtD", "LichKingMelee3_RtD", "ThorMelee1_RtD" };
public string[] rtdMajorBurnList = new string[4] { "AshLandsMutantSpell_RtD", "dragon_firebreath1_RtD", "FaeSpellAshLands_RtD", "PixieSpellAshLands_RtD" };
public string[] rtdMajorFrostbiteList = new string[5] { "DeepNorthMutantSpell_RtD", "SpiritAttackDoubleHand1_RtD", "ThorSpell1_RtD", "FaeSpellDeepNorth_RtD", "PixieSpellDeepNorth_RtD" };
private void Awake()
{
CreateConfigurationValues();
PrefabManager.OnPrefabsRegistered += EditRtDSouls;
PrefabManager.OnPrefabsRegistered += RtDOcean;
PrefabManager.OnPrefabsRegistered += RtDMonsters;
}
public void CreateConfigurationValues()
{
//IL_002f: Unknown result type (might be due to invalid IL or missing references)
//IL_0034: Unknown result type (might be due to invalid IL or missing references)
//IL_003d: Expected O, but got Unknown
//IL_003d: Unknown result type (might be due to invalid IL or missing references)
//IL_0047: Expected O, but got Unknown
try
{
((BaseUnityPlugin)this).Config.SaveOnConfigSet = true;
LoggingEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("Logging", "Enable", false, new ConfigDescription("Admin only, Enables logging. Disabled by default.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes
{
IsAdminOnly = false
} }));
}
catch (Exception arg)
{
((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}");
}
}
public void EditRtDSouls()
{
try
{
StatusEffect prefab = Cache.GetPrefab<StatusEffect>("SE_RandomMinorFrostbite_AH");
if (Object.op_Implicit((Object)(object)prefab))
{
string[] array = rtdMinorFrostbiteList;
foreach (string text in array)
{
ItemDrop prefab2 = Cache.GetPrefab<ItemDrop>(text);
if ((Object)(object)prefab2 != (Object)null)
{
prefab2.m_itemData.m_shared.m_attackStatusEffect = prefab;
if (LoggingEnable.Value)
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Added Random Major Frostbite to attack: " + text));
}
}
else
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add Random Major Frostbite to attack: " + text));
}
}
}
StatusEffect prefab3 = Cache.GetPrefab<StatusEffect>("SE_RandomMinorBurn_AH");
if (Object.op_Implicit((Object)(object)prefab3))
{
string[] array2 = rtdMinorBurnList;
foreach (string text2 in array2)
{
ItemDrop prefab4 = Cache.GetPrefab<ItemDrop>(text2);
if ((Object)(object)prefab4 != (Object)null)
{
prefab4.m_itemData.m_shared.m_attackStatusEffect = prefab3;
if (LoggingEnable.Value)
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Added Random Major Burn to attack: " + text2));
}
}
else
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add Random Major Burn to attack: " + text2));
}
}
}
StatusEffect prefab5 = Cache.GetPrefab<StatusEffect>("SE_RandomMinorBleed_AH");
if (Object.op_Implicit((Object)(object)prefab5))
{
string[] array3 = rtdMinorBleedList;
foreach (string text3 in array3)
{
ItemDrop prefab6 = Cache.GetPrefab<ItemDrop>(text3);
if ((Object)(object)prefab6 != (Object)null)
{
prefab6.m_itemData.m_shared.m_attackStatusEffect = prefab5;
if (LoggingEnable.Value)
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Added Random Major Bleed to attack: " + text3));
}
}
else
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add Random Major Bleed to attack: " + text3));
}
}
}
StatusEffect prefab7 = Cache.GetPrefab<StatusEffect>("SE_RandomNormalFrostbite_AH");
if (Object.op_Implicit((Object)(object)prefab7))
{
string[] array4 = rtdNormalFrostbiteList;
foreach (string text4 in array4)
{
ItemDrop prefab8 = Cache.GetPrefab<ItemDrop>(text4);
if ((Object)(object)prefab8 != (Object)null)
{
prefab8.m_itemData.m_shared.m_attackStatusEffect = prefab7;
if (LoggingEnable.Value)
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Added Random Major Frostbite to attack: " + text4));
}
}
else
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add Random Major Frostbite to attack: " + text4));
}
}
}
StatusEffect prefab9 = Cache.GetPrefab<StatusEffect>("SE_RandomNormalBurn_AH");
if (Object.op_Implicit((Object)(object)prefab9))
{
string[] array5 = rtdNormalBurnList;
foreach (string text5 in array5)
{
ItemDrop prefab10 = Cache.GetPrefab<ItemDrop>(text5);
if ((Object)(object)prefab10 != (Object)null)
{
prefab10.m_itemData.m_shared.m_attackStatusEffect = prefab9;
if (LoggingEnable.Value)
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Added Random Major Burn to attack: " + text5));
}
}
else
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add Random Major Burn to attack: " + text5));
}
}
}
StatusEffect prefab11 = Cache.GetPrefab<StatusEffect>("SE_RandomNormalBleed_AH");
if (Object.op_Implicit((Object)(object)prefab11))
{
string[] array6 = rtdNormalBleedList;
foreach (string text6 in array6)
{
ItemDrop prefab12 = Cache.GetPrefab<ItemDrop>(text6);
if ((Object)(object)prefab12 != (Object)null)
{
prefab12.m_itemData.m_shared.m_attackStatusEffect = prefab11;
if (LoggingEnable.Value)
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Added Random Major Bleed to attack: " + text6));
}
}
else
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add Random Major Bleed to attack: " + text6));
}
}
}
StatusEffect prefab13 = Cache.GetPrefab<StatusEffect>("SE_RandomMajorFrostbite_AH");
if (Object.op_Implicit((Object)(object)prefab13))
{
string[] array7 = rtdMajorFrostbiteList;
foreach (string text7 in array7)
{
ItemDrop prefab14 = Cache.GetPrefab<ItemDrop>(text7);
if ((Object)(object)prefab14 != (Object)null)
{
prefab14.m_itemData.m_shared.m_attackStatusEffect = prefab13;
if (LoggingEnable.Value)
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Added Random Major Frostbite to attack: " + text7));
}
}
else
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add Random Major Frostbite to attack: " + text7));
}
}
}
StatusEffect prefab15 = Cache.GetPrefab<StatusEffect>("SE_RandomMajorBurn_AH");
if (Object.op_Implicit((Object)(object)prefab15))
{
string[] array8 = rtdMajorBurnList;
foreach (string text8 in array8)
{
ItemDrop prefab16 = Cache.GetPrefab<ItemDrop>(text8);
if ((Object)(object)prefab16 != (Object)null)
{
prefab16.m_itemData.m_shared.m_attackStatusEffect = prefab15;
if (LoggingEnable.Value)
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Added Random Major Burn to attack: " + text8));
}
}
else
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add Random Major Burn to attack: " + text8));
}
}
}
StatusEffect prefab17 = Cache.GetPrefab<StatusEffect>("SE_RandomMajorBleed_AH");
if (!Object.op_Implicit((Object)(object)prefab17))
{
return;
}
string[] array9 = rtdMajorBleedList;
foreach (string text9 in array9)
{
ItemDrop prefab18 = Cache.GetPrefab<ItemDrop>(text9);
if ((Object)(object)prefab18 != (Object)null)
{
prefab18.m_itemData.m_shared.m_attackStatusEffect = prefab17;
if (LoggingEnable.Value)
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Added Random Major Bleed to attack: " + text9));
}
}
else
{
((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add Random Major Bleed to attack: " + text9));
}
}
}
catch (Exception arg)
{
((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while updating Ready to Die: {arg}");
}
finally
{
PrefabManager.OnPrefabsRegistered -= EditRtDSouls;
}
}
private void RtDOcean()
{
//IL_003d: Unknown result type (might be due to invalid IL or missing references)
//IL_0042: Unknown result type (might be due to invalid IL or missing references)
//IL_0049: Unknown result type (might be due to invalid IL or missing references)
//IL_0054: Unknown result type (might be due to invalid IL or missing references)
//IL_005b: Unknown result type (might be due to invalid IL or missing references)
//IL_0062: Unknown result type (might be due to invalid IL or missing references)
//IL_0069: Unknown result type (might be due to invalid IL or missing references)
//IL_0075: Expected O, but got Unknown
//IL_0081: Unknown result type (might be due to invalid IL or missing references)
//IL_0086: Unknown result type (might be due to invalid IL or missing references)
//IL_008d: Unknown result type (might be due to invalid IL or missing references)
//IL_0098: Unknown result type (might be due to invalid IL or missing references)
//IL_009f: Unknown result type (might be due to invalid IL or missing references)
//IL_00a6: Unknown result type (might be due to invalid IL or missing references)
//IL_00ad: Unknown result type (might be due to invalid IL or missing references)
//IL_00b9: Expected O, but got Unknown
//IL_00f7: Unknown result type (might be due to invalid IL or missing references)
//IL_00fc: Unknown result type (might be due to invalid IL or missing references)
//IL_0104: Unknown result type (might be due to invalid IL or missing references)
//IL_010f: Unknown result type (might be due to invalid IL or missing references)
//IL_0116: Unknown result type (might be due to invalid IL or missing references)
//IL_011d: Unknown result type (might be due to invalid IL or missing references)
//IL_0124: Unknown result type (might be due to invalid IL or missing references)
//IL_0130: Expected O, but got Unknown
//IL_013c: Unknown result type (might be due to invalid IL or missing references)
//IL_0141: Unknown result type (might be due to invalid IL or missing references)
//IL_0149: Unknown result type (might be due to invalid IL or missing references)
//IL_0154: Unknown result type (might be due to invalid IL or missing references)
//IL_015b: Unknown result type (might be due to invalid IL or missing references)
//IL_0162: Unknown result type (might be due to invalid IL or missing references)
//IL_0169: Unknown result type (might be due to invalid IL or missing references)
//IL_0175: Expected O, but got Unknown
//IL_01b5: Unknown result type (might be due to invalid IL or missing references)
//IL_01ba: Unknown result type (might be due to invalid IL or missing references)
//IL_01c2: Unknown result type (might be due to invalid IL or missing references)
//IL_01cd: Unknown result type (might be due to invalid IL or missing references)
//IL_01d4: Unknown result type (might be due to invalid IL or missing references)
//IL_01db: Unknown result type (might be due to invalid IL or missing references)
//IL_01e2: Unknown result type (might be due to invalid IL or missing references)
//IL_01ee: Expected O, but got Unknown
//IL_01fb: Unknown result type (might be due to invalid IL or missing references)
//IL_0200: Unknown result type (might be due to invalid IL or missing references)
//IL_0208: Unknown result type (might be due to invalid IL or missing references)
//IL_0213: Unknown result type (might be due to invalid IL or missing references)
//IL_021a: Unknown result type (might be due to invalid IL or missing references)
//IL_0221: Unknown result type (might be due to invalid IL or missing references)
//IL_0228: Unknown result type (might be due to invalid IL or missing references)
//IL_0234: Expected O, but got Unknown
//IL_0274: Unknown result type (might be due to invalid IL or missing references)
//IL_0279: Unknown result type (might be due to invalid IL or missing references)
//IL_0281: Unknown result type (might be due to invalid IL or missing references)
//IL_028c: Unknown result type (might be due to invalid IL or missing references)
//IL_0293: Unknown result type (might be due to invalid IL or missing references)
//IL_029a: Unknown result type (might be due to invalid IL or missing references)
//IL_02a1: Unknown result type (might be due to invalid IL or missing references)
//IL_02ad: Expected O, but got Unknown
//IL_02ba: Unknown result type (might be due to invalid IL or missing references)
//IL_02bf: Unknown result type (might be due to invalid IL or missing references)
//IL_02c7: Unknown result type (might be due to invalid IL or missing references)
//IL_02d2: Unknown result type (might be due to invalid IL or missing references)
//IL_02d9: Unknown result type (might be due to invalid IL or missing references)
//IL_02e0: Unknown result type (might be due to invalid IL or missing references)
//IL_02e7: Unknown result type (might be due to invalid IL or missing references)
//IL_02f3: Expected O, but got Unknown
//IL_0333: Unknown result type (might be due to invalid IL or missing references)
//IL_0338: Unknown result type (might be due to invalid IL or missing references)
//IL_0340: Unknown result type (might be due to invalid IL or missing references)
//IL_034b: Unknown result type (might be due to invalid IL or missing references)
//IL_0352: Unknown result type (might be due to invalid IL or missing references)
//IL_0359: Unknown result type (might be due to invalid IL or missing references)
//IL_0360: Unknown result type (might be due to invalid IL or missing references)
//IL_036c: Expected O, but got Unknown
//IL_0379: Unknown result type (might be due to invalid IL or missing references)
//IL_037e: Unknown result type (might be due to invalid IL or missing references)
//IL_0386: Unknown result type (might be due to invalid IL or missing references)
//IL_0391: Unknown result type (might be due to invalid IL or missing references)
//IL_0398: Unknown result type (might be due to invalid IL or missing references)
//IL_039f: Unknown result type (might be due to invalid IL or missing references)
//IL_03a6: Unknown result type (might be due to invalid IL or missing references)
//IL_03b2: Expected O, but got Unknown
//IL_03f2: Unknown result type (might be due to invalid IL or missing references)
//IL_03f7: Unknown result type (might be due to invalid IL or missing references)
//IL_03ff: Unknown result type (might be due to invalid IL or missing references)
//IL_040a: Unknown result type (might be due to invalid IL or missing references)
//IL_0411: Unknown result type (might be due to invalid IL or missing references)
//IL_0418: Unknown result type (might be due to invalid IL or missing references)
//IL_041f: Unknown result type (might be due to invalid IL or missing references)
//IL_042b: Expected O, but got Unknown
//IL_0438: Unknown result type (might be due to invalid IL or missing references)
//IL_043d: Unknown result type (might be due to invalid IL or missing references)
//IL_0445: Unknown result type (might be due to invalid IL or missing references)
//IL_0450: Unknown result type (might be due to invalid IL or missing references)
//IL_0457: Unknown result type (might be due to invalid IL or missing references)
//IL_045e: Unknown result type (might be due to invalid IL or missing references)
//IL_0465: Unknown result type (might be due to invalid IL or missing references)
//IL_0471: Expected O, but got Unknown
//IL_04b1: Unknown result type (might be due to invalid IL or missing references)
//IL_04b6: Unknown result type (might be due to invalid IL or missing references)
//IL_04be: Unknown result type (might be due to invalid IL or missing references)
//IL_04c9: Unknown result type (might be due to invalid IL or missing references)
//IL_04d0: Unknown result type (might be due to invalid IL or missing references)
//IL_04d7: Unknown result type (might be due to invalid IL or missing references)
//IL_04de: Unknown result type (might be due to invalid IL or missing references)
//IL_04ea: Expected O, but got Unknown
//IL_04f7: Unknown result type (might be due to invalid IL or missing references)
//IL_04fc: Unknown result type (might be due to invalid IL or missing references)
//IL_0504: Unknown result type (might be due to invalid IL or missing references)
//IL_050f: Unknown result type (might be due to invalid IL or missing references)
//IL_0516: Unknown result type (might be due to invalid IL or missing references)
//IL_051d: Unknown result type (might be due to invalid IL or missing references)
//IL_0524: Unknown result type (might be due to invalid IL or missing references)
//IL_0530: Expected O, but got Unknown
try
{
GameObject prefab = PrefabManager.Instance.GetPrefab("BoneFish_RtD");
GameObject prefab2 = PrefabManager.Instance.GetPrefab("OceanWaterS_RtD");
GameObject prefab3 = PrefabManager.Instance.GetPrefab("OceanHolyS_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("BoneSquid_RtD");
GameObject prefab5 = PrefabManager.Instance.GetPrefab("OceanWaterS_RtD");
GameObject prefab6 = PrefabManager.Instance.GetPrefab("OceanHolyS_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("Fairy4_RtD");
GameObject prefab8 = PrefabManager.Instance.GetPrefab("OceanWaterS_RtD");
GameObject prefab9 = PrefabManager.Instance.GetPrefab("OceanHolyS_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("LuminousLooker_RtD");
GameObject prefab11 = PrefabManager.Instance.GetPrefab("OceanWaterS_RtD");
GameObject prefab12 = PrefabManager.Instance.GetPrefab("OceanHolyS_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("MurkPod_RtD");
GameObject prefab14 = PrefabManager.Instance.GetPrefab("OceanWaterS_RtD");
GameObject prefab15 = PrefabManager.Instance.GetPrefab("OceanHolyS_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("Neck_RtD");
GameObject prefab17 = PrefabManager.Instance.GetPrefab("OceanWaterS_RtD");
GameObject prefab18 = PrefabManager.Instance.GetPrefab("OceanHolyS_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("Shark_RtD");
GameObject prefab20 = PrefabManager.Instance.GetPrefab("OceanWaterS_RtD");
GameObject prefab21 = PrefabManager.Instance.GetPrefab("OceanHolyS_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
});
}
catch (Exception arg)
{
((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}");
}
finally
{
PrefabManager.OnPrefabsRegistered -= RtDOcean;
}
}
private void RtDMonsters()
{
//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
try
{
GameObject prefab = PrefabManager.Instance.GetPrefab("Assassin_RtD");
GameObject prefab2 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD");
GameObject prefab3 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_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("Berserker_RtD");
GameObject prefab5 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD");
GameObject prefab6 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_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("Demon_RtD");
GameObject prefab8 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD");
GameObject prefab9 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_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("DragonBoar_RtD");
GameObject prefab11 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD");
GameObject prefab12 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_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("FallenCrusader_RtD");
GameObject prefab14 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD");
GameObject prefab15 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_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("Wizard_RtD");
GameObject prefab17 = PrefabManager.Instance.GetPrefab("AshLandsDarkS_RtD");
GameObject prefab18 = PrefabManager.Instance.GetPrefab("AshLandsFairyS_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("ElfHunterF_RtD");
GameObject prefab20 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab21 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_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("ElfHunterM_RtD");
GameObject prefab23 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab24 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_RtD");
prefab22.GetComponent<CharacterDrop>().m_drops.Add(new Drop
{
m_prefab = prefab23,
m_chance = 0.05f,
m_amountMin = 1,
m_amountMax = 1,
m_levelMultiplier = false,
m_onePerPlayer = false
});
prefab22.GetComponent<CharacterDrop>().m_drops.Add(new Drop
{
m_prefab = prefab24,
m_chance = 0.05f,
m_amountMin = 1,
m_amountMax = 1,
m_levelMultiplier = false,
m_onePerPlayer = false
});
GameObject prefab25 = PrefabManager.Instance.GetPrefab("ElfPriestM_RtD");
GameObject prefab26 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab27 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_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("ElfWarriorF_RtD");
GameObject prefab29 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab30 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_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("ElfWarriorM_RtD");
GameObject prefab32 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab33 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_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("FaeWolfIce_RtD");
GameObject prefab35 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab36 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_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("FaeWolfLightening_RtD");
GameObject prefab38 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab39 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_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("Befouler_RtD");
GameObject prefab41 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab42 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_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("Davil_RtD");
GameObject prefab44 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab45 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_RtD");
prefab43.GetComponent<CharacterDrop>().m_drops.Add(new Drop
{
m_prefab = prefab44,
m_chance = 0.05f,
m_amountMin = 1,
m_amountMax = 1,
m_levelMultiplier = false,
m_onePerPlayer = false
});
prefab43.GetComponent<CharacterDrop>().m_drops.Add(new Drop
{
m_prefab = prefab45,
m_chance = 0.05f,
m_amountMin = 1,
m_amountMax = 1,
m_levelMultiplier = false,
m_onePerPlayer = false
});
GameObject prefab46 = PrefabManager.Instance.GetPrefab("Executioner_RtD");
GameObject prefab47 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab48 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_RtD");
prefab46.GetComponent<CharacterDrop>().m_drops.Add(new Drop
{
m_prefab = prefab47,
m_chance = 0.05f,
m_amountMin = 1,
m_amountMax = 1,
m_levelMultiplier = false,
m_onePerPlayer = false
});
prefab46.GetComponent<CharacterDrop>().m_drops.Add(new Drop
{
m_prefab = prefab48,
m_chance = 0.05f,
m_amountMin = 1,
m_amountMax = 1,
m_levelMultiplier = false,
m_onePerPlayer = false
});
GameObject prefab49 = PrefabManager.Instance.GetPrefab("Golem_RtD");
GameObject prefab50 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab51 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_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("Golem_RtD");
GameObject prefab53 = PrefabManager.Instance.GetPrefab("DeepNorthArcaneS_RtD");
GameObject prefab54 = PrefabManager.Instance.GetPrefab("DeepNorthFairyS_RtD");
prefab52.GetComponent<CharacterDrop>().m_drops.Add(new Drop
{
m_prefab = prefab53,
m_chance = 0.05f,
m_amountMin = 1,
m_amountMax = 1,
m_levelMultiplier = false,
m_onePerPlayer = false
});
prefab52.GetComponent<CharacterDrop>().m_drops.Add(new Drop
{
m_prefab = prefab54,
m_chance = 0.05f,
m_amountMin = 1,
m_amountMax = 1,
m_levelMultiplier = false,
m_onePerPlayer = false
});
}
catch (Exception arg)
{
((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}");
}
finally
{
PrefabManager.OnPrefabsRegistered -= RtDMonsters;
}
}
}