using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using AncientScepter; using BepInEx; using BepInEx.Bootstrap; using BepInEx.Configuration; using EmotesAPI; using EntityStates; using EntityStates.Commando; using HG; using HG.BlendableTypes; using MonoMod.RuntimeDetour; using MystMod.Modules; using MystMod.Modules.Components; using MystMod.Modules.Misc; using MystMod.Modules.Survivors; using MystMod.SkillStates; using MystMod.SkillStates.BaseStates; using MystMod.SkillStates.Emotes; using MystMod.SkillStates.Myst; using MystMod.SkillStates.Myst.Finishers; using MystMod.SkillStates.Myst.Formchanges; using MystMod.SkillStates.Myst.Formchanges.Berserk; using MystMod.SkillStates.Myst.Limits; using MystMod.SkillStates.Myst.Networking; using MystMod.SkillStates.Myst.Passives; using MystMod.SkillStates.Myst.Spells; using MystMod.SkillStates.Myst.Spells.Orbs; using MysticsItems; using NS_KingKombatArena; using On.RoR2; using On.RoR2.CharacterSpeech; using On.RoR2.UI; using OrographicGambitBaseMod.Modules; using OrographicGambitBaseMod.Modules.Components; using R2API; using R2API.Networking; using R2API.Networking.Interfaces; using R2API.Utils; using Rewired; using RiskOfOptions; using RiskOfOptions.OptionConfigs; using RiskOfOptions.Options; using RoR2; using RoR2.Audio; using RoR2.CharacterAI; using RoR2.CharacterSpeech; using RoR2.ContentManagement; using RoR2.Orbs; using RoR2.Projectile; using RoR2.Skills; using RoR2.UI; using SS2; using TILER2; using TMPro; using ThinkInvisible.TinkersSatchel; using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.EventSystems; using UnityEngine.Networking; using UnityEngine.Rendering; using UnityEngine.UI; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: IgnoresAccessChecksTo("0Harmony")] [assembly: IgnoresAccessChecksTo("HGUnityUtils")] [assembly: AssemblyCompany("MystMod")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("MystMod")] [assembly: AssemblyTitle("MystMod")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [module: UnverifiableCode] internal class BodyInfo { internal string bodyName = ""; internal string bodyNameToken = ""; internal string subtitleNameToken = ""; internal Texture characterPortrait = null; internal GameObject crosshair = null; internal GameObject podPrefab = null; internal float maxHealth = 100f; internal float healthGrowth = 2f; internal float healthRegen = 0f; internal float shield = 0f; internal float shieldGrowth = 0f; internal float moveSpeed = 7f; internal float moveSpeedGrowth = 0f; internal float acceleration = 80f; internal float jumpPower = 15f; internal float jumpPowerGrowth = 0f; internal float damage = 12f; internal float attackSpeed = 1f; internal float attackSpeedGrowth = 0f; internal float armor = 0f; internal float armorGrowth = 0f; internal float crit = 1f; internal float critGrowth = 0f; internal int jumpCount = 1; internal Color bodyColor = Color.grey; } internal class CustomRendererInfo { internal string childName; internal Material material; internal bool ignoreOverlays; } internal class SkillDefInfo { public string skillName; public string skillNameToken; public string skillDescriptionToken; public Sprite skillIcon; public SerializableEntityStateType activationState; public string activationStateMachineName; public int baseMaxStock; public float baseRechargeInterval; public bool beginSkillCooldownOnSkillEnd; public bool canceledFromSprinting; public bool forceSprintDuringState; public bool fullRestockOnAssign; public InterruptPriority interruptPriority; public bool resetCooldownTimerOnUse; public bool isCombatSkill; public bool mustKeyPress; public bool cancelSprintingOnActivation; public int rechargeStock; public int requiredStock; public int stockToConsume; public string[] keywordTokens; } namespace MystMod { [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInPlugin("com.JavAngle.MystMod", "MystMod", "1.2.17")] [R2APISubmoduleDependency(new string[] { "PrefabAPI", "LanguageAPI", "SoundAPI", "NetworkingAPI", "ItemAPI", "DamageAPI" })] public class MystPlugin : BaseUnityPlugin { public const string MODUID = "com.JavAngle.MystMod"; public const string MODNAME = "MystMod"; public const string MODVERSION = "1.2.17"; public const string developerPrefix = "JAVANGLE"; public static bool scepterInstalled; public static bool SS2Installed; public static bool AetheriumInstalled; public static bool MysticsItemsInstalled; public static bool TinkersSatchelInstalled; public static bool scrollableLobbyInstalled; public static bool RiskOfOptionsInstalled; public static bool EmotesAPIInstalled; public static bool BadassEmotesInstalled; public static bool KKArenaInstalled; public static MystPlugin instance; private bool emoteAPIsetup = false; private void Awake() { //IL_016f: Unknown result type (might be due to invalid IL or missing references) //IL_0179: Expected O, but got Unknown //IL_01d5: Unknown result type (might be due to invalid IL or missing references) //IL_01da: Unknown result type (might be due to invalid IL or missing references) instance = this; if (Chainloader.PluginInfos.ContainsKey("com.DestroyedClone.AncientScepter")) { scepterInstalled = true; } if (Chainloader.PluginInfos.ContainsKey("com.TeamMoonstorm")) { SS2Installed = true; Debug.Log((object)"SS2Installed"); } if (Chainloader.PluginInfos.ContainsKey("com.KomradeSpectre.Aetherium")) { AetheriumInstalled = true; } if (Chainloader.PluginInfos.ContainsKey("com.themysticsword.mysticsitems")) { MysticsItemsInstalled = true; } if (Chainloader.PluginInfos.ContainsKey("com.ThinkInvisible.TinkersSatchel")) { TinkersSatchelInstalled = true; } if (Chainloader.PluginInfos.ContainsKey("com.KingEnderBrine.ScrollableLobbyUI")) { scrollableLobbyInstalled = true; } if (Chainloader.PluginInfos.ContainsKey("com.rune580.riskofoptions")) { RiskOfOptionsInstalled = true; } if (Chainloader.PluginInfos.ContainsKey("com.weliveinasociety.CustomEmotesAPI")) { EmotesAPIInstalled = true; } if (Chainloader.PluginInfos.ContainsKey("com.weliveinasociety.badassemotes")) { BadassEmotesInstalled = true; } if (Chainloader.PluginInfos.ContainsKey("com.Kingpinush.KingKombatArena")) { KKArenaInstalled = true; } Assets.PopulateAssets(); Config.ReadConfig(); States.RegisterStates(); Buffs.RegisterBuffs(); Projectiles.RegisterProjectiles(); Tokens.AddTokens(); ItemDisplays.PopulateDisplays(); NetworkingAPI.RegisterMessageType(); NetworkingAPI.RegisterMessageType(); NetworkingAPI.RegisterMessageType(); Myst.CreateCharacter(); MagiciteDefs.SetSortOrder(); MagiciteDust.setUp(); ContentManager.collectContentPackProviders += new CollectContentPackProvidersDelegate(ContentManager_collectContentPackProviders); Hook(); if (BadassEmotesInstalled) { Magicite magiciteDef = new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconIrresistibleDance"), name = "JAVANGLE_MYST_MAGICITE_DANCE_NAME", description = "JAVANGLE_MYST_MAGICITE_DANCE_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = "JAVANGLE_MYST_MAGICITE_DANCE_INFO", color = Config.SpellMagicite.Value, Skillstate = new IrresistibleDance(), EXPperLevel = 25f, levelMAX = 5 }; MagiciteDefs.AddMagiciteDef(magiciteDef); } } private void ContentManager_collectContentPackProviders(AddContentPackProviderDelegate addContentPackProvider) { addContentPackProvider.Invoke((IContentPackProvider)(object)new ContentPacks()); } private void Start() { ContentManager.onContentPacksAssigned += ContentManager_onContentPacksAssigned; } private void ContentManager_onContentPacksAssigned(ReadOnlyArray obj) { Myst.InitializeItemDisplays(); Myst.SetItemDisplays(); } private void Hook() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Expected O, but got Unknown //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Expected O, but got Unknown //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Expected O, but got Unknown //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Expected O, but got Unknown //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Expected O, but got Unknown //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Expected O, but got Unknown //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Expected O, but got Unknown //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Expected O, but got Unknown //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Expected O, but got Unknown //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Expected O, but got Unknown //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Expected O, but got Unknown //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_00ea: Expected O, but got Unknown //IL_00f2: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Expected O, but got Unknown CharacterBody.RecalculateStats += new hook_RecalculateStats(CharacterBody_RecalculateStats); CharacterMaster.OnInventoryChanged += new hook_OnInventoryChanged(CharacterMaster_OnInventoryChanged); CharacterBody.OnBuffFirstStackGained += new hook_OnBuffFirstStackGained(CharacterBody_OnBuffFirstStackGained); CharacterBody.OnBuffFinalStackLost += new hook_OnBuffFinalStackLost(CharacterBody_OnBuffFinalStackLost); HUD.Awake += new hook_Awake(MystSpellHuD); HUD.Awake += new hook_Awake(MystMagiciteMenu); HUD.Awake += new hook_Awake(ItemInteracrionPopupManager.MystItemInteractionPopupManagerHookMethod); HealthComponent.TakeDamageProcess += new hook_TakeDamageProcess(HealthComponent_TakeDamageProcess); GlobalEventManager.OnCharacterDeath += new hook_OnCharacterDeath(GlobalEventManager_OnCharacterDeath); AmmoPickup.OnTriggerStay += new hook_OnTriggerStay(AmmoPickup_OnTriggerStay); CharacterMaster.OnItemAddedClient += new hook_OnItemAddedClient(CharacterMaster_OnItemAddedClient); ChargedState.OnEnter += new hook_OnEnter(ChargedState_OnEnter); BrotherSpeechDriver.DoInitialSightResponse += new hook_DoInitialSightResponse(BrotherSpeechDriver_DoInitialSightResponse); BrotherSpeechDriver.OnBodyKill += new hook_OnBodyKill(BrotherSpeechDriver_OnBodyKill); if (EmotesAPIInstalled) { SetUpEmotes(); } if (KKArenaInstalled) { SetupKKArenaCompat(); } if (scepterInstalled) { SetupSceptreSupport(); } } private void CharacterBody_RecalculateStats(orig_RecalculateStats orig, CharacterBody self) { orig.Invoke(self); if (Object.op_Implicit((Object)(object)self)) { if (self.baseNameToken == "JAVANGLE_MYST_BODY_NAME") { MystPassiveManager component = ((Component)self).GetComponent(); SkillLocator skillLocator = self.skillLocator; component.magicMAX = 45 + skillLocator.primary.maxStock * 5 + skillLocator.secondary.maxStock * 10 + skillLocator.utility.maxStock * 25 + skillLocator.special.maxStock * 15; component.MagicBarHandler(); } if (self.HasBuff(Buffs.MystFortify)) { self.armor += 100f; } if (self.HasBuff(Buffs.MystHaste)) { self.moveSpeed *= 1.5f; self.attackSpeed *= 1.5f; } if (self.HasBuff(Buffs.TimeLock)) { self.attackSpeed = 0f; self.moveSpeed = 0f; self.jumpPower = 0f; } if (self.HasBuff(Buffs.FormchangeBerserk)) { self.moveSpeed *= FormChangeBerserk.moveSpeedModifier; self.jumpPower += FormChangeBerserk.jumpPowerModifier; self.armor += FormChangeBerserk.armourModifier; } } } private void CharacterMaster_OnInventoryChanged(orig_OnInventoryChanged orig, CharacterMaster self) { orig.Invoke(self); if (self.hasBody) { CharacterBody body = self.GetBody(); if (Object.op_Implicit((Object)(object)body) && body.baseNameToken == "JAVANGLE_MYST_BODY_NAME") { MystPassiveManager component = ((Component)body).GetComponent(); component.SetUpAccessorySlots(); } } } private void CharacterMaster_OnItemAddedClient(orig_OnItemAddedClient orig, CharacterMaster self, ItemIndex receivedItem) { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) orig.Invoke(self, receivedItem); if (self.hasBody && ((NetworkBehaviour)self).hasAuthority) { CharacterBody body = self.GetBody(); if (Object.op_Implicit((Object)(object)body) && ((NetworkBehaviour)body).hasAuthority && body.baseNameToken == "JAVANGLE_MYST_BODY_NAME") { ItemInteracrionPopupManager.CheckItemPickup(receivedItem); } } } private void CharacterBody_OnBuffFirstStackGained(orig_OnBuffFirstStackGained orig, CharacterBody self, BuffDef buffDef) { orig.Invoke(self, buffDef); if ((Object)(object)buffDef == (Object)(object)Buffs.TimeLock && Object.op_Implicit((Object)(object)self.skillLocator)) { if (!Object.op_Implicit((Object)(object)EmptySkill.Empty)) { EmptySkill.SetUpEmpty(); } SkillLocator skillLocator = self.skillLocator; try { skillLocator.primary.SetSkillOverride((object)((Component)self).gameObject, EmptySkill.Empty, (SkillOverridePriority)3); } catch { } try { skillLocator.secondary.SetSkillOverride((object)((Component)self).gameObject, EmptySkill.Empty, (SkillOverridePriority)3); } catch { } try { skillLocator.utility.SetSkillOverride((object)((Component)self).gameObject, EmptySkill.Empty, (SkillOverridePriority)3); } catch { } try { skillLocator.special.SetSkillOverride((object)((Component)self).gameObject, EmptySkill.Empty, (SkillOverridePriority)3); } catch { } } } private void CharacterBody_OnBuffFinalStackLost(orig_OnBuffFinalStackLost orig, CharacterBody self, BuffDef buffDef) { orig.Invoke(self, buffDef); if ((Object)(object)buffDef == (Object)(object)Buffs.TimeLock && Object.op_Implicit((Object)(object)self.skillLocator)) { if (!Object.op_Implicit((Object)(object)EmptySkill.Empty)) { EmptySkill.SetUpEmpty(); } SkillLocator skillLocator = self.skillLocator; try { skillLocator.primary.UnsetSkillOverride((object)((Component)self).gameObject, EmptySkill.Empty, (SkillOverridePriority)3); } catch { } try { skillLocator.secondary.UnsetSkillOverride((object)((Component)self).gameObject, EmptySkill.Empty, (SkillOverridePriority)3); } catch { } try { skillLocator.utility.UnsetSkillOverride((object)((Component)self).gameObject, EmptySkill.Empty, (SkillOverridePriority)3); } catch { } try { skillLocator.special.UnsetSkillOverride((object)((Component)self).gameObject, EmptySkill.Empty, (SkillOverridePriority)3); } catch { } } } private void HealthComponent_TakeDamageProcess(orig_TakeDamageProcess orig, HealthComponent self, DamageInfo info) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000e: Invalid comparison between Unknown and I4 //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00cf: Expected O, but got Unknown //IL_0160: Unknown result type (might be due to invalid IL or missing references) //IL_01b0: Unknown result type (might be due to invalid IL or missing references) //IL_0178: Unknown result type (might be due to invalid IL or missing references) //IL_017e: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Unknown result type (might be due to invalid IL or missing references) //IL_0188: Unknown result type (might be due to invalid IL or missing references) //IL_018c: 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_01c8: Unknown result type (might be due to invalid IL or missing references) //IL_01ce: Unknown result type (might be due to invalid IL or missing references) //IL_01d3: Unknown result type (might be due to invalid IL or missing references) //IL_01d8: Unknown result type (might be due to invalid IL or missing references) //IL_01dc: Unknown result type (might be due to invalid IL or missing references) //IL_01e7: Unknown result type (might be due to invalid IL or missing references) //IL_0204: Unknown result type (might be due to invalid IL or missing references) //IL_0209: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0216: Unknown result type (might be due to invalid IL or missing references) //IL_0227: Expected O, but got Unknown if ((int)DamageTypeCombo.op_Implicit(info.damageType) != 64 && self.body.baseNameToken == "JAVANGLE_MYST_BODY_NAME") { CharacterBody val = (Object.op_Implicit((Object)(object)info.attacker) ? info.attacker.GetComponent() : null); MystPassiveManager component = ((Component)self.body).GetComponent(); if (Object.op_Implicit((Object)(object)component)) { if (component.isParrying) { info.rejected = true; component.EnterParryExtend(info.damage * 3f); EffectManager.SpawnEffect(Assets.MystParryImpact, new EffectData { origin = self.body.corePosition, rootObject = ((Component)self.body).gameObject, scale = 1f }, true); float num = 40 + 12 * TeamManager.instance.GetTeamLevel((TeamIndex)2); float num2 = info.damage / num; component.GrantNetworkedLimit(num2 * 2f); float mana = Mathf.Clamp(info.damage / self.fullCombinedHealth, 0f, 1f) * component.magicMAX / 3f; component.GrantNetworkedMagic(mana); } else if (Object.op_Implicit((Object)(object)val) && component.isBlocking) { bool flag = false; Vector3 val2; if (BlockCheck(self.body, info.position)) { val2 = self.body.corePosition - info.position; component.EnterBlockExtend(((Vector3)(ref val2)).normalized * info.procCoefficient); flag = true; } else if (BlockCheck(self.body, val.corePosition)) { val2 = self.body.corePosition - val.corePosition; component.EnterBlockExtend(((Vector3)(ref val2)).normalized * info.procCoefficient); flag = true; } if (flag) { EffectManager.SpawnEffect(Assets.MystBlockImpact, new EffectData { origin = info.position, scale = 1f }, true); float num3 = 60 + 55 * TeamManager.instance.GetTeamLevel((TeamIndex)2); float limit = info.damage / num3; component.GrantNetworkedLimit(limit); info.damage *= 0.15f; } } if (component.isReflecting) { info.rejected = true; component.EnterReflextend(); } } } orig.Invoke(self, info); if (Object.op_Implicit((Object)(object)info.attacker)) { CharacterBody component2 = info.attacker.GetComponent(); if (Object.op_Implicit((Object)(object)component2) && component2.baseNameToken == "JAVANGLE_MYST_BODY_NAME") { MystPassiveManager component3 = ((Component)component2).GetComponent(); float num4 = 80f + Config.limitDamageScaler.Value * (float)TeamManager.instance.GetTeamLevel((TeamIndex)2); float limit2 = info.damage / num4 * info.procCoefficient; component3.GrantNetworkedLimit(limit2); } } } private bool BlockCheck(CharacterBody Defender, Vector3 Attacker) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) Vector3 val = Attacker - Defender.transform.position; float num = Vector3.Angle(Defender.characterDirection.forward, val); return num < 100f; } private void GlobalEventManager_OnCharacterDeath(orig_OnCharacterDeath orig, GlobalEventManager self, DamageReport damageReport) { orig.Invoke(self, damageReport); if (damageReport != null && Object.op_Implicit((Object)(object)damageReport.attacker)) { CharacterBody component = damageReport.attacker.GetComponent(); if (Object.op_Implicit((Object)(object)component) && component.baseNameToken == "JAVANGLE_MYST_BODY_NAME") { MystPassiveManager component2 = ((Component)component).GetComponent(); component2.GrantNetworkedMagiciteEXP(1f); } } } private void MystSpellHuD(orig_Awake orig, HUD self) { //IL_006f: 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_0093: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_0405: 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_046a: Unknown result type (might be due to invalid IL or missing references) //IL_046f: Unknown result type (might be due to invalid IL or missing references) orig.Invoke(self); Transform val = self.mainContainer.transform.Find("MainUIArea"); val = val.Find("SpringCanvas"); val = val.Find("BottomRightCluster"); GameObject val2 = Object.Instantiate(Assets.MystHuD); val2.transform.SetParent(self.mainContainer.transform); RectTransform component = val2.GetComponent(); component.anchorMin = new Vector2(1f, 0f); component.anchorMax = new Vector2(1f, 0f); component.sizeDelta = Vector2.zero; ((Transform)component).localScale = Vector2.op_Implicit(Vector2.zero); component.anchoredPosition = new Vector2(-50f, 50f); ChildLocator component2 = val2.GetComponent(); RectTransform component3 = ((Component)component2.FindChild("ResourceGauges")).GetComponent(); ((Transform)component3).localScale = new Vector3(1.3f * (Config.UIscale.Value / 100f), 1.3f * (Config.UIscale.Value / 100f), 1f); Image[] abilityIcons = (Image[])(object)new Image[8] { ((Component)component2.FindChild("AbilityIcon1")).GetComponent(), ((Component)component2.FindChild("AbilityIcon2")).GetComponent(), ((Component)component2.FindChild("AbilityIcon3")).GetComponent(), ((Component)component2.FindChild("AbilityIcon4")).GetComponent(), ((Component)component2.FindChild("AbilityIcon5")).GetComponent(), ((Component)component2.FindChild("AbilityIcon6")).GetComponent(), ((Component)component2.FindChild("AbilityIcon7")).GetComponent(), ((Component)component2.FindChild("AbilityIcon8")).GetComponent() }; Image component4 = ((Component)component2.FindChild("Magic")).GetComponent(); Text component5 = ((Component)component2.FindChild("MagicNumberDisplay")).GetComponent(); Image[] array = (Image[])(object)new Image[3] { ((Component)component2.FindChild("Limit1")).GetComponent(), ((Component)component2.FindChild("Limit2")).GetComponent(), ((Component)component2.FindChild("Limit3")).GetComponent() }; Text component6 = ((Component)component2.FindChild("FormchangeText")).GetComponent(); Image component7 = ((Component)component2.FindChild("FormchangeBar")).GetComponent(); Animator component8 = val2.GetComponent(); TMP_Text[] keybinds = (TMP_Text[])(object)new TMP_Text[12] { ((Component)component2.FindChild("Keybind_Skill1")).GetComponent(), ((Component)component2.FindChild("Keybind_Skill2")).GetComponent(), ((Component)component2.FindChild("Keybind_Skill3")).GetComponent(), ((Component)component2.FindChild("Keybind_Skill4")).GetComponent(), ((Component)component2.FindChild("Keybind_Skill5")).GetComponent(), ((Component)component2.FindChild("Keybind_Skill6")).GetComponent(), ((Component)component2.FindChild("Keybind_Skill7")).GetComponent(), ((Component)component2.FindChild("Keybind_Skill8")).GetComponent(), ((Component)component2.FindChild("Keybind_Inventory")).GetComponent(), ((Component)component2.FindChild("Keybind_Sprint")).GetComponent(), ((Component)component2.FindChild("Keybind_MagiciteMenu")).GetComponent(), ((Component)component2.FindChild("Keybind_Equipment")).GetComponent() }; MystRunComponent mystRunComponent = MystRunComponent.Instance; if (!Object.op_Implicit((Object)(object)mystRunComponent)) { mystRunComponent = ((Component)Run.instance).gameObject.AddComponent(); } mystRunComponent.hud = self; mystRunComponent.MystHuD = val2; mystRunComponent.childLocator = component2; mystRunComponent.defaultUI = val; mystRunComponent.HUDrectTransform = component; mystRunComponent.HUDresourceGauges = component3; mystRunComponent.abilityIcons = abilityIcons; mystRunComponent.magicBar = component4; mystRunComponent.magicText = component5; mystRunComponent.limitBars = array; mystRunComponent.FormchangeText = component6; mystRunComponent.FormchangeBar = component7; mystRunComponent.keybinds = keybinds; TooltipComponent tooltipComponent = ((Component)((Component)component4).transform.parent).gameObject.AddComponent(); tooltipComponent.tooltipName = Language.GetString("JAVANGLE_MYST_BODY_UI_MAGICNAME"); tooltipComponent.tooltipColor = Color.blue; tooltipComponent.tooltipDescription = Language.GetString("JAVANGLE_MYST_BODY_UI_MAGICDESCRIPTION"); tooltipComponent.UpdateTooltip(); Image[] array2 = array; foreach (Image val3 in array2) { tooltipComponent = ((Component)((Component)val3).gameObject.transform.parent).gameObject.AddComponent(); tooltipComponent.tooltipName = Language.GetString("JAVANGLE_MYST_BODY_UI_LIMITNAME"); tooltipComponent.tooltipColor = Color.yellow; tooltipComponent.tooltipDescription = Language.GetString("JAVANGLE_MYST_BODY_UI_LIMITDESCRIPTION"); tooltipComponent.UpdateTooltip(); } mystRunComponent.equipmentImage = ((Component)component2.FindChild("Equiptment Slot")).GetComponent(); mystRunComponent.equipmentCooldown = ((Component)component2.FindChild("EquipmentCooldown")).GetComponent(); mystRunComponent.equipmentStock = ((Component)component2.FindChild("EquipmentStock")).GetComponent(); mystRunComponent.secondaryCooldown = ((Component)component2.FindChild("SecondaryCooldown")).GetComponent(); mystRunComponent.hotbarAnimator = component8; } private void MystMagiciteMenu(orig_Awake orig, HUD self) { //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_0270: 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_02a2: Unknown result type (might be due to invalid IL or missing references) //IL_044d: 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_04c5: Unknown result type (might be due to invalid IL or missing references) //IL_0686: Unknown result type (might be due to invalid IL or missing references) //IL_069d: Unknown result type (might be due to invalid IL or missing references) //IL_06aa: Unknown result type (might be due to invalid IL or missing references) //IL_06b7: Unknown result type (might be due to invalid IL or missing references) orig.Invoke(self); GameObject val = Object.Instantiate(Assets.MystMenu); val.transform.SetParent(self.mainContainer.transform); RectTransform component = val.GetComponent(); component.sizeDelta = Vector2.one; component.anchoredPosition = Vector2.zero; ChildLocator component2 = val.GetComponent(); Animator component3 = val.GetComponent(); MystMenuManager mystMenuManager = val.AddComponent(); mystMenuManager.childLocator = component2; MystRunComponent mystRunComponent = MystRunComponent.Instance; if (!Object.op_Implicit((Object)(object)mystRunComponent)) { mystRunComponent = ((Component)Run.instance).gameObject.AddComponent(); } Transform val2 = (Transform)(object)component; val2.localScale = Vector3.one; Image[] array = (Image[])(object)new Image[16] { ((Component)component2.FindChild("EquippedMagiciteFrame1")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame2")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame3")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame4")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame5")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame6")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame7")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame8")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame9")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame10")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame11")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame12")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame13")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame14")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame15")).GetComponent(), ((Component)component2.FindChild("EquippedMagiciteFrame16")).GetComponent() }; Image[] array2 = (Image[])(object)new Image[100]; Image[] array3 = (Image[])(object)new Image[100]; Text[] array4 = (Text[])(object)new Text[100]; Text[] array5 = (Text[])(object)new Text[100]; Text[] array6 = (Text[])(object)new Text[100]; Image[] array7 = (Image[])(object)new Image[100]; Image[] array8 = (Image[])(object)new Image[100]; RectTransform component4 = ((Component)component2.FindChild("InventoryList")).GetComponent(); for (int i = 0; i < 100; i++) { GameObject val3 = Object.Instantiate(Assets.MystIntEnt); val3.transform.SetParent((Transform)(object)component4, false); RectTransform component5 = val3.GetComponent(); component5.anchorMin = new Vector2(0.5f, 1f); component5.anchorMax = new Vector2(0.5f, 1f); component5.anchoredPosition = new Vector2(0f, -55f * (float)i); ChildLocator component6 = val3.GetComponent(); array2[i] = ((Component)component6.FindChild("Frame")).GetComponent(); array3[i] = ((Component)component6.FindChild("Icon")).GetComponent(); array4[i] = ((Component)component6.FindChild("Name")).GetComponent(); array5[i] = ((Component)component6.FindChild("Level")).GetComponent(); array6[i] = ((Component)component6.FindChild("LVtext")).GetComponent(); array7[i] = ((Component)component6.FindChild("Sell")).GetComponentInChildren(); array8[i] = ((Component)component6.FindChild("SellIcon")).GetComponent(); MenuMagiciteSlotHandler menuMagiciteSlotHandler = ((Component)array2[i]).gameObject.AddComponent(); menuMagiciteSlotHandler.menuManager = mystMenuManager; menuMagiciteSlotHandler.slotNo = i; menuMagiciteSlotHandler.slotEQ = false; MenuDesynthesisSlotHandler menuDesynthesisSlotHandler = ((Component)array7[i]).gameObject.AddComponent(); menuDesynthesisSlotHandler.menuManager = mystMenuManager; menuDesynthesisSlotHandler.slotID = i; } mystRunComponent.inventoryMagiciteFrame = array2; mystRunComponent.inventoryMagiciteIcon = array3; mystRunComponent.inventoryMagiciteName = array4; mystRunComponent.inventoryMagiciteLevel = array5; mystRunComponent.inventoryMagiciteLVtex = array6; mystRunComponent.inventoryMagiciteSell = array7; mystRunComponent.inventoryMagiciteSellIcon = array8; ScrollRect component7 = ((Component)component2.FindChild("inventoryFrame")).GetComponent(); BetterMystInventoryScroll betterMystInventoryScroll = ((Component)component2.FindChild("InventoryScrollRect")).gameObject.AddComponent(); ((ScrollRect)betterMystInventoryScroll).content = component7.content; ((ScrollRect)betterMystInventoryScroll).horizontal = component7.horizontal; ((ScrollRect)betterMystInventoryScroll).vertical = component7.vertical; ((ScrollRect)betterMystInventoryScroll).movementType = component7.movementType; ((ScrollRect)betterMystInventoryScroll).elasticity = component7.elasticity; ((ScrollRect)betterMystInventoryScroll).inertia = component7.inertia; ((ScrollRect)betterMystInventoryScroll).scrollSensitivity = component7.scrollSensitivity; ((ScrollRect)betterMystInventoryScroll).viewport = component7.viewport; ((ScrollRect)betterMystInventoryScroll).horizontalScrollbar = component7.horizontalScrollbar; ((ScrollRect)betterMystInventoryScroll).verticalScrollbar = component7.verticalScrollbar; ((ScrollRect)betterMystInventoryScroll).horizontalScrollbarVisibility = component7.horizontalScrollbarVisibility; ((ScrollRect)betterMystInventoryScroll).verticalScrollbarVisibility = component7.verticalScrollbarVisibility; Object.Destroy((Object)(object)component7); int num = 0; Image[] array9 = array; foreach (Image val4 in array9) { MenuMagiciteSlotHandler menuMagiciteSlotHandler2 = ((Component)val4).gameObject.AddComponent(); menuMagiciteSlotHandler2.menuManager = mystMenuManager; menuMagiciteSlotHandler2.slotNo = num; menuMagiciteSlotHandler2.slotEQ = true; num++; } Image[] array10 = (Image[])(object)new Image[7] { ((Component)component2.FindChild("ShopEquip")).GetComponent(), ((Component)component2.FindChild("ShopDust")).GetComponent(), ((Component)component2.FindChild("ShopItem")).GetComponent(), ((Component)component2.FindChild("ShopSpell")).GetComponent(), ((Component)component2.FindChild("ShopLimit")).GetComponent(), ((Component)component2.FindChild("ShopFinisher")).GetComponent(), ((Component)component2.FindChild("ShopSupport")).GetComponent() }; ((Component)((Component)component2.FindChild("SortButton")).GetComponent()).gameObject.AddComponent().menuManager = mystMenuManager; num = 0; Image[] array11 = array10; foreach (Image val5 in array11) { MenuSynthesisSlotHandler menuSynthesisSlotHandler = ((Component)val5).gameObject.AddComponent(); menuSynthesisSlotHandler.menuManager = mystMenuManager; menuSynthesisSlotHandler.slotID = num; num++; } mystRunComponent.hud = self; mystRunComponent.menuManager = mystMenuManager; mystRunComponent.menuTransform = val2; mystRunComponent.menuChildLocator = component2; mystRunComponent.menuAnimator = component3; GameObject val6 = Object.Instantiate(Assets.MystCursor); val6.transform.SetParent(self.mainContainer.transform); RectTransform component8 = val6.GetComponent(); component8.anchorMin = new Vector2(0f, 0f); component8.anchorMax = new Vector2(0f, 0f); component8.sizeDelta = Vector2.one; component8.anchoredPosition = Vector2.zero; mystRunComponent.magiciteCursor = component8; Text component9 = ((Component)component2.FindChild("TutorialTitle")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_TUTORIALTITLE"); component9 = ((Component)component2.FindChild("TutorialText")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_TUTORIALDESCRIPTION"); component9 = ((Component)component2.FindChild("EquippedMagicitesTitle")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_EQUIPPEDMAGICITES"); component9 = ((Component)component2.FindChild("MagiciteInventoryTitle")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_MAGICITEINVENTORY"); component9 = ((Component)component2.FindChild("MagiciteInventoryIcon")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_MAGICITEINVENTORYICON"); component9 = ((Component)component2.FindChild("MagiciteInventoryName")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_MAGICITEINVENTORYNAME"); component9 = ((Component)component2.FindChild("MagiciteInventoryLevel")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_MAGICITEINVENTORYLEVEL"); component9 = ((Component)component2.FindChild("MagiciteInventoryDesynth")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_MAGICITEINVENTORYSCRAP"); component9 = ((Component)component2.FindChild("SythesizeRandomTitle")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_SHOPRANDOM"); component9 = ((Component)component2.FindChild("SythesizeSpellTitle")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_SHOPSPELL"); component9 = ((Component)component2.FindChild("SythesizeLimitTitle")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_SHOPLIMIT"); component9 = ((Component)component2.FindChild("SythesizeFinisherTitle")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_SHOPFINISHER"); component9 = ((Component)component2.FindChild("SythesizeSupportTitle")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_SHOPSUPPORT"); component9 = ((Component)component2.FindChild("SortButtonText")).GetComponent(); component9.text = Language.GetString("JAVANGLE_MYST_BODY_UI_SORT"); } private void ChargedState_OnEnter(orig_OnEnter orig, BaseState self) { orig.Invoke(self); bool flag = Config.OmniStasis.Value; if (!flag) { ReadOnlyCollection teamMembers = TeamComponent.GetTeamMembers((TeamIndex)1); foreach (TeamComponent item in teamMembers) { if (Object.op_Implicit((Object)(object)item.body) && item.body.baseNameToken == "JAVANGLE_MYST_BODY_NAME") { Debug.Log((object)"MystDetected"); flag = true; } } } if (flag && (Object)(object)MystStasisHandler.instance == (Object)null) { ((Component)Object.FindObjectOfType()).gameObject.AddComponent(); } } private void AmmoPickup_OnTriggerStay(orig_OnTriggerStay orig, AmmoPickup self, Collider other) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) if (NetworkServer.active && self.alive && TeamComponent.GetObjectTeam(((Component)other).gameObject) == self.teamFilter.teamIndex) { CharacterBody component = ((Component)other).GetComponent(); if (Object.op_Implicit((Object)(object)component) && component.baseNameToken == "JAVANGLE_MYST_BODY_NAME") { MystPassiveManager component2 = ((Component)component).GetComponent(); component2.GrantNetworkedMagic(15f); } } orig.Invoke(self, other); } private void BrotherSpeechDriver_DoInitialSightResponse(orig_DoInitialSightResponse orig, BrotherSpeechDriver self) { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_00b0: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: 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_0142: Unknown result type (might be due to invalid IL or missing references) //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_014d: Unknown result type (might be due to invalid IL or missing references) //IL_018b: Unknown result type (might be due to invalid IL or missing references) //IL_018d: Unknown result type (might be due to invalid IL or missing references) bool flag = false; bool flag2 = false; ReadOnlyCollection readOnlyInstancesList = CharacterBody.readOnlyInstancesList; for (int i = 0; i < readOnlyInstancesList.Count; i++) { BodyIndex bodyIndex = readOnlyInstancesList[i].bodyIndex; flag |= bodyIndex == BodyCatalog.FindBodyIndex(Myst.characterPrefab); flag2 |= bodyIndex == BodyCatalog.FindBodyIndex("TitanGoldBody"); } if (flag && !flag2) { SpeechInfo[] array = (SpeechInfo[])(object)new SpeechInfo[4] { new SpeechInfo { duration = 1f, maxWait = 0f, mustPlay = true, priority = 0f, token = "JAVANGLE_MYST_BODY_BROTHER_INITIALRESPONSE_MYST_1" }, new SpeechInfo { duration = 1f, maxWait = 0f, mustPlay = true, priority = 0f, token = "JAVANGLE_MYST_BODY_BROTHER_INITIALRESPONSE_MYST_2" }, new SpeechInfo { duration = 1f, maxWait = 0f, mustPlay = true, priority = 0f, token = "JAVANGLE_MYST_BODY_BROTHER_INITIALRESPONSE_MYST_3" }, new SpeechInfo { duration = 1f, maxWait = 0f, mustPlay = true, priority = 0f, token = "JAVANGLE_MYST_BODY_BROTHER_INITIALRESPONSE_MYST_3" } }; self.SendReponseFromPool(array); } orig.Invoke(self); } private void BrotherSpeechDriver_OnBodyKill(orig_OnBodyKill orig, BrotherSpeechDriver self, DamageReport damageReport) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0073: 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_007d: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_0103: 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_010d: Unknown result type (might be due to invalid IL or missing references) //IL_014b: Unknown result type (might be due to invalid IL or missing references) //IL_014c: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)damageReport.victimBody) && damageReport.victimBodyIndex == BodyCatalog.FindBodyIndex(Myst.characterPrefab)) { SpeechInfo[] array = (SpeechInfo[])(object)new SpeechInfo[4] { new SpeechInfo { duration = 1f, maxWait = 0f, mustPlay = true, priority = 0f, token = "JAVANGLE_MYST_BODY_BROTHER_ONBODYKILL_MYST_1" }, new SpeechInfo { duration = 1f, maxWait = 0f, mustPlay = true, priority = 0f, token = "JAVANGLE_MYST_BODY_BROTHER_ONBODYKILL_MYST_2" }, new SpeechInfo { duration = 1f, maxWait = 0f, mustPlay = true, priority = 0f, token = "JAVANGLE_MYST_BODY_BROTHER_ONBODYKILL_MYST_3" }, new SpeechInfo { duration = 1f, maxWait = 0f, mustPlay = true, priority = 0f, token = "JAVANGLE_MYST_BODY_BROTHER_ONBODYKILL_MYST_3" } }; self.SendReponseFromPool(array); } orig.Invoke(self, damageReport); } private void SetUpEmotes() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Expected O, but got Unknown //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Expected O, but got Unknown SurvivorCatalog.Init += (hook_Init)delegate(orig_Init orig) { orig.Invoke(); if (!emoteAPIsetup) { emoteAPIsetup = true; foreach (SurvivorDef allSurvivorDef in SurvivorCatalog.allSurvivorDefs) { if (((Object)allSurvivorDef.bodyPrefab).name == "JavangleMystBody") { GameObject val = Assets.mainAssetBundle.LoadAsset("Myst_emote"); CustomEmotesAPI.ImportArmature(allSurvivorDef.bodyPrefab, val, 0, true); val.GetComponentInChildren().scale = 0.9f; CustomEmotesAPI.CreateNameTokenSpritePair("JAVANGLE_MYST_BODY_NAME", Assets.mainAssetBundle.LoadAsset("MystTauntIcon")); } } } }; CustomEmotesAPI.animChanged += new AnimationChanged(MystHideMeshes); } private void MystHideMeshes(string newAnimation, BoneMapper mapper) { if (!(((Object)mapper).name == "Myst_emote")) { return; } if (newAnimation != "none") { Animator componentInParent = ((Component)((Component)mapper).transform.parent).gameObject.GetComponentInParent(); ChildLocator componentInParent2 = ((Component)mapper).gameObject.GetComponentInParent(); DynamicBone component = ((Component)componentInParent2.FindChild("Cape1")).GetComponent(); DynamicBone component2 = ((Component)componentInParent2.FindChild("Cape3")).GetComponent(); if (!Object.op_Implicit((Object)(object)componentInParent)) { Debug.LogError((object)"Could not find Animator"); return; } if (!Object.op_Implicit((Object)(object)component)) { Debug.LogError((object)"Could not find Mesh Cape1"); return; } if (!Object.op_Implicit((Object)(object)component2)) { Debug.LogError((object)"Could not find Mesh Cape2"); return; } ((Behaviour)component).enabled = true; ((Behaviour)component2).enabled = true; componentInParent.Play("EmoteSwords", 8); } else { Animator componentInParent3 = ((Component)((Component)mapper).transform.parent).gameObject.GetComponentInParent(); ChildLocator componentInParent4 = ((Component)mapper).gameObject.GetComponentInParent(); DynamicBone component3 = ((Component)componentInParent4.FindChild("Cape1")).GetComponent(); DynamicBone component4 = ((Component)componentInParent4.FindChild("Cape3")).GetComponent(); if (!Object.op_Implicit((Object)(object)componentInParent3)) { Debug.LogError((object)"Could not find Animator"); return; } if (!Object.op_Implicit((Object)(object)component3)) { Debug.LogError((object)"Could not find Mesh Cape1"); return; } if (!Object.op_Implicit((Object)(object)component4)) { Debug.LogError((object)"Could not find Mesh Cape2"); return; } ((Behaviour)component3).enabled = false; ((Behaviour)component4).enabled = false; componentInParent3.Play("BufferEmpty", 8); } } private void SetupKKArenaCompat() { MystPassiveManager.isKKAInstalled = true; } private void SetupSceptreSupport() { //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) string text = "JAVANGLE_MYST_BODY_"; SkillDefInfo skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "BASEFORM_LIMITMENU_NAME"; skillDefInfo.skillNameToken = text + "BASEFORM_LIMITMENU_NAME"; skillDefInfo.skillDescriptionToken = text + "BASEFORM_LIMITMENU_DESCRIPTION"; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("MystLimitMenu"); skillDefInfo.activationState = new SerializableEntityStateType(typeof(LimitMenu)); skillDefInfo.activationStateMachineName = "Weapon"; skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = 0.5f; skillDefInfo.beginSkillCooldownOnSkillEnd = true; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = true; skillDefInfo.rechargeStock = 999999; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = 999999; SkillDef val = Skills.CreateSkillDef(skillDefInfo); ItemBase.instance.RegisterScepterSkill(val, "JavangleMystBody", (SkillSlot)3, 0); } } public class MagiciteDefs { private static Color colorSpecial = new Color(0.8f, 0f, 1f, 1f); private static string prefix = "JAVANGLE_MYST_MAGICITE_"; public static Magicite[] magicites = new Magicite[46] { new Magicite(), new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "FIREBALL_NAME", description = prefix + "FIREBALL_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "FIREBALL_INFO", color = Config.SpellMagicite.Value, Skillstate = new Flamebolt(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconConeOfFrost"), name = prefix + "CONEOFFROST_NAME", description = prefix + "CONEOFFROST_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "CONEOFFROST_INFO", color = Config.SpellMagicite.Value, Skillstate = new ConeOfFrost(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconCallLightning"), name = prefix + "CALLLIGHTNING_NAME", description = prefix + "CALLLIGHTNING_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "CALLLIGHTNING_INFO", color = Config.SpellMagicite.Value, Skillstate = new CallLightning(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconMagnet"), name = prefix + "MAGNET_NAME", description = prefix + "MAGNET_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "MAGNET_INFO", color = Config.SpellMagicite.Value, Skillstate = new Magnet(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconReflect"), name = prefix + "REFLECT_NAME", description = prefix + "REFLECT_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "REFLECT_INFO", color = Config.SpellMagicite.Value, Skillstate = new Reflect(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFortify"), name = prefix + "FORTIFY_NAME", description = prefix + "FORTIFY_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "FORTIFY_INFO", color = Config.SpellMagicite.Value, Skillstate = new Fortify(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconHaste"), name = prefix + "HASTE_NAME", description = prefix + "HASTE_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "HASTE_INFO", color = Config.SpellMagicite.Value, Skillstate = new Haste(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconMendWounds"), name = prefix + "MENDWOUNDS_NAME", description = prefix + "MENDWOUNDS_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "MENDWOUNDS_INFO", color = Config.SpellMagicite.Value, Skillstate = new MendWounds(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconAcidSplash"), name = prefix + "ACIDSPLASH_NAME", description = prefix + "ACIDSPLASH_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "ACIDSPLASH_INFO", color = Config.SpellMagicite.Value, Skillstate = new AcidSplash(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconUltima"), name = prefix + "ULTIMA_NAME", description = prefix + "ULTIMA_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "ULTIMA_INFO", color = Config.SpellMagicite.Value, Skillstate = new Ultima(), EXPperLevel = 40f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconDoombolt"), name = prefix + "DOOMBOLT_NAME", description = prefix + "DOOMBOLT_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "DOOMBOLT_INFO", color = Config.SpellMagicite.Value, Skillstate = new Doombolt(), EXPperLevel = 30f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconViciousMockery"), name = prefix + "VICIOUSMOCKERY_NAME", description = prefix + "VICIOUSMOCKERY_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "VICIOUSMOCKERY_INFO", color = Config.SpellMagicite.Value, Skillstate = new ViciousMockery(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconPot"), name = prefix + "POT_NAME", description = prefix + "POT_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "POT_INFO", color = Config.SpellMagicite.Value, Skillstate = new Pot(), EXPperLevel = 10f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconMagicMissile"), name = prefix + "MAGICMISSILE_NAME", description = prefix + "MAGICMISSILE_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "MAGICMISSILE_INFO", color = Config.SpellMagicite.Value, Skillstate = new MagicMissile(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconDispelMagic"), name = prefix + "DISPELMAGIC_NAME", description = prefix + "DISPELMAGIC_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "DISPELMAGIC_INFO", color = Config.SpellMagicite.Value, Skillstate = new DispelMagic(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconGust"), name = prefix + "GUST_NAME", description = prefix + "GUST_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "GUST_INFO", color = Config.SpellMagicite.Value, Skillstate = new Gust(), EXPperLevel = 15f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "GIGASLASH_NAME", description = prefix + "GIGASLASH_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "GIGASLASH_INFO", color = Config.SpellMagicite.Value, Skillstate = new IrresistibleDance(), EXPperLevel = 1000f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "ALL_NAME", description = prefix + "ALL_DESCRIPTION", type = Magicite.MagiciteType.Support, info = prefix + "ALL_INFO", color = Config.SupportMagicite.Value, Skillstate = null, EXPperLevel = 40f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "MULTI_NAME", description = prefix + "MULTI_DESCRIPTION", type = Magicite.MagiciteType.Support, info = prefix + "MULTI_INFO", color = Config.SupportMagicite.Value, Skillstate = null, EXPperLevel = 80f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "MPTURBO_NAME", description = prefix + "MPTURBO_DESCRIPTION", type = Magicite.MagiciteType.Support, info = prefix + "MPTURBO_INFO", color = Config.SupportMagicite.Value, Skillstate = null, EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "MPTHRIFT_NAME", description = prefix + "MPTHRIFT_DESCRIPTION", type = Magicite.MagiciteType.Support, info = prefix + "MPTHRIFT_INFO", color = Config.SupportMagicite.Value, Skillstate = null, EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "USEONCAST_NAME", description = prefix + "USEONCAST_DESCRIPTION", type = Magicite.MagiciteType.Support, info = prefix + "USEONCAST_INFO", color = Config.SupportMagicite.Value, Skillstate = null, EXPperLevel = 40f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "KILLONCAST_NAME", description = prefix + "KILLONCAST_DESCRIPTION", type = Magicite.MagiciteType.Support, info = prefix + "KILLONCAST_INFO", color = Config.SupportMagicite.Value, Skillstate = null, EXPperLevel = 40f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "HEALTHSYPHON_NAME", description = prefix + "HEALTHSYPHON_DESCRIPTION", type = Magicite.MagiciteType.Support, info = prefix + "HEALTHSYPHON_INFO", color = Config.SupportMagicite.Value, Skillstate = null, EXPperLevel = 40f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "LIMITSYPHON_NAME", description = prefix + "LIMITSYPHON_DESCRIPTION", type = Magicite.MagiciteType.Support, info = prefix + "LIMITSYPHON_INFO", color = Config.SupportMagicite.Value, Skillstate = null, EXPperLevel = 50f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "FATEDCIRCLE_NAME", description = prefix + "FATEDCIRCLE_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "FATEDCIRCLE_INFO", color = Config.FinisherMagicite.Value, Skillstate = new FatedCircle(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "EXPLOSION_NAME", description = prefix + "EXPLOSION_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "EXPLOSION_INFO", color = Config.FinisherMagicite.Value, Skillstate = new Explosion(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconBlastingZone"), name = prefix + "BLASTINGZONE_NAME", description = prefix + "BLASTINGZONE_DESCRIPTION", type = Magicite.MagiciteType.Limit, info = prefix + "BLASTINGZONE_INFO", color = Config.LimitMagicite.Value, Skillstate = new BlastingZone(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconWildMagicSurge"), name = prefix + "WILDMAGIC_NAME", description = prefix + "WILDMAGIC_DESCRIPTION", type = Magicite.MagiciteType.Limit, info = prefix + "WILDMAGIC_INFO", color = Config.LimitMagicite.Value, Skillstate = new WildMagicSurge(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "DARKPASSENGER_NAME", description = prefix + "DARKPASSENGER_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "DARKPASSENGER_INFO", color = Config.FinisherMagicite.Value, Skillstate = new DarkPassenger(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "RIPPLEDRIVE_NAME", description = prefix + "RIPPLEDRIVE_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "RIPPLEDRIVE_INFO", color = Config.FinisherMagicite.Value, Skillstate = new RippleDrive(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconPowerWordKill"), name = prefix + "POWERWORDKILL_NAME", description = prefix + "POWERWORDKILL_DESCRIPTION", type = Magicite.MagiciteType.Limit, info = prefix + "POWERWORDKILL_INFO", color = Config.LimitMagicite.Value, Skillstate = new PowerWordKill(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconPyroclasm"), name = prefix + "PYROCLASM_NAME", description = prefix + "PYROCLASM_DESCRIPTION", type = Magicite.MagiciteType.Limit, info = prefix + "PYROCLASM_INFO", color = Config.LimitMagicite.Value, Skillstate = new Pyroclasm(), EXPperLevel = 50f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconZoom"), name = prefix + "ZOOM_NAME", description = prefix + "ZOOM_DESCRIPTION", type = Magicite.MagiciteType.Limit, info = prefix + "ZOOM_INFO", color = Config.LimitMagicite.Value, Skillstate = new Zoom(), EXPperLevel = 15f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconBerserkEnter"), name = prefix + "BERSERKFORM_NAME", description = prefix + "BERSERKFORM_DESCRIPTION", type = Magicite.MagiciteType.Limit, info = prefix + "BERSERKFORM_INFO", color = Config.LimitMagicite.Value, Skillstate = new FormChangeBerserk(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "JUDGEMENTCUT_NAME", description = prefix + "JUDGEMENTCUT_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "JUDGEMENTCUT_INFO", color = Config.FinisherMagicite.Value, Skillstate = new JudgementCut(), EXPperLevel = 40f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "CHALLENGINGSHOUT_NAME", description = prefix + "CHALLENGINGSHOUT_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "CHALLENGINGSHOUT_INFO", color = Config.FinisherMagicite.Value, Skillstate = new ChallengingShout(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "BLADEDANCE_NAME", description = prefix + "BLADEDANCE_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "BLADEDANCE_INFO", color = Config.FinisherMagicite.Value, Skillstate = new BladeDance(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "FROSTFANGS_NAME", description = prefix + "FROSTFANGS_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "FROSTFANGS_INFO", color = Config.FinisherMagicite.Value, Skillstate = new FrostFangs(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "HANDOFGOD_NAME", description = prefix + "HANDOFGOD_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "HANDOFGOD_INFO", color = Config.FinisherMagicite.Value, Skillstate = new HandOfGod(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconJCE"), name = prefix + "JUDGEMENTCUTEND_NAME", description = prefix + "JUDGEMENTCUTEND_DESCRIPTION", type = Magicite.MagiciteType.Limit, info = prefix + "JUDGEMENTCUTEND_INFO", color = Config.LimitMagicite.Value, Skillstate = new JudgementCutEnd(), EXPperLevel = 40f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconEclipseGate"), name = prefix + "ECLIPSEGATE_NAME", description = prefix + "ECLIPSEGATE_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "ECLIPSEGATE_INFO", color = Config.SpellMagicite.Value, Skillstate = new EclipseGate(), EXPperLevel = 20f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "SHILLELAGH_NAME", description = prefix + "SHILLELAGH_DESCRIPTION", type = Magicite.MagiciteType.Finisher, info = prefix + "SHILLELAGH_INFO", color = Config.FinisherMagicite.Value, Skillstate = new Shillelagh(), EXPperLevel = 25f, levelMAX = 5 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconFireball"), name = prefix + "MASS_NAME", description = prefix + "MASS_DESCRIPTION", type = Magicite.MagiciteType.Support, info = prefix + "MASS_INFO", color = Config.SupportMagicite.Value, Skillstate = null, EXPperLevel = 15f, levelMAX = 30 }, new Magicite { icon = Assets.mainAssetBundle.LoadAsset("IconCrashToDesktop"), name = prefix + "CRASHTODESKTOP_NAME", description = prefix + "CRASHTODESKTOP_DESCRIPTION", type = Magicite.MagiciteType.Spell, info = prefix + "CRASHTODESKTOP_INFO", color = Config.SpellMagicite.Value, Skillstate = new CrashToDesktop(), EXPperLevel = 20f, levelMAX = 5 } }; public static int[] SpellMagicites = new int[18] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 42, 45 }; public static int[] LimitMagicites = new int[7] { 28, 29, 32, 33, 34, 35, 41 }; public static int[] FinisherMagicites = new int[9] { 26, 27, 30, 31, 36, 37, 38, 39, 43 }; public static int[] SupportMagicites = new int[9] { 18, 19, 20, 21, 22, 23, 24, 25, 44 }; public static Color[] AllColors => (Color[])(object)new Color[6] { Config.SpellMagicite.Value, Config.FinisherMagicite.Value, Config.LimitMagicite.Value, Config.SupportMagicite.Value, colorSpecial, new Color(0f, 0f, 0f, 0.6f) }; public static void SetSortOrder() { int num = 0; for (int i = 0; i < 4; i++) { Magicite[] array = magicites; foreach (Magicite magicite in array) { if (magicite.type == (Magicite.MagiciteType)i) { num = (magicite.ID = num + 1); } } } } public static int AddMagiciteDef(Magicite magiciteDef, Magicite.MagiciteType catalogOverride = Magicite.MagiciteType.None) { int num = magicites.Length; Array.Resize(ref magicites, num + 1); magicites[num] = magiciteDef; switch ((catalogOverride == Magicite.MagiciteType.None) ? magiciteDef.type : catalogOverride) { default: Debug.LogError((object)"[MystError] Magicite added through MagiciteDef had an invalid type?"); break; case Magicite.MagiciteType.Spell: Array.Resize(ref SpellMagicites, SpellMagicites.Length + 1); SpellMagicites[SpellMagicites.Length - 1] = num; break; case Magicite.MagiciteType.Finisher: Array.Resize(ref FinisherMagicites, FinisherMagicites.Length + 1); FinisherMagicites[FinisherMagicites.Length - 1] = num; break; case Magicite.MagiciteType.Limit: Array.Resize(ref LimitMagicites, LimitMagicites.Length + 1); LimitMagicites[LimitMagicites.Length - 1] = num; break; case Magicite.MagiciteType.Support: Array.Resize(ref SupportMagicites, SupportMagicites.Length + 1); SupportMagicites[SupportMagicites.Length - 1] = num; break; } SetSortOrder(); return num; } } public class Magicite { public enum MagiciteType { Spell, Finisher, Support, Limit, None } public Sprite icon = Assets.mainAssetBundle.LoadAsset("texBazookaOutIcon"); public string name = ""; public string description = ""; public string info = ""; public Color color = Color.clear; public MagiciteType type = MagiciteType.None; public BaseMagiciteSkill Skillstate = null; public float EXPperLevel = 100000000f; public int levelMAX = 5; public int ID = 99999999; } public class SpellDef { public Sprite icon = Assets.mainAssetBundle.LoadAsset("texBazookaOutIcon"); public string name = "Empty"; public string description = "Nothing here"; public Color color = Color.white; public BaseMagiciteSkill Skillstate = null; } public class MagiciteDust { public static ItemDef itemDef; public AssetReference reference2; private static string prefix = "JAVANGLE_MYST_MAGICITE_"; public static void setUp() { //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0177: Unknown result type (might be due to invalid IL or missing references) //IL_0196: Unknown result type (might be due to invalid IL or missing references) //IL_019d: Expected O, but got Unknown GameObject val = Assets.mainAssetBundle.LoadAsset("MagiciteDust"); GameObject gameObject = ((Component)val.GetComponent().FindChild("MainModel")).gameObject; Shader shader = LegacyResourcesAPI.Load("Shaders/Deferred/HGStandard"); Shader shader2 = Addressables.LoadAssetAsync((object)"RoR2/Base/Shaders/HGCloudRemap.shader").WaitForCompletion(); MeshRenderer[] componentsInChildren = gameObject.GetComponentsInChildren(); foreach (MeshRenderer val2 in componentsInChildren) { if (Object.op_Implicit((Object)(object)val2) && Object.op_Implicit((Object)(object)((Renderer)val2).material)) { ((Renderer)val2).material.shader = shader2; } } MeshRenderer component = gameObject.GetComponent(); if (Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)((Renderer)component).material)) { ((Renderer)component).material.shader = shader; } itemDef = ScriptableObject.CreateInstance(); ((Object)itemDef).name = "JavAngleMagiciteDust"; itemDef.nameToken = prefix + "DUST_NAME"; itemDef.descriptionToken = prefix + "DUST_DESCRIPTION"; itemDef.pickupToken = prefix + "DUST_PICKUP"; itemDef.loreToken = prefix + "DUST_LORE"; itemDef.pickupModelPrefab = val; itemDef.pickupIconSprite = Assets.mainAssetBundle.LoadAsset("textMagiciteIcon2"); itemDef.deprecatedTier = (ItemTier)5; itemDef.hidden = false; ItemDisplayRule[] array = (ItemDisplayRule[])(object)new ItemDisplayRule[0]; CustomItem val3 = new CustomItem(itemDef, array); ItemAPI.Add(val3); } } } namespace MystMod.SkillStates { public class EmptySkill : BaseSkillState { public static SkillDef Empty; public override void OnEnter() { ((BaseState)this).OnEnter(); } public override void OnExit() { ((EntityState)this).OnExit(); } public static void SetUpEmpty() { //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_004d: 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) SkillDefInfo skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = ""; skillDefInfo.skillNameToken = ""; skillDefInfo.skillDescriptionToken = ""; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("texBazookaOutIcon"); skillDefInfo.activationState = new SerializableEntityStateType(typeof(EmptySkill)); skillDefInfo.activationStateMachineName = "Weapon"; skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = 0f; skillDefInfo.beginSkillCooldownOnSkillEnd = false; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)0; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = false; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = 1; Empty = Skills.CreateSkillDef(skillDefInfo); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (((EntityState)this).fixedAge > 1f) { ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class BaseMagicChanneledSkill : BaseMagicSkill { public GameObject channelVFXx; public string channelSFXstring = "Magic_Channel"; private GameObject _channelVFX; private uint _channelSFX; private string _castAnimString; public override void InitStatsAndVariables() { _castAnimString = animationNameString; animationLayerString = "FullBody, Override"; animationNameString = "ChannelCastEnter"; } public override void OnEnter() { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); animationNameString = _castAnimString; _channelVFX = Object.Instantiate(channelVFXx, ((EntityState)this).characterBody.footPosition, ((EntityState)this).characterBody.transform.rotation, ((EntityState)this).characterBody.transform); _channelSFX = Util.PlaySound(channelSFXstring, ((EntityState)this).gameObject); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Entangle); } } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge < castTime && ((EntityState)this).isAuthority && ((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser.inputPlayer.GetButtonDown(18)) { ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Entangle); } if (!hasCasted) { ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty", "SpellCast.playbackRate", 1f, 0f); destroyChannelFX(); } base.OnExit(); } private void destroyChannelFX() { if (Object.op_Implicit((Object)(object)_channelVFX) && !Object.op_Implicit((Object)(object)_channelVFX.GetComponent())) { CustomParticleEnd customParticleEnd = _channelVFX.AddComponent(); customParticleEnd.ParticleDuration = 0f; customParticleEnd.ParticleFadeTime = 5f; AkSoundEngine.StopPlayingID(_channelSFX, 1, (AkCurveInterpolation)4); } } public override void OnCast() { destroyChannelFX(); ((EntityState)this).PlayAnimation(animationLayerString, animationNameString, "SpellCast.playbackRate", 1f, 0f); base.OnCast(); } } public class BaseMagiciteSkill : BaseSkillState { public int finisherIndex = 0; public int spellComboIndex = 0; public bool resetAfterCast = true; public int Level = 1; public int MagAll = 0; public int MagMulti = 0; public int MagTurbo = 0; public int MagThrift = 0; public int MagUse = 0; public int MagKill = 0; public int MagHsyphon = 0; public int MagLsyphon = 0; public bool WildMagicCast = false; public bool buttonHoldM = true; protected MystPassiveManager passiveManager; public override void OnEnter() { ((BaseState)this).OnEnter(); buttonHoldM = true; ((EntityState)this).fixedAge = 0f; resetAfterCast = true; passiveManager = ((EntityState)this).GetComponent(); } public override void OnExit() { if (resetAfterCast && spellComboIndex >= MagMulti) { passiveManager.EquipMagicite(); } if (buttonHoldM && ((EntityState)this).inputBank.skill1.down && finisherIndex > 0) { if (finisherIndex < 8 && passiveManager.finisherList[finisherIndex].Skillstate != new SpellDef().Skillstate) { BaseMagiciteSkill skillstate = passiveManager.finisherList[finisherIndex].Skillstate; skillstate.finisherIndex = finisherIndex + 1; ((EntityState)this).outer.SetNextState((EntityState)(object)skillstate); } else { ((EntityState)this).outer.SetNextState((EntityState)(object)new MystBasicSwing { areFinishers = true }); } } else { ((EntityState)this).OnExit(); } } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (!((EntityState)this).inputBank.skill1.down) { buttonHoldM = false; } } public void clearModifiers() { MagAll = 0; MagMulti = 0; MagTurbo = 0; MagThrift = 0; MagUse = 0; MagKill = 0; MagHsyphon = 0; MagLsyphon = 0; WildMagicCast = false; } public void Debugger() { Chat.AddMessage("All" + MagAll); Chat.AddMessage("Multi" + MagMulti); Chat.AddMessage("Turbo" + MagTurbo); Chat.AddMessage("Thrift" + MagThrift); Chat.AddMessage("Use" + MagUse); Chat.AddMessage("Kill" + MagKill); Chat.AddMessage("HSyphon" + MagHsyphon); Chat.AddMessage("LSyphon" + MagLsyphon); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } public override void OnSerialize(NetworkWriter writer) { ((BaseSkillState)this).OnSerialize(writer); writer.Write(Level); writer.Write(finisherIndex); writer.Write(spellComboIndex); writer.Write(MagAll); writer.Write(MagMulti); writer.Write(MagTurbo); writer.Write(MagThrift); writer.Write(MagUse); writer.Write(MagKill); writer.Write(MagHsyphon); writer.Write(MagLsyphon); writer.Write(WildMagicCast); } public override void OnDeserialize(NetworkReader reader) { ((BaseSkillState)this).OnDeserialize(reader); Level = reader.ReadInt32(); finisherIndex = reader.ReadInt32(); spellComboIndex = reader.ReadInt32(); MagAll = reader.ReadInt32(); MagMulti = reader.ReadInt32(); MagTurbo = reader.ReadInt32(); MagThrift = reader.ReadInt32(); MagUse = reader.ReadInt32(); MagKill = reader.ReadInt32(); MagHsyphon = reader.ReadInt32(); MagLsyphon = reader.ReadInt32(); WildMagicCast = reader.ReadBoolean(); } } public class BaseMagicSkill : BaseMagiciteSkill { public float baseMagicCost = 0f; public float basePotency = 0f; public float baseDuration = 0.65f; public float baseCastTime = 0.6f; public string animationLayerString = ""; public string animationNameString = ""; public float currentMagicCost; public float currentPotency; private float duration; public float castTime; public bool hasCasted = false; private bool spellCastSucceed = false; public Animator animator; public MystTracker tracker; public Transform muzzle; public virtual void InitStatsAndVariables() { } public override void OnEnter() { base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasCasted = false; InitStatsAndVariables(); currentMagicCost = baseMagicCost; currentPotency = baseMagicCost; float num = ((spellComboIndex > 0) ? (1f / ((BaseState)this).attackSpeedStat / 5f) : (1f / ((BaseState)this).attackSpeedStat)); duration = baseDuration * num; castTime = baseCastTime * duration; animator = ((EntityState)this).GetModelAnimator(); animator.SetBool("attacking", true); ((EntityState)this).PlayAnimation(animationLayerString, animationNameString, "SpellCast.playbackRate", 1f * num, 0f); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; ((EntityState)this).characterBody.SetAimTimer(2f); ((BaseState)this).StartAimMode(0.5f + duration, false); muzzle = ((EntityState)this).GetModelChildLocator().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); tracker = ((EntityState)this).GetComponent(); MagicSupportMethod(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= castTime) { CastSpell(); } if (hasCasted && ((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { if (spellCastSucceed && spellComboIndex < MagMulti) { BaseMagicSkill baseMagicSkill = (BaseMagicSkill)Activator.CreateInstance(((object)this).GetType()); baseMagicSkill.spellComboIndex = spellComboIndex + 1; baseMagicSkill.MagMulti = MagMulti; ((EntityState)this).outer.SetNextState((EntityState)(object)baseMagicSkill); } else { ((EntityState)this).outer.SetNextStateToMain(); } } } public override void OnExit() { base.OnExit(); } private void CastSpell() { if (hasCasted) { return; } hasCasted = true; spellCastSucceed = false; OnCast(); if (spellComboIndex <= 0 && !passiveManager.ResourceCost(currentMagicCost, 0)) { return; } spellCastSucceed = true; OnCastSuceed(); CastEffect(); HurtBox trackingTarget = tracker.GetTrackingTarget(); TargetCastEffect(trackingTarget); HurtBox[] secondaryTargets; if (Object.op_Implicit((Object)(object)trackingTarget) && MagAll > 0) { secondaryTargets = tracker.GetSecondaryTargets(); for (int i = 0; i < MagAll && i + 1 < secondaryTargets.Length; i++) { HurtBox val = secondaryTargets[i + 1]; if (Object.op_Implicit((Object)(object)val)) { TargetCastEffect(val); } } } trackingTarget = null; secondaryTargets = null; trackingTarget = tracker.GetAllyTarget(); AllyTargetCastEffect(trackingTarget); if (!Object.op_Implicit((Object)(object)trackingTarget) || MagAll <= 0) { return; } secondaryTargets = tracker.GetAllyTargets(); for (int j = 0; j < MagAll && j + 1 < secondaryTargets.Length; j++) { HurtBox val2 = secondaryTargets[j + 1]; if (Object.op_Implicit((Object)(object)val2)) { AllyTargetCastEffect(val2); } } } public virtual void CastEffect() { } public virtual void TargetCastEffect(HurtBox target) { } public virtual void AllyTargetCastEffect(HurtBox target) { } private void MagicSupportMethod() { float num = 1f; num += 0.2f * (float)MagTurbo; currentPotency = basePotency; currentPotency *= num; if (baseMagicCost == float.PositiveInfinity) { currentMagicCost = passiveManager.magicMAX; return; } num = 1f; num += 0.2f * (float)MagTurbo; num += -0.1f * (float)MagThrift; num += ((MagMulti > 0) ? (0.5f + 0.5f * (float)MagMulti) : 0f); currentMagicCost = baseMagicCost; currentMagicCost *= num; currentMagicCost += Mathf.Max((MagUse > 0) ? (11 + -1 * MagUse) : 0, 0); currentMagicCost += Mathf.Max((MagKill > 0) ? (11f + -1f * (float)MagKill) : 0f, 0f); } public virtual void OnCast() { } public virtual void OnCastSuceed() { //IL_00f6: 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_0057: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Expected O, but got Unknown //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Expected O, but got Unknown //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00ab: Expected O, but got Unknown if (NetworkServer.active) { if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } if (NetworkServer.active) { ((EntityState)this).healthComponent.Heal(currentMagicCost / 25f * (float)MagHsyphon * ((EntityState)this).characterBody.damage, default(ProcChainMask), true); } passiveManager.GrantNetworkedLimit(currentMagicCost / 50f * (float)MagLsyphon); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class EmptySlot : BaseMagiciteSkill { public override void OnEnter() { base.OnEnter(); } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0072: 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_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Unknown result type (might be due to invalid IL or missing references) base.FixedUpdate(); bool flag = false; if (((EntityState)this).inputBank.skill1.down) { flag = true; } if (((EntityState)this).inputBank.skill2.down) { flag = true; } if (((EntityState)this).inputBank.skill3.down) { flag = true; } if (((EntityState)this).inputBank.skill4.down) { flag = true; } KeyboardShortcut value = Config.ExtraSlot1.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { flag = true; } value = Config.ExtraSlot2.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { flag = true; } value = Config.ExtraSlot3.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { flag = true; } value = Config.ExtraSlot4.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { flag = true; } if (!flag) { ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class ObtainedMagicite { public Magicite magicite = MagiciteDefs.magicites[0]; public int levelRN = 1; public int levelMAX = 5; public float EXPtoNextLevel = 100000000f; private float EXPperLevel = 100000000f; public bool grantEXP(float exp) { if (levelRN < levelMAX) { EXPtoNextLevel -= exp; if (EXPtoNextLevel <= 0f) { levelRN++; EXPtoNextLevel += EXPperLevel; return true; } } return false; } public void SetUpMagicite() { EXPperLevel = magicite.EXPperLevel; levelMAX = magicite.levelMAX; EXPtoNextLevel = EXPperLevel; } } public class MystMain : GenericCharacterMain { private Animator animator; private MystController mystController; private MystPassiveManager passiveManager; protected EntityStateMachine weaponStateMachine; public LocalUser localUser; private EntityStateMachine stateMachine; public override void OnEnter() { ((GenericCharacterMain)this).OnEnter(); animator = ((EntityState)this).GetModelAnimator(); mystController = ((EntityState)this).GetComponent(); passiveManager = ((EntityState)this).GetComponent(); localUser = LocalUserManager.readOnlyLocalUsersList[0]; EntityStateMachine[] components = ((EntityState)this).gameObject.GetComponents(); foreach (EntityStateMachine val in components) { if (Object.op_Implicit((Object)(object)val) && val.customName == "Weapon") { weaponStateMachine = val; } } stateMachine = EntityStateMachine.FindByCustomName(((Component)((EntityState)this).characterBody).gameObject, "Weapon"); } public override void Update() { //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_006f: 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_0083: Unknown result type (might be due to invalid IL or missing references) ((GenericCharacterMain)this).Update(); if (!((EntityState)this).isAuthority) { return; } KeyboardShortcut value = Config.OpenMenu.Value; if ((((KeyboardShortcut)(ref value)).IsDown() || Input.GetKeyDown(Config.OpenMenupad.Value)) && checkIfOutOfCombatAbilityIsValid()) { ((EntityState)this).characterBody.isSprinting = false; ((EntityState)this).outer.SetInterruptState((EntityState)(object)new MagiciteMenu(), (InterruptPriority)2); return; } value = Config.Emote.Value; if ((((KeyboardShortcut)(ref value)).IsDown() || Input.GetKeyDown(Config.Emotepad.Value)) && checkIfOutOfCombatAbilityIsValid()) { ((EntityState)this).characterBody.isSprinting = false; ((EntityState)this).outer.SetInterruptState((EntityState)(object)new MystTaunt(), (InterruptPriority)2); } } private bool checkIfOutOfCombatAbilityIsValid() { Debug.Log((object)"--==[*Magicite Menu Open Checks*]==--"); Debug.Log((object)("[IsPlayerControlled?]: " + ((EntityState)this).characterBody.isPlayerControlled)); Debug.Log((object)("[ IsOutOfFormchange?]: " + !passiveManager.isInFormchange)); Debug.Log((object)("[ IsInMainState?]: " + stateMachine.IsInMainState())); Debug.Log((object)("[ IsGrounded?]: " + ((EntityState)this).characterMotor.isGrounded)); Debug.Log((object)("[ IsNotMoving?]: " + (Mathf.Abs(((Vector3)(ref ((EntityState)this).characterMotor.velocity)).magnitude) < 0.1f))); Debug.Log((object)("[ isNotUIfocused?]: " + !localUser.isUIFocused)); return ((EntityState)this).characterBody.isPlayerControlled && !passiveManager.isInFormchange && stateMachine.IsInMainState() && ((EntityState)this).characterMotor.isGrounded && Mathf.Abs(((Vector3)(ref ((EntityState)this).characterMotor.velocity)).magnitude) < 0.1f && !localUser.isUIFocused; } public override void FixedUpdate() { ((GenericCharacterMain)this).FixedUpdate(); if (Object.op_Implicit((Object)(object)animator)) { float num = 1f; if (animator.GetBool("isGrounded")) { num = 0f; } animator.SetFloat("inAir", num); animator.SetBool("inCombat", !((EntityState)this).characterBody.outOfCombat || !((EntityState)this).characterBody.outOfDanger); } if (Object.op_Implicit((Object)(object)mystController)) { animator.SetBool("inBazooka", mystController.hasBazookaReady); if (mystController.hasBazookaReady) { ((EntityState)this).characterBody.isSprinting = false; ((BaseState)this).StartAimMode(0.5f, false); } } } } } namespace MystMod.SkillStates.Myst { public class LimitMenu : BaseSkillState { private MystPassiveManager MystHuD; private bool buttonReleased; public override void OnEnter() { ((BaseState)this).OnEnter(); buttonReleased = false; MystHuD = ((EntityState)this).GetComponent(); MystHuD.SetIconsLimit(); MystHuD.menuActivate(0.5f); } public override void OnExit() { ((EntityState)this).OnExit(); MystHuD.SetIconsDefault(); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); SpellSelect(); SprintCancel(); } private void SpellSelect() { //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_0118: Unknown result type (might be due to invalid IL or missing references) //IL_011c: 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_0156: Unknown result type (might be due to invalid IL or missing references) //IL_015a: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Unknown result type (might be due to invalid IL or missing references) //IL_0194: Unknown result type (might be due to invalid IL or missing references) //IL_0198: 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_01d2: Unknown result type (might be due to invalid IL or missing references) //IL_01d6: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority) { if (!((EntityState)this).inputBank.skill4.down) { buttonReleased = true; } if (((EntityState)this).inputBank.skill1.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.limitList[0].Skillstate); } if (((EntityState)this).inputBank.skill2.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.limitList[1].Skillstate); } if (((EntityState)this).inputBank.skill3.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.limitList[2].Skillstate); } if (((EntityState)this).inputBank.skill4.down && buttonReleased) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.limitList[3].Skillstate); } KeyboardShortcut value = Config.ExtraSlot1.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.limitList[4].Skillstate); } value = Config.ExtraSlot2.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.limitList[5].Skillstate); } value = Config.ExtraSlot3.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.limitList[6].Skillstate); } value = Config.ExtraSlot4.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.limitList[7].Skillstate); } } } private void SprintCancel() { ((EntityState)this).characterBody.isSprinting = false; if (((EntityState)this).isAuthority && ((EntityState)this).characterBody.isPlayerControlled && ((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser.inputPlayer.GetButtonDown(18)) { ((EntityState)this).characterBody.isSprinting = true; ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class MagiciteMenu : BaseSkillState { private MystPassiveManager MystHuD; private Animator animator; public bool normalizeModel; public override void OnEnter() { ((BaseState)this).OnEnter(); animator = ((EntityState)this).GetModelAnimator(); MystHuD = ((EntityState)this).GetComponent(); MystHuD.OpenMagiciteMenu(); ((EntityState)this).characterBody.hideCrosshair = true; if (Object.op_Implicit((Object)(object)((EntityState)this).GetAimAnimator())) { ((Behaviour)((EntityState)this).GetAimAnimator()).enabled = false; } animator.SetLayerWeight(animator.GetLayerIndex("AimPitch"), 0f); animator.SetLayerWeight(animator.GetLayerIndex("AimYaw"), 0f); ((EntityState)this).PlayAnimation("FullBody, Override", "THONK"); } public override void OnExit() { ((EntityState)this).OnExit(); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; ((EntityState)this).characterBody.hideCrosshair = false; if (((EntityState)this).isAuthority) { MPEventSystem combinedEventSystem = MPEventSystemManager.combinedEventSystem; combinedEventSystem.cursorOpenerCount -= 1; } if (Object.op_Implicit((Object)(object)MystHuD)) { MystHuD.CloseMagiciteMenu(); } if (Object.op_Implicit((Object)(object)((EntityState)this).GetAimAnimator())) { ((Behaviour)((EntityState)this).GetAimAnimator()).enabled = true; } if (Object.op_Implicit((Object)(object)animator)) { animator.SetBool("attacking", true); animator.SetLayerWeight(animator.GetLayerIndex("AimPitch"), 1f); animator.SetLayerWeight(animator.GetLayerIndex("AimYaw"), 1f); } ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty"); } public override void FixedUpdate() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).FixedUpdate(); KeyboardShortcut value = Config.OpenMenu.Value; if (Input.GetKeyDown(((KeyboardShortcut)(ref value)).MainKey)) { ((EntityState)this).outer.SetNextStateToMain(); } SprintCancel(); } private void SprintCancel() { if (((EntityState)this).isAuthority) { if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody) && Object.op_Implicit((Object)(object)((EntityState)this).characterBody.master) && Object.op_Implicit((Object)(object)((EntityState)this).characterBody.master.playerCharacterMasterController) && Object.op_Implicit((Object)(object)((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser) && ((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser.inputPlayer.GetButtonDown(18)) { ((EntityState)this).outer.SetNextStateToMain(); } else if (Input.GetKeyDown((KeyCode)27)) { Console.instance.SubmitCmd((NetworkUser)null, "pause", false); ((EntityState)this).outer.SetNextStateToMain(); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class MagicMenu : BaseSkillState { private MystPassiveManager MystHuD; private bool buttonReleased; public override void OnEnter() { ((EntityState)this).characterBody.isSprinting = false; ((BaseState)this).OnEnter(); buttonReleased = false; MystHuD = ((EntityState)this).GetComponent(); MystHuD.SetIconsMagic(); MystHuD.menuActivate(0.5f); SpellSelect(); } public override void OnExit() { ((EntityState)this).OnExit(); MystHuD.SetIconsDefault(); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); SpellSelect(); SprintCancel(); } private void SpellSelect() { //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_0118: Unknown result type (might be due to invalid IL or missing references) //IL_011c: 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_0156: Unknown result type (might be due to invalid IL or missing references) //IL_015a: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Unknown result type (might be due to invalid IL or missing references) //IL_0194: Unknown result type (might be due to invalid IL or missing references) //IL_0198: 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_01d2: Unknown result type (might be due to invalid IL or missing references) //IL_01d6: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority) { if (!((EntityState)this).inputBank.skill3.down) { buttonReleased = true; } if (((EntityState)this).inputBank.skill1.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.spellList[0].Skillstate); } if (((EntityState)this).inputBank.skill2.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.spellList[1].Skillstate); } if (((EntityState)this).inputBank.skill3.down && buttonReleased) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.spellList[2].Skillstate); } if (((EntityState)this).inputBank.skill4.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.spellList[3].Skillstate); } KeyboardShortcut value = Config.ExtraSlot1.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.spellList[4].Skillstate); } value = Config.ExtraSlot2.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.spellList[5].Skillstate); } value = Config.ExtraSlot3.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.spellList[6].Skillstate); } value = Config.ExtraSlot4.Value; if (Input.GetKey(((KeyboardShortcut)(ref value)).MainKey)) { ((EntityState)this).outer.SetNextState((EntityState)(object)MystHuD.spellList[7].Skillstate); } } } private void SprintCancel() { ((EntityState)this).characterBody.isSprinting = false; if (((EntityState)this).isAuthority && ((EntityState)this).characterBody.isPlayerControlled && ((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser.inputPlayer.GetButtonDown(18)) { ((EntityState)this).characterBody.isSprinting = true; ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class BetterMystInventoryScroll : ScrollRect { public override void OnInitializePotentialDrag(PointerEventData eventData) { } public override void OnBeginDrag(PointerEventData eventData) { } public override void OnDrag(PointerEventData eventData) { } public override void OnEndDrag(PointerEventData eventData) { } } internal class MenuDesynthesisSlotHandler : MonoBehaviour, IPointerClickHandler, IEventSystemHandler, IPointerEnterHandler, IPointerExitHandler { public MystMenuManager menuManager; public int slotID; public bool active; private Image frame; private void Awake() { frame = ((Component)this).GetComponent(); } public void OnPointerClick(PointerEventData eventData) { menuManager.DesynthesisSell(slotID); } public void OnPointerEnter(PointerEventData eventData) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) ((Graphic)frame).color = Color.white; Util.PlaySound("Play_UI_menuHover", ((Component)RoR2Application.instance).gameObject); } public void OnPointerExit(PointerEventData eventData) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) ((Graphic)frame).color = Color.clear; } } public class MenuMagiciteSlotHandler : MonoBehaviour, IPointerEnterHandler, IEventSystemHandler, IPointerExitHandler, IPointerDownHandler, IPointerUpHandler, IDragHandler { public MystMenuManager menuManager; public int slotNo; public bool slotEQ; private Image frame; private void Awake() { frame = ((Component)this).GetComponent(); } public void OnPointerEnter(PointerEventData eventData) { //IL_0030: Unknown result type (might be due to invalid IL or missing references) Util.PlaySound("Play_UI_menuHover", ((Component)RoR2Application.instance).gameObject); ((Graphic)frame).color = new Color(1f, 1f, 1f, 1f); menuManager.EquippedSlotDisplayUpdate(slotNo, slotEQ); menuManager.CursorHover(slotNo, slotEQ); } public void OnPointerExit(PointerEventData eventData) { //IL_001b: Unknown result type (might be due to invalid IL or missing references) ((Graphic)frame).color = new Color(1f, 1f, 1f, 0f); menuManager.ResetMagiciteDisplayInfo(); menuManager.CursorHover(-1, slotEQ); } public void OnPointerDown(PointerEventData eventData) { menuManager.CursorDown(slotNo, slotEQ); Util.PlaySound("Play_UI_menuClick", ((Component)RoR2Application.instance).gameObject); } public void OnPointerUp(PointerEventData eventData) { menuManager.CursorUp(); } public void OnDrag(PointerEventData eventData) { } } internal class MenuSortSlotHandler : MonoBehaviour, IPointerClickHandler, IEventSystemHandler, IPointerEnterHandler, IPointerExitHandler { public MystMenuManager menuManager; private Image frame; private float cd = 0f; private void Awake() { frame = ((Component)this).GetComponent(); } private void FixedUpdate() { if (cd > 0f) { cd -= Time.fixedDeltaTime; } } public void OnPointerClick(PointerEventData eventData) { if (cd <= 0f) { cd = 3f; menuManager.passiveManager.SortInventoryMagicites(); } Util.PlaySound("Play_UI_menuClick", ((Component)RoR2Application.instance).gameObject); } public void OnPointerEnter(PointerEventData eventData) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) ((Graphic)frame).color = Color.white; Util.PlaySound("Play_UI_menuHover", ((Component)RoR2Application.instance).gameObject); } public void OnPointerExit(PointerEventData eventData) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) ((Graphic)frame).color = Color.clear; } } internal class MenuSynthesisSlotHandler : MonoBehaviour, IPointerClickHandler, IEventSystemHandler, IPointerEnterHandler, IPointerExitHandler { public MystMenuManager menuManager; public int slotID; private Image frame; private void Awake() { frame = ((Component)this).GetComponent(); } public void OnPointerClick(PointerEventData eventData) { menuManager.SynthesisBuy(slotID); } public void OnPointerEnter(PointerEventData eventData) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) ((Graphic)frame).color = Color.white; Util.PlaySound("Play_UI_menuHover", ((Component)RoR2Application.instance).gameObject); } public void OnPointerExit(PointerEventData eventData) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) ((Graphic)frame).color = Color.clear; } } public class MystMenuManager : MonoBehaviour { public ChildLocator childLocator; public CharacterBody characterBody; public MystPassiveManager passiveManager; private Text CharacterLevel; private Text CharacterHealthRN; private Text CharacterHealthMAX; private Image CharacterHealthBar; private Text CharacterMagicRN; private Text CharacterMagicMAX; private Image CharacterMagicBar; private Text MagiciteName; private Text MagiciteDescription; private Text MagiciteInfo; private Text MagiciteEXP; private Text MagiciteLevel; private Image MagiciteIcon; private Image[] EquippedMagicites; private RectTransform magiciteCursor; private Image magiciteCursorImage; private int SelectSlotID = -1; private bool SelectSlotEQ; private int TargetSlotID = -1; private bool TargetSlotEQ; private Image[] inventoryMagiciteFrame; private Image[] inventoryMagiciteIcon; private Text[] inventoryMagiciteName; private Text[] inventoryMagiciteLevel; private Text[] inventoryMagiciteLVtex; private Image[] inventoryMagiciteSell; private Image[] inventoryMagiciteSellIcon; private Random rand; private bool isAprilFools => Seasons.isAprilFools; private void Start() { //IL_0396: Unknown result type (might be due to invalid IL or missing references) rand = new Random(); CharacterLevel = ((Component)childLocator.FindChild("CharacterLevel")).GetComponent(); CharacterHealthRN = ((Component)childLocator.FindChild("CharacterHealthRN")).GetComponent(); CharacterHealthMAX = ((Component)childLocator.FindChild("CharacterHealthMAX")).GetComponent(); CharacterHealthBar = ((Component)childLocator.FindChild("CharacterHealthBar")).GetComponent(); CharacterMagicRN = ((Component)childLocator.FindChild("CharacterMagicRN")).GetComponent(); CharacterMagicMAX = ((Component)childLocator.FindChild("CharacterMagicMAX")).GetComponent(); CharacterMagicBar = ((Component)childLocator.FindChild("CharacterMagicBar")).GetComponent(); MagiciteName = ((Component)childLocator.FindChild("SelectedMagiciteName")).GetComponent(); MagiciteDescription = ((Component)childLocator.FindChild("SelectedMagiciteDescription")).GetComponent(); MagiciteInfo = ((Component)childLocator.FindChild("SelectedMagiciteInfo")).GetComponent(); MagiciteEXP = ((Component)childLocator.FindChild("SelectedMagiciteEXP")).GetComponent(); MagiciteLevel = ((Component)childLocator.FindChild("SelectedMagiciteLevel")).GetComponent(); MagiciteIcon = ((Component)childLocator.FindChild("SelectedMagiciteIcon")).GetComponent(); inventoryMagiciteFrame = MystRunComponent.Instance.inventoryMagiciteFrame; inventoryMagiciteIcon = MystRunComponent.Instance.inventoryMagiciteIcon; inventoryMagiciteName = MystRunComponent.Instance.inventoryMagiciteName; inventoryMagiciteLevel = MystRunComponent.Instance.inventoryMagiciteLevel; inventoryMagiciteLVtex = MystRunComponent.Instance.inventoryMagiciteLVtex; inventoryMagiciteSell = MystRunComponent.Instance.inventoryMagiciteSell; inventoryMagiciteSellIcon = MystRunComponent.Instance.inventoryMagiciteSellIcon; EquippedMagicites = (Image[])(object)new Image[16] { ((Component)childLocator.FindChild("EquippedMagiciteIcon1")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon2")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon3")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon4")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon5")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon6")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon7")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon8")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon9")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon10")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon11")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon12")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon13")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon14")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon15")).GetComponent(), ((Component)childLocator.FindChild("EquippedMagiciteIcon16")).GetComponent() }; magiciteCursor = MystRunComponent.Instance.magiciteCursor; magiciteCursorImage = ((Component)magiciteCursor).GetComponentInChildren(); ((Graphic)magiciteCursorImage).color = Color.clear; ResetMagiciteDisplayInfo(); } private void FixedUpdate() { updateCharacterHealth(); SetCursorPos(); } public void SynthesisBuy(int slotID) { switch (slotID) { default: Chat.AddMessage("Synthesis Error 1"); break; case 0: SynthesisEquip(slotID); break; case 1: SynthesisDust(slotID); break; case 2: SynthesisItem(slotID); break; case 3: SynthesisSpell(slotID); break; case 4: SynthesisLimit(slotID); break; case 5: SynthesisFinisher(slotID); break; case 6: SynthesisSupport(slotID); break; } } private void MagiciteSelect(int[] magiciteList, Random random) { int magiciteNumber = magiciteList[random.Next(magiciteList.Length)]; passiveManager.Synthesize(magiciteNumber); } private void SynthesisEquip(int slotID) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Invalid comparison between Unknown and I4 //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) Inventory inventory = characterBody.inventory; if ((int)inventory.GetEquipmentIndex() != -1) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, synthesis = slotID + 1 }, (NetworkDestination)1); GrantRandomMagicite(); } } private void SynthesisDust(int slotID) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) Inventory inventory = characterBody.inventory; if (inventory.GetItemCountPermanent(MagiciteDust.itemDef.itemIndex) >= 3) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, synthesis = slotID + 1 }, (NetworkDestination)1); GrantRandomMagicite(); } } private void SynthesisItem(int slotID) { //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) Inventory inventory = characterBody.inventory; if (CostTypeCatalog.GetCostTypeDef((CostTypeIndex)4).IsAffordable(2, ((Component)characterBody).GetComponent())) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, synthesis = slotID + 1 }, (NetworkDestination)1); GrantRandomMagicite(); } } private void SynthesisSpell(int slotID) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) Inventory inventory = characterBody.inventory; if (inventory.GetItemCountPermanent(MagiciteDust.itemDef.itemIndex) >= 5) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, synthesis = slotID + 1 }, (NetworkDestination)1); Random random = new Random(); MagiciteSelect(MagiciteDefs.SpellMagicites, random); } } private void SynthesisLimit(int slotID) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) Inventory inventory = characterBody.inventory; if (inventory.GetItemCountPermanent(MagiciteDust.itemDef.itemIndex) >= 5) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, synthesis = slotID + 1 }, (NetworkDestination)1); Random random = new Random(); MagiciteSelect(MagiciteDefs.LimitMagicites, random); } } private void SynthesisFinisher(int slotID) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) Inventory inventory = characterBody.inventory; if (inventory.GetItemCountPermanent(MagiciteDust.itemDef.itemIndex) >= 5) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, synthesis = slotID + 1 }, (NetworkDestination)1); Random random = new Random(); MagiciteSelect(MagiciteDefs.FinisherMagicites, random); } } private void SynthesisSupport(int slotID) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) Inventory inventory = characterBody.inventory; if (inventory.GetItemCountPermanent(MagiciteDust.itemDef.itemIndex) >= 10) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, synthesis = slotID + 1 }, (NetworkDestination)1); Random random = new Random(); MagiciteSelect(MagiciteDefs.SupportMagicites, random); } } private void GrantRandomMagicite() { Random random = new Random(); switch (random.Next(9)) { default: Debug.LogError((object)"[SynthesisFailedOnSelectingMagiciteCategory]"); break; case 0: case 1: case 2: case 3: MagiciteSelect(MagiciteDefs.SpellMagicites, random); break; case 4: case 5: MagiciteSelect(MagiciteDefs.LimitMagicites, random); break; case 6: case 7: MagiciteSelect(MagiciteDefs.FinisherMagicites, random); break; case 8: MagiciteSelect(MagiciteDefs.SupportMagicites, random); break; } } public void DesynthesisSell(int slotID) { //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) if (passiveManager.inventoryMagicites[slotID].magicite.type != Magicite.MagiciteType.None) { int levelMAX = passiveManager.inventoryMagicites[slotID].levelMAX; int levelRN = passiveManager.inventoryMagicites[slotID].levelRN; int num = levelRN; if (num > 0) { passiveManager.inventoryMagicites[slotID] = new ObtainedMagicite(); ((Graphic)inventoryMagiciteFrame[slotID]).color = Color.clear; SetMagiciteColours(); NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, desynthesis = num }, (NetworkDestination)1); } } } public void updateCharacterValues() { CharacterLevel.text = characterBody.level.ToString(); CharacterMagicRN.text = passiveManager.magicRN.ToString(); CharacterMagicMAX.text = passiveManager.magicMAX.ToString(); CharacterMagicBar.fillAmount = Mathf.Min(passiveManager.magicRN / passiveManager.magicMAX, 1f); } private void updateCharacterHealth() { if (Object.op_Implicit((Object)(object)characterBody)) { HealthComponent healthComponent = characterBody.healthComponent; float health = healthComponent.health; float fullHealth = healthComponent.fullHealth; CharacterHealthRN.text = Mathf.Floor(health).ToString(); CharacterHealthMAX.text = Mathf.Floor(fullHealth).ToString(); CharacterHealthBar.fillAmount = Mathf.Min(health / fullHealth, 1f); float magicRN = passiveManager.magicRN; float magicMAX = passiveManager.magicMAX; CharacterMagicRN.text = Mathf.Floor(magicRN).ToString(); CharacterMagicMAX.text = Mathf.Floor(magicMAX).ToString(); CharacterMagicBar.fillAmount = Mathf.Min(magicRN / magicMAX, 1f); } } public void SetMagiciteColours() { //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0058: Unknown result type (might be due to invalid IL or missing references) for (int i = 0; i < 16; i++) { Color color = passiveManager.equippedMagicites[i].magicite.color; color = ((color != Color.clear) ? (isAprilFools ? MagiciteDefs.AllColors[rand.Next(6)] : color) : color); ((Graphic)EquippedMagicites[i]).color = color; } SetMagiciteInventory(); } private void SetMagiciteInventory() { //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_0052: 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_006a: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: 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_0105: Unknown result type (might be due to invalid IL or missing references) //IL_0118: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Unknown result type (might be due to invalid IL or missing references) //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_013d: 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_015c: Unknown result type (might be due to invalid IL or missing references) //IL_015d: Unknown result type (might be due to invalid IL or missing references) //IL_0170: 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) for (int i = 0; i < 100; i++) { Color color = passiveManager.inventoryMagicites[i].magicite.color; color = ((color != Color.clear) ? (isAprilFools ? MagiciteDefs.AllColors[rand.Next(6)] : color) : color); ((Graphic)inventoryMagiciteIcon[i]).color = color; inventoryMagiciteName[i].text = ((color != Color.clear) ? Language.GetString(passiveManager.inventoryMagicites[i].magicite.name) : ""); ((Graphic)inventoryMagiciteName[i]).color = ((color != Color.clear) ? color : Color.clear); inventoryMagiciteLevel[i].text = ((color != Color.clear) ? passiveManager.inventoryMagicites[i].levelRN.ToString() : ""); ((Graphic)inventoryMagiciteLVtex[i]).color = ((color != Color.clear) ? Color.white : Color.clear); ((Component)inventoryMagiciteSell[i]).transform.localScale = Vector2.op_Implicit((color != Color.clear) ? Vector2.one : Vector2.zero); ((Graphic)inventoryMagiciteSellIcon[i]).color = ((color != Color.clear) ? Color.white : Color.clear); } } public void SetMagiciteUnread(int no) { //IL_0009: Unknown result type (might be due to invalid IL or missing references) ((Graphic)inventoryMagiciteFrame[no]).color = Color.yellow; } public void SetAllMagiciteRead() { //IL_0013: Unknown result type (might be due to invalid IL or missing references) Image[] array = inventoryMagiciteFrame; foreach (Image val in array) { ((Graphic)val).color = Color.clear; } } public void CursorHover(int SlotID, bool Equipped) { TargetSlotID = SlotID; TargetSlotEQ = Equipped; } public void CursorShiftDown(int SlotID, bool Equipped) { if (Equipped) { for (int i = 0; i < passiveManager.inventoryMagicites.Length; i++) { TargetSlotID = i; if (passiveManager.inventoryMagicites[i].magicite == MagiciteDefs.magicites[0]) { i += 900; } } ObtainedMagicite obtainedMagicite = passiveManager.inventoryMagicites[TargetSlotID]; passiveManager.inventoryMagicites[TargetSlotID] = passiveManager.equippedMagicites[SlotID]; passiveManager.equippedMagicites[SlotID] = obtainedMagicite; passiveManager.EquipMagicite(); } else { int num = (MystPlugin.scepterInstalled ? GetMaxSlotsScepter() : GetMaxSlots()); for (int j = 0; j < num; j++) { TargetSlotID = j; if (passiveManager.equippedMagicites[j].magicite == MagiciteDefs.magicites[0]) { j += 100; } } ObtainedMagicite obtainedMagicite2 = passiveManager.equippedMagicites[TargetSlotID]; passiveManager.equippedMagicites[TargetSlotID] = passiveManager.inventoryMagicites[SlotID]; passiveManager.inventoryMagicites[SlotID] = obtainedMagicite2; passiveManager.EquipMagicite(); } SetMagiciteColours(); EquippedSlotDisplayUpdate(SlotID, Equipped); TargetSlotID = -1; SelectSlotID = -1; TargetSlotEQ = Equipped; SelectSlotEQ = !Equipped; Util.PlaySound("Play_UI_menuBack", ((Component)RoR2Application.instance).gameObject); } private int GetMaxSlotsScepter() { if (characterBody.inventory.GetItemCountPermanent(((ItemBase)ItemBase.instance).ItemDef) > 0) { return 16; } return GetMaxSlots(); } private int GetMaxSlots() { if (characterBody.inventory.GetItemCountPermanent(Items.TreasureCacheVoid) > 0) { return 12; } if (characterBody.inventory.GetItemCountPermanent(Items.TreasureCache) > 0) { return 10; } return 8; } public void CursorDown(int SlotID, bool Equipped) { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_008c: 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_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) KeyboardShortcut value = Config.QuickEquip.Value; if (((KeyboardShortcut)(ref value)).IsPressed()) { CursorShiftDown(SlotID, Equipped); return; } SelectSlotID = SlotID; SelectSlotEQ = Equipped; if (Equipped) { ((Graphic)magiciteCursorImage).color = passiveManager.equippedMagicites[SlotID].magicite.color; ((Graphic)EquippedMagicites[SlotID]).color = Color.clear; return; } ((Graphic)magiciteCursorImage).color = passiveManager.inventoryMagicites[SlotID].magicite.color; ((Graphic)inventoryMagiciteIcon[SlotID]).color = Color.clear; inventoryMagiciteName[SlotID].text = ""; inventoryMagiciteLevel[SlotID].text = ""; } public void CursorUp() { //IL_0158: Unknown result type (might be due to invalid IL or missing references) if (TargetSlotID != -1 && SelectSlotID != -1) { ObtainedMagicite obtainedMagicite = (TargetSlotEQ ? passiveManager.equippedMagicites[TargetSlotID] : passiveManager.inventoryMagicites[TargetSlotID]); if (TargetSlotEQ) { passiveManager.equippedMagicites[TargetSlotID] = (SelectSlotEQ ? passiveManager.equippedMagicites[SelectSlotID] : passiveManager.inventoryMagicites[SelectSlotID]); } else { passiveManager.inventoryMagicites[TargetSlotID] = (SelectSlotEQ ? passiveManager.equippedMagicites[SelectSlotID] : passiveManager.inventoryMagicites[SelectSlotID]); } if (SelectSlotEQ) { passiveManager.equippedMagicites[SelectSlotID] = obtainedMagicite; } else { passiveManager.inventoryMagicites[SelectSlotID] = obtainedMagicite; } passiveManager.EquipMagicite(); EquippedSlotDisplayUpdate(TargetSlotID, TargetSlotEQ); Util.PlaySound("Play_UI_menuBack", ((Component)RoR2Application.instance).gameObject); } SetMagiciteColours(); ((Graphic)magiciteCursorImage).color = Color.clear; } private void SetCursorPos() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) Vector2 anchoredPosition = default(Vector2); MPEventSystemManager.combinedEventSystem.GetCursorPosition(ref anchoredPosition); magiciteCursor.anchoredPosition = anchoredPosition; } public void EquippedSlotDisplayUpdate(int slotNo, bool slotEQ) { SetMagiciteDisplayInfo(slotEQ ? passiveManager.equippedMagicites[slotNo] : passiveManager.inventoryMagicites[slotNo]); } private void SetMagiciteDisplayInfo(ObtainedMagicite m) { //IL_00a4: Unknown result type (might be due to invalid IL or missing references) Magicite magicite = m.magicite; if (!(magicite.name == "")) { MagiciteName.text = Language.GetString(magicite.name); MagiciteDescription.text = Language.GetString(magicite.description); MagiciteInfo.text = Language.GetString(magicite.info); MagiciteEXP.text = Mathf.Floor(m.EXPtoNextLevel).ToString(); MagiciteLevel.text = m.levelRN.ToString(); ((Graphic)MagiciteIcon).color = magicite.color; if (Object.op_Implicit((Object)(object)passiveManager)) { passiveManager.OpenMagiciteInfoPanel(); } } } public void ResetMagiciteDisplayInfo() { //IL_008d: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)passiveManager)) { passiveManager.CloseMagiciteInfoPanel(); } MagiciteName.text = ""; MagiciteDescription.text = ""; MagiciteInfo.text = ""; MagiciteEXP.text = ""; MagiciteLevel.text = ""; ((Graphic)MagiciteIcon).color = new Color(0f, 0f, 0f, 0f); } } public class MystDeathState : GenericCharacterDeath { public override void OnEnter() { ((GenericCharacterDeath)this).OnEnter(); MystPassiveManager component = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)component)) { component.UpdateMasterComponent(); } } public override void FixedUpdate() { } public override void PlayDeathAnimation(float crossfadeDuration = 0.1f) { ((GenericCharacterDeath)this).PlayDeathAnimation(crossfadeDuration); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)9; } } internal class MystMasterComponent : MonoBehaviour { public ObtainedMagicite[] equippedMagicites; public ObtainedMagicite[] inventoryMagicites = new ObtainedMagicite[100]; public float limitTotal = 1f; public float limitRN = 0f; public int limitNo = 0; private bool initialized = false; private void Awake() { Initialize(); } public void Initialize() { if (!initialized) { CharacterMaster component = ((Component)this).GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { Debug.LogError((object)"[MYSTMASTERCOMPONENT COULD NOT FIND MASTER!!]"); return; } CharacterBody body = component.GetBody(); Initialize(body); } } public void Initialize(CharacterBody body) { if (initialized) { return; } if (!Object.op_Implicit((Object)(object)body)) { Debug.LogError((object)"[MYSTMASTERCOMPONENT COULD NOT FIND BODY!!]"); return; } SkillLocator skillLocator = body.skillLocator; if (!Object.op_Implicit((Object)(object)skillLocator)) { Debug.LogError((object)"[MYSTMASTERCOMPONENT COULD NOT FIND SKILLLOCATOR]"); LODebug(1); return; } GenericSkill val = skillLocator.allSkills[0]; for (int i = 0; i < 100; i++) { inventoryMagicites[i] = new ObtainedMagicite(); } if (Object.op_Implicit((Object)(object)val)) { switch (val.skillDef.skillNameToken) { default: Debug.LogError((object)"MystMasterComponent was not able to find Job Class"); LODebug(2); break; case "JAVANGLE_MYST_BODY_JOBCLASS_MYSTIC_NAME": LOMystic(); break; case "JAVANGLE_MYST_BODY_JOBCLASS_WARRIOR_NAME": LOWarrior(); break; case "JAVANGLE_MYST_BODY_JOBCLASS_SORCERER_NAME": LOSorcerer(); break; case "JAVANGLE_MYST_BODY_JOBCLASS_CHAD_NAME": LOChad(); break; case "JAVANGLE_MYST_BODY_JOBCLASS_BABY_NAME": LOBaby(); break; } } else { Debug.LogError((object)"PassiveNotFound"); } ObtainedMagicite[] array = equippedMagicites; foreach (ObtainedMagicite obtainedMagicite in array) { obtainedMagicite.SetUpMagicite(); } ObtainedMagicite[] array2 = inventoryMagicites; foreach (ObtainedMagicite obtainedMagicite2 in array2) { obtainedMagicite2.SetUpMagicite(); } initialized = true; } private void LODebug(int num) { Chat.AddMessage("MystMasterComponent failed to find Loadout, Defaulting to Jobclass:Mystic"); Chat.AddMessage("Please report this to JavAngle: error# " + num); equippedMagicites = new ObtainedMagicite[16] { new ObtainedMagicite { magicite = MagiciteDefs.magicites[1] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[3] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[4] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[2] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[26] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[27] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[28] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[35] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] } }; } private void LOMystic() { if (Config.LegacyMysticLO.Value) { LOMysticLegacy(); return; } equippedMagicites = new ObtainedMagicite[16] { new ObtainedMagicite { magicite = MagiciteDefs.magicites[1] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[3] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[4] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[2] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[26] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[27] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[28] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[35] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] } }; } private void LOMysticLegacy() { equippedMagicites = new ObtainedMagicite[16] { new ObtainedMagicite { magicite = MagiciteDefs.magicites[1] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[2] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[3] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[4] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[27] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[26] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[28] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[35] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] } }; } private void LOWarrior() { equippedMagicites = new ObtainedMagicite[16] { new ObtainedMagicite { magicite = MagiciteDefs.magicites[37] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[38] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[36] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[7] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[6] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[25] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[41] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[35] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] } }; } private void LOSorcerer() { equippedMagicites = new ObtainedMagicite[16] { new ObtainedMagicite { magicite = MagiciteDefs.magicites[14] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[21] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[42] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[8] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[10] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[20] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[43] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[32] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] } }; } private void LOChad() { equippedMagicites = new ObtainedMagicite[16] { new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] } }; } private void LOBaby() { equippedMagicites = new ObtainedMagicite[16] { new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] }, new ObtainedMagicite { magicite = MagiciteDefs.magicites[0] } }; for (int num = MagiciteDefs.magicites.Length - 1; num > 0; num--) { inventoryMagicites[num - 1] = new ObtainedMagicite { magicite = MagiciteDefs.magicites[num], levelRN = MagiciteDefs.magicites[num].levelMAX }; } } public ObtainedMagicite[] SortObtainedMagicites(ObtainedMagicite[] obtainedMagicites, int LowIndex, int HighIndex) { int i = LowIndex; int num = HighIndex; int iD = obtainedMagicites[LowIndex].magicite.ID; while (i <= num) { for (; obtainedMagicites[i].magicite.ID < iD; i++) { } while (obtainedMagicites[num].magicite.ID > iD) { num--; } if (i <= num) { ObtainedMagicite obtainedMagicite = obtainedMagicites[i]; obtainedMagicites[i] = obtainedMagicites[num]; obtainedMagicites[num] = obtainedMagicite; i++; num--; } } if (LowIndex < num) { SortObtainedMagicites(obtainedMagicites, LowIndex, num); } if (i < HighIndex) { SortObtainedMagicites(obtainedMagicites, i, HighIndex); } return obtainedMagicites; } private void MagiciteTest() { for (int num = MagiciteDefs.magicites.Length - 2; num >= 1; num--) { inventoryMagicites[num - 1].magicite = MagiciteDefs.magicites[num]; } } } public class MystPassiveManager : MonoBehaviour { private static Color LimitFullColor = new Color(1f, 0.8f, 0f); private static Color LimitChargeColor = new Color(0.6f, 0.45f, 0f); public HUD hud; private ChildLocator childLocator; private GameObject MystHuD; private Image[] abilityIcons; private TooltipComponent[] abilityTooltips = new TooltipComponent[8]; private Image magicBar; private Text magicText; private Image[] limitBars; private Text FormchangeText; private Image FormchangeBar; private TMP_Text[] keybinds; private ControllerType currentControllerType; private Text equipmentCooldown; private Text equipmentStock; private Image equipmentImage; private TooltipComponent equipmentTooltip; private Text secondaryCooldown; private Animator animator; private Transform defaultUI; private RectTransform HUDrectTransform; private MystMenuManager menuManager; private ChildLocator menuChildLocator; private Transform menuTransform; private Animator menuAnimator; private MagiciteDefs magiciteDefs; public ObtainedMagicite[] equippedMagicites; public ObtainedMagicite[] inventoryMagicites = new ObtainedMagicite[100]; public SpellDef[] spellList; public SpellDef[] limitList; public SpellDef[] finisherList; public float magicMAX = 100f; public float magicRN = 100f; public bool magicRecharge = false; private float baseMagicRechargeTime = 20f; private float currentMagicRechargeTime = 20f; private float limitMAX = 300f; private float limitRN = 0f; private float limitTotal = 1f; private int limitNo = 0; public bool isInFormchange = false; private float formchangeMAX = 100f; private float formchangeRN = 0f; public CharacterBody characterBody; private Animator characterAnimator; private SkillLocator skillLocator; private MystMasterComponent masterComponent; public IInteractable interactable; public bool isAuthority = false; public bool isBlocking = false; public bool isParrying = false; public bool hasParried = false; public bool isReflecting = false; public bool isLimitBreaking = false; private bool MenuOpen; public EntityStateMachine skillStateMachine; private int numberOfMissingSlots = 8; public MystTextBoxHandler textBoxHandler; public ForcedCamera cinematicCam; public float cameraTime = 0f; public static bool isKKAInstalled = false; private const string prefix = "JAVANGLE_MYST_MAGICITE_"; private bool HUDelay = true; private float HUDtime = 0.5f; private Sprite equipIndex; private bool equipSlotRemoveCheck = false; private float secondaryCooldownTimer; private bool secondaryOffCD = true; private float menuCooldownTimer; private bool menuOffCD = true; private SkillDef FormSkillPrimary = null; private SkillDef FormSkillSecondary = null; private SkillDef FormSkillUtility = null; private SkillDef FormSkillSpecial = null; private BuffDef FormchangeBuff; private GameObject[] FormchangeParticles; private void Awake() { characterBody = ((Component)this).GetComponent(); skillLocator = characterBody.skillLocator; interactable = (IInteractable)(object)((Component)this).gameObject.AddComponent(); characterAnimator = ((Component)characterBody.modelLocator.modelTransform).GetComponent(); } private void Start() { HuDSetup(); ChildLocator component = ((Component)characterBody.modelLocator.modelTransform).GetComponent(); textBoxHandler = ((Component)component.FindChild("TextBox")).GetComponent(); masterComponent = ((Component)characterBody.master).GetComponent(); if ((Object)(object)masterComponent == (Object)null) { masterComponent = ((Component)characterBody.master).gameObject.AddComponent(); } masterComponent.Initialize(characterBody); skillStateMachine = skillLocator.secondary.stateMachine; equippedMagicites = masterComponent.equippedMagicites; inventoryMagicites = masterComponent.inventoryMagicites; limitTotal = masterComponent.limitTotal; limitRN = masterComponent.limitRN; limitNo = masterComponent.limitNo; magicMAX = 45 + skillLocator.primary.maxStock * 5 + skillLocator.secondary.maxStock * 10 + skillLocator.utility.maxStock * 25 + skillLocator.special.maxStock * 15; magicRN = magicMAX; MagicBarHandler(); ClearSpellsAndLimits(); } private void FixedUpdate() { if (HUDelay) { HuDSetup(); } MagicRechargeMethod(); FormchangeFixedUpdate(); SecondaryTimer(); MenuTimer(); HuDEquipmentAndCooldown(); CinematicCamera(); BindUpdate(); if (isKKAInstalled) { KKAupdate(); } } private void OnDestroy() { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //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) UpdateMasterComponent(); if (isAuthority) { defaultUI.localScale = Vector2.op_Implicit(Vector2.one); ((Transform)HUDrectTransform).localScale = Vector2.op_Implicit(Vector2.zero); } } public void UpdateMasterComponent() { masterComponent.equippedMagicites = equippedMagicites; masterComponent.inventoryMagicites = inventoryMagicites; masterComponent.limitNo = limitNo; masterComponent.limitRN = limitRN; masterComponent.limitTotal = limitTotal; } public void Synthesize(int magiciteNumber) { int num = 0; ObtainedMagicite obtainedMagicite = inventoryMagicites[num]; while (obtainedMagicite.magicite.type != Magicite.MagiciteType.None && num < 99) { num++; obtainedMagicite = inventoryMagicites[num]; } inventoryMagicites[num] = new ObtainedMagicite { magicite = MagiciteDefs.magicites[magiciteNumber] }; inventoryMagicites[num].SetUpMagicite(); menuManager.SetMagiciteColours(); menuManager.SetMagiciteUnread(num); } public void RemoveIngredients(int index) { //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0056: 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_0066: Expected O, but got Unknown //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_014f: Unknown result type (might be due to invalid IL or missing references) //IL_0159: Expected O, but got Unknown //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0186: Expected O, but got Unknown //IL_018d: Unknown result type (might be due to invalid IL or missing references) int layerIndex = characterAnimator.GetLayerIndex("RightArm, Override"); characterAnimator.PlayInFixedTime("MenuSynthesis", layerIndex, 0f); EffectManager.SpawnEffect(Assets.MystSynthesis, new EffectData { origin = characterBody.footPosition, rotation = characterBody.characterDirection.targetTransform.rotation }, false); if (((NetworkBehaviour)characterBody).isServer) { switch (index) { default: Chat.AddMessage("Bruh, this message shouldn't be able to show up, tell JavAngle to fix this"); break; case 1: characterBody.master.inventory.SetEquipmentIndex((EquipmentIndex)(-1), true); break; case 2: characterBody.master.inventory.RemoveItemPermanent(MagiciteDust.itemDef, 3); break; case 3: { PayCostContext val = default(PayCostContext); ((BasePool)(object)PayCostContext.pool).Request(ref val); val.activator = ((Component)characterBody).GetComponent(); val.activatorBody = characterBody; val.activatorMaster = characterBody.master; val.activatorInventory = characterBody.inventory; val.purchasedObject = ((Component)this).gameObject; val.purchaseInteraction = new PurchaseInteraction(); val.costTypeDef = CostTypeCatalog.GetCostTypeDef((CostTypeIndex)4); val.cost = 2; val.rng = new Xoroshiro128Plus(Run.instance.treasureRng.nextUlong); PayCostResults val2 = default(PayCostResults); ((BasePool)(object)PayCostResults.pool).Request(ref val2); CostTypeCatalog.GetCostTypeDef((CostTypeIndex)4).PayCost(val, val2); break; } case 4: case 5: case 6: characterBody.master.inventory.RemoveItemPermanent(MagiciteDust.itemDef, 5); break; case 7: characterBody.master.inventory.RemoveItemPermanent(MagiciteDust.itemDef, 10); break; } } } public void GainMagiciteDust(int amount) { //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0056: 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_0066: Expected O, but got Unknown int layerIndex = characterAnimator.GetLayerIndex("RightArm, Override"); characterAnimator.PlayInFixedTime("MenuSynthesis", layerIndex, 0f); EffectManager.SpawnEffect(Assets.MystDesynthesis, new EffectData { origin = characterBody.footPosition, rotation = characterBody.characterDirection.targetTransform.rotation }, false); if (((NetworkBehaviour)characterBody).isServer) { characterBody.master.inventory.GiveItemPermanent(MagiciteDust.itemDef, amount); } } public void EquipMagicite() { ClearSpellsAndLimits(); ObtainedMagicite[] array = equippedMagicites; foreach (ObtainedMagicite obtainedMagicite in array) { switch (obtainedMagicite.magicite.type) { default: Chat.AddMessage("Magicite Error"); break; case Magicite.MagiciteType.Spell: AddSpell(obtainedMagicite); break; case Magicite.MagiciteType.Limit: AddLimit(obtainedMagicite); break; case Magicite.MagiciteType.Finisher: AddFinisher(obtainedMagicite); break; case Magicite.MagiciteType.Support: case Magicite.MagiciteType.None: break; } } AddSupport(); FillSpellsAndLimits(); } private void ClearSpellsAndLimits() { spellList = new SpellDef[8] { new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef() }; limitList = new SpellDef[8] { new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef() }; finisherList = new SpellDef[8] { new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef(), new SpellDef() }; } private void FillSpellsAndLimits() { SpellDef[] array = spellList; foreach (SpellDef spellDef in array) { if (spellDef.Skillstate == null) { spellDef.Skillstate = new EmptySlot(); } } SpellDef[] array2 = limitList; foreach (SpellDef spellDef2 in array2) { if (spellDef2.Skillstate == null) { spellDef2.Skillstate = new EmptySlot(); } } } private void AddSpell(ObtainedMagicite m) { //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) bool flag = false; SpellDef[] array = spellList; foreach (SpellDef spellDef in array) { if (spellDef.Skillstate != null && ((object)spellDef.Skillstate).GetType() == ((object)m.magicite.Skillstate).GetType()) { flag = true; } } if (flag) { return; } SpellDef[] array2 = spellList; foreach (SpellDef spellDef2 in array2) { if (!flag && spellDef2.Skillstate == null) { flag = true; spellDef2.icon = m.magicite.icon; spellDef2.name = m.magicite.name; spellDef2.description = m.magicite.description; spellDef2.color = m.magicite.color; spellDef2.Skillstate = (BaseMagiciteSkill)Activator.CreateInstance(((object)m.magicite.Skillstate).GetType()); spellDef2.Skillstate.clearModifiers(); spellDef2.Skillstate.Level = m.levelRN; } } } private void AddLimit(ObtainedMagicite m) { //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) bool flag = false; SpellDef[] array = limitList; foreach (SpellDef spellDef in array) { if (spellDef.Skillstate != null && ((object)spellDef.Skillstate).GetType() == ((object)m.magicite.Skillstate).GetType()) { flag = true; } } if (flag) { return; } SpellDef[] array2 = limitList; foreach (SpellDef spellDef2 in array2) { if (!flag && spellDef2.Skillstate == null) { flag = true; spellDef2.icon = m.magicite.icon; spellDef2.name = m.magicite.name; spellDef2.description = m.magicite.description; spellDef2.color = m.magicite.color; spellDef2.Skillstate = (BaseMagiciteSkill)Activator.CreateInstance(((object)m.magicite.Skillstate).GetType()); spellDef2.Skillstate.clearModifiers(); spellDef2.Skillstate.Level = m.levelRN; } } } private void AddFinisher(ObtainedMagicite m) { //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) bool flag = false; SpellDef[] array = finisherList; foreach (SpellDef spellDef in array) { if (spellDef.Skillstate != null && ((object)spellDef.Skillstate).GetType() == ((object)m.magicite.Skillstate).GetType()) { flag = true; } } if (flag) { return; } SpellDef[] array2 = finisherList; foreach (SpellDef spellDef2 in array2) { if (!flag && spellDef2.Skillstate == null) { flag = true; spellDef2.icon = m.magicite.icon; spellDef2.name = m.magicite.name; spellDef2.description = m.magicite.description; spellDef2.color = m.magicite.color; spellDef2.Skillstate = (BaseMagiciteSkill)Activator.CreateInstance(((object)m.magicite.Skillstate).GetType()); spellDef2.Skillstate.clearModifiers(); spellDef2.Skillstate.Level = m.levelRN; } } } private void AddSupport() { for (int i = 0; i < 16; i++) { ObtainedMagicite obtainedMagicite = equippedMagicites[i]; BaseMagiciteSkill baseMagiciteSkill = null; if (obtainedMagicite.magicite.type != Magicite.MagiciteType.Support) { continue; } int num = ((i % 2 == 0) ? 1 : (-1)); Magicite magicite = equippedMagicites[i + num].magicite; baseMagiciteSkill = magicite.Skillstate; SpellDef[] array = null; switch (magicite.type) { default: Chat.AddMessage("Support Magicite Error 2"); break; case Magicite.MagiciteType.Spell: array = spellList; break; case Magicite.MagiciteType.Limit: array = limitList; break; case Magicite.MagiciteType.Finisher: array = finisherList; break; case Magicite.MagiciteType.Support: case Magicite.MagiciteType.None: break; } if (baseMagiciteSkill == null) { continue; } SpellDef[] array2 = array; foreach (SpellDef spellDef in array2) { if (spellDef.Skillstate != null && ((object)spellDef.Skillstate).GetType() == ((object)baseMagiciteSkill).GetType()) { switch (obtainedMagicite.magicite.name) { default: Chat.AddMessage("Support Magicite Error 1"); break; case "JAVANGLE_MYST_MAGICITE_ALL_NAME": spellDef.Skillstate.MagAll += obtainedMagicite.levelRN; break; case "JAVANGLE_MYST_MAGICITE_MULTI_NAME": spellDef.Skillstate.MagMulti += obtainedMagicite.levelRN; break; case "JAVANGLE_MYST_MAGICITE_MPTURBO_NAME": spellDef.Skillstate.MagTurbo += obtainedMagicite.levelRN; break; case "JAVANGLE_MYST_MAGICITE_MPTHRIFT_NAME": spellDef.Skillstate.MagThrift += obtainedMagicite.levelRN; break; case "JAVANGLE_MYST_MAGICITE_USEONCAST_NAME": spellDef.Skillstate.MagUse += obtainedMagicite.levelRN; break; case "JAVANGLE_MYST_MAGICITE_KILLONCAST_NAME": spellDef.Skillstate.MagKill += obtainedMagicite.levelRN; break; case "JAVANGLE_MYST_MAGICITE_HEALTHSYPHON_NAME": spellDef.Skillstate.MagHsyphon += obtainedMagicite.levelRN; break; case "JAVANGLE_MYST_MAGICITE_LIMITSYPHON_NAME": spellDef.Skillstate.MagLsyphon += obtainedMagicite.levelRN; break; case "JAVANGLE_MYST_MAGICITE_MASS_NAME": break; } } } } } public void SortInventoryMagicites() { masterComponent.SortObtainedMagicites(inventoryMagicites, 0, inventoryMagicites.Length - 1); menuManager.SetMagiciteColours(); menuManager.SetAllMagiciteRead(); } public void GrantNetworkedMagiciteEXP(float amount) { //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) if (((NetworkBehaviour)characterBody).isServer) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, magiciteEXP = amount }, (NetworkDestination)1); } } public void GrantMagiciteEXP(float amount) { ObtainedMagicite[] array = equippedMagicites; foreach (ObtainedMagicite obtainedMagicite in array) { if (obtainedMagicite.grantEXP(amount)) { EquipMagicite(); } } } public void OpenMagiciteMenu() { if (isAuthority) { menuAnimator.SetBool("MenuOpen", true); MPEventSystem combinedEventSystem = MPEventSystemManager.combinedEventSystem; combinedEventSystem.cursorOpenerCount += 1; menuManager.updateCharacterValues(); menuManager.SetMagiciteColours(); } } public void CloseMagiciteMenu() { if (isAuthority) { menuAnimator.SetBool("MenuOpen", false); } } public void OpenMagiciteInfoPanel() { if (isAuthority) { menuAnimator.SetBool("InfoOpen", true); menuAnimator.Play("CSopen", 1); } } public void CloseMagiciteInfoPanel() { if (isAuthority) { menuAnimator.SetBool("InfoOpen", false); } } public bool ResourceCost(float magic, int limit) { if (magic > 0f && magicRecharge) { Util.PlaySound("Magic_OutOfMana", ((Component)this).gameObject); return false; } if (limitNo >= limit) { magicRN -= magic; limitRN -= (float)limit * 100f; MagicBarHandler(); LimitBarHandler(); return true; } return false; } public void GrantNetworkedLimit(float limit, bool bypassLock = false) { //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0044: 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_0101: Unknown result type (might be due to invalid IL or missing references) if (!((NetworkBehaviour)characterBody).isServer) { return; } if (characterBody.HasBuff(Buffs.FormchangeBerserk)) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, Limit = Mathf.Clamp((formchangeRN + limit * 3f) * -1f, formchangeMAX * -1f, 0f) }, (NetworkDestination)1); } else if (bypassLock || !characterBody.HasBuff(Buffs.LimitLock)) { float num = Config.limitDamageModulator.Value / 60f * Run.instance.GetRunStopwatch() / limitTotal; if (bypassLock) { num = 1f; } float num2 = limit * num; limitTotal += num2; NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, Limit = limitRN + num2 }, (NetworkDestination)1); } } public void GrantLimit(float limit) { if (!isLimitBreaking) { limitRN = limit; LimitBarHandler(); } } public void GrantNetworkedMagic(float mana) { //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) if (((NetworkBehaviour)characterBody).isServer) { float num = Mathf.Min(magicRN + mana, magicMAX); NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, Magic = num, MagicRecharge = magicRecharge }, (NetworkDestination)1); } } public void GrantMagic(float mana, bool isInRecharge) { magicRecharge = isInRecharge; magicRN = mana; if (!magicRecharge) { MagicBarHandler(); } } public void LimitBarHandler() { //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01fa: Unknown result type (might be due to invalid IL or missing references) //IL_0212: Unknown result type (might be due to invalid IL or missing references) //IL_022f: Unknown result type (might be due to invalid IL or missing references) //IL_0247: Unknown result type (might be due to invalid IL or missing references) //IL_025f: Unknown result type (might be due to invalid IL or missing references) //IL_027c: Unknown result type (might be due to invalid IL or missing references) //IL_0294: Unknown result type (might be due to invalid IL or missing references) //IL_02ac: Unknown result type (might be due to invalid IL or missing references) //IL_02c6: Unknown result type (might be due to invalid IL or missing references) //IL_02de: Unknown result type (might be due to invalid IL or missing references) //IL_02f6: Unknown result type (might be due to invalid IL or missing references) limitRN = Mathf.Min(limitRN, limitMAX); limitNo = Mathf.FloorToInt(limitRN / 100f); if (isAuthority) { float num = limitRN % 100f; switch (limitNo) { default: Chat.AddMessage("Limit Broke"); break; case 0: limitBars[0].fillAmount = Mathf.Clamp(num / 100f, 0f, 1f); limitBars[1].fillAmount = 0f; limitBars[2].fillAmount = 0f; break; case 1: limitBars[0].fillAmount = 1f; limitBars[1].fillAmount = Mathf.Clamp(num / 100f, 0f, 1f); limitBars[2].fillAmount = 0f; break; case 2: limitBars[0].fillAmount = 1f; limitBars[1].fillAmount = 1f; limitBars[2].fillAmount = Mathf.Clamp(num / 100f, 0f, 1f); break; case 3: limitBars[0].fillAmount = 1f; limitBars[1].fillAmount = 1f; limitBars[2].fillAmount = 1f; break; } switch (limitNo) { default: Chat.AddMessage("Limit Broke"); break; case 0: ((Graphic)limitBars[0]).color = Config.LimitChargeColour.Value; ((Graphic)limitBars[1]).color = Config.LimitChargeColour.Value; ((Graphic)limitBars[2]).color = Config.LimitChargeColour.Value; break; case 1: ((Graphic)limitBars[0]).color = Config.LimitBarColour.Value; ((Graphic)limitBars[1]).color = Config.LimitChargeColour.Value; ((Graphic)limitBars[2]).color = Config.LimitChargeColour.Value; break; case 2: ((Graphic)limitBars[0]).color = Config.LimitBarColour.Value; ((Graphic)limitBars[1]).color = Config.LimitBarColour.Value; ((Graphic)limitBars[2]).color = Config.LimitChargeColour.Value; break; case 3: ((Graphic)limitBars[0]).color = Config.LimitBarColour.Value; ((Graphic)limitBars[1]).color = Config.LimitBarColour.Value; ((Graphic)limitBars[2]).color = Config.LimitBarColour.Value; break; } } } public void MagicBarHandler() { //IL_0108: Unknown result type (might be due to invalid IL or missing references) //IL_011e: Unknown result type (might be due to invalid IL or missing references) if (magicRN <= 0f) { magicRecharge = true; magicRN = 0f; float flatCooldownReduction = skillLocator.primary.flatCooldownReduction; flatCooldownReduction += skillLocator.secondary.flatCooldownReduction; flatCooldownReduction += skillLocator.utility.flatCooldownReduction; flatCooldownReduction += skillLocator.special.flatCooldownReduction; float cooldownScale = skillLocator.utility.cooldownScale; cooldownScale *= skillLocator.special.cooldownScale; cooldownScale *= skillLocator.secondary.cooldownScale; cooldownScale *= skillLocator.primary.cooldownScale; currentMagicRechargeTime = (baseMagicRechargeTime - flatCooldownReduction / 4f) * cooldownScale; if (isAuthority && Object.op_Implicit((Object)(object)magicBar) && Object.op_Implicit((Object)(object)magicText)) { ((Graphic)magicBar).color = Config.MagicRechargeColour.Value; ((Graphic)magicText).color = Config.MagicTextRechargeColour.Value; magicText.text = "//RECHARGING//"; } } if (isAuthority && Object.op_Implicit((Object)(object)magicBar) && Object.op_Implicit((Object)(object)magicText)) { magicBar.fillAmount = Mathf.Clamp(magicRN / magicMAX, 0f, 1f); if (!magicRecharge) { magicText.text = ((magicRN % 1f == 0f) ? magicRN.ToString() : magicRN.ToString("F2")) + "/" + ((magicMAX % 1f == 0f) ? magicMAX.ToString() : magicMAX.ToString("F2")); } } } private void MagicRechargeMethod() { //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) if (!magicRecharge) { return; } magicRN = Mathf.Clamp(magicRN += magicMAX / currentMagicRechargeTime * Time.deltaTime, 0f, magicMAX); if (isAuthority) { magicBar.fillAmount = Mathf.Clamp(magicRN / magicMAX, 0f, 1f); } if (magicRN >= magicMAX) { magicRecharge = false; magicRN = magicMAX; if (isAuthority) { ((Graphic)magicBar).color = Config.MagicBarColour.Value; ((Graphic)magicText).color = Config.MagicTextColour.Value; magicText.text = magicRN + "/" + magicMAX; } } } public void SetIconsDefault() { //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) if (isAuthority) { animator.SetBool("MagicMenu", false); animator.SetBool("LimitMenu", false); MenuOpen = false; TooltipComponent[] array = abilityTooltips; foreach (TooltipComponent tooltipComponent in array) { tooltipComponent.tooltipColor = Color.grey; } abilityIcons[0].sprite = skillLocator.primary.icon; abilityTooltips[0].tooltipName = skillLocator.primary.skillNameToken; abilityTooltips[0].tooltipDescription = skillLocator.primary.skillDescriptionToken; abilityTooltips[0].UpdateTooltip(); abilityIcons[1].sprite = skillLocator.secondary.icon; abilityTooltips[1].tooltipName = skillLocator.secondary.skillNameToken; abilityTooltips[1].tooltipDescription = skillLocator.secondary.skillDescriptionToken; abilityTooltips[1].UpdateTooltip(); abilityIcons[2].sprite = skillLocator.utility.icon; abilityTooltips[2].tooltipName = skillLocator.utility.skillNameToken; abilityTooltips[2].tooltipDescription = skillLocator.utility.skillDescriptionToken; abilityTooltips[2].UpdateTooltip(); abilityIcons[3].sprite = skillLocator.special.icon; abilityTooltips[3].tooltipName = skillLocator.special.skillNameToken; abilityTooltips[3].tooltipDescription = skillLocator.special.skillDescriptionToken; abilityTooltips[3].UpdateTooltip(); KeybindSetup(); } } public void SetIconsMagic() { //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) if (!isAuthority) { return; } animator.SetBool("MagicMenu", true); animator.SetBool("LimitMenu", false); MenuOpen = true; for (int i = 0; i < 8; i++) { if (spellList[i] != null) { abilityIcons[i].sprite = spellList[i].icon; } else { abilityIcons[i].sprite = Assets.mainAssetBundle.LoadAsset("texMainSkin"); } abilityTooltips[i].tooltipName = spellList[i].name; abilityTooltips[i].tooltipDescription = spellList[i].description; abilityTooltips[i].tooltipColor = Color.blue; abilityTooltips[i].UpdateTooltip(); } KeybindSetup(); } public void SetIconsLimit() { //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) if (!isAuthority) { return; } animator.SetBool("MagicMenu", false); animator.SetBool("LimitMenu", true); MenuOpen = true; for (int i = 0; i < 8; i++) { if (limitList[i] != null) { abilityIcons[i].sprite = limitList[i].icon; } else { abilityIcons[i].sprite = Assets.mainAssetBundle.LoadAsset("texMainSkin"); } abilityTooltips[i].tooltipName = limitList[i].name; abilityTooltips[i].tooltipDescription = limitList[i].description; abilityTooltips[i].tooltipColor = Color.red; abilityTooltips[i].UpdateTooltip(); } KeybindSetup(); } private void HuDEquipmentAndCooldown() { //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Invalid comparison between Unknown and I4 //IL_01d2: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) //IL_02b0: 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) if (!isAuthority) { return; } EquipmentSlot equipmentSlot = characterBody.equipmentSlot; EquipmentDef equipmentDef = EquipmentCatalog.GetEquipmentDef(equipmentSlot.equipmentIndex); if ((int)equipmentSlot.equipmentIndex != -1) { if ((Object)(object)equipmentDef.pickupIconSprite != (Object)(object)equipIndex) { equipmentImage.sprite = equipmentDef.pickupIconSprite; equipmentTooltip.tooltipName = equipmentDef.nameToken; equipmentTooltip.tooltipDescription = equipmentDef.descriptionToken; equipmentTooltip.UpdateTooltip(); equipIndex = equipmentDef.pickupIconSprite; equipSlotRemoveCheck = true; } if (equipmentSlot.stock > 0) { equipmentStock.text = equipmentSlot.stock.ToString(); equipmentCooldown.text = " "; ((Graphic)equipmentImage).color = new Color(1f, 1f, 1f); } else { equipmentStock.text = " "; ((Graphic)equipmentImage).color = new Color(0.2f, 0.2f, 0.2f); if (equipmentSlot.cooldownTimer != float.PositiveInfinity) { equipmentCooldown.text = Mathf.Ceil(equipmentSlot.cooldownTimer).ToString(); } else { equipmentCooldown.text = " "; } } } else if (equipSlotRemoveCheck) { equipmentImage.sprite = null; equipmentStock.text = " "; ((Graphic)equipmentImage).color = new Color(0.2f, 0.2f, 0.2f); equipmentCooldown.text = " "; equipmentTooltip.tooltipName = ""; equipmentTooltip.tooltipDescription = ""; equipmentTooltip.UpdateTooltip(); equipSlotRemoveCheck = false; } if (secondaryCooldownTimer > 0f && !MenuOpen) { secondaryCooldown.text = Mathf.Ceil(secondaryCooldownTimer).ToString(); ((Graphic)abilityIcons[1]).color = new Color(0.2f, 0.2f, 0.2f); } else { secondaryCooldown.text = " "; ((Graphic)abilityIcons[1]).color = new Color(1f, 1f, 1f); } } private void HuDSetup() { //IL_013c: Unknown result type (might be due to invalid IL or missing references) //IL_0285: 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_0294: Unknown result type (might be due to invalid IL or missing references) //IL_02a5: Unknown result type (might be due to invalid IL or missing references) //IL_02aa: Unknown result type (might be due to invalid IL or missing references) HUDtime -= Time.fixedDeltaTime; if (!(HUDtime <= 0f)) { return; } HUDelay = false; bool flag = Util.HasEffectiveAuthority(characterBody.networkIdentity); isAuthority = flag && characterBody.isPlayerControlled; if (!Object.op_Implicit((Object)(object)MystHuD) & isAuthority) { MystRunComponent instance = MystRunComponent.Instance; if (Object.op_Implicit((Object)(object)instance)) { hud = instance.hud; childLocator = instance.childLocator; MystHuD = instance.MystHuD; instance.passiveManager = this; abilityIcons = instance.abilityIcons; int num = 0; Image[] array = abilityIcons; foreach (Image val in array) { abilityTooltips[num] = ((Component)val).gameObject.AddComponent(); num++; } animator = instance.hotbarAnimator; animator.SetBool("IsInFormchange", false); magicBar = instance.magicBar; ((Graphic)magicBar).color = Config.MagicBarColour.Value; magicText = instance.magicText; limitBars = instance.limitBars; FormchangeText = instance.FormchangeText; FormchangeBar = instance.FormchangeBar; keybinds = instance.keybinds; equipmentImage = instance.equipmentImage; equipmentCooldown = instance.equipmentCooldown; equipmentStock = instance.equipmentStock; equipmentTooltip = ((Component)equipmentImage).gameObject.AddComponent(); secondaryCooldown = instance.secondaryCooldown; defaultUI = instance.defaultUI; HUDrectTransform = instance.HUDrectTransform; menuManager = instance.menuManager; menuManager.passiveManager = this; menuManager.characterBody = characterBody; menuAnimator = instance.menuAnimator; menuChildLocator = instance.menuChildLocator; menuTransform = instance.menuTransform; ChildLocator component = ((Component)characterBody.modelLocator.modelTransform).GetComponent(); cinematicCam = ((Component)component.FindChild("Camera")).gameObject.AddComponent(); ((Behaviour)cinematicCam).enabled = false; KeybindSetup(); ((Transform)HUDrectTransform).localScale = Vector2.op_Implicit(new Vector2(1f, 1f) * 1f); defaultUI.localScale = Vector2.op_Implicit(Vector2.zero); SetUpAccessorySlots(); } else { Chat.AddMessage("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"); } } if (flag) { SetIconsDefault(); EquipMagicite(); LimitBarHandler(); MagicBarHandler(); } } public void BindUpdate() { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Invalid comparison between Unknown and I4 //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) try { ControllerType type = ReInput.players.GetPlayer(0).controllers.GetLastActiveController().type; if ((int)type != 1 && Object.op_Implicit((Object)(object)MystHuD) && type != currentControllerType) { KeybindSetup(); } } catch { } } private void KeybindSetup() { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Invalid comparison between Unknown and I4 //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_0110: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_012c: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Unknown result type (might be due to invalid IL or missing references) //IL_016c: Unknown result type (might be due to invalid IL or missing references) //IL_0171: Unknown result type (might be due to invalid IL or missing references) currentControllerType = ReInput.players.GetPlayer(0).controllers.GetLastActiveController().type; if ((int)currentControllerType == 2) { JoyStickSetup(); return; } UserProfile userProfile = LocalUserManager.GetFirstLocalUser().userProfile; MPEventSystem eventSystem = characterBody.master.playerCharacterMasterController.networkUser.localUser.eventSystem; if (!Object.op_Implicit((Object)(object)eventSystem)) { Chat.AddMessage("AAAAAAAAAAAAAAAAAAA"); return; } string[] obj = new string[12] { Glyphs.GetGlyphString(eventSystem, "PrimarySkill", (AxisRange)0, (InputSource)0, false), Glyphs.GetGlyphString(eventSystem, "SecondarySkill", (AxisRange)0, (InputSource)0, false), Glyphs.GetGlyphString(eventSystem, "UtilitySkill", (AxisRange)0, (InputSource)0, false), Glyphs.GetGlyphString(eventSystem, "SpecialSkill", (AxisRange)0, (InputSource)0, false), null, null, null, null, null, null, null, null }; KeyboardShortcut value = Config.ExtraSlot1.Value; obj[4] = ((object)(KeyboardShortcut)(ref value)).ToString(); value = Config.ExtraSlot2.Value; obj[5] = ((object)(KeyboardShortcut)(ref value)).ToString(); value = Config.ExtraSlot3.Value; obj[6] = ((object)(KeyboardShortcut)(ref value)).ToString(); value = Config.ExtraSlot4.Value; obj[7] = ((object)(KeyboardShortcut)(ref value)).ToString(); obj[8] = Glyphs.GetGlyphString(eventSystem, "Info", (AxisRange)0, (InputSource)0, false); obj[9] = Glyphs.GetGlyphString(eventSystem, "Sprint", (AxisRange)0, (InputSource)0, false); value = Config.OpenMenu.Value; obj[10] = ((object)(KeyboardShortcut)(ref value)).ToString(); obj[11] = Glyphs.GetGlyphString(eventSystem, "Equipment", (AxisRange)0, (InputSource)0, false); string[] array = obj; for (int i = 0; i < 11; i++) { switch (array[i]) { case "Left Mouse Button": array[i] = "M1"; break; case "Right Mouse Button": array[i] = "M2"; break; case "Mouse Button 3": array[i] = "M3"; break; case "Mouse Button 4": array[i] = "M4"; break; case "Mouse Button 5": array[i] = "M5"; break; case "Mouse Button 6": array[i] = "M6"; break; case "Mouse Button 7": array[i] = "M7"; break; case "Mouse Button 8": array[i] = "M8"; break; case "Left Shift": array[i] = "Shift"; break; case "Left Control": array[i] = "Ctrl"; break; case "Right Control": array[i] = "Right Ctrl"; break; case "Alpha0": array[i] = "0"; break; case "Alpha1": array[i] = "1"; break; case "Alpha2": array[i] = "2"; break; case "Alpha3": array[i] = "3"; break; case "Alpha4": array[i] = "4"; break; case "Alpha5": array[i] = "5"; break; case "Alpha6": array[i] = "6"; break; case "Alpha7": array[i] = "7"; break; case "Alpha8": array[i] = "8"; break; case "Alpha9": array[i] = "9"; break; case "Mouse1": array[i] = "M1"; break; case "Mouse2": array[i] = "M2"; break; case "Mouse3": array[i] = "M3"; break; case "Mouse4": array[i] = "M4"; break; case "Mouse5": array[i] = "M5"; break; case "Mouse6": array[i] = "M6"; break; } } for (int j = 0; j < 12; j++) { keybinds[j].text = array[j]; } } private string GetKeybind(UserProfile uP, int num) { if (((ControllerMap)uP.keyboardMap).GetFirstButtonMapWithAction(num) != null) { return ((ControllerMap)uP.keyboardMap).GetFirstButtonMapWithAction(num).elementIdentifierName; } if (((ControllerMap)uP.mouseMap).GetFirstButtonMapWithAction(num) != null) { return ((ControllerMap)uP.mouseMap).GetFirstButtonMapWithAction(num).elementIdentifierName; } return null; } private void JoyStickSetup() { //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00d4: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00f0: Unknown result type (might be due to invalid IL or missing references) //IL_00f5: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Unknown result type (might be due to invalid IL or missing references) //IL_0135: Unknown result type (might be due to invalid IL or missing references) UserProfile userProfile = LocalUserManager.GetFirstLocalUser().userProfile; MPEventSystem eventSystem = characterBody.master.playerCharacterMasterController.networkUser.localUser.eventSystem; if (!Object.op_Implicit((Object)(object)eventSystem)) { Chat.AddMessage("AAAAAAAAAAAAAAAAAAA"); return; } string[] obj = new string[12] { Glyphs.GetGlyphString(eventSystem, "PrimarySkill", (AxisRange)0, (InputSource)1, false), Glyphs.GetGlyphString(eventSystem, "SecondarySkill", (AxisRange)0, (InputSource)1, false), Glyphs.GetGlyphString(eventSystem, "UtilitySkill", (AxisRange)0, (InputSource)1, false), Glyphs.GetGlyphString(eventSystem, "SpecialSkill", (AxisRange)0, (InputSource)1, false), null, null, null, null, null, null, null, null }; KeyCode value = Config.ExtraSlot1pad.Value; obj[4] = ((object)(KeyCode)(ref value)).ToString(); value = Config.ExtraSlot2pad.Value; obj[5] = ((object)(KeyCode)(ref value)).ToString(); value = Config.ExtraSlot3pad.Value; obj[6] = ((object)(KeyCode)(ref value)).ToString(); value = Config.ExtraSlot4pad.Value; obj[7] = ((object)(KeyCode)(ref value)).ToString(); obj[8] = Glyphs.GetGlyphString(eventSystem, "Info", (AxisRange)0, (InputSource)1, false); obj[9] = Glyphs.GetGlyphString(eventSystem, "Sprint", (AxisRange)0, (InputSource)1, false); value = Config.OpenMenupad.Value; obj[10] = ((object)(KeyCode)(ref value)).ToString(); obj[11] = Glyphs.GetGlyphString(eventSystem, "Equipment", (AxisRange)0, (InputSource)1, false); string[] array = obj; for (int i = 0; i < 12; i++) { keybinds[i].text = array[i]; } } public void SetUpAccessorySlots() { if (!Object.op_Implicit((Object)(object)MystHuD)) { return; } int num = 8; if (MystPlugin.scepterInstalled) { num = SetUpSceptreSlots(); } else if (characterBody.inventory.GetItemCountPermanent(Items.TreasureCacheVoid) > 0) { menuAnimator.SetInteger("ExtraSlots", 2); num = 4; } else if (characterBody.inventory.GetItemCountPermanent(Items.TreasureCache) > 0) { menuAnimator.SetInteger("ExtraSlots", 1); num = 6; } else { menuAnimator.SetInteger("ExtraSlots", 0); } if (num > 0 && num != numberOfMissingSlots) { for (int num2 = num - 1; num2 >= 0; num2--) { menuManager.CursorShiftDown(15 - num2, Equipped: true); Debug.LogError((object)("Test: " + (15 - num2))); } } numberOfMissingSlots = num; } private int SetUpSceptreSlots() { int result = 8; if (characterBody.inventory.GetItemCountPermanent(((ItemBase)ItemBase.instance).ItemDef) > 0) { menuAnimator.SetInteger("ExtraSlots", 4); result = 0; } else if (characterBody.inventory.GetItemCountPermanent(Items.TreasureCacheVoid) > 0) { menuAnimator.SetInteger("ExtraSlots", 2); result = 4; } else if (characterBody.inventory.GetItemCountPermanent(Items.TreasureCache) > 0) { menuAnimator.SetInteger("ExtraSlots", 1); result = 6; } else { menuAnimator.SetInteger("ExtraSlots", 0); } return result; } public bool SecondaryActivate(float cd, bool justset = false) { if (secondaryCooldownTimer <= 0f || justset) { secondaryCooldownTimer = cd; return true; } return false; } private void SecondaryTimer() { if (secondaryCooldownTimer > 0f) { secondaryCooldownTimer = Mathf.Max(secondaryCooldownTimer - Time.fixedDeltaTime, 0f); secondaryOffCD = false; } else if (!secondaryOffCD) { secondaryOffCD = true; skillLocator.secondary.stock = skillLocator.secondary.maxStock; } } public bool menuActivate(float cd, bool justset = false) { if (menuCooldownTimer <= 0f || justset) { menuCooldownTimer = cd; return true; } return false; } private void MenuTimer() { if (menuCooldownTimer > 0f) { menuCooldownTimer = Mathf.Max(menuCooldownTimer - Time.fixedDeltaTime, 0f); menuOffCD = false; } else if (!menuOffCD) { menuOffCD = true; skillLocator.utility.stock = skillLocator.utility.maxStock; skillLocator.special.stock = skillLocator.utility.maxStock; } } public void EnterBlockExtend(Vector3 attackDirection) { //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0027: 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_0035: Unknown result type (might be due to invalid IL or missing references) if (((NetworkBehaviour)characterBody).isServer) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, blockExtendBool = true, blockExtendDir = attackDirection }, (NetworkDestination)1); } } public void EnterParryExtend(float damageAmount) { //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) if (((NetworkBehaviour)characterBody).isServer) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, parryExtendBool = true, blockExtendDir = new Vector3(damageAmount, 0f, 0f) }, (NetworkDestination)1); } } public void EnterReflextend() { //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) if (((NetworkBehaviour)characterBody).isServer) { NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)characterBody.master).netId, reflExtendBool = true }, (NetworkDestination)1); } } public void WildMagicRandomSpellcast() { Random random = new Random(); int[] array = new int[25] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 42, 28, 29, 32, 33, 35, 41, 42, 45 }; BaseMagiciteSkill skillstate = MagiciteDefs.magicites[array[random.Next(array.Length)]].Skillstate; skillstate.MagAll = random.Next(11); skillstate.MagMulti = random.Next(11); skillstate.MagKill = random.Next(11); skillstate.MagUse = random.Next(11); skillstate.MagTurbo = random.Next(11); skillstate.MagThrift = 150; skillstate.WildMagicCast = true; skillStateMachine.SetNextState((EntityState)(object)skillstate); } private void CinematicCamera() { if (isAuthority) { if (cameraTime > 0f) { cameraTime -= Time.fixedDeltaTime; ((Behaviour)cinematicCam).enabled = true; } else { ((Behaviour)cinematicCam).enabled = false; } } } private void FormchangeFixedUpdate() { if (isInFormchange) { formchangeRN -= Time.fixedDeltaTime; if (isAuthority) { FormchangeBar.fillAmount = Mathf.Clamp(formchangeRN / formchangeMAX, 0f, 1f); } if (formchangeRN <= 0f) { ExitFormchange(); } } } public void GrantFormchange(float form) { if (isInFormchange) { formchangeRN = form; } } public void ExitFormchange() { //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_004f: 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_006f: 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_007f: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00ab: Expected O, but got Unknown //IL_01f5: Unknown result type (might be due to invalid IL or missing references) //IL_01fc: Expected O, but got Unknown isInFormchange = false; Debug.Log((object)"[MYST EXITED FORMCHANGE]"); if (isAuthority) { animator.SetBool("IsInFormchange", false); EffectManager.SpawnEffect(Assets.FormchangeExit, new EffectData { rootObject = ((Component)characterBody).gameObject, origin = characterBody.transform.position + new Vector3(0f, 0f, 0f), rotation = characterBody.characterDirection.targetTransform.rotation, scale = 1f }, true); } characterBody.skillLocator.primary.UnsetSkillOverride((object)((Component)this).gameObject, FormSkillPrimary, (SkillOverridePriority)3); characterBody.skillLocator.secondary.UnsetSkillOverride((object)((Component)this).gameObject, FormSkillSecondary, (SkillOverridePriority)3); characterBody.skillLocator.utility.UnsetSkillOverride((object)((Component)this).gameObject, FormSkillUtility, (SkillOverridePriority)3); characterBody.skillLocator.special.UnsetSkillOverride((object)((Component)this).gameObject, FormSkillSpecial, (SkillOverridePriority)3); characterAnimator.SetInteger("CurrentForm", 0); int layerIndex = characterAnimator.GetLayerIndex("Body"); characterAnimator.PlayInFixedTime("Idle", layerIndex, 0f); GameObject[] formchangeParticles = FormchangeParticles; foreach (GameObject val in formchangeParticles) { Object.Destroy((Object)(object)val); } if (NetworkServer.active) { characterBody.RemoveBuff(FormchangeBuff); } if (characterBody.skinIndex < 2) { SkinnedMeshRenderer[] componentsInChildren = ((Component)characterBody.modelLocator.modelTransform).GetComponentsInChildren(); SkinnedMeshRenderer[] array = componentsInChildren; foreach (SkinnedMeshRenderer val2 in array) { MaterialPropertyBlock val3 = new MaterialPropertyBlock(); ((Renderer)val2).GetPropertyBlock(val3); val3.Clear(); ((Renderer)val2).SetPropertyBlock(val3); } } SetIconsDefault(); } public void EnterFormchange(float duration, BuffDef FormBuff, SkillDef newSkillPrimary, SkillDef newSkillSecondary, SkillDef newSkillUtility, SkillDef newSkillSpecial, Color FormColor, Color EmisionColor, GameObject[] Particles) { //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Expected O, but got Unknown //IL_00d4: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) formchangeMAX = duration; formchangeRN = formchangeMAX; isInFormchange = true; Debug.Log((object)"[MYST ENTERED FORMCHANGE]"); if (isAuthority) { ((Graphic)FormchangeText).color = FormColor; ((Graphic)FormchangeBar).color = FormColor; animator.SetBool("IsInFormchange", true); } characterAnimator.SetInteger("CurrentForm", 1); FormchangeParticles = Particles; FormchangeBuff = FormBuff; if (characterBody.skinIndex < 2) { SkinnedMeshRenderer[] componentsInChildren = ((Component)characterBody.modelLocator.modelTransform).GetComponentsInChildren(); SkinnedMeshRenderer[] array = componentsInChildren; foreach (SkinnedMeshRenderer val in array) { MaterialPropertyBlock val2 = new MaterialPropertyBlock(); ((Renderer)val).GetPropertyBlock(val2); val2.SetColor("_Color", FormColor); val2.SetColor("_EmColor", EmisionColor); val2.SetFloat("_EmPower", 20f); ((Renderer)val).SetPropertyBlock(val2); } } FormSkillPrimary = newSkillPrimary; FormSkillSecondary = newSkillSecondary; FormSkillUtility = newSkillUtility; FormSkillSpecial = newSkillSpecial; characterBody.skillLocator.primary.SetSkillOverride((object)((Component)this).gameObject, FormSkillPrimary, (SkillOverridePriority)3); characterBody.skillLocator.secondary.SetSkillOverride((object)((Component)this).gameObject, FormSkillSecondary, (SkillOverridePriority)3); characterBody.skillLocator.utility.SetSkillOverride((object)((Component)this).gameObject, FormSkillUtility, (SkillOverridePriority)3); characterBody.skillLocator.special.SetSkillOverride((object)((Component)this).gameObject, FormSkillSpecial, (SkillOverridePriority)3); SetIconsDefault(); } private void KKAupdate() { //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: 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_0066: Unknown result type (might be due to invalid IL or missing references) if (isKKAInstalled && isAuthority && Object.op_Implicit((Object)(object)hud)) { if (KingKombatArenaMainPlugin.s_GAME_MODE_ACTIVE && KingKombatArenaMainPlugin.IsInWaitingArea(((Component)characterBody).gameObject)) { defaultUI.localScale = Vector2.op_Implicit(Vector2.one); ((Transform)HUDrectTransform).localScale = Vector2.op_Implicit(Vector2.zero); } else { ((Transform)HUDrectTransform).localScale = Vector2.op_Implicit(new Vector2(1f, 1f) * 1f); defaultUI.localScale = Vector2.op_Implicit(Vector2.zero); } } } } internal class MystRunComponent : MonoBehaviour { public MystPassiveManager passiveManager; public HUD hud; public GameObject MystHuD; public ChildLocator childLocator; public Image[] abilityIcons; public Image magicBar; public Text magicText; public Image[] limitBars; public Text FormchangeText; public Image FormchangeBar; public Text equipmentCooldown; public Text equipmentStock; public Image equipmentImage; public Text secondaryCooldown; public Transform defaultUI; public RectTransform HUDrectTransform; public RectTransform HUDresourceGauges; public TMP_Text[] keybinds; public Animator hotbarAnimator; public MystMenuManager menuManager; public ChildLocator menuChildLocator; public Transform menuTransform; public Animator menuAnimator; public RectTransform magiciteCursor; public Image[] inventoryMagiciteFrame; public Image[] inventoryMagiciteIcon; public Text[] inventoryMagiciteName; public Text[] inventoryMagiciteLevel; public Text[] inventoryMagiciteLVtex; public Image[] inventoryMagiciteSell; public Image[] inventoryMagiciteSellIcon; public static MystRunComponent Instance { get; private set; } private void Awake() { if ((Object)(object)Instance != (Object)null && (Object)(object)Instance != (Object)(object)this) { Object.Destroy((Object)(object)((Component)this).gameObject); } else { Instance = this; } } } public class DashAttack : BaseSkillState { public static float dashSpeed = 80f; public static float hopForce = 10f; public bool areFinishers = false; public static float damageCoefficient = 0f; public static float procCoefficient = 0f; public static float pushForce = 0f; private MystTracker tracker; private HurtBox target; private bool targetIsValid; private OverlapAttack attack; private Vector3 storedPosition; private float attackRecoil = 7f; private List HitResults = new List(); public override void OnEnter() { //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0041: 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_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Expected O, but got Unknown //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); tracker = ((EntityState)this).GetComponent(); target = tracker.GetTrackingTarget(); if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { CharacterBody characterBody = ((EntityState)this).characterBody; characterBody.bodyFlags = (BodyFlags)(characterBody.bodyFlags | 1); } if (Object.op_Implicit((Object)(object)target) && Object.op_Implicit((Object)(object)target.healthComponent) && target.healthComponent.alive) { targetIsValid = true; } HitBoxGroup hitBoxGroup = null; Transform modelTransform = ((EntityState)this).GetModelTransform(); if (Object.op_Implicit((Object)(object)modelTransform)) { hitBoxGroup = Array.Find(((Component)modelTransform).GetComponents(), (HitBoxGroup element) => element.groupName == "Sword"); } attack = new OverlapAttack(); attack.damageType = DamageTypeCombo.GenericPrimary; attack.attacker = ((EntityState)this).gameObject; attack.inflictor = ((EntityState)this).gameObject; attack.teamIndex = ((BaseState)this).GetTeam(); attack.damage = damageCoefficient * ((BaseState)this).damageStat; attack.procCoefficient = procCoefficient; attack.hitBoxGroup = hitBoxGroup; attack.isCrit = ((BaseState)this).RollCrit(); attack.pushAwayForce = pushForce * 0.2f; Util.PlaySound("Misc_StartDash", ((EntityState)this).gameObject); ((EntityState)this).PlayAnimation("FullBody, Override", "DashLunge"); } public override void FixedUpdate() { //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0070: 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_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_0093: 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_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: 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_0109: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).FixedUpdate(); if (Object.op_Implicit((Object)(object)target)) { if (target.healthComponent.health <= 0f) { targetIsValid = false; } storedPosition = ((Component)target).transform.position; } if (((EntityState)this).isAuthority && targetIsValid) { Vector3 val = storedPosition - ((EntityState)this).transform.position; Vector3 velocity = ((Vector3)(ref val)).normalized * dashSpeed; ((EntityState)this).characterMotor.velocity = velocity; ((EntityState)this).characterDirection.forward = ((Vector3)(ref ((EntityState)this).characterMotor.velocity)).normalized; if (((EntityState)this).fixedAge >= 0.8f) { ((EntityState)this).outer.SetNextStateToMain(); return; } attack.forceVector = ((Vector3)(ref ((EntityState)this).characterMotor.velocity)).normalized * pushForce; if (!attack.Fire(HitResults)) { return; } bool flag = false; if (HitResults.Count > 0) { foreach (HurtBox hitResult in HitResults) { if (!Object.op_Implicit((Object)(object)hitResult.healthComponent) || !(hitResult.healthComponent.health > 0f)) { flag = true; } } ((BaseState)this).AddRecoil(-1f * attackRecoil, -2f * attackRecoil, -0.5f * attackRecoil, 0.5f * attackRecoil); ((EntityState)this).outer.SetNextState((EntityState)(object)new DashAttackExit { areFinishers = areFinishers }); } else { ((EntityState)this).outer.SetNextState((EntityState)(object)new DashAttackExit { areFinishers = areFinishers }); } } else { ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).OnExit(); CharacterBody characterBody = ((EntityState)this).characterBody; characterBody.bodyFlags = (BodyFlags)(characterBody.bodyFlags & -2); CharacterMotor characterMotor = ((EntityState)this).characterMotor; characterMotor.velocity *= 0.1f; ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty"); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)7; } } public class DashAttackExit : BaseMeleeAttack { private bool buttonHold = true; private bool killCheck = false; public bool areFinishers = false; public int attackNo = 1; private new int swingIndex = 1; private List HitResults = new List(); private bool hasFired; public override void OnEnter() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) //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) hitboxName = "Sword"; damageType = DamageTypeCombo.op_Implicit(DamageTypeCombo.GenericPrimary); damageCoefficient = Config.dashAttackDamage.Value; procCoefficient = Config.dashAttackProc.Value; pushForce = Config.dashAttackForce.Value; bonusForce = new Vector3(0f, -500f, 0f); baseDuration = 1f; attackStartTime = 0.1f; attackEndTime = 0.4f; baseEarlyExitTime = 0.4f; hitStopDuration = 0.012f; attackRecoil = 0.5f; hitHopVelocity = Config.dashAttackHopVelocity.Value; hitHopVelocityYaxisCorrector = Config.dashAttackHopVelocity.Value * 2f; swingSoundString = "Attack_DashSlash"; hitSoundString = ""; swingAnimSpeed = 2f; swingAnimString = "DashSlash"; muzzleString = "SlashMuzzleRight"; swingEffectPrefab = Assets.MystBasicSwing; hitEffectPrefab = Assets.MystBasicImpact; buttonHold = true; killCheck = false; base.OnEnter(); ((BaseState)this).SmallHop(((EntityState)this).characterMotor, DashAttack.hopForce); } public override void PlayAttackAnimation(string AttackAnimation, float AnimationSpeed) { ((EntityState)this).PlayAnimation("FullBody, Override", "DashSlash", "Slash.playbackRate", Mathf.Max(0.1f, duration / AnimationSpeed), 0f); } public override void FixedUpdate() { if (!((EntityState)this).inputBank.skill1.down) { buttonHold = false; } base.FixedUpdate(); } protected override void FireAttack() { if (!hasFired) { hasFired = true; Util.PlayAttackSpeedSound(swingSoundString, ((EntityState)this).gameObject, ((BaseState)this).attackSpeedStat); if (((EntityState)this).isAuthority) { PlaySwingEffect(); ((BaseState)this).AddRecoil(-1f * attackRecoil, -2f * attackRecoil, -0.5f * attackRecoil, 0.5f * attackRecoil); } } if (!((EntityState)this).isAuthority || !attack.Fire(HitResults) || HitResults.Count <= 0) { return; } foreach (HurtBox hitResult in HitResults) { if (!Object.op_Implicit((Object)(object)hitResult.healthComponent) || !(hitResult.healthComponent.health > 0f)) { killCheck = true; } } OnHitEnemyAuthority(); } protected override void PlaySwingEffect() { base.PlaySwingEffect(); } protected override void OnHitEnemyAuthority() { base.OnHitEnemyAuthority(); } protected override void SetNextState() { swingIndex++; if (!killCheck) { ((EntityState)this).outer.SetNextState((EntityState)(object)new MystBasicSwing { swingIndex = 2, areFinishers = areFinishers, attackNo = 2 }); } else { ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { base.OnExit(); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)1; } } public class MystBasicSwing : BaseMeleeAttack { private bool buttonHold = true; public bool areFinishers = false; public int attackNo = 1; public new int swingIndex = 1; public override void OnEnter() { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_006f: 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) cancelled = SkillPriority(); hitboxName = "Sword"; damageType = DamageTypeCombo.op_Implicit(DamageTypeCombo.GenericPrimary); damageCoefficient = Config.vorpalSliceDamage.Value; procCoefficient = Config.vorpalSliceProc.Value; pushForce = Config.vorpalSliceForce.Value; bonusForce = new Vector3(0f, -300f / ((BaseState)this).attackSpeedStat, 0f); baseDuration = 1f; attackStartTime = 0.2f; attackEndTime = 0.4f; baseEarlyExitTime = 0.4f; hitStopDuration = 0.012f; attackRecoil = 3f; hitHopVelocity = Config.vorpalSliceHopVelocity.Value; hitHopVelocityYaxisCorrector = Config.vorpalSliceHopVelocity.Value * 2f; swingSoundString = ((swingIndex % 3 == 0) ? "Attack_BasicLight2" : "Attack_BasicLight"); hitSoundString = ""; ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty", "", 1f, 0f); swingAnimSpeed = 1f; switch (swingIndex % 3) { default: Chat.AddMessage("AttackNumberError"); break; case 1: swingAnimString = "SwingA1"; muzzleString = "SlashMuzzleRight"; break; case 2: swingAnimString = "SwingA2"; muzzleString = "SlashMuzzleLeft"; break; case 0: swingAnimString = "SwingA3"; muzzleString = "SlashMuzzleUp"; attackStartTime = 0.3f; break; } swingEffectPrefab = Assets.MystBasicSwing; hitEffectPrefab = Assets.MystBasicImpact; buttonHold = true; base.OnEnter(); } public override void FixedUpdate() { if (!((EntityState)this).inputBank.skill1.down) { buttonHold = false; } base.FixedUpdate(); } protected override void PlayAttackAnimation() { base.PlayAttackAnimation(); } protected override void PlaySwingEffect() { base.PlaySwingEffect(); } protected override void OnHitEnemyAuthority() { base.OnHitEnemyAuthority(); } protected override void SetNextState() { swingIndex++; if (buttonHold && areFinishers) { attackNo++; if (attackNo >= 4) { BaseMagiciteSkill skillstate = passiveManager.finisherList[0].Skillstate; skillstate.finisherIndex = 1; ((EntityState)this).outer.SetNextState((EntityState)(object)skillstate); return; } } if (buttonHold) { ((EntityState)this).outer.SetNextState((EntityState)(object)new MystBasicSwing { swingIndex = swingIndex, areFinishers = areFinishers, attackNo = attackNo }); } else { ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { base.OnExit(); } private bool SkillPriority() { if (((EntityState)this).inputBank.skill3.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)new MagicMenu()); return true; } if (((EntityState)this).inputBank.skill4.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)new LimitMenu()); return true; } return false; } public override void OnSerialize(NetworkWriter writer) { base.OnSerialize(writer); writer.Write((byte)swingIndex); writer.Write(areFinishers); writer.Write((byte)attackNo); } public override void OnDeserialize(NetworkReader reader) { base.OnDeserialize(reader); swingIndex = reader.ReadByte(); areFinishers = reader.ReadBoolean(); attackNo = reader.ReadByte(); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)1; } } internal class MystPrimaryAttack : BaseSkillState { private MystTracker tracker; public override void OnEnter() { //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); if (!((EntityState)this).isAuthority || SkillPriority()) { return; } tracker = ((EntityState)this).GetComponent(); bool areFinishers = ((EntityState)this).GetComponent().finisherList[0].Skillstate != new SpellDef().Skillstate; if (!Object.op_Implicit((Object)(object)tracker.GetTrackingTarget())) { ((EntityState)this).outer.SetNextState((EntityState)(object)new MystBasicSwing { areFinishers = areFinishers }); return; } float num = 10f; if (!((BaseState)this).isGrounded) { num = 7f; } float num2 = Vector3.Distance(((EntityState)this).transform.position, ((Component)tracker.GetTrackingTarget()).transform.position); if (num2 < MystTracker.maxAttackDashDistance && num2 >= num) { ((EntityState)this).outer.SetNextState((EntityState)(object)new DashAttack { areFinishers = areFinishers }); } else { ((EntityState)this).outer.SetNextState((EntityState)(object)new MystBasicSwing { areFinishers = areFinishers }); } } private bool SkillPriority() { if (((EntityState)this).inputBank.skill3.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)new MagicMenu()); return true; } if (((EntityState)this).inputBank.skill4.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)new LimitMenu()); return true; } return false; } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)1; } } public class BlockEnter : BaseSkillState { public static float parryWindow = 0.35f; private Animator animator; private MystPassiveManager passiveManager; public override void OnEnter() { ((BaseState)this).OnEnter(); ((EntityState)this).fixedAge = 0f; animator = ((EntityState)this).GetModelAnimator(); passiveManager = ((EntityState)this).GetComponent(); passiveManager.isParrying = true; passiveManager.isBlocking = true; if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Slow50); } ((EntityState)this).PlayAnimation("Gesture, Override", "Block"); Util.PlaySound("Misc_BlockStart", ((EntityState)this).gameObject); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); ((EntityState)this).characterBody.isSprinting = false; passiveManager.SecondaryActivate(Config.parryCooldown.Value, justset: true); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; ((BaseState)this).StartAimMode(0.1f, true); if (((EntityState)this).fixedAge >= parryWindow) { passiveManager.isParrying = false; if (((EntityState)this).isAuthority && !((EntityState)this).inputBank.skill2.down) { passiveManager.hasParried = false; Util.PlaySound("Misc_BlockEnd", ((EntityState)this).gameObject); ((EntityState)this).outer.SetNextStateToMain(); } } } public override void OnExit() { passiveManager.isBlocking = false; passiveManager.isParrying = false; ((EntityState)this).PlayAnimation("Gesture, Override", "BufferEmpty"); if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Slow50); } ((EntityState)this).OnExit(); } public override void OnSerialize(NetworkWriter writer) { ((BaseSkillState)this).OnSerialize(writer); } public override void OnDeserialize(NetworkReader reader) { ((BaseSkillState)this).OnDeserialize(reader); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class BlockExtend : BaseSkillState { public static float duration = 1.5f; public static float initialSpeedCoefficient = Config.parryStartSpeed.Value; public static float finalSpeedCoefficient = Config.parryEndSpeed.Value; private Animator animator; public Vector3 attackDirection; private float knockbackspeed; private MystPassiveManager passiveManager; public override void OnEnter() { ((BaseState)this).OnEnter(); ((EntityState)this).fixedAge = 0f; animator = ((EntityState)this).GetModelAnimator(); passiveManager = ((EntityState)this).GetComponent(); passiveManager.isParrying = false; passiveManager.isBlocking = true; ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; ((BaseState)this).StartAimMode(duration, true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Slow50); } ((EntityState)this).PlayAnimation("FullBody, Override", "BlockHit"); ((EntityState)this).PlayAnimation("Gesture, Override", "BlockHit"); } private void RecalculateBlockBackSpeed() { knockbackspeed = ((BaseState)this).moveSpeedStat * Mathf.Lerp(initialSpeedCoefficient, finalSpeedCoefficient, ((EntityState)this).fixedAge / duration); } public override void FixedUpdate() { //IL_00a4: 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_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).FixedUpdate(); ((EntityState)this).characterBody.isSprinting = false; RecalculateBlockBackSpeed(); if (!passiveManager.hasParried) { passiveManager.SecondaryActivate(Config.parryCooldown.Value, justset: true); } ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; ((BaseState)this).StartAimMode(0.1f, true); if (((EntityState)this).fixedAge < duration && Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) && Object.op_Implicit((Object)(object)((EntityState)this).characterDirection) && attackDirection != Vector3.zero) { Vector3 velocity = attackDirection * knockbackspeed; ((EntityState)this).characterMotor.velocity = velocity; } if (((EntityState)this).isAuthority && !((EntityState)this).inputBank.skill2.down) { passiveManager.hasParried = false; Util.PlaySound("Misc_BlockEnd", ((EntityState)this).gameObject); ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { passiveManager.isParrying = false; passiveManager.isBlocking = false; ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty"); ((EntityState)this).PlayAnimation("Gesture, Override", "BufferEmpty"); if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Slow50); } ((EntityState)this).OnExit(); } public override void OnSerialize(NetworkWriter writer) { ((BaseSkillState)this).OnSerialize(writer); } public override void OnDeserialize(NetworkReader reader) { ((BaseSkillState)this).OnDeserialize(reader); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class BlockParry : BaseSkillState { public static float duration = 0.15f; public float damage = 0f; private Animator animator; private MystPassiveManager passiveManager; public override void OnEnter() { //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: 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_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_00d6: Unknown result type (might be due to invalid IL or missing references) //IL_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_0101: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Unknown result type (might be due to invalid IL or missing references) //IL_0108: Unknown result type (might be due to invalid IL or missing references) //IL_010e: Unknown result type (might be due to invalid IL or missing references) //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_0118: 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_0122: 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_0129: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Unknown result type (might be due to invalid IL or missing references) //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_0146: Unknown result type (might be due to invalid IL or missing references) //IL_014c: Unknown result type (might be due to invalid IL or missing references) //IL_0152: Unknown result type (might be due to invalid IL or missing references) //IL_015d: Unknown result type (might be due to invalid IL or missing references) //IL_0168: Unknown result type (might be due to invalid IL or missing references) //IL_016f: Unknown result type (might be due to invalid IL or missing references) //IL_0174: 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) ((BaseState)this).OnEnter(); ((EntityState)this).fixedAge = 0f; animator = ((EntityState)this).GetModelAnimator(); passiveManager = ((EntityState)this).GetComponent(); passiveManager.isParrying = true; passiveManager.isBlocking = true; passiveManager.hasParried = true; passiveManager.SecondaryActivate(-1f, justset: true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Slow50); } if (((EntityState)this).isAuthority && damage > 0f) { new BlastAttack { attacker = ((EntityState)this).gameObject, baseDamage = damage, baseForce = 0f, bonusForce = new Vector3(0f, 0f, 0f), crit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)131104) | DamageTypeCombo.GenericSecondary), falloffModel = (FalloffModel)1, inflictor = null, position = ((EntityState)this).characterBody.transform.position, procChainMask = default(ProcChainMask), procCoefficient = 1f, radius = 15f, teamIndex = TeamComponent.GetObjectTeam(((EntityState)this).gameObject) }.Fire(); } ((EntityState)this).PlayAnimation("FullBody, Override", "BlockHit"); ((EntityState)this).PlayAnimation("Gesture, Override", "BlockHit"); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); ((EntityState)this).characterBody.isSprinting = false; passiveManager.SecondaryActivate(-1f, justset: true); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; ((BaseState)this).StartAimMode(0.1f, true); if (((EntityState)this).fixedAge > duration) { passiveManager.isParrying = false; } if (((EntityState)this).isAuthority && !((EntityState)this).inputBank.skill2.down) { passiveManager.hasParried = false; Util.PlaySound("Misc_BlockEnd", ((EntityState)this).gameObject); ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { passiveManager.isParrying = false; passiveManager.isBlocking = false; ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty"); ((EntityState)this).PlayAnimation("Gesture, Override", "BufferEmpty"); ((EntityState)this).characterBody.isSprinting = true; if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Slow50); } ((EntityState)this).OnExit(); } public override void OnSerialize(NetworkWriter writer) { ((BaseSkillState)this).OnSerialize(writer); } public override void OnDeserialize(NetworkReader reader) { ((BaseSkillState)this).OnDeserialize(reader); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class DashRoll : BaseSkillState { public static float duration = 0.5f; public static float initialSpeedCoefficient = Config.dashRollStartSpeed.Value; public static float finalSpeedCoefficient = Config.dashRollEndSpeed.Value; public static string dodgeSoundString = DodgeState.dodgeSoundString; public static float dodgeFOV = DodgeState.dodgeFOV; private float rollSpeed; private Vector3 forwardDirection; private Animator animator; private Vector3 previousPosition; public override void OnEnter() { //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: 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_00b0: Unknown result type (might be due to invalid IL or missing references) //IL_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_0120: Unknown result type (might be due to invalid IL or missing references) //IL_0125: Unknown result type (might be due to invalid IL or missing references) //IL_0145: Unknown result type (might be due to invalid IL or missing references) //IL_0138: Unknown result type (might be due to invalid IL or missing references) //IL_014a: Unknown result type (might be due to invalid IL or missing references) //IL_0153: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) //IL_015a: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); ((EntityState)this).fixedAge = 0f; animator = ((EntityState)this).GetModelAnimator(); if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)((EntityState)this).inputBank) && Object.op_Implicit((Object)(object)((EntityState)this).characterDirection)) { Vector3 val = ((((EntityState)this).inputBank.moveVector == Vector3.zero) ? ((EntityState)this).characterDirection.forward : ((EntityState)this).inputBank.moveVector); forwardDirection = ((Vector3)(ref val)).normalized; } Vector3 val2 = (Object.op_Implicit((Object)(object)((EntityState)this).characterDirection) ? ((EntityState)this).characterDirection.forward : forwardDirection); Vector3 val3 = Vector3.Cross(Vector3.up, val2); float num = Vector3.Dot(forwardDirection, val2); float num2 = Vector3.Dot(forwardDirection, val3); RecalculateRollSpeed(); if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) && Object.op_Implicit((Object)(object)((EntityState)this).characterDirection)) { ((EntityState)this).characterMotor.velocity.y = 0f; ((EntityState)this).characterMotor.velocity = forwardDirection * rollSpeed; } Vector3 val4 = (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) ? ((EntityState)this).characterMotor.velocity : Vector3.zero); previousPosition = ((EntityState)this).transform.position - val4; ((EntityState)this).PlayAnimation("FullBody, Override", "DashRoll", "Roll.playbackRate", duration, 0f); Util.PlaySound(dodgeSoundString, ((EntityState)this).gameObject); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.HiddenInvincibility, 0.5f * duration); } } private void RecalculateRollSpeed() { rollSpeed = ((BaseState)this).moveSpeedStat * Mathf.Lerp(initialSpeedCoefficient, finalSpeedCoefficient, ((EntityState)this).fixedAge / duration); } public override void FixedUpdate() { //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0076: 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_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_009e: 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_010a: 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_00b3: 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_00bf: 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_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).FixedUpdate(); RecalculateRollSpeed(); if (Object.op_Implicit((Object)(object)((EntityState)this).characterDirection)) { ((EntityState)this).characterDirection.forward = forwardDirection; } if (Object.op_Implicit((Object)(object)((EntityState)this).cameraTargetParams)) { ((EntityState)this).cameraTargetParams.fovOverride = Mathf.Lerp(dodgeFOV, 60f, ((EntityState)this).fixedAge / duration); } Vector3 val = ((EntityState)this).transform.position - previousPosition; Vector3 normalized = ((Vector3)(ref val)).normalized; if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) && Object.op_Implicit((Object)(object)((EntityState)this).characterDirection) && normalized != Vector3.zero) { Vector3 val2 = normalized * rollSpeed; float num = Mathf.Max(Vector3.Dot(val2, forwardDirection), 0f); val2 = forwardDirection * num; val2.y = 0f; ((EntityState)this).characterMotor.velocity = val2; } previousPosition = ((EntityState)this).transform.position; if (((EntityState)this).isAuthority && ((EntityState)this).fixedAge >= duration) { ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { if (Object.op_Implicit((Object)(object)((EntityState)this).cameraTargetParams)) { ((EntityState)this).cameraTargetParams.fovOverride = -1f; } ((EntityState)this).OnExit(); ((EntityState)this).characterMotor.disableAirControlUntilCollision = false; } public override void OnSerialize(NetworkWriter writer) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) ((BaseSkillState)this).OnSerialize(writer); writer.Write(forwardDirection); } public override void OnDeserialize(NetworkReader reader) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) ((BaseSkillState)this).OnDeserialize(reader); forwardDirection = reader.ReadVector3(); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)0; } } internal class MystSecondaryAttack : BaseSkillState { public int MoveSelect = 0; public override void OnEnter() { ((BaseState)this).OnEnter(); if (!((EntityState)this).isAuthority || SkillPriority()) { return; } string skillNameToken = ((EntityState)this).characterBody.skillLocator.secondary.skillNameToken; string text = skillNameToken; if (!(text == "JAVANGLE_MYST_BODY_BASEFORM_DASH_NAME")) { if (!(text == "JAVANGLE_MYST_BODY_BASEFORM_BLOCK_NAME")) { Chat.AddMessage("SecondarySkillIssue"); } else if (((Component)((EntityState)this).characterBody).GetComponent().SecondaryActivate(Config.parryCooldown.Value)) { ((EntityState)this).outer.SetNextState((EntityState)(object)new BlockEnter()); return; } } else if (((Component)((EntityState)this).characterBody).GetComponent().SecondaryActivate(Config.dashRollCooldown.Value)) { ((EntityState)this).outer.SetNextState((EntityState)(object)new DashRoll()); return; } ((EntityState)this).skillLocator.secondary.stock = ((EntityState)this).skillLocator.secondary.maxStock; ((EntityState)this).outer.SetNextStateToMain(); } public override void OnExit() { ((EntityState)this).OnExit(); } private bool SkillPriority() { if (((EntityState)this).inputBank.skill3.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)new MagicMenu()); ((EntityState)this).skillLocator.secondary.stock = ((EntityState)this).skillLocator.secondary.maxStock; return true; } if (((EntityState)this).inputBank.skill4.down) { ((EntityState)this).outer.SetNextState((EntityState)(object)new LimitMenu()); ((EntityState)this).skillLocator.secondary.stock = ((EntityState)this).skillLocator.secondary.maxStock; return true; } return false; } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } } namespace MystMod.SkillStates.Myst.Networking { public class MystNetworkComponent : INetMessage, ISerializableObject { public NetworkInstanceId networkMasterID; public double Limit = 0.0; public double Magic = 0.0; public bool MagicRecharge = false; public double magiciteEXP = 0.0; public bool blockExtendBool = false; public bool parryExtendBool = false; public bool reflExtendBool = false; public Vector3 blockExtendDir = Vector3.zero; public bool randomSkill = false; public int synthesis = 0; public int desynthesis = 0; public void OnReceived() { //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_013f: Unknown result type (might be due to invalid IL or missing references) //IL_0144: Unknown result type (might be due to invalid IL or missing references) foreach (NetworkUser readOnlyInstances in NetworkUser.readOnlyInstancesList) { CharacterMaster master = readOnlyInstances.master; if (!Object.op_Implicit((Object)(object)master) || !(((NetworkBehaviour)master).netId == networkMasterID)) { continue; } CharacterBody body = master.GetBody(); if (!Object.op_Implicit((Object)(object)body)) { continue; } MystPassiveManager component = ((Component)body).GetComponent(); if (Object.op_Implicit((Object)(object)component)) { if (Limit > 0.0) { component.GrantLimit((float)Limit); } if (Limit < 0.0) { component.GrantFormchange((float)Limit * -1f); } if (Magic > 0.0) { component.GrantMagic((float)Magic, MagicRecharge); } if (magiciteEXP > 0.0) { component.GrantMagiciteEXP((float)magiciteEXP); } if (blockExtendBool) { component.skillStateMachine.SetNextState((EntityState)(object)new BlockExtend { attackDirection = blockExtendDir }); } if (parryExtendBool) { component.skillStateMachine.SetNextState((EntityState)(object)new BlockParry { damage = blockExtendDir.x }); } if (reflExtendBool && component.isAuthority) { component.skillStateMachine.SetNextState((EntityState)(object)new Reflextend()); } if (randomSkill) { component.WildMagicRandomSpellcast(); } if (synthesis > 0) { component.RemoveIngredients(synthesis); } if (desynthesis > 0) { component.GainMagiciteDust(desynthesis); } } } } public void Serialize(NetworkWriter writer) { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) writer.Write(networkMasterID); writer.Write(Limit); writer.Write(Magic); writer.Write(MagicRecharge); writer.Write(magiciteEXP); writer.Write(blockExtendBool); writer.Write(parryExtendBool); writer.Write(reflExtendBool); writer.Write(blockExtendDir); writer.Write(randomSkill); writer.Write((byte)synthesis); writer.Write((byte)desynthesis); } public void Deserialize(NetworkReader reader) { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) networkMasterID = reader.ReadNetworkId(); Limit = reader.ReadDouble(); Magic = reader.ReadDouble(); MagicRecharge = reader.ReadBoolean(); magiciteEXP = reader.ReadDouble(); blockExtendBool = reader.ReadBoolean(); parryExtendBool = reader.ReadBoolean(); reflExtendBool = reader.ReadBoolean(); blockExtendDir = reader.ReadVector3(); randomSkill = reader.ReadBoolean(); synthesis = reader.ReadByte(); desynthesis = reader.ReadByte(); } } public class MystTargetEffect : INetMessage, ISerializableObject { public GameObject attacker; public GameObject target; public bool isHealing = false; public float potencyFlat = 0f; public float potencyPercentile = 0f; public float ProcCoeficient = 0f; public bool isCrit = false; public float statusDuration = 0f; public int statusStacks = 1; public BuffDef status = null; public bool dispel = false; public bool purge = false; public DamageType damageTypeEffect = DamageTypeCombo.op_Implicit(DamageTypeCombo.GenericUtility); private CharacterBody targetBody; public void OnReceived() { //IL_0106: Unknown result type (might be due to invalid IL or missing references) //IL_010c: 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_0060: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0096: 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_009d: Unknown result type (might be due to invalid IL or missing references) //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_00ae: 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_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Expected O, but got Unknown //IL_028a: Unknown result type (might be due to invalid IL or missing references) //IL_0290: Unknown result type (might be due to invalid IL or missing references) //IL_01c7: Unknown result type (might be due to invalid IL or missing references) //IL_01cc: Unknown result type (might be due to invalid IL or missing references) //IL_01d8: Unknown result type (might be due to invalid IL or missing references) //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_01fc: Unknown result type (might be due to invalid IL or missing references) //IL_0201: Unknown result type (might be due to invalid IL or missing references) //IL_0206: Unknown result type (might be due to invalid IL or missing references) //IL_020d: Unknown result type (might be due to invalid IL or missing references) //IL_020f: Unknown result type (might be due to invalid IL or missing references) //IL_0214: 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_021f: Unknown result type (might be due to invalid IL or missing references) //IL_0224: Unknown result type (might be due to invalid IL or missing references) //IL_022b: Unknown result type (might be due to invalid IL or missing references) //IL_0237: Unknown result type (might be due to invalid IL or missing references) //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_0247: Unknown result type (might be due to invalid IL or missing references) //IL_024d: Unknown result type (might be due to invalid IL or missing references) //IL_025a: Expected O, but got Unknown targetBody = target.GetComponent(); if (!Object.op_Implicit((Object)(object)attacker) || !Object.op_Implicit((Object)(object)targetBody)) { return; } if (potencyFlat > 0f) { if (!isHealing) { DamageInfo val = new DamageInfo { attacker = attacker, damage = potencyFlat, force = Vector3.zero, crit = isCrit, damageColorIndex = (DamageColorIndex)0, damageType = DamageTypeCombo.op_Implicit(damageTypeEffect), inflictor = null, position = target.transform.position, procChainMask = default(ProcChainMask), procCoefficient = ProcCoeficient }; targetBody.healthComponent.TakeDamage(val); } else { targetBody.healthComponent.Heal(potencyFlat, default(ProcChainMask), true); } } if (potencyPercentile > 0f) { if (!isHealing) { CharacterBody component = attacker.GetComponent(); if (Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)component.inventory) && targetBody.healthComponent.combinedHealth > targetBody.healthComponent.fullCombinedHealth * 0.9f) { int itemCountPermanent = component.inventory.GetItemCountPermanent(Items.Crowbar); potencyPercentile /= 1f + 0.75f * (float)itemCountPermanent; } DamageInfo val2 = new DamageInfo { attacker = attacker, damage = targetBody.healthComponent.fullCombinedHealth * (potencyPercentile / 100f), force = Vector3.zero, crit = false, damageColorIndex = (DamageColorIndex)0, damageType = DamageTypeCombo.op_Implicit((DamageType)262210), inflictor = null, position = target.transform.position, procChainMask = default(ProcChainMask), procCoefficient = 0f }; targetBody.healthComponent.TakeDamage(val2); } else { targetBody.healthComponent.HealFraction(potencyPercentile / 100f, default(ProcChainMask)); } } if (dispel) { CleanseSystem.CleanseBodyServer(targetBody, true, false, false, true, true, false); } if (purge) { CleanseSystem.CleanseBodyServer(targetBody, false, true, true, false, false, false); CharacterMaster master = targetBody.master; if (Object.op_Implicit((Object)(object)master)) { Inventory inventory = master.inventory; if (Object.op_Implicit((Object)(object)inventory)) { inventory.AddInventoryDisabler(); inventory.SetEquipmentIndex((EquipmentIndex)(-1), true); } } } if ((Object)(object)status != (Object)null) { targetBody.healthComponent.body.AddTimedBuff(status, statusDuration, statusStacks); } } public void Serialize(NetworkWriter writer) { //IL_0093: Unknown result type (might be due to invalid IL or missing references) writer.Write(target); writer.Write(attacker); writer.Write(isHealing); writer.Write((byte)potencyFlat); writer.Write((byte)potencyPercentile); writer.Write((byte)ProcCoeficient); writer.Write(isCrit); writer.Write((byte)statusDuration); writer.Write(statusStacks); if (statusDuration > 0f) { NetworkExtensions.WriteBuffIndex(writer, status.buffIndex); } writer.Write(dispel); writer.Write(purge); } public void Deserialize(NetworkReader reader) { //IL_0085: Unknown result type (might be due to invalid IL or missing references) target = reader.ReadGameObject(); attacker = reader.ReadGameObject(); isHealing = reader.ReadBoolean(); potencyFlat = (int)reader.ReadByte(); potencyPercentile = (int)reader.ReadByte(); ProcCoeficient = (int)reader.ReadByte(); isCrit = reader.ReadBoolean(); statusDuration = (int)reader.ReadByte(); statusStacks = reader.ReadInt32(); if (statusDuration > 0f) { status = BuffCatalog.GetBuffDef(NetworkExtensions.ReadBuffIndex(reader)); } dispel = reader.ReadBoolean(); purge = reader.ReadBoolean(); } } public class MystTextBoxSync : INetMessage, ISerializableObject { public GameObject characterBody; public string text; public float textDuration; public void OnReceived() { MystPassiveManager component = characterBody.GetComponent(); MystTextBoxHandler textBoxHandler = component.textBoxHandler; if (Object.op_Implicit((Object)(object)textBoxHandler)) { textBoxHandler.SetTextNetworked(text, textDuration); } else { Debug.LogWarning((object)"[Myst Error] : TextBoxHandler not found"); } } public void Serialize(NetworkWriter writer) { writer.Write(characterBody); writer.Write(text); writer.Write((byte)textDuration); } public void Deserialize(NetworkReader reader) { characterBody = reader.ReadGameObject(); text = reader.ReadString(); textDuration = (int)reader.ReadByte(); } } } namespace MystMod.SkillStates.Myst.Passives { public class MystTextBoxHandler : MonoBehaviour { public ChildLocator childLocator; private Text MainText; private Text SubText; private Transform cam; private bool hasText = false; private float textDuration = 0f; private void Awake() { if (Object.op_Implicit((Object)(object)childLocator)) { MainText = ((Component)childLocator.FindChild("MainText")).GetComponent(); SubText = ((Component)childLocator.FindChild("SubText")).GetComponent(); } else { Debug.LogError((object)"[MystError] Text Box could not be found"); } } private void LateUpdate() { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)cam)) { ((Component)this).transform.LookAt(((Component)this).transform.position + cam.forward); } else { cam = ((Component)Object.FindObjectOfType()).transform; } } private void FixedUpdate() { if (hasText && textDuration < 0f) { MainText.text = ""; SubText.text = ""; hasText = false; } else { textDuration -= Time.fixedDeltaTime; } } public void SetTextNetworked(string text, float Time) { MainText.text = text; SubText.text = text; textDuration = Time; hasText = true; } } } namespace MystMod.SkillStates.Myst.Spells { public class AcidSplash : BaseMagicSkill { public static float MPCost = Config.acidSplashMagic.Value; public static float Damage = Config.acidSplashDamage.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; basePotency = Damage; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "Gesture, Override"; animationNameString = "SwordCastF"; } public override void TargetCastEffect(HurtBox target) { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: 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_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00e6: Unknown result type (might be due to invalid IL or missing references) Util.PlaySound("Magic_AcidSplash", ((EntityState)this).gameObject); if (((EntityState)this).isAuthority) { Ray aimRay = ((BaseState)this).GetAimRay(); FireProjectileInfo val = default(FireProjectileInfo); val.position = muzzle.position; val.rotation = Quaternion.LookRotation(((Ray)(ref aimRay)).direction); val.crit = ((EntityState)this).characterBody.RollCrit(); val.damage = ((EntityState)this).characterBody.damage * currentPotency; val.damageColorIndex = (DamageColorIndex)0; val.owner = ((EntityState)this).gameObject; val.procChainMask = default(ProcChainMask); val.force = 0f; val.useFuseOverride = false; val.useSpeedOverride = false; val.target = (Object.op_Implicit((Object)(object)target) ? ((Component)target).gameObject : null); val.projectilePrefab = Projectiles.AcidSplashPrefab; ProjectileManager.instance.FireProjectile(val); } } } public class CallLightning : BaseMagicSkill { public static float MPCost = Config.callLightningMagic.Value; public static float Damage = Config.callLightningDamage.Value; public static float procCoefficient = Config.callLightningProc.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; basePotency = Damage; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "FullBody, Override"; animationNameString = "SwordCastU"; } public override void OnEnter() { base.OnEnter(); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Entangle); } } public override void OnExit() { base.OnExit(); if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Entangle); } } public override void CastEffect() { Util.PlaySound("Magic_CallLightningMuzzle", ((EntityState)this).gameObject); } public override void TargetCastEffect(HurtBox target) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority) { OrbManager.instance.AddOrb((Orb)(object)new MystCallLightningOrb { attacker = ((EntityState)this).gameObject, damageColorIndex = (DamageColorIndex)0, damageValue = ((EntityState)this).characterBody.damage * currentPotency, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, target = (Object.op_Implicit((Object)(object)target) ? target : null) }); } } } public class ConeOfFrost : BaseMagicSkill { public static float MPCost = Config.coneOfFrostMagic.Value; public static float Damage = Config.coneOfFrostDamage.Value; public static float procCoefficient = Config.coneOfFrostProc.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; basePotency = Damage; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "FullBody, Override"; animationNameString = "SwordCastF"; } public override void OnEnter() { base.OnEnter(); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Entangle); } } public override void OnExit() { base.OnExit(); if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Entangle); } } public override void CastEffect() { //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0058: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_006f: 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_0079: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00f2: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_013b: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Unknown result type (might be due to invalid IL or missing references) //IL_014c: Unknown result type (might be due to invalid IL or missing references) //IL_0157: Unknown result type (might be due to invalid IL or missing references) //IL_0161: Unknown result type (might be due to invalid IL or missing references) //IL_0166: Unknown result type (might be due to invalid IL or missing references) //IL_0171: Unknown result type (might be due to invalid IL or missing references) //IL_017d: Unknown result type (might be due to invalid IL or missing references) //IL_0182: Unknown result type (might be due to invalid IL or missing references) //IL_0187: Unknown result type (might be due to invalid IL or missing references) //IL_01ac: Expected O, but got Unknown if (((EntityState)this).isAuthority) { float num = 5f * (1f + (float)MagAll * 0.2f); for (int i = 0; i < 6; i++) { OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = 0f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)256) | DamageTypeCombo.GenericUtility), damageValue = ((EntityState)this).characterBody.damage * currentPotency / 6f, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = num, position = ((EntityState)this).characterBody.transform.position + ((EntityState)this).characterDirection.forward * num, impactEffect = Assets.SpellConeOfFrostImpact, blastDelay = 0.1f * (float)i }); } EffectManager.SpawnEffect(Assets.SpellConeOfFrost, new EffectData { origin = ((EntityState)this).characterBody.transform.position + ((EntityState)this).characterDirection.forward * 2f, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f * (1f + (float)MagAll * 0.2f) }, true); } } } public class CrashToDesktop : BaseMagicSkill { public static float MPCost = float.PositiveInfinity; public override void InitStatsAndVariables() { baseMagicCost = MPCost; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "FullBody, Override"; animationNameString = "SwordCastU"; } public override void OnEnter() { base.OnEnter(); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Entangle); } } public override void OnExit() { base.OnExit(); if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Entangle); } } public override void CastEffect() { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Invalid comparison between I4 and Unknown //IL_0109: Unknown result type (might be due to invalid IL or missing references) //IL_010e: 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_0121: Unknown result type (might be due to invalid IL or missing references) //IL_0132: Expected O, but got Unknown //IL_0142: Unknown result type (might be due to invalid IL or missing references) //IL_0147: Unknown result type (might be due to invalid IL or missing references) //IL_014c: Unknown result type (might be due to invalid IL or missing references) if (!NetworkServer.active) { return; } List list = new List(); for (int i = -10; i < 20; i++) { if ((sbyte)i == (int)((BaseState)this).GetTeam()) { continue; } ReadOnlyCollection teamMembers = TeamComponent.GetTeamMembers((TeamIndex)(sbyte)i); for (int num = teamMembers.Count - 1; num >= 0; num--) { TeamComponent val = teamMembers[num]; CharacterBody component = ((Component)val).gameObject.GetComponent(); if (Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)component.healthComponent) && !component.isPlayerControlled && !component.isBoss && !list.Contains(component)) { list.Add(component); } } } if (list.Count > 0) { Random random = new Random(); HealthComponent healthComponent = list[random.Next(list.Count)].healthComponent; EffectManager.SpawnEffect(Assets.SpellCrashToDesktop, new EffectData { origin = healthComponent.body.corePosition, scale = 2f }, true); healthComponent.Suicide(((EntityState)this).gameObject, (GameObject)null, DamageTypeCombo.op_Implicit((DamageType)65536) | DamageTypeCombo.GenericUtility); } else { Util.PlaySound("Magic_OutOfMana", ((EntityState)this).gameObject); } } } public class DispelMagic : BaseMagicSkill { public static float MPCost = Config.dispelMagicMagic.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "Gesture, Override"; animationNameString = "SwordCastO"; } public override void CastEffect() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Expected O, but got Unknown if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.SpellDispelMagic, new EffectData { origin = ((EntityState)this).characterBody.healthComponent.body.footPosition, rootObject = ((Component)((EntityState)this).characterBody.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); } if (NetworkServer.active) { CleanseSystem.CleanseBodyServer(((EntityState)this).characterBody, true, false, false, true, true, false); } } public override void TargetCastEffect(HurtBox target) { //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Expected O, but got Unknown if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)target)) { EffectManager.SpawnEffect(Assets.SpellDispelMagic, new EffectData { origin = target.healthComponent.body.footPosition, rootObject = ((Component)target.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)target.healthComponent.body).gameObject, purge = true }, (NetworkDestination)2); } } public override void AllyTargetCastEffect(HurtBox target) { //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Expected O, but got Unknown if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)target)) { EffectManager.SpawnEffect(Assets.SpellDispelMagic, new EffectData { origin = target.healthComponent.body.footPosition, rootObject = ((Component)target.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)target.healthComponent.body).gameObject, dispel = true }, (NetworkDestination)2); } } } public class Doombolt : BaseMagicChanneledSkill { public static float MPCost = Config.doomboltMagic.Value; public static float Damage = Config.doomboltDamage.Value; public static float procCoefficient = Config.doomboltProc.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; basePotency = Damage; baseDuration = 1f; baseCastTime = 0.8f; channelVFXx = Assets.MystChannelDamage; animationNameString = "ChannelCastU"; base.InitStatsAndVariables(); } public override void CastEffect() { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: 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_00f5: Unknown result type (might be due to invalid IL or missing references) Util.PlaySound("Play_voidDevastator_m2_shoot", ((EntityState)this).gameObject); if (((EntityState)this).isAuthority) { Ray aimRay = ((BaseState)this).GetAimRay(); FireProjectileInfo val = default(FireProjectileInfo); val.position = ((EntityState)this).characterBody.corePosition + Vector3.up * 2f; val.rotation = Quaternion.LookRotation(((EntityState)this).transform.up); val.crit = ((EntityState)this).characterBody.RollCrit(); val.damage = ((EntityState)this).characterBody.damage * currentPotency / 100f; val.damageColorIndex = (DamageColorIndex)0; val.owner = ((EntityState)this).gameObject; val.procChainMask = default(ProcChainMask); val.force = 0f; val.useFuseOverride = false; val.useSpeedOverride = false; val.target = null; val.projectilePrefab = Projectiles.DoomboltMainPrefab; ProjectileManager.instance.FireProjectile(val); } } } public class EclipseGate : BaseMagicSkill { public static float MPCost = Config.eclipseGateMagic.Value; public static float Damage = Config.eclipseGateBaseDamage.Value; public static float ScaledDamage = Config.eclipseGateScaledDamage.Value; public static float procCoefficient = Config.eclipseGateProc.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; basePotency = Damage + ScaledDamage * (1f - passiveManager.magicRN / passiveManager.magicMAX); baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "FullBody, Override"; animationNameString = "SwordCastU"; } public override void OnEnter() { base.OnEnter(); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Entangle); } } public override void OnExit() { base.OnExit(); if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Entangle); } } public override void TargetCastEffect(HurtBox target) { //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_0068: 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_009e: 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_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00b3: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_0099: 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_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Expected O, but got Unknown //IL_010d: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_011e: Unknown result type (might be due to invalid IL or missing references) //IL_0129: Unknown result type (might be due to invalid IL or missing references) //IL_012b: Unknown result type (might be due to invalid IL or missing references) //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_0148: Unknown result type (might be due to invalid IL or missing references) //IL_014e: Unknown result type (might be due to invalid IL or missing references) //IL_0153: 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_01ca: Unknown result type (might be due to invalid IL or missing references) //IL_01cf: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority) { Vector3 val = (Object.op_Implicit((Object)(object)target) ? ((Component)target).transform.position : (((EntityState)this).characterBody.transform.position + ((EntityState)this).characterDirection.forward * 7f + new Vector3(0f, 7f, 0f))); RaycastHit val2 = default(RaycastHit); val = ((!Physics.Raycast(val, Vector3.down, ref val2, 15f, LayerMask.GetMask(new string[1] { "World" }))) ? (val + Vector3.down * 15f) : ((RaycastHit)(ref val2)).point); EffectManager.SpawnEffect(Assets.SpellEclipseGate, new EffectData { origin = val, rotation = ((EntityState)this).characterBody.modelLocator.modelBaseTransform.rotation, scale = 1f }, true); OrbManager instance = OrbManager.instance; MystDelayBeamDamage obj = new MystDelayBeamDamage { attacker = ((EntityState)this).gameObject }; Ray aimray = default(Ray); ((Ray)(ref aimray)).origin = val; ((Ray)(ref aimray)).direction = Vector3.up; obj.Aimray = aimray; obj.baseForce = 0f; obj.bonusForce = Vector3.zero; ((GenericDamageOrb)obj).damageColorIndex = (DamageColorIndex)0; ((GenericDamageOrb)obj).damageType = DamageTypeCombo.GenericUtility; ((GenericDamageOrb)obj).damageValue = ((EntityState)this).characterBody.damage * currentPotency; ((GenericDamageOrb)obj).isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master); ((GenericDamageOrb)obj).procChainMask = default(ProcChainMask); ((GenericDamageOrb)obj).procCoefficient = procCoefficient; obj.range = 20f; obj.radius = 5f; obj.position = ((EntityState)this).characterBody.transform.position; obj.impactEffect = Assets.FinisherDarkPassengerImpact; obj.blastDelay = 0.9f; instance.AddOrb((Orb)(object)obj); } } } public class Fireball : BaseMagiciteSkill { public static float baseMagicCost = Config.fireballMagic.Value; public static int baseLimitCost = 0; public static float baseDamageCoefficient = Config.fireballDamage.Value; public static float procCoefficient = Config.fireballProc.Value; public static float baseDuration = 0.65f; private float currentDamageCoefficient = baseDamageCoefficient; private float currentMagicCost = baseMagicCost; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private MystTracker tracker; private HurtBox target; private Transform muzzle; private bool succeed = false; public override void OnEnter() { base.OnEnter(); tracker = ((EntityState)this).GetComponent(); target = tracker.GetTrackingTarget(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = ((spellComboIndex > 0) ? (1f / ((BaseState)this).attackSpeedStat / 5f) : (1f / ((BaseState)this).attackSpeedStat)); duration = baseDuration * num; fireTime = 0.6f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((EntityState)this).GetModelChildLocator().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); MagicSupportMethod(); ((EntityState)this).PlayAnimation("Gesture, Override", "SwordCastF", "SpellCast.playbackRate", 1f * num, 0f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); } private void MagicSupportMethod() { currentDamageCoefficient = baseDamageCoefficient * (1f + 0.2f * (float)MagTurbo); currentMagicCost = baseMagicCost * (1f + 0.2f * (float)MagTurbo + -0.1f * (float)MagThrift + ((MagMulti > 0) ? (0.5f + 0.5f * (float)MagMulti) : 0f)) + (float)Mathf.Max((MagUse > 0) ? (11 + -1 * MagUse) : 0, 0) + Mathf.Max((MagKill > 0) ? (11f + -1f * (float)MagKill) : 0f, 0f); } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } private void MagicSyphonMethod() { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) if (NetworkServer.active) { ((EntityState)this).healthComponent.Heal(currentMagicCost / 25f * (float)MagHsyphon * ((EntityState)this).characterBody.damage, default(ProcChainMask), true); } passiveManager.GrantNetworkedLimit(currentMagicCost / 50f * (float)MagLsyphon); } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { if (succeed && spellComboIndex < MagMulti) { ((EntityState)this).outer.SetNextState((EntityState)(object)new Fireball { spellComboIndex = spellComboIndex + 1, MagMulti = MagMulti }); } else { ((EntityState)this).outer.SetNextStateToMain(); } } } private void Fire() { //IL_007f: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: 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_00e6: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: 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_01db: Unknown result type (might be due to invalid IL or missing references) if (hasFired) { return; } hasFired = true; succeed = false; if (spellComboIndex <= 0 && !passiveManager.ResourceCost(currentMagicCost, baseLimitCost)) { return; } succeed = true; Util.PlaySound("Magic_FireballShoot", ((EntityState)this).gameObject); MagicCastProcMethod(); MagicSyphonMethod(); if (!((EntityState)this).isAuthority) { return; } Ray aimRay = ((BaseState)this).GetAimRay(); FireProjectileInfo val = default(FireProjectileInfo); val.position = muzzle.position; val.rotation = Quaternion.LookRotation(((Ray)(ref aimRay)).direction); val.crit = ((EntityState)this).characterBody.RollCrit(); val.damage = ((EntityState)this).characterBody.damage * currentDamageCoefficient / 100f; val.damageColorIndex = (DamageColorIndex)0; val.owner = ((EntityState)this).gameObject; val.procChainMask = default(ProcChainMask); val.force = 0f; val.useFuseOverride = false; val.useSpeedOverride = false; val.target = (Object.op_Implicit((Object)(object)target) ? ((Component)target).gameObject : null); val.projectilePrefab = Projectiles.FireballPrefab; ProjectileManager.instance.FireProjectile(val); if (!Object.op_Implicit((Object)(object)target) || MagAll <= 0) { return; } HurtBox[] secondaryTargets = tracker.GetSecondaryTargets(); for (int i = 0; i < MagAll && i + 1 < secondaryTargets.Length; i++) { HurtBox val2 = secondaryTargets[i + 1]; if (Object.op_Implicit((Object)(object)val2)) { val.damage = ((EntityState)this).characterBody.damage * currentDamageCoefficient / 200f; val.target = ((Component)val2).gameObject; ProjectileManager.instance.FireProjectile(val); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class Flamebolt : BaseMagicSkill { public static float MPCost = Config.fireballMagic.Value; public static float Damage = Config.fireballDamage.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; basePotency = Damage; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "Gesture, Override"; animationNameString = "SwordCastF"; } public override void TargetCastEffect(HurtBox target) { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) Util.PlaySound("Magic_FireballShoot", ((EntityState)this).gameObject); if (((EntityState)this).isAuthority) { Ray aimRay = ((BaseState)this).GetAimRay(); FireProjectileInfo val = default(FireProjectileInfo); val.position = muzzle.position; val.rotation = Quaternion.LookRotation(((Ray)(ref aimRay)).direction); val.crit = ((EntityState)this).characterBody.RollCrit(); val.damage = ((EntityState)this).characterBody.damage * currentPotency / 100f; val.damageColorIndex = (DamageColorIndex)0; val.owner = ((EntityState)this).gameObject; val.procChainMask = default(ProcChainMask); val.force = 0f; val.useFuseOverride = false; val.useSpeedOverride = false; val.target = (Object.op_Implicit((Object)(object)target) ? ((Component)target).gameObject : null); val.projectilePrefab = Projectiles.FireballPrefab; ProjectileManager.instance.FireProjectile(val); } } } public class Fortify : BaseMagicChanneledSkill { public static float MPCost = Config.fortifyMagic.Value; public static float buffDuration = Config.fortifyDuration.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; baseDuration = 2.5f; baseCastTime = 0.8f; channelVFXx = Assets.MystChannelSupport; animationNameString = "ChannelCastO"; base.InitStatsAndVariables(); } public override void CastEffect() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_003d: 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_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Expected O, but got Unknown if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.SpellBarrier, new EffectData { origin = ((EntityState)this).characterBody.footPosition, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)((EntityState)this).characterBody).gameObject, status = Buffs.MystFortify, statusDuration = buffDuration }, (NetworkDestination)2); } } public override void AllyTargetCastEffect(HurtBox target) { //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Expected O, but got Unknown if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)target)) { EffectManager.SpawnEffect(Assets.SpellBarrier, new EffectData { origin = target.healthComponent.body.footPosition, rootObject = ((Component)target.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)target.healthComponent.body).gameObject, status = Buffs.MystFortify, statusDuration = buffDuration }, (NetworkDestination)2); } } } public class FortifyOLD : BaseMagiciteSkill { public static float baseMagicCost = Config.fortifyMagic.Value; public static int baseLimitCost = 0; public static float baseDuration = 2.5f; public static float buffDuration = Config.fortifyDuration.Value; private float currentMagicCost = 0f; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private MystTracker tracker; private HurtBox target; private HurtBox[] targets; private Transform muzzle; private bool succeed = false; private GameObject channelVFX; private uint ChannelSFX; public override void OnEnter() { //IL_0157: Unknown result type (might be due to invalid IL or missing references) //IL_0167: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); tracker = ((EntityState)this).GetComponent(); target = tracker.GetAllyTarget(); targets = tracker.GetAllyTargets(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = ((spellComboIndex > 0) ? (1f / ((BaseState)this).attackSpeedStat / 5f) : (1f / ((BaseState)this).attackSpeedStat)); duration = baseDuration * num; fireTime = 0.8f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); currentMagicCost = passiveManager.magicMAX; MagicSupportMethod(); ((EntityState)this).PlayAnimation("FullBody, Override", "ChannelCastEnter", "SpellCast.playbackRate", 1f * num, 0f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); channelVFX = Object.Instantiate(Assets.MystChannelSupport, ((EntityState)this).characterBody.footPosition, ((EntityState)this).characterBody.transform.rotation, ((EntityState)this).characterBody.transform); ChannelSFX = Util.PlaySound("Magic_Channel", ((EntityState)this).gameObject); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); } } private void MagicSupportMethod() { currentMagicCost = passiveManager.magicMAX * (1f + 0.2f * (float)MagTurbo + ((MagMulti > 0) ? (0.5f + 0.5f * (float)MagMulti) : 0f)) + (float)Mathf.Max((MagUse > 0) ? (11 + -1 * MagUse) : 0, 0) + Mathf.Max((MagKill > 0) ? (11f + -1f * (float)MagKill) : 0f, 0f); } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } private void MagicSyphonMethod() { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) if (NetworkServer.active) { ((EntityState)this).healthComponent.Heal(currentMagicCost / 25f * (float)MagHsyphon * ((EntityState)this).characterBody.damage, default(ProcChainMask), true); } passiveManager.GrantNetworkedLimit(currentMagicCost / 50f * (float)MagLsyphon); } public override void OnExit() { base.OnExit(); if (!hasFired) { ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty", "SpellCast.playbackRate", 1f, 0f); if (NetworkServer.active) { ((EntityState)this).characterBody.ClearTimedBuffs(Buffs.Entangle); } if (Object.op_Implicit((Object)(object)channelVFX) && !Object.op_Implicit((Object)(object)channelVFX.GetComponent())) { CustomParticleEnd customParticleEnd = channelVFX.AddComponent(); customParticleEnd.ParticleDuration = 0f; customParticleEnd.ParticleFadeTime = 5f; AkSoundEngine.StopPlayingID(ChannelSFX, 1, (AkCurveInterpolation)4); } } } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } else if (((EntityState)this).isAuthority && ((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser.inputPlayer.GetButtonDown(18)) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { if (succeed && spellComboIndex < MagMulti) { ((EntityState)this).outer.SetNextState((EntityState)(object)new Fortify { spellComboIndex = spellComboIndex + 1, MagMulti = MagMulti }); } else { ((EntityState)this).outer.SetNextStateToMain(); } } } private void Fire() { //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: 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_00d6: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: 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_0109: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Expected O, but got Unknown //IL_0179: Unknown result type (might be due to invalid IL or missing references) //IL_017e: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Unknown result type (might be due to invalid IL or missing references) //IL_019a: Unknown result type (might be due to invalid IL or missing references) //IL_01b6: 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_01c7: Unknown result type (might be due to invalid IL or missing references) //IL_01cc: Unknown result type (might be due to invalid IL or missing references) //IL_01dd: Expected O, but got Unknown //IL_026b: Unknown result type (might be due to invalid IL or missing references) //IL_0270: Unknown result type (might be due to invalid IL or missing references) //IL_027d: Unknown result type (might be due to invalid IL or missing references) //IL_0288: Unknown result type (might be due to invalid IL or missing references) //IL_02a0: Unknown result type (might be due to invalid IL or missing references) //IL_02ac: Unknown result type (might be due to invalid IL or missing references) //IL_02b1: Unknown result type (might be due to invalid IL or missing references) //IL_02b6: Unknown result type (might be due to invalid IL or missing references) //IL_02c7: Expected O, but got Unknown if (hasFired) { return; } hasFired = true; succeed = false; ((EntityState)this).PlayAnimation("FullBody, Override", "ChannelCastO", "SpellCast.playbackRate", 1f, 0f); CustomParticleEnd customParticleEnd = channelVFX.AddComponent(); customParticleEnd.ParticleDuration = 0f; customParticleEnd.ParticleFadeTime = 5f; AkSoundEngine.StopPlayingID(ChannelSFX, 1, (AkCurveInterpolation)4); if (spellComboIndex <= 0 && !passiveManager.ResourceCost(currentMagicCost, baseLimitCost)) { return; } succeed = true; MagicCastProcMethod(); MagicSyphonMethod(); if (!((EntityState)this).isAuthority) { return; } Ray aimRay = ((BaseState)this).GetAimRay(); EffectManager.SpawnEffect(Assets.SpellBarrier, new EffectData { origin = ((EntityState)this).characterBody.footPosition, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)((EntityState)this).characterBody).gameObject, status = Buffs.MystFortify, statusDuration = buffDuration }, (NetworkDestination)2); if (!Object.op_Implicit((Object)(object)target)) { return; } EffectManager.SpawnEffect(Assets.SpellBarrier, new EffectData { origin = target.healthComponent.body.footPosition, rootObject = ((Component)target.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)target.healthComponent.body).gameObject, status = Buffs.MystFortify, statusDuration = buffDuration }, (NetworkDestination)2); if (MagAll <= 0) { return; } for (int i = 0; i < MagAll && i + 1 < targets.Length; i++) { HurtBox val = targets[i + 1]; if (Object.op_Implicit((Object)(object)val)) { EffectManager.SpawnEffect(Assets.SpellBarrier, new EffectData { origin = val.healthComponent.body.footPosition, rootObject = ((Component)val.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)val.healthComponent.body).gameObject, status = Buffs.MystFortify, statusDuration = buffDuration }, (NetworkDestination)2); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class Gust : BaseMagicSkill { public static float MPCost = Config.gustMagic.Value; public static float procCoefficient = Config.gustProc.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "Gesture, Override"; animationNameString = "SwordCastF"; } public override void CastEffect() { //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0057: 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_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: 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_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00ea: Unknown result type (might be due to invalid IL or missing references) //IL_00f0: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_0109: Unknown result type (might be due to invalid IL or missing references) //IL_010e: Unknown result type (might be due to invalid IL or missing references) //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_011e: Unknown result type (might be due to invalid IL or missing references) //IL_0123: Unknown result type (might be due to invalid IL or missing references) //IL_012f: Unknown result type (might be due to invalid IL or missing references) //IL_013a: Unknown result type (might be due to invalid IL or missing references) //IL_0144: 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_0160: Unknown result type (might be due to invalid IL or missing references) //IL_0165: Unknown result type (might be due to invalid IL or missing references) //IL_016a: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Expected O, but got Unknown if (((EntityState)this).isAuthority) { float num = 5f * (1f + (float)MagAll * 0.2f); new BlastAttack { attacker = ((EntityState)this).gameObject, baseDamage = 0f, baseForce = 0f, bonusForce = ((EntityState)this).characterDirection.forward * 9000f, crit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)64) | DamageTypeCombo.GenericUtility), falloffModel = (FalloffModel)0, inflictor = null, position = ((EntityState)this).characterBody.transform.position + ((EntityState)this).characterDirection.forward * num, procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = num, teamIndex = TeamComponent.GetObjectTeam(((EntityState)this).gameObject) }.Fire(); EffectManager.SpawnEffect(Assets.SpellGust, new EffectData { origin = ((EntityState)this).characterBody.transform.position + ((EntityState)this).characterDirection.forward * 2f, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f * (1f + (float)MagAll * 0.2f) }, true); } } } public class Haste : BaseMagicChanneledSkill { public static float MPCost = Config.hasteMagic.Value; public static float buffDuration = Config.hasteDuration.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; baseDuration = 1.5f; baseCastTime = 0.8f; channelVFXx = Assets.MystChannelSupport; animationNameString = "ChannelCastO"; base.InitStatsAndVariables(); } public override void CastEffect() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_003d: 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_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Expected O, but got Unknown if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.SpellHaste, new EffectData { origin = ((EntityState)this).characterBody.footPosition, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)((EntityState)this).characterBody).gameObject, status = Buffs.MystHaste, statusDuration = buffDuration }, (NetworkDestination)2); } } public override void AllyTargetCastEffect(HurtBox target) { //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Expected O, but got Unknown if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)target)) { EffectManager.SpawnEffect(Assets.SpellHaste, new EffectData { origin = target.healthComponent.body.footPosition, rootObject = ((Component)target.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)target.healthComponent.body).gameObject, status = Buffs.MystHaste, statusDuration = buffDuration }, (NetworkDestination)2); } } } public class IrresistibleDance : BaseMagicSkill { public static float MPCost = 65f; public static float baseRadius = 35f; public override void InitStatsAndVariables() { baseMagicCost = MPCost; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "Gesture, Override"; animationNameString = "SwordCastO"; } public override void CastEffect() { //IL_0338: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //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_0040: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0093: 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_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: 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_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00ea: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_0107: Unknown result type (might be due to invalid IL or missing references) //IL_019e: Unknown result type (might be due to invalid IL or missing references) //IL_01b2: Unknown result type (might be due to invalid IL or missing references) //IL_01b7: 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_0395: Unknown result type (might be due to invalid IL or missing references) //IL_039a: 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_03b1: Unknown result type (might be due to invalid IL or missing references) //IL_03bd: Unknown result type (might be due to invalid IL or missing references) //IL_03c2: Unknown result type (might be due to invalid IL or missing references) //IL_03c7: Unknown result type (might be due to invalid IL or missing references) //IL_03e6: Expected O, but got Unknown //IL_01c8: 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_0361: Unknown result type (might be due to invalid IL or missing references) //IL_021e: Unknown result type (might be due to invalid IL or missing references) //IL_01f3: Unknown result type (might be due to invalid IL or missing references) //IL_023d: 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_0279: Unknown result type (might be due to invalid IL or missing references) //IL_02a0: Unknown result type (might be due to invalid IL or missing references) //IL_02ca: Unknown result type (might be due to invalid IL or missing references) //IL_0310: Unknown result type (might be due to invalid IL or missing references) if (!NetworkServer.active) { return; } Ray aimRay = ((BaseState)this).GetAimRay(); float radius = baseRadius * (1f + (float)MagAll * 0.2f); Result val = new BlastAttack { attacker = ((EntityState)this).gameObject, baseDamage = 0f, baseForce = 0f, bonusForce = new Vector3(0f, 0f, 0f), crit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericUtility), falloffModel = (FalloffModel)0, inflictor = null, position = ((EntityState)this).characterBody.transform.position, procChainMask = default(ProcChainMask), procCoefficient = 1f, radius = radius, teamIndex = TeamComponent.GetObjectTeam(((EntityState)this).gameObject) }.Fire(); string text = "DanceMoves"; float num = 7f; Random random = new Random(); switch (random.Next(20)) { case 1: text = "Specialist"; num = 140f; break; case 2: case 3: text = "GetDown"; num = 38f; break; case 4: case 5: case 6: case 7: text = "Carson"; num = 15f; break; case 8: case 9: text = "Wess"; num = 27f; break; } HitPoint[] hitPoints = val.hitPoints; foreach (HitPoint val2 in hitPoints) { if (Object.op_Implicit((Object)(object)val2.hurtBox) && Object.op_Implicit((Object)(object)val2.hurtBox.healthComponent) && Object.op_Implicit((Object)(object)val2.hurtBox.healthComponent.body) && !val2.hurtBox.healthComponent.body.HasBuff(Buffs.TimeLock)) { val2.hurtBox.healthComponent.body.AddTimedBuff(Buffs.TimeLock, num); try { BoneMapper componentInChildren = ((Component)val2.hurtBox).GetComponentInChildren(); if (!Object.op_Implicit((Object)(object)componentInChildren) && Object.op_Implicit((Object)(object)val2.hurtBox.healthComponent.modelLocator.modelTransform)) { componentInChildren = ((Component)val2.hurtBox.healthComponent.modelLocator.modelTransform).GetComponentInChildren(); } if (!Object.op_Implicit((Object)(object)componentInChildren) && Object.op_Implicit((Object)(object)val2.hurtBox.healthComponent.body.modelLocator.modelBaseTransform)) { componentInChildren = ((Component)val2.hurtBox.healthComponent.body.modelLocator.modelBaseTransform).GetComponentInChildren(); } if (Object.op_Implicit((Object)(object)componentInChildren)) { CustomEmotesAPI.PlayAnimation(text, componentInChildren, -2); } else { Debug.LogWarning((object)("[MystWarning] " + ((Object)val2.hurtBox).name + " could not groove 1")); } } catch { Debug.LogWarning((object)("[MystWarning] " + ((Object)val2.hurtBox).name + " could not groove 2")); } } else { Debug.LogWarning((object)("[MystWarning] " + ((Object)val2.hurtBox).name + " could not groove 3")); } } EffectManager.SpawnEffect(Assets.SpellIrresistableDance, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } public class MagicMissile : BaseMagicSkill { public static float MPCost = Config.magicMissileMagic.Value; public static float Damage = Config.magicMissileDamage.Value; public static int basenumberOfShots = Config.magicMissileShots.Value; public static float shotDelayBase = 0.4f; private Random random = new Random(); private int numberOfShots; private float shotDelay; public override void InitStatsAndVariables() { baseMagicCost = MPCost; basePotency = Damage; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "Gesture, Override"; animationNameString = "SwordCastF"; numberOfShots = Mathf.CeilToInt((float)basenumberOfShots * passiveManager.magicRN / passiveManager.magicMAX); shotDelay = shotDelayBase / (float)numberOfShots; } public override void CastEffect() { Util.PlaySound("Magic_MagicMissileShoot", ((EntityState)this).gameObject); numberOfShots--; if (numberOfShots > 0) { hasCasted = false; ((EntityState)this).fixedAge = ((EntityState)this).fixedAge - shotDelay; } } public override void TargetCastEffect(HurtBox target) { //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_0128: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority) { Ray aimRay = ((BaseState)this).GetAimRay(); Vector3 val = default(Vector3); ((Vector3)(ref val))..ctor((float)random.Next(200) - 100f, (float)random.Next(200) - 100f, (float)random.Next(200) - 100f); FireProjectileInfo val2 = default(FireProjectileInfo); val2.position = muzzle.position; val2.rotation = Quaternion.LookRotation(((Ray)(ref aimRay)).direction, ((Vector3)(ref val)).normalized); val2.crit = ((EntityState)this).characterBody.RollCrit(); val2.damage = ((EntityState)this).characterBody.damage * currentPotency; val2.damageColorIndex = (DamageColorIndex)0; val2.owner = ((EntityState)this).gameObject; val2.procChainMask = default(ProcChainMask); val2.force = 0f; val2.useFuseOverride = false; val2.useSpeedOverride = false; val2.target = (Object.op_Implicit((Object)(object)target) ? ((Component)target).gameObject : null); val2.projectilePrefab = Projectiles.MagicMissilePrefab; ProjectileManager.instance.FireProjectile(val2); } } } public class Magnet : BaseMagicSkill { public static float MPCost = Config.magnetMagic.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "FullBody, Override"; animationNameString = "SwordCastU"; } public override void OnEnter() { base.OnEnter(); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Entangle); } } public override void OnExit() { base.OnExit(); if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Entangle); } } public override void TargetCastEffect(HurtBox target) { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: 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_011a: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority) { FireProjectileInfo val = default(FireProjectileInfo); val.position = (Object.op_Implicit((Object)(object)target) ? (((Component)target).transform.position + new Vector3(0f, 5f, 0f)) : (((EntityState)this).characterBody.transform.position + new Vector3(0f, 5f, 0f))); val.rotation = new Quaternion(0f, 0f, 0f, 0f); val.crit = ((EntityState)this).characterBody.RollCrit(); val.damage = 0f; val.damageColorIndex = (DamageColorIndex)0; val.owner = ((EntityState)this).gameObject; val.procChainMask = default(ProcChainMask); val.force = 0f; val.useFuseOverride = false; val.useSpeedOverride = false; val.target = (Object.op_Implicit((Object)(object)target) ? ((Component)target).gameObject : null); val.projectilePrefab = Projectiles.MagnetPrefab; ProjectileManager.instance.FireProjectile(val); } } } public class MendWounds : BaseMagicChanneledSkill { public static float MPCost = Config.mendWoundsMagic.Value; public static float baseHealPotency = Config.mendWoundsPotency.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; baseDuration = 1.5f; baseCastTime = 0.8f; channelVFXx = Assets.MystChannelSupport; animationNameString = "ChannelCastO"; base.InitStatsAndVariables(); } public override void CastEffect() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_003d: 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_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Expected O, but got Unknown if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.SpellMendWounds, new EffectData { origin = ((EntityState)this).characterBody.footPosition, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)((EntityState)this).characterBody).gameObject, isHealing = true, potencyPercentile = baseHealPotency }, (NetworkDestination)2); } } public override void AllyTargetCastEffect(HurtBox target) { //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Expected O, but got Unknown if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)target)) { EffectManager.SpawnEffect(Assets.SpellMendWounds, new EffectData { origin = target.healthComponent.body.footPosition, rootObject = ((Component)target.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)target.healthComponent.body).gameObject, isHealing = true, potencyPercentile = baseHealPotency }, (NetworkDestination)2); } } } public class MendWoundsOLD : BaseMagiciteSkill { public static float baseMagicCost = Config.mendWoundsMagic.Value; public static int baseLimitCost = 0; public static float baseHealPotency = Config.mendWoundsPotency.Value; public static float baseDuration = 2.5f; private float currentMagicCost = 0f; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private MystTracker tracker; private HurtBox target; private HurtBox[] targets; private Transform muzzle; private bool succeed = false; private GameObject channelVFX; private uint ChannelSFX; public override void OnEnter() { //IL_0157: Unknown result type (might be due to invalid IL or missing references) //IL_0167: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); tracker = ((EntityState)this).GetComponent(); target = tracker.GetAllyTarget(); targets = tracker.GetAllyTargets(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = ((spellComboIndex > 0) ? (1f / ((BaseState)this).attackSpeedStat / 5f) : (1f / ((BaseState)this).attackSpeedStat)); duration = baseDuration * num; fireTime = 0.8f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); currentMagicCost = passiveManager.magicMAX; MagicSupportMethod(); ((EntityState)this).PlayAnimation("FullBody, Override", "ChannelCastEnter", "SpellCast.playbackRate", 1f * num, 0f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); channelVFX = Object.Instantiate(Assets.MystChannelSupport, ((EntityState)this).characterBody.footPosition, ((EntityState)this).characterBody.transform.rotation, ((EntityState)this).characterBody.transform); ChannelSFX = Util.PlaySound("Magic_Channel", ((EntityState)this).gameObject); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); } } private void MagicSupportMethod() { currentMagicCost = passiveManager.magicMAX * (1f + 0.2f * (float)MagTurbo + ((MagMulti > 0) ? (0.5f + 0.5f * (float)MagMulti) : 0f)) + (float)Mathf.Max((MagUse > 0) ? (11 + -1 * MagUse) : 0, 0) + Mathf.Max((MagKill > 0) ? (11f + -1f * (float)MagKill) : 0f, 0f); } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } private void MagicSyphonMethod() { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) if (NetworkServer.active) { ((EntityState)this).healthComponent.Heal(currentMagicCost / 25f * (float)MagHsyphon * ((EntityState)this).characterBody.damage, default(ProcChainMask), true); } passiveManager.GrantNetworkedLimit(currentMagicCost / 50f * (float)MagLsyphon); } public override void OnExit() { base.OnExit(); if (!hasFired) { ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty", "SpellCast.playbackRate", 1f, 0f); if (NetworkServer.active) { ((EntityState)this).characterBody.ClearTimedBuffs(Buffs.Entangle); } if (Object.op_Implicit((Object)(object)channelVFX) && !Object.op_Implicit((Object)(object)channelVFX.GetComponent())) { CustomParticleEnd customParticleEnd = channelVFX.AddComponent(); customParticleEnd.ParticleDuration = 0f; customParticleEnd.ParticleFadeTime = 5f; AkSoundEngine.StopPlayingID(ChannelSFX, 1, (AkCurveInterpolation)4); } } } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } else if (((EntityState)this).isAuthority && ((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser.inputPlayer.GetButtonDown(18)) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { if (succeed && spellComboIndex < MagMulti) { ((EntityState)this).outer.SetNextState((EntityState)(object)new MendWounds { spellComboIndex = spellComboIndex + 1, MagMulti = MagMulti }); } else { ((EntityState)this).outer.SetNextStateToMain(); } } } private void Fire() { //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: 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_00d6: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: 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_0109: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Expected O, but got Unknown //IL_0175: Unknown result type (might be due to invalid IL or missing references) //IL_017a: Unknown result type (might be due to invalid IL or missing references) //IL_018b: Unknown result type (might be due to invalid IL or missing references) //IL_0196: Unknown result type (might be due to invalid IL or missing references) //IL_01b2: Unknown result type (might be due to invalid IL or missing references) //IL_01be: Unknown result type (might be due to invalid IL or missing references) //IL_01c3: Unknown result type (might be due to invalid IL or missing references) //IL_01c8: Unknown result type (might be due to invalid IL or missing references) //IL_01d9: Expected O, but got Unknown //IL_0263: Unknown result type (might be due to invalid IL or missing references) //IL_0268: Unknown result type (might be due to invalid IL or missing references) //IL_0275: Unknown result type (might be due to invalid IL or missing references) //IL_0280: Unknown result type (might be due to invalid IL or missing references) //IL_0298: Unknown result type (might be due to invalid IL or missing references) //IL_02a4: Unknown result type (might be due to invalid IL or missing references) //IL_02a9: Unknown result type (might be due to invalid IL or missing references) //IL_02ae: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Expected O, but got Unknown if (hasFired) { return; } hasFired = true; succeed = false; ((EntityState)this).PlayAnimation("FullBody, Override", "ChannelCastO", "SpellCast.playbackRate", 1f, 0f); CustomParticleEnd customParticleEnd = channelVFX.AddComponent(); customParticleEnd.ParticleDuration = 0f; customParticleEnd.ParticleFadeTime = 5f; AkSoundEngine.StopPlayingID(ChannelSFX, 1, (AkCurveInterpolation)4); if (spellComboIndex <= 0 && !passiveManager.ResourceCost(currentMagicCost, baseLimitCost)) { return; } succeed = true; MagicCastProcMethod(); MagicSyphonMethod(); if (!((EntityState)this).isAuthority) { return; } Ray aimRay = ((BaseState)this).GetAimRay(); EffectManager.SpawnEffect(Assets.SpellMendWounds, new EffectData { origin = ((EntityState)this).characterBody.footPosition, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)((EntityState)this).characterBody).gameObject, isHealing = true, potencyPercentile = MendWounds.baseHealPotency }, (NetworkDestination)2); if (!Object.op_Implicit((Object)(object)target)) { return; } EffectManager.SpawnEffect(Assets.SpellMendWounds, new EffectData { origin = target.healthComponent.body.footPosition, rootObject = ((Component)target.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)target.healthComponent.body).gameObject, isHealing = true, potencyPercentile = MendWounds.baseHealPotency }, (NetworkDestination)2); if (MagAll <= 0) { return; } for (int i = 0; i < MagAll && i + 1 < targets.Length; i++) { HurtBox val = targets[i + 1]; if (Object.op_Implicit((Object)(object)val)) { EffectManager.SpawnEffect(Assets.SpellMendWounds, new EffectData { origin = val.healthComponent.body.footPosition, rootObject = ((Component)val.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)val.healthComponent.body).gameObject, isHealing = true, potencyPercentile = MendWounds.baseHealPotency }, (NetworkDestination)2); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class Pot : BaseMagicSkill { public static float MPCost = Config.potMagic.Value; public override void InitStatsAndVariables() { baseMagicCost = MPCost; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "FullBody, Override"; animationNameString = "SwordCastU"; } public override void OnEnter() { base.OnEnter(); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Entangle); } } public override void OnExit() { base.OnExit(); if (NetworkServer.active) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Entangle); } } public override void CastEffect() { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) Util.PlaySound("Magic_MagnetSpawn", ((EntityState)this).gameObject); if (NetworkServer.active) { Ray aimRay = ((BaseState)this).GetAimRay(); RaycastHit val = default(RaycastHit); Vector3 val2 = ((!Physics.Raycast(aimRay, ref val, 80f)) ? ((Ray)(ref aimRay)).GetPoint(80f) : (((RaycastHit)(ref val)).point + new Vector3(0f, 4f, 0f))); GameObject val3 = BodyCatalog.FindBodyPrefab("ExplosivePotDestructibleBody"); GameObject val4 = Object.Instantiate(val3, val2, ((EntityState)this).characterBody.transform.rotation); NetworkServer.Spawn(val4); } } } public class Reflect : BaseMagiciteSkill { public static float baseMagicCost = Config.reflectMagic.Value; public static int baseLimitCost = 0; public static float baseDamageCoefficient = Config.reflectDamage.Value; public static float baseProcCoefficient = Config.reflectProc.Value; public static float duration = 2.3f; private Animator animator; private float currentMagicCost = baseMagicCost; public override void OnEnter() { //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00ab: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: 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_00d4: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00ef: Expected O, but got Unknown base.OnEnter(); passiveManager = ((EntityState)this).GetComponent(); MagicSupportMethod(); if (passiveManager.ResourceCost(currentMagicCost, baseLimitCost)) { ((EntityState)this).fixedAge = 0f; animator = ((EntityState)this).GetModelAnimator(); passiveManager.isReflecting = true; ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; ((BaseState)this).StartAimMode(duration, true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); EffectManager.SpawnEffect(Assets.SpellReflenter, new EffectData { origin = ((EntityState)this).characterBody.footPosition, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); } ((EntityState)this).PlayAnimation("Gesture, Override", "SwordCastO", "SpellCast.playbackRate", 1f, 0f); } else { ((EntityState)this).outer.SetNextStateToMain(); } } private void MagicSupportMethod() { currentMagicCost = baseMagicCost * (1f + 0.2f * (float)MagTurbo + -0.1f * (float)MagThrift + ((MagMulti > 0) ? (0.5f + 0.5f * (float)MagMulti) : 0f)) + (float)Mathf.Max((MagUse > 0) ? (11 + -1 * MagUse) : 0, 0) + Mathf.Max((MagKill > 0) ? (11f + -1f * (float)MagKill) : 0f, 0f); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).isAuthority && ((EntityState)this).fixedAge >= duration) { ((EntityState)this).outer.SetNextStateToMain(); } else if (((EntityState)this).isAuthority && ((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser.inputPlayer.GetButtonDown(18)) { ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { passiveManager.isReflecting = false; ((EntityState)this).PlayAnimation("Gesture, Override", "BufferEmpty"); if (NetworkServer.active) { ((EntityState)this).characterBody.ClearTimedBuffs(Buffs.Entangle); } base.OnExit(); } public override void OnSerialize(NetworkWriter writer) { base.OnSerialize(writer); } public override void OnDeserialize(NetworkReader reader) { base.OnDeserialize(reader); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class ReflExplosion : BaseSkillState { private MystPassiveManager passiveManager; public override void OnEnter() { ((BaseState)this).OnEnter(); ((EntityState)this).fixedAge = 0f; passiveManager = ((EntityState)this).GetComponent(); Reflexplosion(); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); ((EntityState)this).outer.SetNextStateToMain(); } private void Reflexplosion() { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Expected O, but got Unknown //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00d6: Unknown result type (might be due to invalid IL or missing references) //IL_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_00e5: 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_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) if (NetworkServer.active) { EffectManager.SpawnEffect(Assets.SpellReflexplosion, new EffectData { origin = ((EntityState)this).characterBody.footPosition, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); float num = Reflect.baseDamageCoefficient * ((float)((EntityState)this).characterBody.GetBuffCount(Buffs.MystReflect) / (float)Reflextend.buffstacks); ((EntityState)this).characterBody.ClearTimedBuffs(Buffs.MystReflect); Debug.LogWarning((object)num); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = 0f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)64) | DamageTypeCombo.GenericUtility), damageValue = ((EntityState)this).characterBody.damage * num, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = 1f, radius = 10f, position = ((EntityState)this).characterBody.transform.position, blastDelay = 0.1f }); } } public override void OnExit() { passiveManager.isReflecting = false; ((EntityState)this).OnExit(); } public override void OnSerialize(NetworkWriter writer) { ((BaseSkillState)this).OnSerialize(writer); } public override void OnDeserialize(NetworkReader reader) { ((BaseSkillState)this).OnDeserialize(reader); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class Reflextend : BaseSkillState { public static float duration = 1.5f; public static int buffstacks = Config.reflectMaxStacks.Value; private Animator animator; private MystPassiveManager passiveManager; public override void OnEnter() { //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: 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_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_00e8: Expected O, but got Unknown ((BaseState)this).OnEnter(); ((EntityState)this).fixedAge = 0f; animator = ((EntityState)this).GetModelAnimator(); passiveManager = ((EntityState)this).GetComponent(); passiveManager.isReflecting = true; ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; ((BaseState)this).StartAimMode(duration, true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); ((EntityState)this).characterBody.AddTimedBuff(Buffs.MystReflect, 60f, buffstacks); EffectManager.SpawnEffect(Assets.SpellReflextend, new EffectData { origin = ((EntityState)this).characterBody.footPosition, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); } ((EntityState)this).PlayAnimation("FullBody, Override", "BlockHit"); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (((EntityState)this).isAuthority && ((EntityState)this).fixedAge >= duration) { passiveManager.isReflecting = false; ((EntityState)this).outer.SetNextState((EntityState)(object)new ReflExplosion()); } else if (((EntityState)this).characterBody.GetBuffCount(Buffs.MystReflect) >= buffstacks || (((EntityState)this).isAuthority && ((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser.inputPlayer.GetButtonDown(18))) { passiveManager.isReflecting = false; ((EntityState)this).outer.SetNextState((EntityState)(object)new ReflExplosion()); } } public override void OnExit() { passiveManager.isReflecting = false; ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty"); if (NetworkServer.active) { ((EntityState)this).characterBody.ClearTimedBuffs(Buffs.Entangle); } ((EntityState)this).OnExit(); } public override void OnSerialize(NetworkWriter writer) { ((BaseSkillState)this).OnSerialize(writer); } public override void OnDeserialize(NetworkReader reader) { ((BaseSkillState)this).OnDeserialize(reader); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class TestMagicite : BaseMagiciteSkill { public override void OnEnter() { base.OnEnter(); passiveManager.ResourceCost(float.PositiveInfinity, 0); Chat.AddMessage("LVL: " + Level); Chat.AddMessage("All: " + MagAll); } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge > 3f) { Chat.AddMessage("Bruh"); ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class Ultima : BaseMagicChanneledSkill { public static float MPCost = Config.ultimaMagic.Value; public static float Damage = Config.ultimaDamage.Value; public static float procCoefficient = Config.ultimaProc.Value; public static float baseSize = 33f; public override void InitStatsAndVariables() { baseMagicCost = MPCost; basePotency = Damage; baseDuration = 3.5f; baseCastTime = 0.85f; channelVFXx = Assets.MystChannelDamage; animationNameString = "ChannelCastF"; base.InitStatsAndVariables(); } public override void TargetCastEffect(HurtBox target) { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0038: 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_0047: 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_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0084: 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_008e: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Expected O, but got Unknown //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00d6: Unknown result type (might be due to invalid IL or missing references) //IL_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_00e5: 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_0130: Unknown result type (might be due to invalid IL or missing references) //IL_01a0: Unknown result type (might be due to invalid IL or missing references) //IL_0160: 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_0175: Unknown result type (might be due to invalid IL or missing references) //IL_017a: Unknown result type (might be due to invalid IL or missing references) //IL_018e: Unknown result type (might be due to invalid IL or missing references) //IL_0193: Unknown result type (might be due to invalid IL or missing references) //IL_01a5: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.SpellUltima, new EffectData { origin = (Object.op_Implicit((Object)(object)target) ? ((Component)target).transform.position : (((EntityState)this).characterBody.transform.position + ((EntityState)this).characterDirection.forward * 25f + new Vector3(0f, 12f, 0f))), rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = 0f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)64) | DamageTypeCombo.GenericUtility), damageValue = ((EntityState)this).characterBody.damage * currentPotency, falloffModel = (FalloffModel)1, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = baseSize, position = (Object.op_Implicit((Object)(object)target) ? ((Component)target).transform.position : (((EntityState)this).characterBody.transform.position + ((EntityState)this).characterDirection.forward * 25f + new Vector3(0f, 12f, 0f))), blastDelay = 5.5f }); } } } public class ViciousMockery : BaseMagicSkill { public static float MPCost = Config.oofMagic.Value; public static float Damage = Config.oofDamage.Value; public static float debuffDuration = Config.oofDuration.Value; public static float procCoefficient = Config.oofProc.Value; private static string[] responses = new string[77] { "Your Mother was a Hamster!", "Your Father smelt of Elderberries!", "I've fought Hermit Crabs more Fearsome than you!", "Sus.", "Deez Nuts!", "The 'r' in this font has a hole in it.", "Let me guess, someone stole your Sweetroll?", "You spoony Bard!", "I am owning you, you Fat, Bald, Fatty Fat!", "Adopted, Fatty... Fatty Fatty, No-Parents.", "Well, off to visit your mother!", "And another thing, you're Ugly.", "I'm goin' to blast ya' into thin gruel", "Would you like a second opinion? You're also Ugly.", "You are a Sad, Strange little man.", "Ni!", "You Dense, Irritating, Miniature beast of burden!", "You need to find yourself a girl, mate.", "You are without a doubt the worst creature I’ve ever seen", "Bazinga.", "Hurry up and shower, Stinky.", "Hatless, Statue-Posin', Tickit-Givin', Peck-Neck!", "Frail - and Soft.", "You are Nothing.", "Mistake.", "Scream, Vermin.", "Slow.", "Die, Vermin!", "Why are you still here?", "May your woes be many, and your days few!", "Foolishness creature, Foolishness...", "Come on, Wimp.", "You're just Dead Weight.", "you're about as sharp as a marble.", "Go back to hell!", "You are not worthy as my opponent.", "How boring!", "Too easy.", "Where's your motivation?", "FOOOOOOOOOOOOOOOOL!!!", "Such a Fool!", "How droll...", "If the fool would persist in his folly he would become wise.", "Little Baby Baby Baby-Man, little Baby! BABY-MAN!", "Watch your profanity", "Ya' Boring", "You Idiot poop-face", "You Silly-Goose", "God damn it sir, shut your cake-hole", "Pickle", "What the hell is that thing?!", "What the hell is that on its head?!", "More like 'k' for... 'kweer'", "You were really attractive until you made that snort", "You piggy @#$%!", "Thanks for standing still, @#$&%!", "Shut up, Lady!", "By 'Jungle', I mean 'Novel'", "I don't like this guy, like, at all, he's really doin' my nut in!", "This dude doesn't even have a laser-face, what a @#$%!", "You're stupid!", "You sodding ringworm!", "You're the real sham!", "Look at the top of his head!", "It'll be your head that a bear has @#%& with", "Good to see you, Twink", "You're not just wrong, you're Stupid", "L", "You are Maidenless", "L + Ratio", "Maybe if you got rid of that 'yee-yee' @#%& haircut", "Cry about it.", "Ligma Balls.", "Total misplay.", "Smeg Head!", "Smells worse over here than a dozen Rotten Eggs", "You'll be eatin' sawdust off the cell floor" }; public override void InitStatsAndVariables() { baseMagicCost = MPCost; basePotency = Damage; baseDuration = 0.65f; baseCastTime = 0.6f; animationLayerString = "Gesture, Override"; animationNameString = "SwordCastO"; } public override void CastEffect() { FlavourText(Object.op_Implicit((Object)(object)tracker.GetTrackingTarget())); } public override void TargetCastEffect(HurtBox target) { //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Expected O, but got Unknown if (Object.op_Implicit((Object)(object)target) && ((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.SpellViciousMockery, new EffectData { origin = target.healthComponent.body.footPosition, rootObject = ((Component)target.healthComponent.body).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)target.healthComponent.body).gameObject, isHealing = false, potencyFlat = ((EntityState)this).characterBody.damage * currentPotency, isCrit = ((EntityState)this).characterBody.RollCrit(), status = Buffs.Weak, statusDuration = debuffDuration, ProcCoeficient = 1f }, (NetworkDestination)2); } } private void FlavourText(bool pass) { if (((EntityState)this).isAuthority) { if (pass) { int num = new Random().Next(responses.Length); NetMessageExtensions.Send((INetMessage)(object)new MystTextBoxSync { characterBody = ((Component)((EntityState)this).characterBody).gameObject, text = responses[num], textDuration = 5f }, (NetworkDestination)1); } else { NetMessageExtensions.Send((INetMessage)(object)new MystTextBoxSync { characterBody = ((Component)((EntityState)this).characterBody).gameObject, text = "...", textDuration = 5f }, (NetworkDestination)1); } } } } } namespace MystMod.SkillStates.Myst.Spells.Orbs { internal class MystCallLightningOrb : GenericDamageOrb, IOrbFixedUpdateBehavior { private Vector3 lastKnownTargetPosition; private static readonly float positionLockDuration = 0.3f; public override void Begin() { //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: 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_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Expected O, but got Unknown ((GenericDamageOrb)this).Begin(); ((Orb)this).duration = 0.5f; if (Object.op_Implicit((Object)(object)((Orb)this).target)) { lastKnownTargetPosition = ((Component)((Orb)this).target).transform.position; } else { lastKnownTargetPosition = base.attacker.transform.position + base.attacker.GetComponent().characterDirection.forward * 10f; } EffectManager.SpawnEffect(Assets.SpellCallLightning, new EffectData { origin = lastKnownTargetPosition, scale = 2f }, true); } public override GameObject GetOrbEffect() { return null; } public override void OnArrival() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0076: 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_007d: 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_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: 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) if (Object.op_Implicit((Object)(object)base.attacker)) { new BlastAttack { attacker = base.attacker, baseDamage = base.damageValue, baseForce = 0f, bonusForce = Vector3.down * 9000f, crit = base.isCrit, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericUtility), falloffModel = (FalloffModel)0, inflictor = null, position = lastKnownTargetPosition, procChainMask = base.procChainMask, procCoefficient = 1f, radius = 3f, teamIndex = TeamComponent.GetObjectTeam(base.attacker) }.Fire(); } } public void FixedUpdate() { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)((Orb)this).target) && ((Orb)this).timeUntilArrival >= LightningStrikeOrb.positionLockDuration) { lastKnownTargetPosition = ((Component)((Orb)this).target).transform.position; } } } internal class MystDelayBeamDamage : GenericDamageOrb, IOrbFixedUpdateBehavior { private Vector3 lastKnownTargetPosition; private static readonly float positionLockDuration = 0.3f; public float baseForce = 0f; public Vector3 bonusForce = Vector3.zero; public Vector3 position = Vector3.zero; public Ray Aimray; public float range = 1f; public float radius = 1f; public float blastDelay = 0f; public GameObject impactEffect = null; public int moddedDamageType = 0; public override void Begin() { //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_006f: 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_0031: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) ((GenericDamageOrb)this).Begin(); ((Orb)this).duration = blastDelay; if (Object.op_Implicit((Object)(object)((Orb)this).target)) { lastKnownTargetPosition = ((Component)((Orb)this).target).transform.position; } else { lastKnownTargetPosition = base.attacker.transform.position + base.attacker.GetComponent().characterDirection.forward * 10f; } } public override GameObject GetOrbEffect() { return null; } public override void OnArrival() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) //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_0061: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: 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: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_00d1: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_00e9: Unknown result type (might be due to invalid IL or missing references) //IL_0106: Expected O, but got Unknown //IL_0118: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)base.attacker)) { BulletAttack val = new BulletAttack { owner = base.attacker, weapon = base.attacker, origin = ((Ray)(ref Aimray)).origin, aimVector = ((Ray)(ref Aimray)).direction, maxDistance = range, minSpread = 0f, maxSpread = 0f, radius = radius, falloffModel = (FalloffModel)0, smartCollision = false, stopperMask = default(LayerMask), hitMask = ((LayerIndex)(ref LayerIndex.entityPrecise)).mask, damage = base.damageValue, damageType = base.damageType, procCoefficient = base.procCoefficient, force = baseForce, isCrit = base.isCrit, hitEffectPrefab = (Object.op_Implicit((Object)(object)impactEffect) ? impactEffect : null) }; int num = moddedDamageType; int num2 = num; if (num2 == 1) { DamageAPI.AddModdedDamageType(val, Buffs.Blind15s); } val.Fire(); } } public void FixedUpdate() { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)((Orb)this).target) && ((Orb)this).timeUntilArrival >= LightningStrikeOrb.positionLockDuration) { lastKnownTargetPosition = ((Component)((Orb)this).target).transform.position; } } } internal class MystDelayBlastDamage : GenericDamageOrb, IOrbFixedUpdateBehavior { private Vector3 lastKnownTargetPosition; private static readonly float positionLockDuration = 0.3f; public float baseForce = 0f; public Vector3 bonusForce = Vector3.zero; public Vector3 position = Vector3.zero; public Transform parent = null; public float radius = 1f; public float blastDelay = 0f; public GameObject impactEffect = null; public FalloffModel falloffModel = (FalloffModel)0; public LoSType losType = (LoSType)0; public override void Begin() { //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_006f: 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_0031: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) ((GenericDamageOrb)this).Begin(); ((Orb)this).duration = blastDelay; if (Object.op_Implicit((Object)(object)((Orb)this).target)) { lastKnownTargetPosition = ((Component)((Orb)this).target).transform.position; } else { lastKnownTargetPosition = base.attacker.transform.position + base.attacker.GetComponent().characterDirection.forward * 10f; } } public override GameObject GetOrbEffect() { return null; } public override void OnArrival() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0044: 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_0055: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //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_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_006f: 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_0079: 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_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: 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_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00e8: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: Unknown result type (might be due to invalid IL or missing references) //IL_00f2: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)base.attacker)) { new BlastAttack { attacker = base.attacker, baseDamage = base.damageValue, baseForce = baseForce, bonusForce = bonusForce, crit = base.isCrit, damageColorIndex = base.damageColorIndex, damageType = base.damageType, falloffModel = falloffModel, losType = losType, inflictor = null, position = (((Object)(object)parent == (Object)null) ? position : (parent.position + position)), procChainMask = base.procChainMask, procCoefficient = 1f, radius = radius, impactEffect = EffectCatalog.FindEffectIndexFromPrefab(impactEffect), teamIndex = TeamComponent.GetObjectTeam(base.attacker) }.Fire(); } } public void FixedUpdate() { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)((Orb)this).target) && ((Orb)this).timeUntilArrival >= LightningStrikeOrb.positionLockDuration) { lastKnownTargetPosition = ((Component)((Orb)this).target).transform.position; } } } internal class MystProjectileDebuffInflictor : MonoBehaviour, IOnDamageInflictedServerReceiver { private BuffDef[] buffDefs = (BuffDef[])(object)new BuffDef[4] { Buffs.Poisoned, Buffs.Blight, Buffs.Weak, Buffs.Slow50 }; public float duration; public void OnDamageInflictedServer(DamageReport damageReport) { //IL_00a3: Unknown result type (might be due to invalid IL or missing references) CharacterBody victimBody = damageReport.victimBody; if (!Object.op_Implicit((Object)(object)victimBody)) { return; } BuffDef[] array = buffDefs; foreach (BuffDef val in array) { if ((Object)(object)val == (Object)(object)Buffs.Poisoned) { DotController.InflictDot(((Component)victimBody).gameObject, damageReport.attacker, (DotIndex)4, duration, 0.4f, (uint?)1u); } else if ((Object)(object)val == (Object)(object)Buffs.Blight) { DotController.InflictDot(((Component)victimBody).gameObject, damageReport.attacker, (DotIndex)5, duration, 0.4f, (uint?)1u); } else { victimBody.AddTimedBuff(val.buffIndex, duration); } } } private void OnValidate() { if (!Object.op_Implicit((Object)(object)buffDefs[0])) { Debug.LogWarningFormat((Object)(object)this, "ProjectileInflictTimedBuff {0} has no buff specified.", new object[1] { this }); } } } internal class MystProjectileSubEmitter : MonoBehaviour { public float damageCoefficient; public float initialFireDelay; public float fireDelay; public GameObject subProjectilePrefab; private ProjectileDamage projDam; private ProjectileController projCon; private float firetimer = 1f; private void Awake() { firetimer = initialFireDelay; projDam = ((Component)this).GetComponent(); projCon = ((Component)this).GetComponent(); } private void FixedUpdate() { //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: 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_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_012d: Unknown result type (might be due to invalid IL or missing references) if (NetworkServer.active) { firetimer -= Time.fixedDeltaTime; if (firetimer <= 0f) { firetimer = fireDelay; Random random = new Random(); FireProjectileInfo val = default(FireProjectileInfo); val.position = ((Component)this).transform.position; val.rotation = Quaternion.LookRotation(new Vector3((float)random.Next(0, 360) - 180f, (float)random.Next(0, 360) - 180f, (float)random.Next(0, 360) - 180f)); val.crit = projDam.crit; val.damage = projDam.damage * damageCoefficient; val.damageColorIndex = (DamageColorIndex)0; val.owner = projCon.Networkowner; val.procChainMask = default(ProcChainMask); val.force = 0f; val.useFuseOverride = false; val.useSpeedOverride = false; val.projectilePrefab = Projectiles.DoomboltSubPrefab; ProjectileManager.instance.FireProjectile(val); } } } private void OnValidate() { } } } namespace MystMod.SkillStates.Myst.Formchanges { public class ExitFormchange : BaseSkillState { private MystPassiveManager passiveManager; public override void OnEnter() { ((BaseState)this).OnEnter(); ((EntityState)this).fixedAge = 0f; passiveManager = ((EntityState)this).GetComponent(); ExitForm(); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); ((EntityState)this).outer.SetNextStateToMain(); } private void ExitForm() { passiveManager.ExitFormchange(); } public override void OnExit() { passiveManager.isReflecting = false; ((EntityState)this).OnExit(); } public override void OnSerialize(NetworkWriter writer) { ((BaseSkillState)this).OnSerialize(writer); } public override void OnDeserialize(NetworkReader reader) { ((BaseSkillState)this).OnDeserialize(reader); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } } namespace MystMod.SkillStates.Myst.Formchanges.Berserk { public class BerserkFang : BaseMeleeAttack { private bool buttonHold = true; public int attackNo = 1; public new int swingIndex = 1; public override void OnEnter() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) hitboxName = "SwordWide"; damageType = DamageTypeCombo.op_Implicit(DamageTypeCombo.GenericPrimary); damageCoefficient = Config.BSKFangDamage.Value; procCoefficient = Config.BSKFangProc.Value; pushForce = 300f; bonusForce = new Vector3(0f, -300f, 0f); baseDuration = 0.5f; attackStartTime = 0.1f; attackEndTime = 0.2f; baseEarlyExitTime = 0.25f; hitStopDuration = 0.012f; attackRecoil = 0.5f; hitHopVelocity = 7f; hitHopVelocityYaxisCorrector = 7f; swingSoundString = "Limit_Form_BerserkFang"; hitSoundString = ""; ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty", "", 1f, 0f); swingAnimSpeed = 2f; if (swingIndex == 1) { swingAnimString = "BSK_SwingLE"; muzzleString = "SlashMuzzleRight"; } else { switch (swingIndex % 2) { default: Chat.AddMessage("AttackNumberError"); break; case 1: swingAnimString = "BSK_SwingL2"; muzzleString = "SlashMuzzleRight"; break; case 0: swingAnimString = "BSK_SwingL1"; muzzleString = "SlashMuzzleLeft"; break; } } swingEffectPrefab = Assets.FormchangeBerserkFang; hitEffectPrefab = Assets.FormchangeBerserkHit; buttonHold = true; base.OnEnter(); } public override void FixedUpdate() { if (!((EntityState)this).inputBank.skill1.down) { buttonHold = false; } base.FixedUpdate(); } protected override void PlayAttackAnimation() { base.PlayAttackAnimation(); } protected override void PlaySwingEffect() { base.PlaySwingEffect(); } protected override void OnHitEnemyAuthority() { base.OnHitEnemyAuthority(); } protected override void SetNextState() { swingIndex++; if (buttonHold && ((EntityState)this).characterBody.HasBuff(Buffs.FormchangeBerserk)) { attackNo++; if (attackNo >= 9) { ((EntityState)this).outer.SetNextState((EntityState)(object)new BerserkReave { BerserkFinisher = true }); } else { ((EntityState)this).outer.SetNextState((EntityState)(object)new BerserkFang { swingIndex = swingIndex, attackNo = attackNo }); } } else { ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { base.OnExit(); } public override void OnSerialize(NetworkWriter writer) { base.OnSerialize(writer); writer.Write((byte)swingIndex); writer.Write((byte)attackNo); } public override void OnDeserialize(NetworkReader reader) { base.OnDeserialize(reader); swingIndex = reader.ReadByte(); attackNo = reader.ReadByte(); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)1; } } public class BerserkImpact : BaseMagiciteSkill { private bool buttonHold = true; public static float baseDamageCoefficient = Config.BSKImpactDamage.Value; public static float procCoefficient = Config.BSKImpactProc.Value; public static float baseDuration = 1f; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; public bool BerserkFinisher = false; protected OverlapAttack attack; private bool succeed = false; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -25f); private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(1f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; private CameraParamsOverrideHandle camOverrideHandle; public override void OnEnter() { //IL_00f5: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Unknown result type (might be due to invalid IL or missing references) //IL_0114: 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_011e: Unknown result type (might be due to invalid IL or missing references) //IL_0126: Unknown result type (might be due to invalid IL or missing references) //IL_012b: 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_01a1: Expected O, but got Unknown //IL_01ac: 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_01b6: Unknown result type (might be due to invalid IL or missing references) //IL_01bb: Unknown result type (might be due to invalid IL or missing references) //IL_01e9: Unknown result type (might be due to invalid IL or missing references) //IL_01ee: Unknown result type (might be due to invalid IL or missing references) //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) base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.4f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); buttonHold = true; muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "BSK_Slam", "Slash.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); ((BaseState)this).StartAimMode(duration, true); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, 0.2f / num); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Slow50, duration); } HitBoxGroup hitBoxGroup = null; Transform modelTransform = ((EntityState)this).GetModelTransform(); if (Object.op_Implicit((Object)(object)modelTransform)) { hitBoxGroup = Array.Find(((Component)modelTransform).GetComponents(), (HitBoxGroup element) => element.groupName == "SwordLarge"); } attack = new OverlapAttack(); attack.damageType = DamageTypeCombo.op_Implicit((DamageType)16777216) | DamageTypeCombo.GenericSecondary; attack.attacker = ((EntityState)this).gameObject; attack.inflictor = ((EntityState)this).gameObject; attack.teamIndex = ((BaseState)this).GetTeam(); attack.damage = currentDamageCoefficient * ((BaseState)this).damageStat; attack.procCoefficient = procCoefficient; attack.hitEffectPrefab = null; attack.forceVector = new Vector3(0f, -3000f, 0f); attack.pushAwayForce = 300f; attack.hitBoxGroup = hitBoxGroup; attack.isCrit = ((BaseState)this).RollCrit(); } public override void OnExit() { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) base.OnExit(); ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 2f); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (!((EntityState)this).inputBank.skill1.down && !((EntityState)this).inputBank.skill2.down) { buttonHold = false; } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { if (BerserkFinisher && buttonHold && ((EntityState)this).characterBody.HasBuff(Buffs.FormchangeBerserk)) { ((EntityState)this).outer.SetNextState((EntityState)(object)new BerserkReave()); } else { ((EntityState)this).outer.SetNextStateToMain(); } } } private void Fire() { //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Expected O, but got Unknown if (!hasFired) { hasFired = true; if (((EntityState)this).isAuthority) { attack.Fire((List)null); EffectManager.SpawnEffect(Assets.FormchangeBerserkImpact, new EffectData { origin = ((EntityState)this).characterBody.transform.position + Vector3.down, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class BerserkReave : BaseMagiciteSkill { private bool buttonHold = true; public static float dashSpeed = 10f; public static float baseDamageCoefficient = Config.BSKReaveDamage.Value; public static float baseRadius = 8.5f; public static float procCoefficient = Config.BSKReaveProc.Value; public static float baseDuration = 0.65f; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; public bool BerserkFinisher = false; private bool succeed = false; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -23f); private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(1f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; private CameraParamsOverrideHandle camOverrideHandle; private bool grounded = false; private MystTracker tracker; private HurtBox target; public override void OnEnter() { //IL_0110: Unknown result type (might be due to invalid IL or missing references) //IL_0119: Unknown result type (might be due to invalid IL or missing references) //IL_011e: Unknown result type (might be due to invalid IL or missing references) //IL_012f: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Unknown result type (might be due to invalid IL or missing references) //IL_0138: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Unknown result type (might be due to invalid IL or missing references) //IL_0145: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); tracker = ((EntityState)this).GetComponent(); target = tracker.GetTrackingTarget(); buttonHold = true; ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.4f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); grounded = ((BaseState)this).isGrounded; passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "BSK_Spin", "Slash.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, 0.2f / num); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Slow50, duration); } } public override void OnExit() { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) base.OnExit(); ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 2f); } public override void FixedUpdate() { base.FixedUpdate(); Movement(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (!((EntityState)this).inputBank.skill1.down && !((EntityState)this).inputBank.skill2.down) { buttonHold = false; } if (!(((EntityState)this).fixedAge >= duration) || !((EntityState)this).isAuthority) { return; } if (BerserkFinisher && buttonHold && ((EntityState)this).characterBody.HasBuff(Buffs.FormchangeBerserk)) { if (((BaseState)this).isGrounded) { ((EntityState)this).outer.SetNextState((EntityState)(object)new BerserkImpact()); } else { ((EntityState)this).outer.SetNextState((EntityState)(object)new BerserkReave()); } } else { ((EntityState)this).outer.SetNextStateToMain(); } } private void Movement() { //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: 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_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00ef: Unknown result type (might be due to invalid IL or missing references) if (!((EntityState)this).isAuthority || grounded) { return; } if (!Object.op_Implicit((Object)(object)target)) { target = tracker.GetTrackingTarget(); } if (Object.op_Implicit((Object)(object)target)) { Vector3 velocity = default(Vector3); if (Vector3.Distance(((EntityState)this).transform.position, ((Component)target).transform.position) > 7f) { Vector3 val = ((Component)target).transform.position - ((EntityState)this).transform.position; velocity = ((Vector3)(ref val)).normalized * dashSpeed; } else { ((Vector3)(ref velocity))..ctor(0f, 3f, 0f); } ((EntityState)this).characterMotor.velocity = velocity; ((EntityState)this).characterDirection.forward = ((Vector3)(ref ((EntityState)this).characterMotor.velocity)).normalized; } else { ((EntityState)this).characterMotor.velocity.y = 5f; } } private void Fire() { //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_014f: 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_0163: Unknown result type (might be due to invalid IL or missing references) //IL_0168: Unknown result type (might be due to invalid IL or missing references) //IL_016d: 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_01bc: Unknown result type (might be due to invalid IL or missing references) //IL_0206: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0217: Unknown result type (might be due to invalid IL or missing references) //IL_0222: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Unknown result type (might be due to invalid IL or missing references) //IL_0240: Unknown result type (might be due to invalid IL or missing references) //IL_0245: Unknown result type (might be due to invalid IL or missing references) //IL_024a: Unknown result type (might be due to invalid IL or missing references) //IL_0269: Expected O, but got Unknown if (hasFired) { return; } hasFired = true; if (((EntityState)this).isAuthority) { float radius = baseRadius; for (int i = 0; i < 4; i++) { OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = -200f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)33) | DamageTypeCombo.GenericSecondary), damageValue = ((EntityState)this).characterBody.damage * currentDamageCoefficient / 8f, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = radius, parent = ((EntityState)this).characterBody.transform, impactEffect = Assets.FormchangeBerserkHit, blastDelay = 0.1f * (float)i }); } OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = 1500f, bonusForce = new Vector3(0f, -3500f, 0f), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericSecondary), damageValue = ((EntityState)this).characterBody.damage * currentDamageCoefficient / 2f, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = radius, parent = ((EntityState)this).characterBody.transform, impactEffect = Assets.FormchangeBerserkHit, blastDelay = 0.5f }); EffectManager.SpawnEffect(Assets.FormchangeBerserkReave, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } internal class OmegaFinale : BaseSkillState { public int MoveSelect = 0; public override void OnEnter() { ((BaseState)this).OnEnter(); if (!((EntityState)this).isAuthority) { return; } if (((BaseState)this).isGrounded) { if (((Component)((EntityState)this).characterBody).GetComponent().SecondaryActivate(4f)) { ((EntityState)this).outer.SetNextState((EntityState)(object)new BerserkImpact { BerserkFinisher = true }); return; } } else if (((Component)((EntityState)this).characterBody).GetComponent().SecondaryActivate(4f)) { ((EntityState)this).outer.SetNextState((EntityState)(object)new BerserkReave { BerserkFinisher = true }); return; } ((EntityState)this).skillLocator.secondary.stock = ((EntityState)this).skillLocator.secondary.maxStock; ((EntityState)this).outer.SetNextStateToMain(); } public override void OnExit() { ((EntityState)this).OnExit(); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } } namespace MystMod.SkillStates.Myst.Limits { public class BlastingZone : BaseMagiciteSkill { public static float baseMagicCost = 0f; public static int baseLimitCost = Config.blastingZoneCost.Value; public static float baseDamageCoefficient = Config.blastingZoneDamage.Value; public static float procCoefficient = Config.blastingZoneProc.Value; public static float baseDuration = 10f; private float currentDamageCoefficient = baseDamageCoefficient; private float currentMagicCost = baseMagicCost; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private MystTracker tracker; private HurtBox target; private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(30f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -100f); private CameraParamsOverrideHandle camOverrideHandle; private bool succeed = false; public override void OnEnter() { //IL_014d: Unknown result type (might be due to invalid IL or missing references) //IL_0156: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_016c: Unknown result type (might be due to invalid IL or missing references) //IL_016d: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Unknown result type (might be due to invalid IL or missing references) //IL_017b: Unknown result type (might be due to invalid IL or missing references) //IL_0180: Unknown result type (might be due to invalid IL or missing references) //IL_0187: Unknown result type (might be due to invalid IL or missing references) //IL_0251: Unknown result type (might be due to invalid IL or missing references) //IL_0256: 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_0276: Unknown result type (might be due to invalid IL or missing references) //IL_027b: Unknown result type (might be due to invalid IL or missing references) //IL_0286: Unknown result type (might be due to invalid IL or missing references) //IL_0292: Unknown result type (might be due to invalid IL or missing references) //IL_0297: Unknown result type (might be due to invalid IL or missing references) //IL_029c: Unknown result type (might be due to invalid IL or missing references) //IL_02bb: Expected O, but got Unknown base.OnEnter(); succeed = WildMagicCast || passiveManager.ResourceCost(currentMagicCost, baseLimitCost); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } tracker = ((EntityState)this).GetComponent(); target = tracker.GetTrackingTarget(); ((EntityState)this).fixedAge = 0f; hasFired = false; duration = baseDuration; fireTime = 7.4f; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); passiveManager = ((EntityState)this).GetComponent(); passiveManager.isLimitBreaking = true; ((EntityState)this).PlayAnimation("FullBody, Override", "BlastingZone", "SpellCast.playbackRate", 10f, 0f); ((EntityState)this).PlayAnimation("Camera", "BlastingZoneCamera"); passiveManager.cameraTime = 6f; if (Object.op_Implicit((Object)(object)passiveManager.cinematicCam)) { passiveManager.cinematicCam.entryLerpDuration = 1f; passiveManager.cinematicCam.exitLerpDuration = 1f; } CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, 0.5f); ((BaseState)this).StartAimMode(((BaseState)this).GetAimRay(), duration, true); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); ((Behaviour)((EntityState)this).characterMotor).enabled = false; ((Behaviour)((EntityState)this).characterDirection).enabled = false; if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); ((EntityState)this).characterBody.AddTimedBuff(Buffs.HiddenInvincibility, duration + 3f); ((EntityState)this).characterBody.AddTimedBuff(Buffs.LimitLock, duration + 20f); } ((EntityState)this).characterBody.disablingHurtBoxes = true; if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.LimitBlastingZone, new EffectData { origin = ((EntityState)this).characterBody.transform.position + new Vector3(0f, -1f, 0f), rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } public override void OnExit() { //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) base.OnExit(); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; if (Object.op_Implicit((Object)(object)animator)) { animator.SetBool("attacking", true); } ((Behaviour)((EntityState)this).characterMotor).enabled = true; if (succeed) { ((EntityState)this).characterMotor.velocity.y = 0f; } ((Behaviour)((EntityState)this).characterDirection).enabled = true; ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 1f); passiveManager.isLimitBreaking = false; } public override void FixedUpdate() { base.FixedUpdate(); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //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_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) //IL_0109: Unknown result type (might be due to invalid IL or missing references) //IL_010e: Unknown result type (might be due to invalid IL or missing references) //IL_0113: Unknown result type (might be due to invalid IL or missing references) if (hasFired) { return; } hasFired = true; if (succeed) { MagicCastProcMethod(); if (((EntityState)this).isAuthority) { Ray aimRay = ((BaseState)this).GetAimRay(); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = 0f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)66) | DamageTypeCombo.GenericSpecial), damageValue = ((EntityState)this).characterBody.damage * currentDamageCoefficient, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = 50f, position = ((EntityState)this).characterBody.transform.position + ((EntityState)this).characterDirection.forward * 50f, blastDelay = 0.6f }); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)9; } } public class FormChangeBerserk : BaseMagiciteSkill { public static float baseMagicCost = 0f; public static int baseLimitCost = Config.berserkFormCost.Value; public static float baseDamageCoefficient = 0.5f; public static float procCoefficient = 1f; public static float baseDuration = 2f; public static float formchangeDuration = Config.berserkFormDuration.Value; public static float moveSpeedModifier = Config.berserkFormSpeed.Value; public static float jumpPowerModifier = Config.berserkFormJump.Value; public static float armourModifier = Config.berserkFormArmor.Value; private float currentMagicCost = baseMagicCost; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(1f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -15f); private CameraParamsOverrideHandle camOverrideHandle; private bool succeed = false; private SkillDef BerserkFang = Skills.CreateSkillDef(new SkillDefInfo { skillName = "JAVANGLE_MYST_MAGICITE_FORM_BSKFANG_NAME", skillNameToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKFANG_NAME", skillDescriptionToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKFANG_DESCRIPTION", skillIcon = Assets.mainAssetBundle.LoadAsset("IconBSKFang"), activationState = new SerializableEntityStateType(typeof(BerserkFang)), activationStateMachineName = "Weapon", baseMaxStock = 1, baseRechargeInterval = 0f, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)0, resetCooldownTimerOnUse = false, isCombatSkill = false, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); private SkillDef OmegaFinale = Skills.CreateSkillDef(new SkillDefInfo { skillName = "JAVANGLE_MYST_MAGICITE_FORM_BSKOMEGA_NAME", skillNameToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKOMEGA_NAME", skillDescriptionToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKOMEGA_DESCRIPTION", skillIcon = Assets.mainAssetBundle.LoadAsset("IconBSKOmega"), activationState = new SerializableEntityStateType(typeof(OmegaFinale)), activationStateMachineName = "Weapon", baseMaxStock = 1, baseRechargeInterval = 0f, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)0, resetCooldownTimerOnUse = false, isCombatSkill = false, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); private SkillDef BerserkersWit = Skills.CreateSkillDef(new SkillDefInfo { skillName = "JAVANGLE_MYST_MAGICITE_FORM_BSKWIT_NAME", skillNameToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKWIT_NAME", skillDescriptionToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKWIT_DESCRIPTION", skillIcon = Assets.mainAssetBundle.LoadAsset("IconBSKWit"), activationState = new SerializableEntityStateType(typeof(EmptySlot)), activationStateMachineName = "Weapon", baseMaxStock = 1, baseRechargeInterval = 0f, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)0, resetCooldownTimerOnUse = false, isCombatSkill = false, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); private SkillDef ExitFormchange = Skills.CreateSkillDef(new SkillDefInfo { skillName = "JAVANGLE_MYST_MAGICITE_FORM_REVERT_NAME", skillNameToken = "JAVANGLE_MYST_MAGICITE_FORM_REVERT_NAME", skillDescriptionToken = "JAVANGLE_MYST_MAGICITE_FORM_REVERT_DESCRIPTION", skillIcon = Assets.mainAssetBundle.LoadAsset("IconFormRevert"), activationState = new SerializableEntityStateType(typeof(ExitFormchange)), activationStateMachineName = "Weapon", baseMaxStock = 1, baseRechargeInterval = 0f, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)0, resetCooldownTimerOnUse = false, isCombatSkill = false, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); public override void OnEnter() { //IL_00cf: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00ef: Unknown result type (might be due to invalid IL or missing references) //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_0177: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0188: Unknown result type (might be due to invalid IL or missing references) //IL_019c: Unknown result type (might be due to invalid IL or missing references) //IL_01a1: Unknown result type (might be due to invalid IL or missing references) //IL_01ac: 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_01bd: 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_01e1: Expected O, but got Unknown base.OnEnter(); succeed = WildMagicCast || passiveManager.ResourceCost(currentMagicCost, baseLimitCost); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } ((EntityState)this).fixedAge = 0f; hasFired = false; duration = baseDuration; fireTime = 0.5f; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); passiveManager = ((EntityState)this).GetComponent(); passiveManager.isLimitBreaking = true; ((EntityState)this).PlayAnimation("Body", "BerserkEnter", "", 1f, 0f); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, 0.2f); ((Behaviour)((EntityState)this).characterMotor).enabled = false; ((Behaviour)((EntityState)this).characterDirection).enabled = false; if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.HiddenInvincibility, duration); ((EntityState)this).characterBody.AddTimedBuff(Buffs.LimitLock, 26f); } ((EntityState)this).characterBody.disablingHurtBoxes = true; if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.FormchangeBerserkEnter, new EffectData { origin = ((EntityState)this).characterBody.transform.position + new Vector3(0f, -1f, 0f), rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } public override void OnExit() { //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) base.OnExit(); ((Behaviour)((EntityState)this).characterMotor).enabled = true; ((Behaviour)((EntityState)this).characterDirection).enabled = true; ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 1f); passiveManager.isLimitBreaking = false; } public override void FixedUpdate() { base.FixedUpdate(); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_00f6: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_010d: Unknown result type (might be due to invalid IL or missing references) //IL_0112: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_011c: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Unknown result type (might be due to invalid IL or missing references) //IL_01f4: Unknown result type (might be due to invalid IL or missing references) if (hasFired) { return; } hasFired = true; if (succeed) { MagicCastProcMethod(); GameObject[] particles = (GameObject[])(object)new GameObject[0]; ChildLocator component = ((Component)((EntityState)this).modelLocator.modelTransform).GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { Debug.LogWarning((object)"[FORMCHANGE UNABLE TO FIND CHILD LOCATOR]"); } else { particles = (GameObject[])(object)new GameObject[3] { Object.Instantiate(Assets.FormchangeBerserkSwordFX, component.FindChild("SwordTipRight")), Object.Instantiate(Assets.FormchangeBerserkSwordFX, component.FindChild("SwordTipLeft")), Object.Instantiate(Assets.FormchangeBerserkRootFX, component.FindChild("Root")) }; } if (((EntityState)this).isAuthority) { OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = -300f, bonusForce = new Vector3(0f, 1200f, 0f), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)16777216) | DamageTypeCombo.GenericSpecial), damageValue = ((EntityState)this).characterBody.damage * baseDamageCoefficient, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = 24f, parent = ((EntityState)this).characterBody.transform, impactEffect = Assets.MystBasicImpact, blastDelay = 0f }); } if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.FormchangeBerserk); } passiveManager.EnterFormchange(formchangeDuration, Buffs.FormchangeBerserk, BerserkFang, OmegaFinale, BerserkersWit, ExitFormchange, Color.red, Color.red, particles); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)9; } } public class FormChangeSage : BaseMagiciteSkill { public static float baseMagicCost = 0f; public static int baseLimitCost = 0; public static float baseDamageCoefficient = 0.5f; public static float procCoefficient = 1f; public static float baseDuration = 2f; public static float formchangeDuration = 40f; private float currentMagicCost = baseMagicCost; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(1f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -15f); private CameraParamsOverrideHandle camOverrideHandle; private bool succeed = false; private SkillDef SageBolt = Skills.CreateSkillDef(new SkillDefInfo { skillName = "JAVANGLE_MYST_MAGICITE_FORM_BSKFANG_NAME", skillNameToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKFANG_NAME", skillDescriptionToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKFANG_DESCRIPTION", skillIcon = Assets.mainAssetBundle.LoadAsset("IconBSKFang"), activationState = new SerializableEntityStateType(typeof(MagicMissile)), activationStateMachineName = "Weapon", baseMaxStock = 1, baseRechargeInterval = 0f, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)0, resetCooldownTimerOnUse = false, isCombatSkill = false, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); private SkillDef OmegaFinale = Skills.CreateSkillDef(new SkillDefInfo { skillName = "JAVANGLE_MYST_MAGICITE_FORM_BSKOMEGA_NAME", skillNameToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKOMEGA_NAME", skillDescriptionToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKOMEGA_DESCRIPTION", skillIcon = Assets.mainAssetBundle.LoadAsset("IconBSKOmega"), activationState = new SerializableEntityStateType(typeof(BerserkReave)), activationStateMachineName = "Weapon", baseMaxStock = 1, baseRechargeInterval = 0f, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)0, resetCooldownTimerOnUse = false, isCombatSkill = false, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); private SkillDef BerserkersWit = Skills.CreateSkillDef(new SkillDefInfo { skillName = "JAVANGLE_MYST_MAGICITE_FORM_BSKWIT_NAME", skillNameToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKWIT_NAME", skillDescriptionToken = "JAVANGLE_MYST_MAGICITE_FORM_BSKWIT_DESCRIPTION", skillIcon = Assets.mainAssetBundle.LoadAsset("IconBSKWit"), activationState = new SerializableEntityStateType(typeof(MagicMenu)), activationStateMachineName = "Weapon", baseMaxStock = 1, baseRechargeInterval = 0f, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)0, resetCooldownTimerOnUse = false, isCombatSkill = false, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); private SkillDef ExitFormchange = Skills.CreateSkillDef(new SkillDefInfo { skillName = "JAVANGLE_MYST_MAGICITE_FORM_REVERT_NAME", skillNameToken = "JAVANGLE_MYST_MAGICITE_FORM_REVERT_NAME", skillDescriptionToken = "JAVANGLE_MYST_MAGICITE_FORM_REVERT_DESCRIPTION", skillIcon = Assets.mainAssetBundle.LoadAsset("IconFormRevert"), activationState = new SerializableEntityStateType(typeof(ExitFormchange)), activationStateMachineName = "Weapon", baseMaxStock = 1, baseRechargeInterval = 0f, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)0, resetCooldownTimerOnUse = false, isCombatSkill = false, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); public override void OnEnter() { //IL_00cf: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00ef: Unknown result type (might be due to invalid IL or missing references) //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_0177: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0188: Unknown result type (might be due to invalid IL or missing references) //IL_019c: Unknown result type (might be due to invalid IL or missing references) //IL_01a1: Unknown result type (might be due to invalid IL or missing references) //IL_01ac: 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_01bd: 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_01e1: Expected O, but got Unknown base.OnEnter(); succeed = WildMagicCast || passiveManager.ResourceCost(currentMagicCost, baseLimitCost); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } ((EntityState)this).fixedAge = 0f; hasFired = false; duration = baseDuration; fireTime = 0.5f; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); passiveManager = ((EntityState)this).GetComponent(); passiveManager.isLimitBreaking = true; ((EntityState)this).PlayAnimation("Body", "BerserkEnter", "", 1f, 0f); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, 0.2f); ((Behaviour)((EntityState)this).characterMotor).enabled = false; ((Behaviour)((EntityState)this).characterDirection).enabled = false; if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.HiddenInvincibility, duration); ((EntityState)this).characterBody.AddTimedBuff(Buffs.LimitLock, 26f); } ((EntityState)this).characterBody.disablingHurtBoxes = true; if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.FormchangeBerserkEnter, new EffectData { origin = ((EntityState)this).characterBody.transform.position + new Vector3(0f, -1f, 0f), rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } public override void OnExit() { //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) base.OnExit(); ((Behaviour)((EntityState)this).characterMotor).enabled = true; ((Behaviour)((EntityState)this).characterDirection).enabled = true; ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 1f); passiveManager.isLimitBreaking = false; } public override void FixedUpdate() { base.FixedUpdate(); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_016d: 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) if (hasFired) { return; } hasFired = true; if (succeed) { MagicCastProcMethod(); GameObject[] particles = (GameObject[])(object)new GameObject[0]; if (((EntityState)this).isAuthority) { OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = -300f, bonusForce = new Vector3(0f, 1200f, 0f), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)16777216) | DamageTypeCombo.GenericSpecial), damageValue = ((EntityState)this).characterBody.damage * FormChangeBerserk.baseDamageCoefficient, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = 24f, parent = ((EntityState)this).characterBody.transform, impactEffect = Assets.MystBasicImpact, blastDelay = 0f }); } if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.FormchangeBerserk); } passiveManager.EnterFormchange(formchangeDuration, Buffs.FormchangeBerserk, SageBolt, OmegaFinale, BerserkersWit, ExitFormchange, Color.cyan, Color.cyan, particles); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)9; } } public class JudgementCutEnd : BaseMagiciteSkill { public static float baseMagicCost = 0f; public static int baseLimitCost = Config.JCECost.Value; public static float baseDamageCoefficient = Config.JCEDamage.Value; public static float procCoefficient = Config.JCEProc.Value; public static float baseDuration = 12.5f; public static float baseRadius = 25f; public static float numberOfHits = Config.JCEnumberOfHits.Value; private float currentDamageCoefficient = baseDamageCoefficient; private float currentMagicCost = baseMagicCost; private float duration; private float fireTime; private float freezeTime; private bool hasFired = false; private bool hasFrozen = false; private Animator animator; private MystTracker tracker; private HurtBox target; private VolumeController volumeController; private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(4f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -30f); private CameraParamsOverrideHandle camOverrideHandle; private bool succeed = false; private Collider[] targets = null; public override void OnEnter() { //IL_00ef: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_010e: 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_0117: 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_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0129: Unknown result type (might be due to invalid IL or missing references) //IL_01f1: Unknown result type (might be due to invalid IL or missing references) //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //IL_0202: Unknown result type (might be due to invalid IL or missing references) //IL_0216: Unknown result type (might be due to invalid IL or missing references) //IL_021b: Unknown result type (might be due to invalid IL or missing references) //IL_0226: Unknown result type (might be due to invalid IL or missing references) //IL_0232: Unknown result type (might be due to invalid IL or missing references) //IL_0237: Unknown result type (might be due to invalid IL or missing references) //IL_023c: Unknown result type (might be due to invalid IL or missing references) //IL_025b: Expected O, but got Unknown base.OnEnter(); succeed = WildMagicCast || passiveManager.ResourceCost(currentMagicCost, baseLimitCost); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } tracker = ((EntityState)this).GetComponent(); target = tracker.GetTrackingTarget(); ((EntityState)this).fixedAge = 0f; hasFired = false; hasFrozen = false; duration = baseDuration; fireTime = 10f; freezeTime = 5.5f; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); passiveManager = ((EntityState)this).GetComponent(); passiveManager.isLimitBreaking = true; ((EntityState)this).PlayAnimation("FullBody, Override", "Judgement Cut End"); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, 0.5f); ((BaseState)this).StartAimMode(((BaseState)this).GetAimRay(), duration, true); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); ((Behaviour)((EntityState)this).characterMotor).enabled = false; ((Behaviour)((EntityState)this).characterDirection).enabled = false; if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); ((EntityState)this).characterBody.AddTimedBuff(Buffs.HiddenInvincibility, duration + 3f); ((EntityState)this).characterBody.AddTimedBuff(Buffs.LimitLock, duration + 20f); } ((EntityState)this).characterBody.disablingHurtBoxes = true; if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.LimitJudgementCutEnd, new EffectData { origin = ((EntityState)this).characterBody.transform.position + new Vector3(0f, -0.5f, 0f), rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } if (((EntityState)this).isAuthority && ((EntityState)this).characterBody.isPlayerControlled) { volumeController = ((EntityState)this).gameObject.AddComponent(); volumeController.fadeOutStartTime = 0f; volumeController.fadeOutEndTime = 4f; volumeController.fadeInStartTime = 10f; volumeController.fadeInEndTime = 10f; volumeController.fadeSFX = true; volumeController.fadeMSX = true; } } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } public override void OnExit() { base.OnExit(); if (Object.op_Implicit((Object)(object)volumeController)) { EntityState.Destroy((Object)(object)volumeController); } ((Behaviour)((EntityState)this).characterMotor).enabled = true; if (succeed) { ((EntityState)this).characterMotor.velocity.y = 0f; } ((Behaviour)((EntityState)this).characterDirection).enabled = true; passiveManager.isLimitBreaking = false; ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; if (Object.op_Implicit((Object)(object)animator)) { animator.SetBool("attacking", true); } targets = null; } public override void Update() { ((EntityState)this).Update(); } public override void FixedUpdate() { base.FixedUpdate(); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= freezeTime) { Freeze(); } if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_0268: Unknown result type (might be due to invalid IL or missing references) //IL_026d: 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_0297: Unknown result type (might be due to invalid IL or missing references) //IL_02a2: Unknown result type (might be due to invalid IL or missing references) //IL_02b2: Unknown result type (might be due to invalid IL or missing references) //IL_02b7: Unknown result type (might be due to invalid IL or missing references) //IL_02bc: Unknown result type (might be due to invalid IL or missing references) //IL_02dd: Unknown result type (might be due to invalid IL or missing references) //IL_02df: Unknown result type (might be due to invalid IL or missing references) //IL_02e4: Unknown result type (might be due to invalid IL or missing references) //IL_02ea: Unknown result type (might be due to invalid IL or missing references) //IL_02ef: Unknown result type (might be due to invalid IL or missing references) //IL_02f4: Unknown result type (might be due to invalid IL or missing references) //IL_02f9: Unknown result type (might be due to invalid IL or missing references) //IL_02fe: Unknown result type (might be due to invalid IL or missing references) //IL_0300: Unknown result type (might be due to invalid IL or missing references) //IL_0305: Unknown result type (might be due to invalid IL or missing references) //IL_030c: Unknown result type (might be due to invalid IL or missing references) //IL_0318: Unknown result type (might be due to invalid IL or missing references) //IL_031d: Unknown result type (might be due to invalid IL or missing references) //IL_0322: Unknown result type (might be due to invalid IL or missing references) //IL_0328: Unknown result type (might be due to invalid IL or missing references) //IL_032e: 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_0341: Unknown result type (might be due to invalid IL or missing references) //IL_0348: Unknown result type (might be due to invalid IL or missing references) //IL_034d: Unknown result type (might be due to invalid IL or missing references) //IL_0354: Expected O, but got Unknown //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_035c: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) if (hasFired) { return; } hasFired = true; if (Object.op_Implicit((Object)(object)volumeController)) { EntityState.Destroy((Object)(object)volumeController); } ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 1f); if (!succeed) { return; } MagicCastProcMethod(); if (!((NetworkBehaviour)((EntityState)this).characterBody).isServer) { return; } try { int num = targets.Length; for (int i = 0; i < num; i++) { if (!Object.op_Implicit((Object)(object)targets[i])) { continue; } Collider val = targets[i]; HealthComponent val2 = null; if (Object.op_Implicit((Object)(object)val)) { HurtBox component = ((Component)val).GetComponent(); if (Object.op_Implicit((Object)(object)component)) { val2 = component.healthComponent; } } if (!Object.op_Implicit((Object)(object)val2) || !FriendlyFireManager.ShouldSplashHitProceed(val2, ((BaseState)this).GetTeam()) || !Object.op_Implicit((Object)(object)val2.body) || !Object.op_Implicit((Object)(object)val2.body.modelLocator) || !Object.op_Implicit((Object)(object)val2.body.modelLocator.modelTransform)) { continue; } if (Object.op_Implicit((Object)(object)val2.body.master)) { ((Behaviour)val2.body.master).enabled = true; BaseAI[] aiComponents = val2.body.master.aiComponents; int num2 = aiComponents.Length; for (int j = 0; j < num2; j++) { if (Object.op_Implicit((Object)(object)aiComponents[j])) { ((Behaviour)aiComponents[j]).enabled = true; } } } if (Object.op_Implicit((Object)(object)val2.body.characterMotor)) { ((Behaviour)val2.body.characterMotor).enabled = true; } Animator component2 = ((Component)val2.body.modelLocator.modelTransform).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { ((Behaviour)component2).enabled = true; } } } catch { Debug.LogWarning((object)"JCE failed to unfreeze everything"); } finally { float radius = baseRadius * (1f + (float)MagAll * 0.2f); BlastAttack val3 = new BlastAttack { attacker = ((EntityState)this).gameObject, baseDamage = ((EntityState)this).characterBody.damage * currentDamageCoefficient / numberOfHits, baseForce = 0f, bonusForce = new Vector3(0f, 0f, 0f), crit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)131072) | DamageTypeCombo.GenericSpecial), falloffModel = (FalloffModel)0, inflictor = null, position = ((EntityState)this).characterBody.transform.position, procChainMask = default(ProcChainMask), procCoefficient = 1f, radius = radius, teamIndex = TeamComponent.GetObjectTeam(((EntityState)this).gameObject) }; for (int k = 0; (float)k < numberOfHits; k++) { val3.Fire(); } } } private void Freeze() { //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0068: 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_0105: Unknown result type (might be due to invalid IL or missing references) if (hasFrozen) { return; } hasFrozen = true; if (!succeed || !((NetworkBehaviour)((EntityState)this).characterBody).isServer) { return; } Ray aimRay = ((BaseState)this).GetAimRay(); float num = baseRadius * (1f + (float)MagAll * 0.2f); targets = Physics.OverlapSphere(((EntityState)this).characterBody.transform.position, num, LayerMask.op_Implicit(((LayerIndex)(ref LayerIndex.entityPrecise)).mask)); int num2 = targets.Length; for (int i = 0; i < num2; i++) { if (!Object.op_Implicit((Object)(object)targets[i])) { continue; } Collider val = targets[i]; HealthComponent val2 = null; if (Object.op_Implicit((Object)(object)val)) { HurtBox component = ((Component)val).GetComponent(); if (Object.op_Implicit((Object)(object)component)) { val2 = component.healthComponent; } } if (!Object.op_Implicit((Object)(object)val2) || !FriendlyFireManager.ShouldSplashHitProceed(val2, ((BaseState)this).GetTeam()) || !Object.op_Implicit((Object)(object)val2) || !Object.op_Implicit((Object)(object)val2.body) || !Object.op_Implicit((Object)(object)val2.body.modelLocator) || !Object.op_Implicit((Object)(object)val2.body.modelLocator.modelTransform)) { continue; } val2.body.AddTimedBuff(Buffs.TimeLock, 6f); if (Object.op_Implicit((Object)(object)val2.body.master)) { ((Behaviour)val2.body.master).enabled = false; BaseAI[] aiComponents = val2.body.master.aiComponents; int num3 = aiComponents.Length; for (int j = 0; j < num3; j++) { if (Object.op_Implicit((Object)(object)aiComponents[j])) { ((Behaviour)aiComponents[j]).enabled = false; } } } if (Object.op_Implicit((Object)(object)val2.body.characterMotor)) { ((Behaviour)val2.body.characterMotor).enabled = false; } Animator component2 = ((Component)val2.body.modelLocator.modelTransform).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { ((Behaviour)component2).enabled = false; } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)9; } } public class PowerWordKill : BaseMagiciteSkill { public static float baseMagicCost = 0f; public static int baseLimitCost = Config.PWKCost.Value; public static float baseDuration = 5.5f; public static float baseFireTime = 5f; private float currentMagicCost = baseMagicCost; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private MystTracker tracker; private HurtBox target; private HurtBox[] targets; private Transform muzzle; private bool succeed = false; private GameObject channelVFX; private uint ChannelSFX; private VolumeController volumeController; private static string[] responses = new string[5] { "I need a target", "I can't cast that without a target", "I need to target something", "I don't have a target", "On what?" }; public override void OnEnter() { //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_018c: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); passiveManager = ((EntityState)this).GetComponent(); tracker = ((EntityState)this).GetComponent(); target = tracker.GetTrackingTarget(); targets = tracker.GetSecondaryTargets(); if (!Object.op_Implicit((Object)(object)target)) { FlavourText(); ((EntityState)this).outer.SetNextStateToMain(); return; } succeed = WildMagicCast || passiveManager.ResourceCost(currentMagicCost, baseLimitCost); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } ((EntityState)this).fixedAge = 0f; hasFired = false; duration = baseDuration; fireTime = baseFireTime; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); ((EntityState)this).PlayAnimation("FullBody, Override", "ChannelCastEnter", "SpellCast.playbackRate", 1f, 0f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); channelVFX = Object.Instantiate(Assets.MystChannelMisc, ((EntityState)this).characterBody.footPosition, ((EntityState)this).characterBody.transform.rotation, ((EntityState)this).characterBody.transform); ChannelSFX = Util.PlaySound("Limit_PowerWordKill_Channel", ((EntityState)this).gameObject); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, fireTime + 0.5f); } if (((EntityState)this).isAuthority && ((EntityState)this).characterBody.isPlayerControlled) { volumeController = ((EntityState)this).gameObject.AddComponent(); volumeController.fadeOutStartTime = 0f; volumeController.fadeOutEndTime = 4f; volumeController.fadeInStartTime = 6f; volumeController.fadeInEndTime = 10f; volumeController.fadeSFX = true; volumeController.fadeMSX = true; } } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } public override void OnExit() { base.OnExit(); if (hasFired) { return; } if (succeed) { passiveManager.GrantNetworkedLimit(80f, bypassLock: true); if (Object.op_Implicit((Object)(object)volumeController)) { EntityState.Destroy((Object)(object)volumeController); } } ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty", "SpellCast.playbackRate", 1f, 0f); if (NetworkServer.active) { ((EntityState)this).characterBody.ClearTimedBuffs(Buffs.Entangle); } if (Object.op_Implicit((Object)(object)channelVFX) && !Object.op_Implicit((Object)(object)channelVFX.GetComponent())) { CustomParticleEnd customParticleEnd = channelVFX.AddComponent(); customParticleEnd.ParticleDuration = 0f; customParticleEnd.ParticleFadeTime = 5f; AkSoundEngine.StopPlayingID(ChannelSFX, 1, (AkCurveInterpolation)4); } } public override void Update() { ((EntityState)this).Update(); } public override void FixedUpdate() { base.FixedUpdate(); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= fireTime) { Fire(); } else if (((EntityState)this).isAuthority && ((EntityState)this).characterBody.master.playerCharacterMasterController.networkUser.inputPlayer.GetButtonDown(18)) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_0139: Unknown result type (might be due to invalid IL or missing references) //IL_013e: Unknown result type (might be due to invalid IL or missing references) //IL_0145: Unknown result type (might be due to invalid IL or missing references) //IL_014a: 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_0160: Unknown result type (might be due to invalid IL or missing references) //IL_016a: Unknown result type (might be due to invalid IL or missing references) //IL_016f: Unknown result type (might be due to invalid IL or missing references) //IL_017a: Unknown result type (might be due to invalid IL or missing references) //IL_0186: Unknown result type (might be due to invalid IL or missing references) //IL_018b: Unknown result type (might be due to invalid IL or missing references) //IL_0190: Unknown result type (might be due to invalid IL or missing references) //IL_01a1: Expected O, but got Unknown //IL_0389: Unknown result type (might be due to invalid IL or missing references) //IL_038e: Unknown result type (might be due to invalid IL or missing references) //IL_0393: Unknown result type (might be due to invalid IL or missing references) if (hasFired) { return; } hasFired = true; succeed = false; ((EntityState)this).PlayAnimation("FullBody, Override", "ChannelCastO", "SpellCast.playbackRate", 1f, 0f); CustomParticleEnd customParticleEnd = channelVFX.AddComponent(); customParticleEnd.ParticleDuration = 0f; customParticleEnd.ParticleFadeTime = 5f; AkSoundEngine.StopPlayingID(ChannelSFX, 1, (AkCurveInterpolation)4); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.HiddenInvincibility, duration - fireTime + 1f); ((EntityState)this).characterBody.AddTimedBuff(Buffs.LimitLock, 60f); } if (!Object.op_Implicit((Object)(object)target)) { target = tracker.GetTrackingTarget(); targets = tracker.GetSecondaryTargets(); } if (!(Object.op_Implicit((Object)(object)target) | (spellComboIndex > 0))) { return; } succeed = true; MagicCastProcMethod(); if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)target)) { Ray aimRay = ((BaseState)this).GetAimRay(); EffectManager.SpawnEffect(Assets.LimitPowerWordKill, new EffectData { origin = target.healthComponent.body.footPosition + Vector3.up * 2f, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); bool flag = true; switch (target.healthComponent.body.baseNameToken) { case "BROTHER_BODY_NAME": flag = false; break; case "VOIDRAIDCRAB_BODY_NAME": flag = false; break; case "FALSESONBOSS_BODY_NAME": flag = false; break; case "SOLUSWING_BODY_NAME": flag = false; break; case "SOLUSHEART_BODY_NAME": flag = false; break; case "SCAVLUNAR1_BODY_NAME": flag = false; break; case "SCAVLUNAR2_BODY_NAME": flag = false; break; case "SCAVLUNAR3_BODY_NAME": flag = false; break; case "SCAVLUNAR4_BODY_NAME": flag = false; break; } NetMessageExtensions.Send((INetMessage)(object)new MystTargetEffect { attacker = ((Component)((EntityState)this).characterBody).gameObject, target = ((Component)target.healthComponent.body).gameObject, isHealing = false, potencyPercentile = (flag ? 200f : 35f), ProcCoeficient = -500f, isCrit = false, damageTypeEffect = DamageTypeCombo.op_Implicit(DamageTypeCombo.GenericSpecial) }, (NetworkDestination)2); } } private void FlavourText() { if (((EntityState)this).isAuthority) { int num = new Random().Next(responses.Length); NetMessageExtensions.Send((INetMessage)(object)new MystTextBoxSync { characterBody = ((Component)((EntityState)this).characterBody).gameObject, text = responses[num], textDuration = 5f }, (NetworkDestination)1); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class Pyroclasm : BaseMagiciteSkill { public static float baseMagicCost = 0f; public static int baseLimitCost = Config.pyroclasmCost.Value; public static float baseDuration = 14f; private float currentMagicCost = baseMagicCost; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private MystTracker tracker; private HurtBox target; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -100f); private CameraParamsOverrideHandle camOverrideHandle; private bool succeed = false; public override void OnEnter() { //IL_014d: Unknown result type (might be due to invalid IL or missing references) //IL_01fc: Unknown result type (might be due to invalid IL or missing references) //IL_0201: Unknown result type (might be due to invalid IL or missing references) //IL_020d: 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_0226: Unknown result type (might be due to invalid IL or missing references) //IL_0231: Unknown result type (might be due to invalid IL or missing references) //IL_023d: Unknown result type (might be due to invalid IL or missing references) //IL_0242: Unknown result type (might be due to invalid IL or missing references) //IL_0247: Unknown result type (might be due to invalid IL or missing references) //IL_0266: Expected O, but got Unknown base.OnEnter(); succeed = WildMagicCast || passiveManager.ResourceCost(currentMagicCost, baseLimitCost); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } tracker = ((EntityState)this).GetComponent(); target = tracker.GetTrackingTarget(); ((EntityState)this).fixedAge = 0f; hasFired = false; duration = baseDuration; fireTime = 11.75f; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); passiveManager = ((EntityState)this).GetComponent(); passiveManager.isLimitBreaking = true; ((EntityState)this).PlayAnimation("FullBody, Override", "PyroclasmSequence", "", 0.5f, 0f); ((EntityState)this).PlayAnimation("Camera", "Pyroclasm Camera"); passiveManager.cameraTime = 14f; if (Object.op_Implicit((Object)(object)passiveManager.cinematicCam)) { passiveManager.cinematicCam.entryLerpDuration = 1.5f; passiveManager.cinematicCam.exitLerpDuration = 3f; } ((BaseState)this).StartAimMode(((BaseState)this).GetAimRay(), duration, true); ((EntityState)this).characterBody.outOfCombatStopwatch = -14f; animator.SetBool("attacking", true); ((Behaviour)((EntityState)this).characterMotor).enabled = false; ((Behaviour)((EntityState)this).characterDirection).enabled = false; if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.HiddenInvincibility, duration + 9f); ((EntityState)this).characterBody.AddTimedBuff(Buffs.LimitLock, duration + 20f); } ((EntityState)this).characterBody.disablingHurtBoxes = true; if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.LimitPyroclasm, new EffectData { origin = ((EntityState)this).characterBody.transform.position + new Vector3(0f, -1f, 0f), rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } public override void OnExit() { //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) base.OnExit(); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; if (Object.op_Implicit((Object)(object)animator)) { animator.SetBool("attacking", true); } ((Behaviour)((EntityState)this).characterMotor).enabled = true; ((Behaviour)((EntityState)this).characterDirection).enabled = true; ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 1f); passiveManager.isLimitBreaking = false; } public override void FixedUpdate() { base.FixedUpdate(); if (!succeed) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_0058: Unknown result type (might be due to invalid IL or missing references) //IL_005d: 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_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0076: 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_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: 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_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Expected O, but got Unknown //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Invalid comparison between I4 and Unknown //IL_0166: 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) if (hasFired) { return; } hasFired = true; if (!succeed) { return; } MagicCastProcMethod(); if (!NetworkServer.active) { return; } DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject, damage = 0f, force = Vector3.zero, crit = false, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)262210) | DamageTypeCombo.GenericSpecial), inflictor = null, position = (Object.op_Implicit((Object)(object)target) ? ((Component)target).transform.position : ((EntityState)this).transform.position), procChainMask = default(ProcChainMask), procCoefficient = 0f }; for (int i = -10; i < 20; i++) { if ((sbyte)i == (int)((BaseState)this).GetTeam()) { continue; } ReadOnlyCollection teamMembers = TeamComponent.GetTeamMembers((TeamIndex)(sbyte)i); for (int num = teamMembers.Count - 1; num >= 0; num--) { TeamComponent val2 = teamMembers[num]; CharacterBody component = ((Component)val2).gameObject.GetComponent(); if (Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)component.healthComponent)) { val.damage = component.healthComponent.fullCombinedHealth * 1.5f; val.position = component.corePosition; component.healthComponent.TakeDamage(val); } } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)9; } } public class WildMagicSurge : BaseMagiciteSkill { public static float baseMagicCost = 0f; public static int baseLimitCost = Config.wildMagicCost.Value; public static float baseDuration = 0.65f; private float currentMagicCost = baseMagicCost; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private MystTracker tracker; private Transform muzzle; private bool succeed = false; private bool succeedCost = false; public override void OnEnter() { base.OnEnter(); succeedCost = passiveManager.ResourceCost(currentMagicCost, baseLimitCost); if (!succeedCost) { ((EntityState)this).outer.SetNextStateToMain(); return; } tracker = ((EntityState)this).GetComponent(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = ((spellComboIndex > 0) ? (1f / ((BaseState)this).attackSpeedStat / 5f) : (1f / ((BaseState)this).attackSpeedStat)); duration = baseDuration * num; fireTime = 0.6f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); MagicSupportMethod(); ((EntityState)this).PlayAnimation("Gesture, Override", "SwordCastU", "SpellCast.playbackRate", 1f * num, 0f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); } private void MagicSupportMethod() { currentMagicCost = baseMagicCost * (1f + 0.2f * (float)MagTurbo + -0.1f * (float)MagThrift) + (float)Mathf.Max((MagUse > 0) ? (11 + -1 * MagUse) : 0, 0) + Mathf.Max((MagKill > 0) ? (11f + -1f * (float)MagKill) : 0f, 0f); } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } private void MagicSyphonMethod() { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority) { ((EntityState)this).healthComponent.Heal(currentMagicCost / 25f * (float)MagHsyphon * ((EntityState)this).characterBody.damage, default(ProcChainMask), true); passiveManager.GrantNetworkedLimit(currentMagicCost / 50f * (float)MagLsyphon); } } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (!succeedCost) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { if (succeed) { MystRandomSpellCast(new Random()); } else { ((EntityState)this).outer.SetNextStateToMain(); } } } private void Fire() { //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Expected O, but got Unknown if (hasFired) { return; } hasFired = true; succeed = false; if (spellComboIndex > 0 || succeedCost) { succeed = true; MagicCastProcMethod(); MagicSyphonMethod(); if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.LimitWildMagic, new EffectData { origin = ((EntityState)this).characterBody.footPosition, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f }, true); } WildMagicSurgeEffect(); } } private void WildMagicSurgeEffect() { if (NetworkServer.active) { Random random = new Random(); if (random.Next(3) != 0) { TrueRandom(random); } else { MystSpecific(random); } } } private void TrueRandom(Random random) { switch (random.Next(2)) { default: Chat.AddMessage("WildMagicTrueRandomFailed"); break; case 0: RandomTargetEffect(random); break; case 1: RandomSummonEffect(random); break; } } private void RandomTargetEffect(Random random, int effectedTargets = 0) { //IL_01e7: Unknown result type (might be due to invalid IL or missing references) //IL_01ec: Unknown result type (might be due to invalid IL or missing references) //IL_01f3: Unknown result type (might be due to invalid IL or missing references) //IL_01ff: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0212: 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_0218: Unknown result type (might be due to invalid IL or missing references) //IL_021d: Unknown result type (might be due to invalid IL or missing references) //IL_021f: Unknown result type (might be due to invalid IL or missing references) //IL_0224: Unknown result type (might be due to invalid IL or missing references) //IL_022f: Unknown result type (might be due to invalid IL or missing references) //IL_0235: Unknown result type (might be due to invalid IL or missing references) //IL_023b: Unknown result type (might be due to invalid IL or missing references) //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_0246: Unknown result type (might be due to invalid IL or missing references) //IL_0248: Unknown result type (might be due to invalid IL or missing references) //IL_024d: 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_025d: Expected O, but got Unknown //IL_0437: Unknown result type (might be due to invalid IL or missing references) //IL_043c: Unknown result type (might be due to invalid IL or missing references) //IL_043f: Unknown result type (might be due to invalid IL or missing references) //IL_044a: Unknown result type (might be due to invalid IL or missing references) //IL_0458: Unknown result type (might be due to invalid IL or missing references) //IL_0460: 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_046a: Unknown result type (might be due to invalid IL or missing references) //IL_047b: Expected O, but got Unknown //IL_048c: Unknown result type (might be due to invalid IL or missing references) //IL_0497: Unknown result type (might be due to invalid IL or missing references) //IL_04da: Unknown result type (might be due to invalid IL or missing references) //IL_04e0: Unknown result type (might be due to invalid IL or missing references) //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_0546: Unknown result type (might be due to invalid IL or missing references) //IL_0551: Unknown result type (might be due to invalid IL or missing references) bool flag = false; List list = new List(); switch (random.Next(3)) { default: Chat.AddMessage("RandomTargetEffectFailed"); break; case 0: list.Add(((EntityState)this).characterBody.mainHurtBox); effectedTargets += 5; break; case 1: { ReadOnlyCollection teamMembers4 = TeamComponent.GetTeamMembers((TeamIndex)1); foreach (TeamComponent item in teamMembers4) { if (random.Next(2) == 0) { list.Add(item.body.mainHurtBox); } } break; } case 2: { ReadOnlyCollection teamMembers = TeamComponent.GetTeamMembers((TeamIndex)2); ReadOnlyCollection teamMembers2 = TeamComponent.GetTeamMembers((TeamIndex)3); ReadOnlyCollection teamMembers3 = TeamComponent.GetTeamMembers((TeamIndex)4); foreach (TeamComponent item2 in teamMembers) { if (random.Next(2) == 0) { list.Add(item2.body.mainHurtBox); } } foreach (TeamComponent item3 in teamMembers2) { if (random.Next(2) == 0) { list.Add(item3.body.mainHurtBox); } } foreach (TeamComponent item4 in teamMembers3) { if (random.Next(2) == 0) { list.Add(item4.body.mainHurtBox); } } break; } } int num = random.Next(3); float num2 = (float)random.Next(11) * ((BaseState)this).damageStat; DamageInfo val = new DamageInfo { damage = num2, attacker = ((EntityState)this).gameObject, inflictor = ((EntityState)this).gameObject, crit = false, damageType = DamageTypeCombo.GenericSpecial, damageColorIndex = (DamageColorIndex)0, procCoefficient = 0f, procChainMask = default(ProcChainMask), force = Vector3.zero, dotIndex = (DotIndex)(-1), canRejectForce = true, rejected = false }; bool flag2 = random.Next(2) == 0; List list2 = new List(); if (flag2) { int num3 = random.Next(5) + 1; for (int i = 0; i < num3; i++) { list2.Add(BuffCatalog.buffDefs[random.Next(BuffCatalog.buffDefs.Length - 1)]); } } bool flag3 = random.Next(2) == 0; int num4 = 0; int num5 = 0; int num6 = 0; int num7 = 0; int num8 = 0; int num9 = 0; int num10 = 0; int num11 = 0; int num12 = 0; int num13 = 0; if (flag3) { switch (random.Next(3)) { case 0: num4 = random.Next(100); break; case 1: num5 = random.Next(100); break; } switch (random.Next(3)) { case 0: num6 = random.Next(100); break; case 1: num7 = random.Next(100); break; } switch (random.Next(3)) { case 0: num8 = random.Next(100); break; case 1: num9 = random.Next(100); break; } switch (random.Next(3)) { case 0: num10 = random.Next(100); break; case 1: num11 = random.Next(100); break; } switch (random.Next(3)) { case 0: num12 = random.Next(100); break; case 1: num13 = random.Next(100); break; } } float num14 = (float)random.Next(60) + 10f; foreach (HurtBox item5 in list) { CharacterBody body = item5.healthComponent.body; effectedTargets++; EffectManager.SpawnEffect(Assets.LimitWildMagic, new EffectData { origin = body.footPosition, rootObject = ((Component)body).gameObject, rotation = body.transform.rotation, scale = 1f }, true); if (num != 3) { if (item5.teamIndex != ((EntityState)this).teamComponent.teamIndex) { val.position = ((Component)item5).transform.position; item5.healthComponent.TakeDamage(val); flag = true; } else { item5.healthComponent.Heal(num2, default(ProcChainMask), true); flag = true; } } if (flag2) { foreach (BuffDef item6 in list2) { body.AddTimedBuff(item6, num14); flag = true; } } if (!flag3) { continue; } flag = true; if (item5.teamIndex == ((EntityState)this).teamComponent.teamIndex) { if (num4 > 0) { AddStackedTimedBuff(body, Buffs.MystArmorPlus, num14, num4); } if (num6 > 0) { AddStackedTimedBuff(body, Buffs.MystASPlus, num14, num6); } if (num8 > 0) { AddStackedTimedBuff(body, Buffs.MystDamagePlus, num14, num8); } if (num10 > 0) { AddStackedTimedBuff(body, Buffs.MystMSPlus, num14, num10); } if (num12 > 0) { AddStackedTimedBuff(body, Buffs.MystRegenPlus, num14, num12); } } else { if (num5 > 0) { AddStackedTimedBuff(body, Buffs.MystArmorMinus, num14, num5); } if (num7 > 0) { AddStackedTimedBuff(body, Buffs.MystASMinus, num14, num7); } if (num9 > 0) { AddStackedTimedBuff(body, Buffs.MystDamageMinus, num14, num9); } if (num11 > 0) { AddStackedTimedBuff(body, Buffs.MystMSMinus, num14, num11); } if (num13 > 0) { AddStackedTimedBuff(body, Buffs.MystRegenMinus, num14, num13); } } } if (!flag || effectedTargets <= 3) { RandomTargetEffect(random, flag ? effectedTargets : 0); } } private unsafe void RandomSummonEffect(Random random) { //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0107: Unknown result type (might be due to invalid IL or missing references) //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: 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_00ab: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) GameObject gameObject = ((Component)MasterCatalog.aiMasterPrefabs[random.Next(MasterCatalog.aiMasterPrefabs.Length - 1)]).gameObject; GameObject val = Object.Instantiate(gameObject, ((EntityState)this).transform.position, Quaternion.identity); CharacterMaster component = val.GetComponent(); component.teamIndex = ((EntityState)this).teamComponent.teamIndex; component.inventory.SetEquipmentIndex(EquipmentCatalog.equipmentDefs[random.Next(EquipmentCatalog.equipmentDefs.Length - 1)].equipmentIndex, false); if (random.Next(2) == 0) { int num = random.Next(10) + 1; for (int i = 0; i < num; i++) { component.inventory.GiveItemPermanent(((ItemDef)Unsafe.Read((void*)ItemCatalog.allItemDefs[random.Next(ItemCatalog.allItemDefs.Length)])).itemIndex, 1); } } NetworkServer.Spawn(val); component.SpawnBody(((EntityState)this).transform.position + ((EntityState)this).characterBody.transform.forward * 5f, Quaternion.identity); CharacterBody body = component.GetBody(); switch (random.Next(3)) { case 0: AddStackedBuff(body, Buffs.MystArmorPlus, random.Next(100) + 1); break; case 1: AddStackedBuff(body, Buffs.MystArmorMinus, random.Next(100) + 1); break; } switch (random.Next(3)) { case 0: AddStackedBuff(body, Buffs.MystASPlus, random.Next(100) + 1); break; case 1: AddStackedBuff(body, Buffs.MystASMinus, random.Next(100) + 1); break; } switch (random.Next(3)) { case 0: AddStackedBuff(body, Buffs.MystDamagePlus, random.Next(100) + 1); break; case 1: AddStackedBuff(body, Buffs.MystDamageMinus, random.Next(100) + 1); break; } switch (random.Next(3)) { case 0: AddStackedBuff(body, Buffs.MystMSPlus, random.Next(100) + 1); break; case 1: AddStackedBuff(body, Buffs.MystMSMinus, random.Next(100) + 1); break; } switch (random.Next(3)) { case 0: AddStackedBuff(body, Buffs.MystRegenPlus, random.Next(100) + 1); break; case 1: AddStackedBuff(body, Buffs.MystRegenMinus, random.Next(100) + 1); break; } } private void AddStackedBuff(CharacterBody characterBody, BuffDef buffDef, int stacks) { for (int i = 0; i < stacks; i++) { characterBody.AddBuff(buffDef); } } private void AddStackedTimedBuff(CharacterBody characterBody, BuffDef buffDef, float duration, int stacks) { for (int i = 0; i < stacks; i++) { characterBody.AddTimedBuff(buffDef, duration); } } private void MystSpecific(Random random) { if (random.Next(1) != 0) { Chat.AddMessage("WildMagicTrueRandomFailed"); } else { MystResource(random); } } private void MystResource(Random random) { //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) bool flag = false; switch (random.Next(3)) { default: Chat.AddMessage("WildMagicResourceBreak"); break; case 0: NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)((EntityState)this).characterBody.master).netId, Magic = random.Next(Mathf.CeilToInt(passiveManager.magicMAX)) }, (NetworkDestination)1); break; case 1: NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)((EntityState)this).characterBody.master).netId, Magic = -111.0 }, (NetworkDestination)1); break; case 2: flag = true; break; } if (flag || random.Next(2) == 0) { passiveManager.GrantNetworkedLimit(random.Next(301)); } } private void MystRandomSpellCast(Random random) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) resetAfterCast = false; NetMessageExtensions.Send((INetMessage)(object)new MystNetworkComponent { networkMasterID = ((NetworkBehaviour)((EntityState)this).characterBody.master).netId, randomSkill = true }, (NetworkDestination)1); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class Zoom : BaseMagiciteSkill { public static float baseMagicCost = 0f; public static int baseLimitCost = Config.zoomCost.Value; public static float baseDuration = 1.5f; private float currentMagicCost = baseMagicCost; private float duration; private float fireTime; private float transitionTime; private bool hasFired = false; private Animator animator; private MystTracker tracker; private Transform muzzle; private bool succeed = false; private bool succeedCost = false; private SceneDef[] ValidScenes() { return (SceneDef[])(object)new SceneDef[4] { SceneCatalog.GetSceneDefFromSceneName("arena"), SceneCatalog.GetSceneDefFromSceneName("artifactworld"), SceneCatalog.GetSceneDefFromSceneName("bazaar"), SceneCatalog.GetSceneDefFromSceneName("goldshores") }; } public override void OnEnter() { base.OnEnter(); succeedCost = passiveManager.ResourceCost(currentMagicCost, baseLimitCost); if (!succeedCost) { ((EntityState)this).outer.SetNextStateToMain(); return; } tracker = ((EntityState)this).GetComponent(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f; duration = baseDuration; fireTime = 0.4f; transitionTime = 9999f; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); MagicSupportMethod(); ((EntityState)this).PlayAnimation("Gesture, Override", "SwordCastU", "SpellCast.playbackRate", 1f * num, 0f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); } private void MagicSupportMethod() { currentMagicCost = baseMagicCost * (1f + 0.2f * (float)MagTurbo + -0.1f * (float)MagThrift) + (float)Mathf.Max((MagUse > 0) ? (11 + -1 * MagUse) : 0, 0) + Mathf.Max((MagKill > 0) ? (11f + -1f * (float)MagKill) : 0f, 0f); } private void MagicCastProcMethod() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown if (MagUse > 0) { GlobalEventManager.instance.OnInteractionBegin(((EntityState)this).gameObject.GetComponent(), passiveManager.interactable, ((Component)((EntityState)this).characterBody).gameObject); } if (NetworkServer.active && MagKill > 0) { DamageInfo val = new DamageInfo { attacker = ((EntityState)this).gameObject }; GameObject val2 = new GameObject(); val2.transform.position = ((EntityState)this).transform.position; HealthComponent val3 = val2.AddComponent(); DamageReport val4 = new DamageReport(val, val3, 1f, ((EntityState)this).healthComponent.combinedHealth); GlobalEventManager.instance.OnCharacterDeath(val4); EntityState.Destroy((Object)(object)val2); } } private void MagicSyphonMethod() { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority) { ((EntityState)this).healthComponent.Heal(currentMagicCost / 25f * (float)MagHsyphon * ((EntityState)this).characterBody.damage, default(ProcChainMask), true); passiveManager.GrantNetworkedLimit(currentMagicCost / 50f * (float)MagLsyphon); } } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (!succeedCost) { ((EntityState)this).outer.SetNextStateToMain(); return; } if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= transitionTime) { StageTransition(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: 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_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00e9: Unknown result type (might be due to invalid IL or missing references) //IL_00ea: Unknown result type (might be due to invalid IL or missing references) //IL_00ef: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_010a: Expected O, but got Unknown if (hasFired) { return; } hasFired = true; succeed = false; if (spellComboIndex <= 0 && !succeedCost) { return; } succeed = true; MagicCastProcMethod(); MagicSyphonMethod(); transitionTime = 0.8f; foreach (TeamComponent teamMember in TeamComponent.GetTeamMembers(((BaseState)this).GetTeam())) { CharacterBody body = teamMember.body; if (Object.op_Implicit((Object)(object)body)) { if (NetworkServer.active) { body.AddTimedBuff(Buffs.HiddenInvincibility, 5f); } if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.LimitZoom, new EffectData { origin = body.transform.position, rootObject = ((Component)body).gameObject, rotation = Quaternion.Euler(Vector3.zero), scale = 1f }, true); } if (Object.op_Implicit((Object)(object)body.modelLocator) && Object.op_Implicit((Object)(object)body.modelLocator.modelTransform)) { ((Component)body.modelLocator.modelTransform).gameObject.SetActive(false); } if (Object.op_Implicit((Object)(object)body.characterMotor)) { ((Behaviour)body.characterMotor).enabled = false; } } } } private void StageTransition() { if (NetworkServer.active) { Random random = new Random(); if (random.Next(0, 10) == 0) { RandomStage(random); } else { Stage.instance.BeginAdvanceStage(Run.instance.nextStageScene); } } } private void RandomStage(Random random) { SceneDef[] array = ValidScenes(); SceneDef val = array[random.Next(array.Length)]; if (Object.op_Implicit((Object)(object)val.requiredExpansion) && !Run.instance.IsExpansionEnabled(val.requiredExpansion)) { RandomStage(random); return; } if ((Object)(object)val == (Object)(object)SceneCatalog.GetSceneDefFromSceneName("artifactworld")) { ArtifactTrialMissionController.trialArtifact = ArtifactCatalog.artifactDefs[random.Next(ArtifactCatalog.artifactDefs.Length - 1)]; } Stage.instance.BeginAdvanceStage(val); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)9; } } } namespace MystMod.SkillStates.Myst.Finishers { public class BladeDance : BaseMagiciteSkill { public static float baseDamageCoefficient = Config.bladeDanceDamage.Value; public static float baseRadius = 5f; public static float procCoefficient = Config.bladeDanceProc.Value; public static float baseDuration = 3f; public static float baseInterval = Config.bladeDanceInterval.Value; public static float glideSpeedCoefficient = 0.5f; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private BlastAttack blastAttack; private float interval = 0.2f; private float intervalTimer; private uint BladeDanceSFX = 0u; private GameObject SlashingVFX; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -13f); private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(0f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; private CameraParamsOverrideHandle camOverrideHandle; public override void OnEnter() { //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_009e: 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_00b0: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration; fireTime = 0.05f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, fireTime + 0.1f); ((EntityState)this).PlayAnimation("FullBody, Override", "SpintinueEnter", "Slash.playbackRate", 0.5f, 0f); ((BaseState)this).StartAimMode(0f, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); interval = baseInterval * num; intervalTimer = -50f; } public override void OnExit() { //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) AkSoundEngine.StopPlayingID(BladeDanceSFX, 1, (AkCurveInterpolation)4); ((EntityState)this).PlayAnimation("FullBody, Override", "SpintinueExit", "Slash.playbackRate", 0.6f, 0f); ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 1f); base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); CutMove(); } if (hasFired) { intervalTimer -= Time.fixedDeltaTime; if (intervalTimer <= 0f) { CutSlash(); } } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void CutSlash() { //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) intervalTimer = interval; if (((EntityState)this).isAuthority) { blastAttack.position = ((EntityState)this).characterBody.transform.position; Result val = blastAttack.Fire(); if (val.hitCount > 0) { ((BaseState)this).SmallHop(((EntityState)this).characterMotor, 0.1f / ((BaseState)this).attackSpeedStat); float num = 1f; ((BaseState)this).AddRecoil(-1f * num, -2f * num, -0.5f * num, 0.5f * num); } } } private void CutMove() { //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0058: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_012f: Unknown result type (might be due to invalid IL or missing references) //IL_0134: Unknown result type (might be due to invalid IL or missing references) //IL_013e: Unknown result type (might be due to invalid IL or missing references) //IL_0143: Unknown result type (might be due to invalid IL or missing references) //IL_0148: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)((EntityState)this).characterDirection)) { if (Object.op_Implicit((Object)(object)((EntityState)this).inputBank) && ((EntityState)this).inputBank.jump.down) { ((EntityState)this).characterDirection.moveVector = ((EntityState)this).inputBank.moveVector; float num = ((BaseState)this).moveSpeedStat * glideSpeedCoefficient; float num2 = ((EntityState)this).characterMotor.rootMotion.y + num * Time.fixedDeltaTime; ((EntityState)this).characterMotor.velocity.y = MathF.Max(((EntityState)this).characterMotor.velocity.y, 0f); ((EntityState)this).characterMotor.rootMotion.y = Mathf.Clamp(num2, 0f, num); } if (((Vector3)(ref ((EntityState)this).inputBank.moveVector)).magnitude > 0.01f) { float num3 = SlideState.forwardSpeedCoefficientCurve.Evaluate(((EntityState)this).fixedAge / 6f); num3 = Mathf.Max(num3, 0.5f); CharacterMotor characterMotor = ((EntityState)this).characterMotor; characterMotor.rootMotion += num3 / 4f * ((BaseState)this).moveSpeedStat * ((EntityState)this).characterDirection.forward * Time.fixedDeltaTime; } } } private void Fire() { //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_0106: 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_011b: Unknown result type (might be due to invalid IL or missing references) //IL_0120: 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_0143: Unknown result type (might be due to invalid IL or missing references) //IL_0148: Unknown result type (might be due to invalid IL or missing references) //IL_014e: Unknown result type (might be due to invalid IL or missing references) //IL_0153: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) //IL_015d: 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_0164: 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_0170: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0181: Unknown result type (might be due to invalid IL or missing references) //IL_0186: Unknown result type (might be due to invalid IL or missing references) //IL_018c: Unknown result type (might be due to invalid IL or missing references) //IL_0192: Unknown result type (might be due to invalid IL or missing references) //IL_019d: Unknown result type (might be due to invalid IL or missing references) //IL_01a4: 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_01af: Unknown result type (might be due to invalid IL or missing references) //IL_01b4: Unknown result type (might be due to invalid IL or missing references) //IL_01bb: Unknown result type (might be due to invalid IL or missing references) //IL_01c0: Unknown result type (might be due to invalid IL or missing references) //IL_01ca: Expected O, but got Unknown if (!hasFired) { hasFired = true; intervalTimer = -5f; SlashingVFX = Object.Instantiate(Assets.FinisherBladeDance, ((EntityState)this).characterBody.modelLocator.modelBaseTransform.position, ((EntityState)this).characterBody.modelLocator.modelBaseTransform.rotation, ((EntityState)this).modelLocator.modelBaseTransform); CustomParticleEnd customParticleEnd = SlashingVFX.AddComponent(); customParticleEnd.ParticleDuration = duration - fireTime; customParticleEnd.ParticleFadeTime = 5f; BladeDanceSFX = Util.PlaySound("Finisher_BladeDance", ((EntityState)this).gameObject); if (((EntityState)this).isAuthority) { float radius = baseRadius * (1f + (float)MagAll * 0.2f); blastAttack = new BlastAttack { attacker = ((EntityState)this).gameObject, baseDamage = ((EntityState)this).characterBody.damage * currentDamageCoefficient, baseForce = 0f, bonusForce = new Vector3(0f, 0f, 0f), crit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)131072) | DamageTypeCombo.GenericPrimary), falloffModel = (FalloffModel)0, inflictor = null, position = ((EntityState)this).characterBody.transform.position, procChainMask = default(ProcChainMask), procCoefficient = 1f, radius = radius, impactEffect = EffectCatalog.FindEffectIndexFromPrefab(Assets.FinisherBladeDanceHit), teamIndex = TeamComponent.GetObjectTeam(((EntityState)this).gameObject) }; } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class BladeDanceOLD : BaseMagiciteSkill { public static float baseDamageCoefficient = Config.bladeDanceDamage.Value; public static float baseRadius = 5f; public static float procCoefficient = Config.bladeDanceProc.Value; public static float baseDuration = 3f; public static float baseInterval = Config.bladeDanceInterval.Value; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private BlastAttack blastAttack; private float interval = 0.2f; private float intervalTimer; private bool startedstategrounded; private Vector3 forwardDirection; private Vector3 upwardDirection; private uint BladeDanceSFX = 0u; private GameObject SlashingVFX; public override void OnEnter() { base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration; fireTime = 0.05f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "SpintinueEnter", "Slash.playbackRate", 0.5f, 0f); ((BaseState)this).StartAimMode(0f, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); interval = baseInterval * num; intervalTimer = -50f; if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor)) { startedstategrounded = ((EntityState)this).characterMotor.isGrounded; } } public override void OnExit() { AkSoundEngine.StopPlayingID(BladeDanceSFX, 1, (AkCurveInterpolation)4); base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); CutMove(); } if (hasFired) { intervalTimer -= Time.fixedDeltaTime; if (intervalTimer <= 0f) { CutSlash(); } } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).PlayAnimation("FullBody, Override", "SpintinueExit", "Slash.playbackRate", 0.6f, 0f); ((EntityState)this).outer.SetNextStateToMain(); } } private void CutSlash() { //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) intervalTimer = interval; if (((EntityState)this).isAuthority) { blastAttack.position = ((EntityState)this).characterBody.transform.position; blastAttack.Fire(); } } private void CutMove() { //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0101: Unknown result type (might be due to invalid IL or missing references) //IL_011f: 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_012e: Unknown result type (might be due to invalid IL or missing references) //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_0138: 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_016f: Unknown result type (might be due to invalid IL or missing references) //IL_0174: Unknown result type (might be due to invalid IL or missing references) //IL_017e: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Unknown result type (might be due to invalid IL or missing references) //IL_0188: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Unknown result type (might be due to invalid IL or missing references) if (!((EntityState)this).isAuthority) { return; } if (Object.op_Implicit((Object)(object)((EntityState)this).inputBank) && Object.op_Implicit((Object)(object)((EntityState)this).characterDirection)) { ((EntityState)this).characterDirection.moveVector = ((EntityState)this).inputBank.moveVector; forwardDirection = ((EntityState)this).characterDirection.forward; } if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor)) { float num; if (startedstategrounded) { num = SlideState.forwardSpeedCoefficientCurve.Evaluate(((EntityState)this).fixedAge / 6f); CharacterMotor characterMotor = ((EntityState)this).characterMotor; characterMotor.rootMotion += num / 4f * ((BaseState)this).moveSpeedStat * forwardDirection * Time.fixedDeltaTime; return; } num = SlideState.forwardSpeedCoefficientCurve.Evaluate(((EntityState)this).fixedAge / 1.5f); ((EntityState)this).characterMotor.velocity.y = 0f; CharacterMotor characterMotor2 = ((EntityState)this).characterMotor; characterMotor2.rootMotion += num / 3f * ((BaseState)this).moveSpeedStat * ((EntityState)this).characterBody.transform.up * Time.fixedDeltaTime; num = SlideState.forwardSpeedCoefficientCurve.Evaluate(((EntityState)this).fixedAge / 6f); CharacterMotor characterMotor3 = ((EntityState)this).characterMotor; characterMotor3.rootMotion += num / 6f * ((BaseState)this).moveSpeedStat * forwardDirection * Time.fixedDeltaTime; } } private void Fire() { //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_0106: 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_011b: Unknown result type (might be due to invalid IL or missing references) //IL_0120: 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_0143: Unknown result type (might be due to invalid IL or missing references) //IL_0148: Unknown result type (might be due to invalid IL or missing references) //IL_014e: Unknown result type (might be due to invalid IL or missing references) //IL_0153: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) //IL_015d: 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_0164: 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_0170: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0181: Unknown result type (might be due to invalid IL or missing references) //IL_0186: Unknown result type (might be due to invalid IL or missing references) //IL_018c: Unknown result type (might be due to invalid IL or missing references) //IL_0192: Unknown result type (might be due to invalid IL or missing references) //IL_019d: Unknown result type (might be due to invalid IL or missing references) //IL_01a4: 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_01af: Unknown result type (might be due to invalid IL or missing references) //IL_01b4: Unknown result type (might be due to invalid IL or missing references) //IL_01bb: Unknown result type (might be due to invalid IL or missing references) //IL_01c0: Unknown result type (might be due to invalid IL or missing references) //IL_01ca: Expected O, but got Unknown if (!hasFired) { hasFired = true; intervalTimer = -5f; SlashingVFX = Object.Instantiate(Assets.FinisherBladeDance, ((EntityState)this).characterBody.modelLocator.modelBaseTransform.position, ((EntityState)this).characterBody.modelLocator.modelBaseTransform.rotation, ((EntityState)this).modelLocator.modelBaseTransform); CustomParticleEnd customParticleEnd = SlashingVFX.AddComponent(); customParticleEnd.ParticleDuration = duration - fireTime; customParticleEnd.ParticleFadeTime = 5f; BladeDanceSFX = Util.PlaySound("Finisher_BladeDance", ((EntityState)this).gameObject); if (((EntityState)this).isAuthority) { float radius = baseRadius * (1f + (float)MagAll * 0.2f); blastAttack = new BlastAttack { attacker = ((EntityState)this).gameObject, baseDamage = ((EntityState)this).characterBody.damage * currentDamageCoefficient, baseForce = 0f, bonusForce = new Vector3(0f, 0f, 0f), crit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)131072) | DamageTypeCombo.GenericPrimary), falloffModel = (FalloffModel)0, inflictor = null, position = ((EntityState)this).characterBody.transform.position, procChainMask = default(ProcChainMask), procCoefficient = 1f, radius = radius, impactEffect = EffectCatalog.FindEffectIndexFromPrefab(Assets.FinisherBladeDanceHit), teamIndex = TeamComponent.GetObjectTeam(((EntityState)this).gameObject) }; } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class ChallengingShout : BaseMagiciteSkill { public static float baseDamageCoefficient = 0f; public static float baseRadius = 20f; public static float procCoefficient = Config.challengingShoutProc.Value; public static float baseDuration = 0.8f; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private bool succeed = false; private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(1f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -20f); private CameraParamsOverrideHandle camOverrideHandle; public override void OnEnter() { //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: Unknown result type (might be due to invalid IL or missing references) //IL_0106: Unknown result type (might be due to invalid IL or missing references) //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_0118: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.45f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty", "", 1f, 0f); ((EntityState)this).PlayAnimation("Gesture, Override", "SwordCastO", "Slash.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, fireTime / 2f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Slow50, duration); } } public override void OnExit() { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) base.OnExit(); ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 2f); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_007e: 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_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0093: 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_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_0100: Unknown result type (might be due to invalid IL or missing references) //IL_0105: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_012c: Unknown result type (might be due to invalid IL or missing references) //IL_0138: Unknown result type (might be due to invalid IL or missing references) //IL_0143: Unknown result type (might be due to invalid IL or missing references) //IL_0155: Unknown result type (might be due to invalid IL or missing references) //IL_0161: Unknown result type (might be due to invalid IL or missing references) //IL_0166: 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_018a: Expected O, but got Unknown if (!hasFired) { hasFired = true; if (((EntityState)this).isAuthority) { float radius = baseRadius * (1f + (float)MagAll * 0.2f); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = -3000f, bonusForce = new Vector3(0f, -1000f, 0f), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)16416) | DamageTypeCombo.GenericPrimary), damageValue = ((EntityState)this).characterBody.damage * currentDamageCoefficient, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = radius, position = ((EntityState)this).characterBody.transform.position, impactEffect = null, blastDelay = 0f }); EffectManager.SpawnEffect(Assets.FinisherChallengingShout, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rootObject = ((Component)((EntityState)this).characterBody).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class DarkPassenger : BaseMagiciteSkill { public static float baseDamage = Config.darkPassengerDamage.Value; public static float baseRange = 24f; public static float baseRadius = 3f; public static float procCoefficient = Config.darkPassengerProc.Value; public static float baseDuration = 1f; private float currentDamageCoefficient = baseDamage; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private bool succeed = false; public override void OnEnter() { //IL_00be: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.5f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "HelmBreaker", "Slash.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); ((BaseState)this).StartAimMode(((BaseState)this).GetAimRay(), duration * 0.8f, true); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); Util.PlaySound("Finisher_DarkPassengerBuildUp", ((EntityState)this).gameObject); ((Behaviour)((EntityState)this).characterDirection).enabled = false; if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Slow50, duration * 0.8f); } } public override void OnExit() { base.OnExit(); ((Behaviour)((EntityState)this).characterDirection).enabled = true; } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0040: 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_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_007f: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: 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_011b: Unknown result type (might be due to invalid IL or missing references) //IL_0153: 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_0165: Unknown result type (might be due to invalid IL or missing references) //IL_016a: Unknown result type (might be due to invalid IL or missing references) //IL_0171: 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_017e: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Unknown result type (might be due to invalid IL or missing references) //IL_0188: Unknown result type (might be due to invalid IL or missing references) //IL_01d9: 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_020d: Unknown result type (might be due to invalid IL or missing references) //IL_0245: Unknown result type (might be due to invalid IL or missing references) //IL_0246: Unknown result type (might be due to invalid IL or missing references) //IL_0257: Unknown result type (might be due to invalid IL or missing references) //IL_025c: Unknown result type (might be due to invalid IL or missing references) //IL_0263: Unknown result type (might be due to invalid IL or missing references) //IL_026b: Unknown result type (might be due to invalid IL or missing references) //IL_0270: Unknown result type (might be due to invalid IL or missing references) //IL_0275: Unknown result type (might be due to invalid IL or missing references) //IL_027a: Unknown result type (might be due to invalid IL or missing references) //IL_02cb: Unknown result type (might be due to invalid IL or missing references) //IL_02fa: Unknown result type (might be due to invalid IL or missing references) //IL_02ff: Unknown result type (might be due to invalid IL or missing references) //IL_0325: Unknown result type (might be due to invalid IL or missing references) //IL_032a: Unknown result type (might be due to invalid IL or missing references) //IL_0336: Unknown result type (might be due to invalid IL or missing references) //IL_0341: 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_0349: Unknown result type (might be due to invalid IL or missing references) //IL_034e: Unknown result type (might be due to invalid IL or missing references) //IL_0353: Unknown result type (might be due to invalid IL or missing references) //IL_0372: Expected O, but got Unknown if (!hasFired) { hasFired = true; if (((EntityState)this).isAuthority) { float radius = baseRadius; Ray aimray = default(Ray); ((Ray)(ref aimray))..ctor(((EntityState)this).characterBody.corePosition, ((EntityState)this).inputBank.aimDirection); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBeamDamage { attacker = ((EntityState)this).gameObject, Aimray = aimray, baseForce = 0f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericPrimary), moddedDamageType = 1, damageValue = ((EntityState)this).characterBody.damage * (currentDamageCoefficient / 6f), isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, range = baseRange, radius = radius, position = ((EntityState)this).characterBody.transform.position, impactEffect = Assets.FinisherDarkPassengerImpact, blastDelay = 0f }); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBeamDamage { attacker = ((EntityState)this).gameObject, Aimray = aimray, baseForce = 0f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericPrimary), moddedDamageType = 1, damageValue = ((EntityState)this).characterBody.damage * (currentDamageCoefficient / 6f), isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, range = baseRange, radius = radius, position = ((EntityState)this).characterBody.transform.position, impactEffect = Assets.FinisherDarkPassengerImpact, blastDelay = 0.1f }); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBeamDamage { attacker = ((EntityState)this).gameObject, Aimray = aimray, baseForce = 0f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericPrimary), moddedDamageType = 1, damageValue = ((EntityState)this).characterBody.damage * (currentDamageCoefficient / 1.5f), isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, range = baseRange, radius = radius, position = ((EntityState)this).characterBody.transform.position, impactEffect = Assets.FinisherDarkPassengerImpact, blastDelay = 0.2f }); EffectManager.SpawnEffect(Assets.FinisherDarkPassenger, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = Quaternion.LookRotation(((Ray)(ref aimray)).direction), scale = 1f + (float)MagAll * 0.2f }, true); ((Behaviour)((EntityState)this).characterDirection).enabled = true; } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class Explosion : BaseMagiciteSkill { public static float baseDamageCoefficient = Config.explosionDamage.Value; public static float baseRadius = 6f; public static float procCoefficient = Config.explosionProc.Value; public static float baseDuration = 0.8f; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private bool succeed = false; public override void OnEnter() { base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.45f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "HelmBreaker", "Slash.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); } } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_007f: 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_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0093: 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_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Unknown result type (might be due to invalid IL or missing references) //IL_0110: Unknown result type (might be due to invalid IL or missing references) //IL_0177: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Unknown result type (might be due to invalid IL or missing references) //IL_018e: Unknown result type (might be due to invalid IL or missing references) //IL_0193: Unknown result type (might be due to invalid IL or missing references) //IL_0198: Unknown result type (might be due to invalid IL or missing references) //IL_019d: Unknown result type (might be due to invalid IL or missing references) //IL_01e7: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0210: Unknown result type (might be due to invalid IL or missing references) //IL_0236: Unknown result type (might be due to invalid IL or missing references) //IL_023b: Unknown result type (might be due to invalid IL or missing references) //IL_0247: Unknown result type (might be due to invalid IL or missing references) //IL_0252: Unknown result type (might be due to invalid IL or missing references) //IL_025e: Unknown result type (might be due to invalid IL or missing references) //IL_0263: Unknown result type (might be due to invalid IL or missing references) //IL_0268: Unknown result type (might be due to invalid IL or missing references) //IL_0287: Expected O, but got Unknown if (hasFired) { return; } hasFired = true; if (((EntityState)this).isAuthority) { float radius = baseRadius * (1f + (float)MagAll * 0.2f); for (int i = 0; i < 3; i++) { OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = -100f, bonusForce = new Vector3(0f, 0f, 0f), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericPrimary), damageValue = ((EntityState)this).characterBody.damage * currentDamageCoefficient / 6f, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = radius, position = ((EntityState)this).characterBody.transform.position, impactEffect = Assets.FinisherExplosionImpact, blastDelay = 0.1f * (float)i }); } OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = 1000f, bonusForce = new Vector3(0f, 1500f, 0f), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)131072) | DamageTypeCombo.GenericPrimary), damageValue = ((EntityState)this).characterBody.damage * currentDamageCoefficient / 2f, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = radius, position = ((EntityState)this).characterBody.transform.position, impactEffect = Assets.FinisherExplosionImpact, blastDelay = 0.3f }); EffectManager.SpawnEffect(Assets.FinisherExplosion, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class FatedCircle : BaseMagiciteSkill { public static float baseSlashDamageCoefficient = Config.fatedCircleSlashDamage.Value; public static float baseExplosionDamageCoefficient = Config.fatedCircleBlastDamage.Value; public static float baseSlashRadius = 4.5f; public static float baseExplosionRadius = 6f; public static float procCoefficient = Config.fatedCircleProc.Value; public static float baseDuration = 1f; private float currentSlashDamageCoefficient = baseSlashDamageCoefficient; private float currentExplosionDamageCoefficient = baseExplosionDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private bool succeed = false; public override void OnEnter() { base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.4f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "SpinAttack", "Slash.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Slow50, duration); } } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_007c: Unknown result type (might be due to invalid IL or missing references) //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_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_015f: 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_0176: Unknown result type (might be due to invalid IL or missing references) //IL_017b: Unknown result type (might be due to invalid IL or missing references) //IL_0180: Unknown result type (might be due to invalid IL or missing references) //IL_0185: Unknown result type (might be due to invalid IL or missing references) //IL_01c9: Unknown result type (might be due to invalid IL or missing references) //IL_01ed: Unknown result type (might be due to invalid IL or missing references) //IL_01f2: Unknown result type (might be due to invalid IL or missing references) //IL_020d: Unknown result type (might be due to invalid IL or missing references) //IL_0212: Unknown result type (might be due to invalid IL or missing references) //IL_021e: Unknown result type (might be due to invalid IL or missing references) //IL_0229: Unknown result type (might be due to invalid IL or missing references) //IL_0235: Unknown result type (might be due to invalid IL or missing references) //IL_023a: Unknown result type (might be due to invalid IL or missing references) //IL_023f: Unknown result type (might be due to invalid IL or missing references) //IL_025e: Expected O, but got Unknown if (!hasFired) { hasFired = true; if (((EntityState)this).isAuthority) { float radius = baseSlashRadius * (1f + (float)MagAll * 0.2f); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = -1100f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericPrimary), damageValue = ((EntityState)this).characterBody.damage * currentSlashDamageCoefficient, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = radius, position = ((EntityState)this).characterBody.transform.position, impactEffect = Assets.MystBasicImpact, blastDelay = 0f }); radius = baseExplosionRadius * (1f + (float)MagAll * 0.2f); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = 1500f, bonusForce = new Vector3(0f, 1500f, 0f), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)131072) | DamageTypeCombo.GenericPrimary), damageValue = ((EntityState)this).characterBody.damage * currentExplosionDamageCoefficient, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = radius, position = ((EntityState)this).characterBody.transform.position, blastDelay = 1f }); EffectManager.SpawnEffect(Assets.FinisherFatedCircle, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class FrostFangs : BaseMagiciteSkill { public static float baseDamageCoefficient = Config.frostFangsDamage.Value; public static float baseSlashRadius = 4.5f; public static float baseExplosionRadius = 6f; public static float procCoefficient = Config.frostFangsProc.Value; public static float baseDuration = 1f; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private bool succeed = false; public override void OnEnter() { base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.4f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "SwordCastU", "SpellCast.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); } } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0077: 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_0087: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: 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_013f: Unknown result type (might be due to invalid IL or missing references) //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_0150: 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_0167: Unknown result type (might be due to invalid IL or missing references) //IL_016c: Unknown result type (might be due to invalid IL or missing references) //IL_0171: Unknown result type (might be due to invalid IL or missing references) //IL_0190: Expected O, but got Unknown if (hasFired) { return; } hasFired = true; if (((EntityState)this).isAuthority) { float radius = baseSlashRadius * (1f + (float)MagAll * 0.2f); for (int i = 0; i < 6; i++) { OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = 0f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)256) | DamageTypeCombo.GenericPrimary), damageValue = ((EntityState)this).characterBody.damage * currentDamageCoefficient / 6f, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = radius, position = ((EntityState)this).characterBody.transform.position, impactEffect = Assets.SpellConeOfFrostImpact, blastDelay = 0.1f * (float)i }); } EffectManager.SpawnEffect(Assets.FinisherFrostFangs, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class HandOfGod : BaseMagiciteSkill { public static float baseDamageCoefficient = 10f; public static float baseSlashRadius = 2f; public static float baseExplosionRadius = 6f; public static float procCoefficient = 1f; public static float baseDuration = 1.5f; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private bool succeed = false; public override void OnEnter() { //IL_0124: Unknown result type (might be due to invalid IL or missing references) //IL_0129: Unknown result type (might be due to invalid IL or missing references) //IL_0135: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Unknown result type (might be due to invalid IL or missing references) //IL_014d: 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_015e: Unknown result type (might be due to invalid IL or missing references) //IL_0163: Unknown result type (might be due to invalid IL or missing references) //IL_0182: Expected O, but got Unknown base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.4f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "ChannelCastU", "SpellCast.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); ((BaseState)this).StartAimMode(0.4f + duration, true); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Slow50, duration); } if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.FinisherHandOfGodBuild, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rootObject = ((EntityState)this).gameObject, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: 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_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_0132: Unknown result type (might be due to invalid IL or missing references) //IL_0161: Unknown result type (might be due to invalid IL or missing references) //IL_0166: Unknown result type (might be due to invalid IL or missing references) //IL_0188: Unknown result type (might be due to invalid IL or missing references) //IL_018d: Unknown result type (might be due to invalid IL or missing references) //IL_0199: Unknown result type (might be due to invalid IL or missing references) //IL_01a4: Unknown result type (might be due to invalid IL or missing references) //IL_01b0: Unknown result type (might be due to invalid IL or missing references) //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_01d9: Expected O, but got Unknown if (!hasFired) { hasFired = true; ((EntityState)this).PlayAnimation("FullBody, Override", "ChannelCastF", "SpellCast.playbackRate", Mathf.Max(0.1f, 1f * (1f / ((BaseState)this).attackSpeedStat)), 0f); if (((EntityState)this).isAuthority) { float radius = baseSlashRadius * (1f + (float)MagAll * 0.2f); Ray aimray = default(Ray); ((Ray)(ref aimray))..ctor(((EntityState)this).characterBody.corePosition, ((EntityState)this).characterDirection.forward); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBeamDamage { attacker = ((EntityState)this).gameObject, Aimray = aimray, baseForce = 0f, bonusForce = Vector3.zero, damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericPrimary), moddedDamageType = 1, damageValue = ((EntityState)this).characterBody.damage * (currentDamageCoefficient / 6f), isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, range = 4f, radius = radius, position = ((EntityState)this).characterBody.transform.position, impactEffect = null, blastDelay = 0f }); EffectManager.SpawnEffect(Assets.FinisherHandOfGodRelease, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class JudgementCut : BaseMagiciteSkill { public static float baseDamageCoefficient = Config.judgementCutDamage.Value; public static float baseRadius = 11f; public static float procCoefficient = Config.judgementCutProc.Value; public static float baseDuration = 0.8f; public static float baseInterval = Config.judgementCutInterval.Value; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private BlastAttack blastAttack; private float interval = 0.2f; private float intervalTimer; private bool succeed = false; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -20f); private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(1f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; private CameraParamsOverrideHandle camOverrideHandle; public override void OnEnter() { //IL_00b0: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00be: 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_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00e5: Unknown result type (might be due to invalid IL or missing references) //IL_00ea: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration; fireTime = 0.1f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "Jump", "", 1f, 0f); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, fireTime / 10f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); interval = baseInterval * num; intervalTimer = -50f; if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); ((EntityState)this).characterBody.AddTimedBuff(Buffs.HiddenInvincibility, duration); } } public override void OnExit() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) base.OnExit(); ((EntityState)this).PlayAnimation("FullBody, Override", "IdleIn", "", 1f, 0f); ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 2f); CharacterBody characterBody = ((EntityState)this).characterBody; if (Object.op_Implicit((Object)(object)characterBody.characterMotor)) { ((Behaviour)characterBody.characterMotor).enabled = true; characterBody.characterMotor.velocity.y = 0f; } } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (hasFired) { intervalTimer -= Time.fixedDeltaTime; if (intervalTimer <= 0f) { CutSlash(); } } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void CutSlash() { //IL_001e: Unknown result type (might be due to invalid IL or missing references) intervalTimer = interval; if (((EntityState)this).isAuthority) { blastAttack.Fire(); } } private void Fire() { //IL_007c: Unknown result type (might be due to invalid IL or missing references) //IL_0081: 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_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Expected O, but got Unknown //IL_00ea: Unknown result type (might be due to invalid IL or missing references) //IL_00ef: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_011e: Unknown result type (might be due to invalid IL or missing references) //IL_012e: Unknown result type (might be due to invalid IL or missing references) //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_0138: 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_015b: Unknown result type (might be due to invalid IL or missing references) //IL_0160: Unknown result type (might be due to invalid IL or missing references) //IL_0166: 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_0170: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Unknown result type (might be due to invalid IL or missing references) //IL_017a: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0181: Unknown result type (might be due to invalid IL or missing references) //IL_0188: Unknown result type (might be due to invalid IL or missing references) //IL_0194: Unknown result type (might be due to invalid IL or missing references) //IL_0199: Unknown result type (might be due to invalid IL or missing references) //IL_019e: Unknown result type (might be due to invalid IL or missing references) //IL_01a4: 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_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01bd: Unknown result type (might be due to invalid IL or missing references) //IL_01c3: Unknown result type (might be due to invalid IL or missing references) //IL_01c8: 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_01d9: Unknown result type (might be due to invalid IL or missing references) //IL_01e3: Expected O, but got Unknown if (!hasFired) { hasFired = true; intervalTimer = -5f; CharacterBody characterBody = ((EntityState)this).characterBody; if (Object.op_Implicit((Object)(object)characterBody.characterMotor)) { ((Behaviour)characterBody.characterMotor).enabled = false; } ((EntityState)this).PlayAnimation("FullBody, Override", "Vanish", "Slash.playbackRate", 1f, 0f); if (((EntityState)this).isAuthority) { EffectManager.SpawnEffect(Assets.FinisherJudgementCut, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); float radius = baseRadius * (1f + (float)MagAll * 0.2f); blastAttack = new BlastAttack { attacker = ((EntityState)this).gameObject, baseDamage = ((EntityState)this).characterBody.damage * currentDamageCoefficient, baseForce = 0f, bonusForce = new Vector3(0f, 0f, 0f), crit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)131072) | DamageTypeCombo.GenericPrimary), falloffModel = (FalloffModel)0, inflictor = null, position = ((EntityState)this).characterBody.transform.position, procChainMask = default(ProcChainMask), procCoefficient = 1f, radius = radius, impactEffect = EffectCatalog.FindEffectIndexFromPrefab(Assets.FinisherJudgementHit), teamIndex = TeamComponent.GetObjectTeam(((EntityState)this).gameObject) }; } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class RippleDrive : BaseMagiciteSkill { public static float baseDamageCoefficient = Config.rippleDriveDamage.Value; public static float baseRadius = 18f; public static float procCoefficient = Config.rippleDriveProc.Value; public static float baseDuration = 0.8f; private float currentDamageCoefficient = baseDamageCoefficient; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private bool succeed = false; private CharacterCameraParamsData limitCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(1f), idealLocalCameraPos = BlendableVector3.op_Implicit(limitCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; public static Vector3 limitCameraPosition = new Vector3(0f, 0f, -20f); private CameraParamsOverrideHandle camOverrideHandle; public override void OnEnter() { //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00e6: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.45f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "UpperSlash", "Slash.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = limitCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, fireTime / 2f); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); } } public override void OnExit() { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) base.OnExit(); ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 2f); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_007e: 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_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0093: 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_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_0100: Unknown result type (might be due to invalid IL or missing references) //IL_0105: 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_0114: Unknown result type (might be due to invalid IL or missing references) //IL_0119: Unknown result type (might be due to invalid IL or missing references) //IL_013f: Unknown result type (might be due to invalid IL or missing references) //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_0150: 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_0167: Unknown result type (might be due to invalid IL or missing references) //IL_016c: Unknown result type (might be due to invalid IL or missing references) //IL_0171: Unknown result type (might be due to invalid IL or missing references) //IL_0190: Expected O, but got Unknown if (!hasFired) { hasFired = true; if (((EntityState)this).isAuthority) { float radius = baseRadius * (1f + (float)MagAll * 0.2f); OrbManager.instance.AddOrb((Orb)(object)new MystDelayBlastDamage { attacker = ((EntityState)this).gameObject, baseForce = 1000f, bonusForce = new Vector3(0f, 1500f, 0f), damageColorIndex = (DamageColorIndex)0, damageType = (DamageTypeCombo.op_Implicit((DamageType)16777216) | DamageTypeCombo.GenericPrimary), damageValue = ((EntityState)this).characterBody.damage * currentDamageCoefficient, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), procChainMask = default(ProcChainMask), procCoefficient = procCoefficient, radius = radius, position = ((EntityState)this).characterBody.transform.position + Vector3.up * 4.5f, impactEffect = Assets.FinisherExplosionImpact, blastDelay = 0f }); EffectManager.SpawnEffect(Assets.FinisherRippleDrive, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } public class Shillelagh : BaseMagiciteSkill { public static float baseDamageCoefficient = Config.shillelaghBaseDamage.Value; public static float baseAplifiedDamageCoefficient = Config.shillelaghBoostDamage.Value; public static float manaRestorePercentage = Config.shillelaghMagicRestore.Value; public static float baseRadius = 3f; public static float procCoefficient = Config.shillelaghProc.Value; public static float baseDuration = 0.8f; private float duration; private float fireTime; private bool hasFired = false; private Animator animator; private Transform muzzle; private bool succeed = false; public override void OnEnter() { base.OnEnter(); ((EntityState)this).fixedAge = 0f; hasFired = false; float num = 1f / ((BaseState)this).attackSpeedStat; duration = baseDuration * num; fireTime = 0.45f * duration; ((EntityState)this).characterBody.SetAimTimer(2f); animator = ((EntityState)this).GetModelAnimator(); muzzle = ((Component)animator).gameObject.GetComponent().FindChild("SwordTipLeft"); passiveManager = ((EntityState)this).GetComponent(); ((EntityState)this).PlayAnimation("FullBody, Override", "HelmBreaker", "SpellCast.playbackRate", Mathf.Max(0.1f, 1f * num), 0f); ((BaseState)this).StartAimMode(0.4f + duration, true); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); if (NetworkServer.active) { ((EntityState)this).characterBody.AddTimedBuff(Buffs.Entangle, duration); } } public override void OnExit() { base.OnExit(); } public override void FixedUpdate() { base.FixedUpdate(); if (((EntityState)this).fixedAge >= fireTime) { Fire(); } if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void Fire() { //IL_01c1: Unknown result type (might be due to invalid IL or missing references) //IL_01cc: Unknown result type (might be due to invalid IL or missing references) //IL_01d6: 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_01e7: Unknown result type (might be due to invalid IL or missing references) //IL_01f3: Unknown result type (might be due to invalid IL or missing references) //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //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_0203: Unknown result type (might be due to invalid IL or missing references) //IL_020e: 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_0225: Unknown result type (might be due to invalid IL or missing references) //IL_0230: Unknown result type (might be due to invalid IL or missing references) //IL_023b: Unknown result type (might be due to invalid IL or missing references) //IL_023d: Unknown result type (might be due to invalid IL or missing references) //IL_0242: 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_024f: Unknown result type (might be due to invalid IL or missing references) //IL_0255: 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_0260: Unknown result type (might be due to invalid IL or missing references) //IL_0265: Unknown result type (might be due to invalid IL or missing references) //IL_027c: Unknown result type (might be due to invalid IL or missing references) //IL_027f: Unknown result type (might be due to invalid IL or missing references) //IL_0284: Unknown result type (might be due to invalid IL or missing references) //IL_0289: Unknown result type (might be due to invalid IL or missing references) //IL_028e: 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_029e: Unknown result type (might be due to invalid IL or missing references) //IL_02a9: Unknown result type (might be due to invalid IL or missing references) //IL_02ca: Unknown result type (might be due to invalid IL or missing references) //IL_02d7: Expected O, but got Unknown //IL_02e9: Unknown result type (might be due to invalid IL or missing references) //IL_02f3: Expected O, but got Unknown //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0083: 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_0091: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00b3: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_00e8: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_0107: Unknown result type (might be due to invalid IL or missing references) //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0143: 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_015e: Unknown result type (might be due to invalid IL or missing references) //IL_016a: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Unknown result type (might be due to invalid IL or missing references) //IL_0181: Unknown result type (might be due to invalid IL or missing references) //IL_0186: Unknown result type (might be due to invalid IL or missing references) //IL_018b: Unknown result type (might be due to invalid IL or missing references) //IL_01aa: 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_033d: Unknown result type (might be due to invalid IL or missing references) //IL_0348: Unknown result type (might be due to invalid IL or missing references) //IL_0354: 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_035e: Unknown result type (might be due to invalid IL or missing references) //IL_037d: Expected O, but got Unknown if (hasFired) { return; } hasFired = true; if (!NetworkServer.active) { return; } if (!passiveManager.magicRecharge) { Ray val = default(Ray); ((Ray)(ref val))..ctor(((EntityState)this).characterBody.corePosition, ((EntityState)this).characterDirection.forward); new BulletAttack { owner = ((EntityState)this).gameObject, weapon = ((EntityState)this).gameObject, origin = ((Ray)(ref val)).origin, aimVector = ((Ray)(ref val)).direction, maxDistance = 7f, minSpread = 0f, maxSpread = 0f, radius = baseRadius, falloffModel = (FalloffModel)0, smartCollision = false, stopperMask = default(LayerMask), hitMask = ((LayerIndex)(ref LayerIndex.entityPrecise)).mask, damage = ((EntityState)this).characterBody.damage * baseDamageCoefficient, damageType = DamageTypeCombo.op_Implicit((DamageType)32), procCoefficient = procCoefficient, force = 0f, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), hitEffectPrefab = Assets.MystBasicImpact }.Fire(); EffectManager.SpawnEffect(Assets.FinisherShillelaghDull, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); return; } Ray val2 = default(Ray); ((Ray)(ref val2))..ctor(((EntityState)this).characterBody.corePosition, ((EntityState)this).characterDirection.forward); BulletAttack val3 = new BulletAttack { owner = ((EntityState)this).gameObject, weapon = ((EntityState)this).gameObject, origin = ((Ray)(ref val2)).origin, aimVector = ((Ray)(ref val2)).direction, maxDistance = 8f, minSpread = 0f, maxSpread = 0f, radius = baseRadius, falloffModel = (FalloffModel)0, smartCollision = false, stopperMask = default(LayerMask), hitMask = ((LayerIndex)(ref LayerIndex.entityPrecise)).mask, damage = ((EntityState)this).characterBody.damage * baseAplifiedDamageCoefficient, damageType = (DamageTypeCombo.op_Implicit((DamageType)32) | DamageTypeCombo.GenericPrimary), procCoefficient = procCoefficient, force = 0f, isCrit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master), hitEffectPrefab = Assets.FinisherShillelaghHit }; bool didHit = false; val3.hitCallback = (HitCallback)delegate(BulletAttack bulletAttack1, ref BulletHit info) { return didHit = BulletAttack.defaultHitCallback.Invoke(bulletAttack1, ref info); }; val3.Fire(); if (didHit) { passiveManager.GrantNetworkedMagic(passiveManager.magicMAX * manaRestorePercentage); } EffectManager.SpawnEffect(Assets.FinisherShillelaghFull, new EffectData { origin = ((EntityState)this).characterBody.transform.position, rotation = ((EntityState)this).characterDirection.targetTransform.rotation, scale = 1f + (float)MagAll * 0.2f }, true); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)2; } } } namespace MystMod.SkillStates.Emotes { public class BaseEmote : BaseState { public string soundString; public string animString; public float duration; public float animDuration; public bool normalizeModel; private uint activePlayID; private float initialTime; private Animator animator; private ChildLocator childLocator; public LocalUser localUser; public override void OnEnter() { ((BaseState)this).OnEnter(); animator = ((EntityState)this).GetModelAnimator(); childLocator = ((EntityState)this).GetModelChildLocator(); localUser = LocalUserManager.readOnlyLocalUsersList[0]; ((EntityState)this).characterBody.hideCrosshair = true; if (Object.op_Implicit((Object)(object)((EntityState)this).GetAimAnimator())) { ((Behaviour)((EntityState)this).GetAimAnimator()).enabled = false; } animator.SetLayerWeight(animator.GetLayerIndex("AimPitch"), 0f); animator.SetLayerWeight(animator.GetLayerIndex("AimYaw"), 0f); if (animDuration == 0f && duration != 0f) { animDuration = duration; } if (duration > 0f) { ((EntityState)this).PlayAnimation("FullBody, Override", animString, "Emote.playbackRate", duration, 0f); } else { ((EntityState)this).PlayAnimation("FullBody, Override", animString, "Emote.playbackRate", animDuration, 0f); } ((EntityState)this).fixedAge = 0f; activePlayID = Util.PlaySound(soundString, ((EntityState)this).gameObject); if (normalizeModel && Object.op_Implicit((Object)(object)((EntityState)this).modelLocator)) { ((EntityState)this).modelLocator.normalizeToFloor = true; } initialTime = Time.fixedTime; } public override void OnExit() { ((EntityState)this).OnExit(); ((EntityState)this).characterBody.hideCrosshair = false; if (Object.op_Implicit((Object)(object)((EntityState)this).GetAimAnimator())) { ((Behaviour)((EntityState)this).GetAimAnimator()).enabled = true; } if (Object.op_Implicit((Object)(object)animator)) { animator.SetLayerWeight(animator.GetLayerIndex("AimPitch"), 1f); animator.SetLayerWeight(animator.GetLayerIndex("AimYaw"), 1f); } if (normalizeModel && Object.op_Implicit((Object)(object)((EntityState)this).modelLocator)) { ((EntityState)this).modelLocator.normalizeToFloor = false; } ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty"); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); if (activePlayID != 0) { AkSoundEngine.StopPlayingID(activePlayID); } } public override void FixedUpdate() { //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: Unknown result type (might be due to invalid IL or missing references) //IL_00f2: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).FixedUpdate(); bool flag = false; if (((EntityState)this).isAuthority) { if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor)) { if (!((EntityState)this).characterMotor.isGrounded) { flag = true; } if (((EntityState)this).characterMotor.velocity != Vector3.zero) { flag = true; } } if (Object.op_Implicit((Object)(object)((EntityState)this).inputBank)) { if (((EntityState)this).inputBank.skill1.down) { flag = true; } if (((EntityState)this).inputBank.skill2.down) { flag = true; } if (((EntityState)this).inputBank.skill3.down) { flag = true; } if (((EntityState)this).inputBank.skill4.down) { flag = true; } if (((EntityState)this).inputBank.jump.down) { flag = true; } if (((EntityState)this).inputBank.moveVector != Vector3.zero) { flag = true; } } if (duration > 0f && ((EntityState)this).fixedAge >= duration) { flag = true; } } if (Object.op_Implicit((Object)(object)animator)) { animator.SetBool("inCombat", true); } if (flag) { ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)0; } } public class MystTaunt : BaseEmote { public override void OnEnter() { animString = "Myst_Taunt"; animDuration = 1.4f; soundString = "Misc_Taunt_RandomJingle"; base.OnEnter(); } } } namespace MystMod.SkillStates.BaseStates { public class BaseMeleeAttack : BaseMagiciteSkill { public int swingIndex; protected string hitboxName = "Sword"; protected DamageType damageType = (DamageType)0; protected float damageCoefficient = 3.5f; protected float procCoefficient = 1f; protected float pushForce = 300f; protected Vector3 bonusForce = Vector3.zero; protected float baseDuration = 1f; protected float attackStartTime = 0.2f; protected float attackEndTime = 0.4f; protected float baseEarlyExitTime = 0.4f; protected float hitStopDuration = 0.012f; protected float attackRecoil = 0.75f; protected float hitHopVelocity = 4f; protected float hitHopVelocityYaxisCorrector = 8f; protected bool cancelled = false; protected string swingSoundString = ""; protected string hitSoundString = ""; protected string muzzleString = "SwingCenter"; protected GameObject swingEffectPrefab; protected GameObject hitEffectPrefab; protected NetworkSoundEventIndex impactSound; protected string swingAnimString = ""; protected float swingAnimSpeed = 1f; private float earlyExitTime; public float duration; private bool hasFired; private float hitPauseTimer; protected OverlapAttack attack; protected bool inHitPause; private bool hasHopped; protected float stopwatch; protected Animator animator; private HitStopCachedState hitStopCachedState; private Vector3 storedVelocity; public override void OnEnter() { //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Expected O, but got Unknown //IL_00d4: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0157: Unknown result type (might be due to invalid IL or missing references) //IL_015c: Unknown result type (might be due to invalid IL or missing references) base.OnEnter(); stopwatch = 0f; duration = baseDuration / ((BaseState)this).attackSpeedStat; earlyExitTime = baseEarlyExitTime / ((BaseState)this).attackSpeedStat; hasFired = false; animator = ((EntityState)this).GetModelAnimator(); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); HitBoxGroup hitBoxGroup = null; Transform modelTransform = ((EntityState)this).GetModelTransform(); if (Object.op_Implicit((Object)(object)modelTransform)) { hitBoxGroup = Array.Find(((Component)modelTransform).GetComponents(), (HitBoxGroup element) => element.groupName == hitboxName); } PlayAttackAnimation(swingAnimString, swingAnimSpeed); attack = new OverlapAttack(); attack.damageType = DamageTypeCombo.op_Implicit(damageType); attack.attacker = ((EntityState)this).gameObject; attack.inflictor = ((EntityState)this).gameObject; attack.teamIndex = ((BaseState)this).GetTeam(); attack.damage = damageCoefficient * ((BaseState)this).damageStat; attack.procCoefficient = procCoefficient; attack.hitEffectPrefab = hitEffectPrefab; attack.forceVector = bonusForce; attack.pushAwayForce = pushForce; attack.hitBoxGroup = hitBoxGroup; attack.isCrit = ((BaseState)this).RollCrit(); } protected virtual void PlayAttackAnimation() { } public virtual void PlayAttackAnimation(string AttackAnimation, float AnimationSpeed) { ((EntityState)this).PlayCrossfade("Gesture, Override", AttackAnimation, "Slash.playbackRate", Mathf.Max(0.1f, duration / AnimationSpeed), 0.05f); } public override void OnExit() { if (!hasFired && !cancelled) { FireAttack(); } base.OnExit(); animator.SetBool("attacking", false); } protected virtual void PlaySwingEffect() { EffectManager.SimpleMuzzleFlash(swingEffectPrefab, ((EntityState)this).gameObject, muzzleString, true); } protected virtual void OnHitEnemyAuthority() { //IL_0110: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_012d: Unknown result type (might be due to invalid IL or missing references) //IL_0132: 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_0092: Unknown result type (might be due to invalid IL or missing references) Util.PlaySound(hitSoundString, ((EntityState)this).gameObject); if (!hasHopped) { if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) && !((EntityState)this).characterMotor.isGrounded && hitHopVelocity > 0f) { MystTracker component = ((EntityState)this).GetComponent(); HurtBox val = null; if (Object.op_Implicit((Object)(object)component)) { val = component.GetTrackingTarget(); } if (Object.op_Implicit((Object)(object)val) && ((Component)val).transform.position.y > ((EntityState)this).characterBody.corePosition.y) { ((BaseState)this).SmallHop(((EntityState)this).characterMotor, hitHopVelocityYaxisCorrector / ((BaseState)this).attackSpeedStat); } else { ((BaseState)this).SmallHop(((EntityState)this).characterMotor, hitHopVelocity / ((BaseState)this).attackSpeedStat); } } hasHopped = true; } if (!inHitPause && hitStopDuration > 0f) { storedVelocity = ((EntityState)this).characterMotor.velocity; hitStopCachedState = ((BaseState)this).CreateHitStopCachedState(((EntityState)this).characterMotor, animator, "Slash.playbackRate"); hitPauseTimer = hitStopDuration / ((BaseState)this).attackSpeedStat; inHitPause = true; } } protected virtual void FireAttack() { if (!hasFired) { hasFired = true; Util.PlayAttackSpeedSound(swingSoundString, ((EntityState)this).gameObject, ((BaseState)this).attackSpeedStat); if (((EntityState)this).isAuthority) { PlaySwingEffect(); ((BaseState)this).AddRecoil(-1f * attackRecoil, -2f * attackRecoil, -0.5f * attackRecoil, 0.5f * attackRecoil); } } if (((EntityState)this).isAuthority && attack.Fire((List)null)) { OnHitEnemyAuthority(); } } protected virtual void SetNextState() { int num = ((swingIndex == 0) ? 1 : 0); ((EntityState)this).outer.SetNextState((EntityState)(object)new BaseMeleeAttack { swingIndex = num }); } public override void FixedUpdate() { //IL_0037: Unknown result type (might be due to invalid IL or missing references) //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_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) base.FixedUpdate(); hitPauseTimer -= Time.fixedDeltaTime; if (hitPauseTimer <= 0f && inHitPause) { ((BaseState)this).ConsumeHitStopCachedState(hitStopCachedState, ((EntityState)this).characterMotor, animator); inHitPause = false; ((EntityState)this).characterMotor.velocity = storedVelocity; } if (!inHitPause) { stopwatch += Time.fixedDeltaTime; } else { if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor)) { ((EntityState)this).characterMotor.velocity = Vector3.zero; } if (Object.op_Implicit((Object)(object)animator)) { animator.SetFloat("Swing.playbackRate", 0f); } } if (stopwatch >= duration * attackStartTime && stopwatch <= duration * attackEndTime) { FireAttack(); } if (stopwatch >= duration - earlyExitTime && ((EntityState)this).isAuthority && ((EntityState)this).inputBank.skill1.down) { if (!hasFired) { FireAttack(); } SetNextState(); } else if (stopwatch >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) return (InterruptPriority)1; } public override void OnSerialize(NetworkWriter writer) { base.OnSerialize(writer); writer.Write(swingIndex); } public override void OnDeserialize(NetworkReader reader) { base.OnDeserialize(reader); swingIndex = reader.ReadInt32(); } } } namespace MystMod.Modules { internal static class Assets { internal static AssetBundle mainAssetBundle; internal static GameObject MystHuD; internal static GameObject MystMenu; internal static GameObject MystCursor; internal static GameObject MystIntEnt; internal static GameObject MystItemInfoBox; internal static GameObject MystBasicSwing; internal static GameObject FinisherFatedCircle; internal static GameObject FinisherExplosion; internal static GameObject FinisherExplosionImpact; internal static GameObject FinisherDarkPassenger; internal static GameObject FinisherDarkPassengerImpact; internal static GameObject FinisherRippleDrive; internal static GameObject FinisherJudgementCut; internal static GameObject FinisherJudgementHit; internal static GameObject FinisherChallengingShout; internal static GameObject FinisherBladeDance; internal static GameObject FinisherBladeDanceHit; internal static GameObject FinisherHandOfGodBuild; internal static GameObject FinisherHandOfGodRelease; internal static GameObject FinisherShillelaghDull; internal static GameObject FinisherShillelaghFull; internal static GameObject FinisherShillelaghHit; internal static GameObject FinisherFrostFangs; internal static GameObject MystBasicImpact; internal static GameObject MystBlockImpact; internal static GameObject MystParryImpact; internal static GameObject MystChannelDamage; internal static GameObject MystChannelSupport; internal static GameObject MystChannelMisc; internal static GameObject SpellFireball; internal static GameObject SpellFireballExplosion; internal static GameObject SpellConeOfFrost; internal static GameObject SpellConeOfFrostImpact; internal static GameObject SpellCallLightning; internal static GameObject SpellMagnet; internal static GameObject SpellReflenter; internal static GameObject SpellReflextend; internal static GameObject SpellReflexplosion; internal static GameObject SpellBarrier; internal static GameObject SpellHaste; internal static GameObject SpellMendWounds; internal static GameObject SpellAcidSplash; internal static GameObject SpellUltima; internal static GameObject SpellGust; internal static GameObject SpellMagicMissile; internal static GameObject SpellMagicMissileExplosion; internal static GameObject SpellViciousMockery; internal static GameObject SpellDispelMagic; internal static GameObject SpellDoomboltBlast; internal static GameObject SpellEclipseGate; internal static GameObject SpellIrresistableDance; internal static GameObject SpellCrashToDesktop; internal static GameObject LimitBlastingZone; internal static GameObject LimitPyroclasm; internal static GameObject LimitWildMagic; internal static GameObject LimitPowerWordKill; internal static GameObject LimitZoom; internal static GameObject LimitJudgementCutEnd; internal static GameObject FormchangeExit; internal static GameObject FormchangeBerserkEnter; internal static GameObject FormchangeBerserkSwordFX; internal static GameObject FormchangeBerserkRootFX; internal static GameObject FormchangeBerserkFang; internal static GameObject FormchangeBerserkReave; internal static GameObject FormchangeBerserkHit; internal static GameObject FormchangeBerserkHit2; internal static GameObject FormchangeBerserkImpact; internal static GameObject MystSynthesis; internal static GameObject MystDesynthesis; internal static GameObject MystStasis; internal static GameObject MystStasisPulse; internal static GameObject trackerPrefab; internal static GameObject trackerAllyPrefab; internal static GameObject trackerSubPrefab; internal static List networkSoundEventDefs = new List(); internal static List effectDefs = new List(); public static Shader hotpoo = LegacyResourcesAPI.Load("Shaders/Deferred/HGStandard"); public static Material commandoMat; internal static void PopulateAssets() { //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_0096: 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_009a: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Invalid comparison between Unknown and I4 if ((Object)(object)mainAssetBundle == (Object)null) { using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("MystMod.mystassetsjavangle"); mainAssetBundle = AssetBundle.LoadFromStream(stream); } using (Stream stream2 = Assembly.GetExecutingAssembly().GetManifestResourceStream("MystMod.JavAngleMystSoundBank.bnk")) { byte[] array = new byte[stream2.Length]; stream2.Read(array, 0, array.Length); SoundBanks.Add(array); } MystHuD = mainAssetBundle.LoadAsset("MystHuD"); Event currentEvent = Seasons.currentEvent; Event val = currentEvent; if ((int)val != 6) { MystMenu = mainAssetBundle.LoadAsset("Magicite Menu 2"); } else { MystMenu = (MystMenu = mainAssetBundle.LoadAsset("Magicite Menu PRIDE")); } MystCursor = mainAssetBundle.LoadAsset("MagiciteCursor"); MystIntEnt = mainAssetBundle.LoadAsset("MagiciteEntryAlternate"); MystItemInfoBox = mainAssetBundle.LoadAsset("ItemInteractionInfoBox"); MystBasicSwing = LoadEffect("MystBasicSwingVFX", "", parentToTransform: true, 0.75f); FinisherFatedCircle = LoadEffect("FatedCircleVFX", "Finisher_FatedCircle", parentToTransform: false, 5f); FinisherExplosion = LoadEffect("ExplosionVFX", "Finisher_Explosion", parentToTransform: false, 5f); FinisherExplosionImpact = LoadEffect("ExplosionImpactVFX", "Finisher_ExplosionImpact", parentToTransform: false, 5f); FinisherDarkPassenger = LoadEffect("DarkPassenger", "Finisher_DarkPassenger", parentToTransform: false, 5f); FinisherDarkPassengerImpact = LoadEffect("DarkPassengerExplosion", "", parentToTransform: false, 5f); FinisherRippleDrive = LoadEffect("RippleDrive", "Finisher_RippleDrive", parentToTransform: false, 5f); FinisherJudgementCut = LoadEffect("JudgementCut", "Finisher_JudgementCutMain", parentToTransform: false, 3f, applyScale: true); FinisherJudgementHit = LoadEffect("JudgementHit", "Finisher_JudgementCutHit"); FinisherChallengingShout = LoadEffect("ChallengingShout", "Play_item_use_gainArmor", parentToTransform: true); FinisherBladeDance = mainAssetBundle.LoadAsset("BladeDance"); FinisherBladeDanceHit = LoadEffect("BladeDanceHit", "Finisher_BladeDanceHit", parentToTransform: false, 5f); FinisherHandOfGodBuild = LoadEffect("HandOfGodBuild", "Play_merc_shift_slice", parentToTransform: true, 5f); FinisherHandOfGodRelease = LoadEffect("HandOfGodRelease", "Play_merc_shift_slice", parentToTransform: false, 5f); FinisherFrostFangs = LoadEffect("Frost Fangs", "Magic_ConeOfFrostBlast", parentToTransform: false, 5f); FinisherShillelaghDull = LoadEffect("ShillelaghDullVFX", "Attack_DashSlash", parentToTransform: false, 5f); FinisherShillelaghFull = LoadEffect("ShillelaghFullVFX", "Finisher_ShillelaghSwing", parentToTransform: false, 5f); FinisherShillelaghHit = LoadEffect("ShillelaghHitVFX", "Finisher_ShillelaghHit", parentToTransform: false, 5f); MystBasicImpact = LoadEffect("ImpactMystSlash", "Misc_HitLight", parentToTransform: false, 5f); MystBlockImpact = LoadEffect("BlockImpactVFX", "Misc_BlockImpact", parentToTransform: false, 5f); MystParryImpact = LoadEffect("ParryImpactVFX", "Misc_BlockParry", parentToTransform: true, 5f); MystChannelDamage = mainAssetBundle.LoadAsset("ChannelCastDamage"); MystChannelSupport = mainAssetBundle.LoadAsset("ChannelCastSupport"); MystChannelMisc = mainAssetBundle.LoadAsset("ChannelCastMisc"); SpellFireball = mainAssetBundle.LoadAsset("Fireball"); SpellFireballExplosion = LoadEffect("FireballExplosion", "Magic_FireballExplode"); SpellConeOfFrost = LoadEffect("Cone of Frost", "Magic_ConeOfFrostBlast"); SpellConeOfFrostImpact = LoadEffect("ConeOfFrostImpact", "Magic_ConeOfFrostHit"); SpellCallLightning = LoadEffect("Call Lightning", "Magic_CallLightningStrike"); SpellMagnet = mainAssetBundle.LoadAsset("Magnet"); SpellReflenter = LoadEffect("Reflect", "Magic_ReflectEnter", parentToTransform: true); SpellReflextend = LoadEffect("Reflextend", "Misc_BlockImpact", parentToTransform: true); SpellReflexplosion = LoadEffect("Reflexplosion", "Magic_ReflectFinisher"); SpellBarrier = LoadEffect("Barrier", "Magic_Fortify", parentToTransform: true); SpellHaste = LoadEffect("Haste", "Magic_Haste", parentToTransform: true); SpellMendWounds = LoadEffect("MendWounds", "Magic_MendWounds", parentToTransform: true); SpellAcidSplash = mainAssetBundle.LoadAsset("Acid Splash Bubble"); SpellUltima = LoadEffect("Ultima", "Magic_Ultima"); SpellGust = LoadEffect("Gust", "Magic_FireballShoot"); SpellMagicMissile = mainAssetBundle.LoadAsset("MagicMissileVFX"); SpellMagicMissileExplosion = LoadEffect("MagicMissileImpactVFX", "Magic_MagicMissileHit"); SpellViciousMockery = LoadEffect("ViciousMockeryVFX", "Magic_ViciousMockery"); SpellDispelMagic = LoadEffect("DispelMagic", "Magic_DispelMagic", parentToTransform: true); SpellDoomboltBlast = LoadEffect("DoomboltBlast", "Play_lemurianBruiser_m1_explode", parentToTransform: true); SpellEclipseGate = LoadEffect("EclipseGateVFX", "Magic_EclipseGate"); SpellIrresistableDance = LoadEffect("IrresistableDanceVFX", "", parentToTransform: false, 12f, applyScale: true); SpellCrashToDesktop = LoadEffect("CrashToDesktopVFX", "Magic_CrashToDesktop", parentToTransform: false, 4f, applyScale: true); LimitBlastingZone = LoadEffect("BlastingZone", "Limit_BlastingZone", parentToTransform: false, 25f); LimitPyroclasm = LoadEffect("Pyroclasm", "Limit_Pyroclasm", parentToTransform: false, 40f); LimitWildMagic = LoadEffect("WildMagicSurge", "Limit_WildMagic", parentToTransform: true); LimitPowerWordKill = LoadEffect("PowerWordKill", "Limit_PowerWordKill"); LimitZoom = LoadEffect("ZoomVFX", "Limit_Zoom", parentToTransform: true); LimitJudgementCutEnd = LoadEffect("JudgementCutEndLimit", "Limit_JudgementCutEnd", parentToTransform: true); FormchangeExit = LoadEffect("FormchangeExitVFX", "Misc_FormchangeExit", parentToTransform: true, 5f); FormchangeBerserkEnter = LoadEffect("BerserkFormChange", "Limit_Form_BerserkEnter", parentToTransform: false, 8f); FormchangeBerserkSwordFX = mainAssetBundle.LoadAsset("BerserkFormSwordParticle"); FormchangeBerserkRootFX = mainAssetBundle.LoadAsset("BerserkFormRootParticle"); FormchangeBerserkFang = LoadEffect("BerserkFang", "", parentToTransform: true, 0.75f); FormchangeBerserkHit = LoadEffect("BerserkCollideVFX", "Limit_Form_BerserkHit"); FormchangeBerserkReave = LoadEffect("BerserkReave", "Limit_Form_BerserkReave", parentToTransform: true, 5f); FormchangeBerserkImpact = LoadEffect("BerserkImpact", "Limit_Form_BerserkImpact", parentToTransform: false, 5f); MystSynthesis = LoadEffect("Synthesis", "Misc_Craft_Synth", parentToTransform: true); MystDesynthesis = LoadEffect("DeSynthesis", "Misc_Craft_Desynth", parentToTransform: true); MystStasis = mainAssetBundle.LoadAsset("StasisVFX"); MystStasisPulse = LoadEffect("StasisPulseVFX", "Misc_StasisExit", parentToTransform: true); trackerPrefab = mainAssetBundle.LoadAsset("MystTracker"); trackerAllyPrefab = mainAssetBundle.LoadAsset("MystTrackerAlly"); trackerSubPrefab = mainAssetBundle.LoadAsset("MystTrackerSub"); } private static GameObject CreateTracer(string originalTracerName, string newTracerName) { GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/Effects/Tracers/" + originalTracerName), newTracerName, true); if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } val.GetComponent().speed = 250f; val.GetComponent().length = 50f; AddNewEffectDef(val); return val; } internal static NetworkSoundEventDef CreateNetworkSoundEventDef(string eventName) { NetworkSoundEventDef val = ScriptableObject.CreateInstance(); val.akId = AkSoundEngine.GetIDFromString(eventName); val.eventName = eventName; networkSoundEventDefs.Add(val); return val; } internal static void ConvertAllRenderersToHopooShader(GameObject objectToConvert) { MeshRenderer[] componentsInChildren = objectToConvert.GetComponentsInChildren(); foreach (MeshRenderer val in componentsInChildren) { if (Object.op_Implicit((Object)(object)val) && Object.op_Implicit((Object)(object)((Renderer)val).material)) { ((Renderer)val).material.shader = hotpoo; ((Renderer)val).material = CreateMaterial("MystMat", 5f); } } SkinnedMeshRenderer[] componentsInChildren2 = objectToConvert.GetComponentsInChildren(); foreach (SkinnedMeshRenderer val2 in componentsInChildren2) { if (Object.op_Implicit((Object)(object)val2) && Object.op_Implicit((Object)(object)((Renderer)val2).material)) { ((Renderer)val2).material.shader = hotpoo; ((Renderer)val2).material = CreateMaterial("MystMat", 5f); } } } internal static RendererInfo[] SetupRendererInfos(GameObject obj) { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) MeshRenderer[] componentsInChildren = obj.GetComponentsInChildren(); RendererInfo[] array = (RendererInfo[])(object)new RendererInfo[componentsInChildren.Length]; for (int i = 0; i < componentsInChildren.Length; i++) { array[i] = new RendererInfo { defaultMaterial = ((Renderer)componentsInChildren[i]).material, renderer = (Renderer)(object)componentsInChildren[i], defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }; } return array; } internal static Texture LoadCharacterIcon(string characterName) { return mainAssetBundle.LoadAsset("tex" + characterName + "Icon"); } internal static GameObject LoadCrosshair(string crosshairName) { return LegacyResourcesAPI.Load("Prefabs/Crosshair/" + crosshairName + "Crosshair"); } private static GameObject LoadEffect(string resourceName) { return LoadEffect(resourceName, "", parentToTransform: false); } private static GameObject LoadEffect(string resourceName, string soundName) { return LoadEffect(resourceName, soundName, parentToTransform: false); } private static GameObject LoadEffect(string resourceName, bool parentToTransform) { return LoadEffect(resourceName, "", parentToTransform); } private static GameObject LoadEffect(string resourceName, string soundName, bool parentToTransform) { return LoadEffect(resourceName, soundName, parentToTransform, 20f); } private static GameObject LoadEffect(string resourceName, string soundName, bool parentToTransform, float effectDuration, bool applyScale = false) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) GameObject val = mainAssetBundle.LoadAsset(resourceName); val.AddComponent().duration = effectDuration; val.AddComponent(); val.AddComponent().vfxPriority = (VFXPriority)2; EffectComponent val2 = val.AddComponent(); val2.applyScale = applyScale; val2.effectIndex = (EffectIndex)(-1); val2.parentToReferencedTransform = parentToTransform; val2.positionAtReferencedTransform = true; val2.soundName = soundName; AddNewEffectDef(val, soundName); return val; } private static void AddNewEffectDef(GameObject effectPrefab) { AddNewEffectDef(effectPrefab, ""); } private static void AddNewEffectDef(GameObject effectPrefab, string soundName) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Expected O, but got Unknown EffectDef val = new EffectDef(); val.prefab = effectPrefab; val.prefabEffectComponent = effectPrefab.GetComponent(); val.prefabName = ((Object)effectPrefab).name; val.prefabVfxAttributes = effectPrefab.GetComponent(); val.spawnSoundEventName = soundName; effectDefs.Add(val); } public static Material CreateMaterial(string materialName, float emission, Color emissionColor, float normalStrength) { //IL_0077: 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) if (!Object.op_Implicit((Object)(object)commandoMat)) { commandoMat = LegacyResourcesAPI.Load("Prefabs/CharacterBodies/CommandoBody").GetComponentInChildren().baseRendererInfos[0].defaultMaterial; } Material val = Object.Instantiate(commandoMat); Material val2 = mainAssetBundle.LoadAsset(materialName); if (!Object.op_Implicit((Object)(object)val2)) { return commandoMat; } ((Object)val).name = materialName; val.SetColor("_Color", val2.GetColor("_Color")); val.SetTexture("_MainTex", val2.GetTexture("_MainTex")); val.SetColor("_EmColor", emissionColor); val.SetFloat("_EmPower", emission); val.SetTexture("_EmTex", val2.GetTexture("_EmissionMap")); val.SetFloat("_NormalStrength", normalStrength); return val; } public static Material CreateMaterial(string materialName) { return CreateMaterial(materialName, 0f); } public static Material CreateMaterial(string materialName, float emission) { //IL_0003: Unknown result type (might be due to invalid IL or missing references) return CreateMaterial(materialName, emission, Color.white); } public static Material CreateMaterial(string materialName, float emission, Color emissionColor) { //IL_0003: Unknown result type (might be due to invalid IL or missing references) return CreateMaterial(materialName, emission, emissionColor, 0f); } } public static class Buffs { internal static BuffDef LimitLock; internal static BuffDef MystFortify; internal static BuffDef MystHaste; internal static BuffDef MystReflect; internal static BuffDef TimeLock; internal static BuffDef FormchangeBerserk; internal static BuffDef MystASPlus; internal static BuffDef MystASMinus; internal static BuffDef MystDamagePlus; internal static BuffDef MystDamageMinus; internal static BuffDef MystMSPlus; internal static BuffDef MystMSMinus; internal static BuffDef MystArmorPlus; internal static BuffDef MystArmorMinus; internal static BuffDef MystRegenPlus; internal static BuffDef MystRegenMinus; internal static List buffDefs = new List(); internal static ModdedDamageType Blind15s; internal static void RegisterBuffs() { //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_0143: Unknown result type (might be due to invalid IL or missing references) //IL_0148: Unknown result type (might be due to invalid IL or missing references) LimitLock = AddNewBuff("LimitLock", Assets.mainAssetBundle.LoadAsset("LimitLockIcon"), Color.yellow, canStack: false, isDebuff: true); MystFortify = AddNewBuff("Fortify", Assets.mainAssetBundle.LoadAsset("FortifyBuffIcon"), Color.cyan, canStack: false, isDebuff: false); MystHaste = AddNewBuff("Haste", Assets.mainAssetBundle.LoadAsset("HasteBuffIcon"), Color.cyan, canStack: false, isDebuff: false); MystReflect = AddNewBuff("Reflect", Assets.mainAssetBundle.LoadAsset("LimitLockIcon"), Color.cyan, canStack: true, isDebuff: false); TimeLock = AddNewBuff("TimeLocked", Assets.mainAssetBundle.LoadAsset("HasteBuffIcon"), Color.red, canStack: false, isDebuff: true); FormchangeBerserk = AddNewBuff("BerserkForm", Assets.mainAssetBundle.LoadAsset("FleurDeLisIcon"), Color.red, canStack: false, isDebuff: false); MystASPlus = Buffs.GenericASPlus; MystASMinus = Buffs.GenericASMinus; MystDamagePlus = Buffs.GenericDamagePlus; MystDamageMinus = Buffs.GenericDamageMinus; MystMSPlus = Buffs.GenericMSPlus; MystMSMinus = Buffs.GenericMSMinus; MystArmorPlus = Buffs.GenericArmorPlus; MystArmorMinus = Buffs.GenericArmorMinus; MystRegenPlus = Buffs.GenericRegenPlus; MystRegenMinus = Buffs.GenericRegenMinus; Blind15s = Buffs.Blind15s; } internal static BuffDef AddNewBuff(string buffName, Sprite buffIcon, Color buffColor, bool canStack, bool isDebuff) { //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) BuffDef val = ScriptableObject.CreateInstance(); ((Object)val).name = buffName; val.buffColor = buffColor; val.canStack = canStack; val.isDebuff = isDebuff; val.eliteDef = null; val.iconSprite = buffIcon; buffDefs.Add(val); return val; } } public static class Config { public static ConfigEntry ExtraSlot1; public static ConfigEntry ExtraSlot2; public static ConfigEntry ExtraSlot3; public static ConfigEntry ExtraSlot4; public static ConfigEntry OpenMenu; public static ConfigEntry QuickEquip; public static ConfigEntry Emote; public static ConfigEntry ExtraSlot1pad; public static ConfigEntry ExtraSlot2pad; public static ConfigEntry ExtraSlot3pad; public static ConfigEntry ExtraSlot4pad; public static ConfigEntry OpenMenupad; public static ConfigEntry Emotepad; public static ConfigEntry SpellMagicite; public static ConfigEntry FinisherMagicite; public static ConfigEntry LimitMagicite; public static ConfigEntry SupportMagicite; public static ConfigEntry UIscale; public static ConfigEntry MagicBarColour; public static ConfigEntry MagicRechargeColour; public static ConfigEntry MagicTextColour; public static ConfigEntry MagicTextRechargeColour; public static ConfigEntry LimitBarColour; public static ConfigEntry LimitChargeColour; public static ConfigEntry ItemDisplays; public static ConfigEntry IDRbase; public static ConfigEntry IDRdlc1; public static ConfigEntry IDRdlc2; public static ConfigEntry IDRdlc3; public static ConfigEntry IDRmodded; public static ConfigEntry IDRscepter; public static ConfigEntry IDRstarstorm; public static ConfigEntry IDRmysticsitems; public static ConfigEntry IDRtinkerssatchel; public static ConfigEntry OmniStasis; public static ConfigEntry LegacyMysticLO; public static ConfigEntry BabyMode; public static ConfigFile balanceConfigs; public static ConfigEntry useBalanceConfigs; public static ConfigEntry armor; public static ConfigEntry armorGrowth; public static ConfigEntry health; public static ConfigEntry healthGrowth; public static ConfigEntry regen; public static ConfigEntry limitDamageScaler; public static ConfigEntry limitDamageModulator; public static ConfigEntry vorpalSliceDamage; public static ConfigEntry vorpalSliceProc; public static ConfigEntry vorpalSliceForce; public static ConfigEntry vorpalSliceHopVelocity; public static ConfigEntry dashAttackDamage; public static ConfigEntry dashAttackProc; public static ConfigEntry dashAttackForce; public static ConfigEntry dashAttackHopVelocity; public static ConfigEntry dashRollCooldown; public static ConfigEntry dashRollStartSpeed; public static ConfigEntry dashRollEndSpeed; public static ConfigEntry parryCooldown; public static ConfigEntry parryStartSpeed; public static ConfigEntry parryEndSpeed; public static ConfigEntry fireballDamage; public static ConfigEntry fireballMagic; public static ConfigEntry fireballProc; public static ConfigEntry callLightningDamage; public static ConfigEntry callLightningMagic; public static ConfigEntry callLightningProc; public static ConfigEntry magnetMagic; public static ConfigEntry coneOfFrostDamage; public static ConfigEntry coneOfFrostMagic; public static ConfigEntry coneOfFrostProc; public static ConfigEntry reflectDamage; public static ConfigEntry reflectMaxStacks; public static ConfigEntry reflectMagic; public static ConfigEntry reflectProc; public static ConfigEntry fortifyDuration; public static ConfigEntry fortifyMagic; public static ConfigEntry hasteDuration; public static ConfigEntry hasteMagic; public static ConfigEntry mendWoundsPotency; public static ConfigEntry mendWoundsMagic; public static ConfigEntry acidSplashDamage; public static ConfigEntry acidSplashMagic; public static ConfigEntry acidSplashProc; public static ConfigEntry ultimaDamage; public static ConfigEntry ultimaMagic; public static ConfigEntry ultimaProc; public static ConfigEntry doomboltDamage; public static ConfigEntry doomboltMagic; public static ConfigEntry doomboltProc; public static ConfigEntry oofDamage; public static ConfigEntry oofDuration; public static ConfigEntry oofMagic; public static ConfigEntry oofProc; public static ConfigEntry potMagic; public static ConfigEntry magicMissileDamage; public static ConfigEntry magicMissileShots; public static ConfigEntry magicMissileMagic; public static ConfigEntry magicMissileProc; public static ConfigEntry dispelMagicMagic; public static ConfigEntry gustMagic; public static ConfigEntry gustProc; public static ConfigEntry eclipseGateBaseDamage; public static ConfigEntry eclipseGateScaledDamage; public static ConfigEntry eclipseGateMagic; public static ConfigEntry eclipseGateProc; public static ConfigEntry blastingZoneDamage; public static ConfigEntry blastingZoneCost; public static ConfigEntry blastingZoneProc; public static ConfigEntry JCEDamage; public static ConfigEntry JCECost; public static ConfigEntry JCEnumberOfHits; public static ConfigEntry JCEProc; public static ConfigEntry pyroclasmCost; public static ConfigEntry PWKCost; public static ConfigEntry berserkFormCost; public static ConfigEntry berserkFormDuration; public static ConfigEntry berserkFormSpeed; public static ConfigEntry berserkFormJump; public static ConfigEntry berserkFormArmor; public static ConfigEntry wildMagicCost; public static ConfigEntry zoomCost; public static ConfigEntry BSKFangDamage; public static ConfigEntry BSKFangProc; public static ConfigEntry BSKReaveDamage; public static ConfigEntry BSKReaveProc; public static ConfigEntry BSKImpactDamage; public static ConfigEntry BSKImpactProc; public static ConfigEntry bladeDanceDamage; public static ConfigEntry bladeDanceProc; public static ConfigEntry bladeDanceInterval; public static ConfigEntry challengingShoutProc; public static ConfigEntry darkPassengerDamage; public static ConfigEntry darkPassengerProc; public static ConfigEntry explosionDamage; public static ConfigEntry explosionProc; public static ConfigEntry fatedCircleSlashDamage; public static ConfigEntry fatedCircleBlastDamage; public static ConfigEntry fatedCircleProc; public static ConfigEntry frostFangsDamage; public static ConfigEntry frostFangsProc; public static ConfigEntry judgementCutDamage; public static ConfigEntry judgementCutProc; public static ConfigEntry judgementCutInterval; public static ConfigEntry rippleDriveDamage; public static ConfigEntry rippleDriveProc; public static ConfigEntry shillelaghBaseDamage; public static ConfigEntry shillelaghBoostDamage; public static ConfigEntry shillelaghMagicRestore; public static ConfigEntry shillelaghProc; public static void ReadConfig() { //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Expected O, but got Unknown //IL_003b: Expected O, but got Unknown //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Expected O, but got Unknown //IL_007a: Expected O, but got Unknown //IL_0093: 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_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Expected O, but got Unknown //IL_00b9: Expected O, but got Unknown //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Expected O, but got Unknown //IL_00f8: Expected O, but got Unknown //IL_0111: 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_012d: Unknown result type (might be due to invalid IL or missing references) //IL_0137: Expected O, but got Unknown //IL_0137: Expected O, but got Unknown //IL_0150: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_016f: Unknown result type (might be due to invalid IL or missing references) //IL_0179: Expected O, but got Unknown //IL_0179: Expected O, but got Unknown //IL_0192: Unknown result type (might be due to invalid IL or missing references) //IL_019e: Unknown result type (might be due to invalid IL or missing references) //IL_01ae: Unknown result type (might be due to invalid IL or missing references) //IL_01b8: Expected O, but got Unknown //IL_01b8: Expected O, but got Unknown //IL_01d1: Unknown result type (might be due to invalid IL or missing references) //IL_01e6: Unknown result type (might be due to invalid IL or missing references) //IL_01f0: Expected O, but got Unknown //IL_01f0: Expected O, but got Unknown //IL_0209: Unknown result type (might be due to invalid IL or missing references) //IL_021e: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Expected O, but got Unknown //IL_0228: Expected O, but got Unknown //IL_0241: Unknown result type (might be due to invalid IL or missing references) //IL_0256: Unknown result type (might be due to invalid IL or missing references) //IL_0260: Expected O, but got Unknown //IL_0260: Expected O, but got Unknown //IL_0279: Unknown result type (might be due to invalid IL or missing references) //IL_028e: Unknown result type (might be due to invalid IL or missing references) //IL_0298: Expected O, but got Unknown //IL_0298: Expected O, but got Unknown //IL_02b1: Unknown result type (might be due to invalid IL or missing references) //IL_02c6: Unknown result type (might be due to invalid IL or missing references) //IL_02d0: Expected O, but got Unknown //IL_02d0: Expected O, but got Unknown //IL_02e9: Unknown result type (might be due to invalid IL or missing references) //IL_02fe: Unknown result type (might be due to invalid IL or missing references) //IL_0308: Expected O, but got Unknown //IL_0308: Expected O, but got Unknown //IL_0321: Unknown result type (might be due to invalid IL or missing references) //IL_033a: Unknown result type (might be due to invalid IL or missing references) //IL_034a: Unknown result type (might be due to invalid IL or missing references) //IL_0354: Expected O, but got Unknown //IL_0354: Expected O, but got Unknown //IL_036d: 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_0396: Unknown result type (might be due to invalid IL or missing references) //IL_03a0: Expected O, but got Unknown //IL_03a0: Expected O, but got Unknown //IL_03b9: Unknown result type (might be due to invalid IL or missing references) //IL_03d2: Unknown result type (might be due to invalid IL or missing references) //IL_03e2: Unknown result type (might be due to invalid IL or missing references) //IL_03ec: Expected O, but got Unknown //IL_03ec: Expected O, but got Unknown //IL_0405: Unknown result type (might be due to invalid IL or missing references) //IL_041e: Unknown result type (might be due to invalid IL or missing references) //IL_042e: Unknown result type (might be due to invalid IL or missing references) //IL_0438: Expected O, but got Unknown //IL_0438: Expected O, but got Unknown //IL_0451: Unknown result type (might be due to invalid IL or missing references) //IL_0466: Unknown result type (might be due to invalid IL or missing references) //IL_0470: Expected O, but got Unknown //IL_0470: Expected O, but got Unknown //IL_0489: Unknown result type (might be due to invalid IL or missing references) //IL_04a2: Unknown result type (might be due to invalid IL or missing references) //IL_04b2: Unknown result type (might be due to invalid IL or missing references) //IL_04bc: Expected O, but got Unknown //IL_04bc: Expected O, but got Unknown //IL_04d5: Unknown result type (might be due to invalid IL or missing references) //IL_04ee: Unknown result type (might be due to invalid IL or missing references) //IL_04fe: Unknown result type (might be due to invalid IL or missing references) //IL_0508: Expected O, but got Unknown //IL_0508: Expected O, but got Unknown //IL_0521: Unknown result type (might be due to invalid IL or missing references) //IL_053a: Unknown result type (might be due to invalid IL or missing references) //IL_054a: Unknown result type (might be due to invalid IL or missing references) //IL_0554: Expected O, but got Unknown //IL_0554: Expected O, but got Unknown //IL_056d: Unknown result type (might be due to invalid IL or missing references) //IL_0586: 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_05a0: Expected O, but got Unknown //IL_05a0: Expected O, but got Unknown //IL_05b9: Unknown result type (might be due to invalid IL or missing references) //IL_05cd: Unknown result type (might be due to invalid IL or missing references) //IL_05dd: Unknown result type (might be due to invalid IL or missing references) //IL_05e7: Expected O, but got Unknown //IL_05e7: Expected O, but got Unknown //IL_0600: Unknown result type (might be due to invalid IL or missing references) //IL_0614: Unknown result type (might be due to invalid IL or missing references) //IL_0624: Unknown result type (might be due to invalid IL or missing references) //IL_062e: Expected O, but got Unknown //IL_062e: Expected O, but got Unknown //IL_0647: Unknown result type (might be due to invalid IL or missing references) //IL_0658: Unknown result type (might be due to invalid IL or missing references) //IL_0662: Expected O, but got Unknown //IL_0662: Expected O, but got Unknown //IL_067b: Unknown result type (might be due to invalid IL or missing references) //IL_068c: Unknown result type (might be due to invalid IL or missing references) //IL_0696: Expected O, but got Unknown //IL_0696: Expected O, but got Unknown //IL_06af: Unknown result type (might be due to invalid IL or missing references) //IL_06c0: Unknown result type (might be due to invalid IL or missing references) //IL_06ca: Expected O, but got Unknown //IL_06ca: Expected O, but got Unknown //IL_06e3: Unknown result type (might be due to invalid IL or missing references) //IL_06f4: Unknown result type (might be due to invalid IL or missing references) //IL_06fe: Expected O, but got Unknown //IL_06fe: Expected O, but got Unknown //IL_0717: Unknown result type (might be due to invalid IL or missing references) //IL_0728: Unknown result type (might be due to invalid IL or missing references) //IL_0732: Expected O, but got Unknown //IL_0732: Expected O, but got Unknown //IL_074b: Unknown result type (might be due to invalid IL or missing references) //IL_075c: Unknown result type (might be due to invalid IL or missing references) //IL_0766: Expected O, but got Unknown //IL_0766: Expected O, but got Unknown //IL_077f: Unknown result type (might be due to invalid IL or missing references) //IL_0790: Unknown result type (might be due to invalid IL or missing references) //IL_079a: Expected O, but got Unknown //IL_079a: Expected O, but got Unknown //IL_07b3: Unknown result type (might be due to invalid IL or missing references) //IL_07c4: Unknown result type (might be due to invalid IL or missing references) //IL_07ce: Expected O, but got Unknown //IL_07ce: Expected O, but got Unknown //IL_07e7: 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_0802: Expected O, but got Unknown //IL_0802: Expected O, but got Unknown //IL_081b: Unknown result type (might be due to invalid IL or missing references) //IL_082c: Unknown result type (might be due to invalid IL or missing references) //IL_0836: Expected O, but got Unknown //IL_0836: Expected O, but got Unknown //IL_084f: Unknown result type (might be due to invalid IL or missing references) //IL_0860: Unknown result type (might be due to invalid IL or missing references) //IL_086a: Expected O, but got Unknown //IL_086a: Expected O, but got Unknown //IL_0883: Unknown result type (might be due to invalid IL or missing references) //IL_0894: Unknown result type (might be due to invalid IL or missing references) //IL_089e: Expected O, but got Unknown //IL_089e: Expected O, but got Unknown //IL_08b7: Unknown result type (might be due to invalid IL or missing references) //IL_08c8: Unknown result type (might be due to invalid IL or missing references) //IL_08d2: Expected O, but got Unknown //IL_08d2: Expected O, but got Unknown //IL_08fe: Unknown result type (might be due to invalid IL or missing references) //IL_0908: Expected O, but got Unknown //IL_0917: Unknown result type (might be due to invalid IL or missing references) //IL_0928: Unknown result type (might be due to invalid IL or missing references) //IL_0932: Expected O, but got Unknown //IL_0932: Expected O, but got Unknown //IL_0946: Unknown result type (might be due to invalid IL or missing references) //IL_095b: Unknown result type (might be due to invalid IL or missing references) //IL_0965: Expected O, but got Unknown //IL_0965: Expected O, but got Unknown //IL_0979: Unknown result type (might be due to invalid IL or missing references) //IL_098e: Unknown result type (might be due to invalid IL or missing references) //IL_0998: Expected O, but got Unknown //IL_0998: Expected O, but got Unknown //IL_09ac: Unknown result type (might be due to invalid IL or missing references) //IL_09c1: Unknown result type (might be due to invalid IL or missing references) //IL_09cb: Expected O, but got Unknown //IL_09cb: Expected O, but got Unknown //IL_09df: Unknown result type (might be due to invalid IL or missing references) //IL_09f4: Unknown result type (might be due to invalid IL or missing references) //IL_09fe: Expected O, but got Unknown //IL_09fe: Expected O, but got Unknown //IL_0a12: Unknown result type (might be due to invalid IL or missing references) //IL_0a27: Unknown result type (might be due to invalid IL or missing references) //IL_0a31: Expected O, but got Unknown //IL_0a31: Expected O, but got Unknown //IL_0a45: Unknown result type (might be due to invalid IL or missing references) //IL_0a5a: Unknown result type (might be due to invalid IL or missing references) //IL_0a64: Expected O, but got Unknown //IL_0a64: Expected O, but got Unknown //IL_0a78: Unknown result type (might be due to invalid IL or missing references) //IL_0a8d: Unknown result type (might be due to invalid IL or missing references) //IL_0a97: Expected O, but got Unknown //IL_0a97: Expected O, but got Unknown //IL_0aab: Unknown result type (might be due to invalid IL or missing references) //IL_0ac0: Unknown result type (might be due to invalid IL or missing references) //IL_0aca: Expected O, but got Unknown //IL_0aca: Expected O, but got Unknown //IL_0ade: Unknown result type (might be due to invalid IL or missing references) //IL_0af3: Unknown result type (might be due to invalid IL or missing references) //IL_0afd: Expected O, but got Unknown //IL_0afd: Expected O, but got Unknown //IL_0b11: Unknown result type (might be due to invalid IL or missing references) //IL_0b26: Unknown result type (might be due to invalid IL or missing references) //IL_0b30: Expected O, but got Unknown //IL_0b30: Expected O, but got Unknown //IL_0b44: Unknown result type (might be due to invalid IL or missing references) //IL_0b59: Unknown result type (might be due to invalid IL or missing references) //IL_0b63: Expected O, but got Unknown //IL_0b63: Expected O, but got Unknown //IL_0b77: Unknown result type (might be due to invalid IL or missing references) //IL_0b8c: Unknown result type (might be due to invalid IL or missing references) //IL_0b96: Expected O, but got Unknown //IL_0b96: Expected O, but got Unknown //IL_0baa: Unknown result type (might be due to invalid IL or missing references) //IL_0bbf: Unknown result type (might be due to invalid IL or missing references) //IL_0bc9: Expected O, but got Unknown //IL_0bc9: Expected O, but got Unknown //IL_0bdd: Unknown result type (might be due to invalid IL or missing references) //IL_0bf2: Unknown result type (might be due to invalid IL or missing references) //IL_0bfc: Expected O, but got Unknown //IL_0bfc: Expected O, but got Unknown //IL_0c10: Unknown result type (might be due to invalid IL or missing references) //IL_0c25: Unknown result type (might be due to invalid IL or missing references) //IL_0c2f: Expected O, but got Unknown //IL_0c2f: Expected O, but got Unknown //IL_0c43: Unknown result type (might be due to invalid IL or missing references) //IL_0c58: Unknown result type (might be due to invalid IL or missing references) //IL_0c62: Expected O, but got Unknown //IL_0c62: Expected O, but got Unknown //IL_0c76: Unknown result type (might be due to invalid IL or missing references) //IL_0c8b: Unknown result type (might be due to invalid IL or missing references) //IL_0c95: Expected O, but got Unknown //IL_0c95: Expected O, but got Unknown //IL_0ca9: Unknown result type (might be due to invalid IL or missing references) //IL_0cbe: Unknown result type (might be due to invalid IL or missing references) //IL_0cc8: Expected O, but got Unknown //IL_0cc8: Expected O, but got Unknown //IL_0cdc: Unknown result type (might be due to invalid IL or missing references) //IL_0cf1: Unknown result type (might be due to invalid IL or missing references) //IL_0cfb: Expected O, but got Unknown //IL_0cfb: Expected O, but got Unknown //IL_0d0f: Unknown result type (might be due to invalid IL or missing references) //IL_0d24: Unknown result type (might be due to invalid IL or missing references) //IL_0d2e: Expected O, but got Unknown //IL_0d2e: Expected O, but got Unknown //IL_0d42: Unknown result type (might be due to invalid IL or missing references) //IL_0d57: Unknown result type (might be due to invalid IL or missing references) //IL_0d61: Expected O, but got Unknown //IL_0d61: Expected O, but got Unknown //IL_0d75: Unknown result type (might be due to invalid IL or missing references) //IL_0d8a: Unknown result type (might be due to invalid IL or missing references) //IL_0d94: Expected O, but got Unknown //IL_0d94: Expected O, but got Unknown //IL_0da8: 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_0dc7: Expected O, but got Unknown //IL_0dc7: Expected O, but got Unknown //IL_0ddb: 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_0dfa: Expected O, but got Unknown //IL_0dfa: Expected O, but got Unknown //IL_0e0e: Unknown result type (might be due to invalid IL or missing references) //IL_0e23: Unknown result type (might be due to invalid IL or missing references) //IL_0e2d: Expected O, but got Unknown //IL_0e2d: Expected O, but got Unknown //IL_0e41: Unknown result type (might be due to invalid IL or missing references) //IL_0e56: Unknown result type (might be due to invalid IL or missing references) //IL_0e60: Expected O, but got Unknown //IL_0e60: Expected O, but got Unknown //IL_0e74: Unknown result type (might be due to invalid IL or missing references) //IL_0e89: Unknown result type (might be due to invalid IL or missing references) //IL_0e93: Expected O, but got Unknown //IL_0e93: Expected O, but got Unknown //IL_0ea7: Unknown result type (might be due to invalid IL or missing references) //IL_0ebc: Unknown result type (might be due to invalid IL or missing references) //IL_0ec6: Expected O, but got Unknown //IL_0ec6: Expected O, but got Unknown //IL_0eda: Unknown result type (might be due to invalid IL or missing references) //IL_0eef: Unknown result type (might be due to invalid IL or missing references) //IL_0ef9: Expected O, but got Unknown //IL_0ef9: Expected O, but got Unknown //IL_0f0d: Unknown result type (might be due to invalid IL or missing references) //IL_0f22: Unknown result type (might be due to invalid IL or missing references) //IL_0f2c: Expected O, but got Unknown //IL_0f2c: Expected O, but got Unknown //IL_0f40: Unknown result type (might be due to invalid IL or missing references) //IL_0f55: Unknown result type (might be due to invalid IL or missing references) //IL_0f5f: Expected O, but got Unknown //IL_0f5f: Expected O, but got Unknown //IL_0f73: 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_0f92: Expected O, but got Unknown //IL_0f92: Expected O, but got Unknown //IL_0fa6: Unknown result type (might be due to invalid IL or missing references) //IL_0fb8: Unknown result type (might be due to invalid IL or missing references) //IL_0fc2: Expected O, but got Unknown //IL_0fc2: Expected O, but got Unknown //IL_0fd6: Unknown result type (might be due to invalid IL or missing references) //IL_0feb: Unknown result type (might be due to invalid IL or missing references) //IL_0ff5: Expected O, but got Unknown //IL_0ff5: Expected O, but got Unknown //IL_1009: Unknown result type (might be due to invalid IL or missing references) //IL_101e: Unknown result type (might be due to invalid IL or missing references) //IL_1028: Expected O, but got Unknown //IL_1028: Expected O, but got Unknown //IL_103c: Unknown result type (might be due to invalid IL or missing references) //IL_1051: Unknown result type (might be due to invalid IL or missing references) //IL_105b: Expected O, but got Unknown //IL_105b: Expected O, but got Unknown //IL_106f: Unknown result type (might be due to invalid IL or missing references) //IL_1084: Unknown result type (might be due to invalid IL or missing references) //IL_108e: Expected O, but got Unknown //IL_108e: Expected O, but got Unknown //IL_10a2: Unknown result type (might be due to invalid IL or missing references) //IL_10b7: Unknown result type (might be due to invalid IL or missing references) //IL_10c1: Expected O, but got Unknown //IL_10c1: Expected O, but got Unknown //IL_10d5: Unknown result type (might be due to invalid IL or missing references) //IL_10ea: Unknown result type (might be due to invalid IL or missing references) //IL_10f4: Expected O, but got Unknown //IL_10f4: Expected O, but got Unknown //IL_1108: Unknown result type (might be due to invalid IL or missing references) //IL_111d: Unknown result type (might be due to invalid IL or missing references) //IL_1127: Expected O, but got Unknown //IL_1127: Expected O, but got Unknown //IL_113b: Unknown result type (might be due to invalid IL or missing references) //IL_1150: Unknown result type (might be due to invalid IL or missing references) //IL_115a: Expected O, but got Unknown //IL_115a: Expected O, but got Unknown //IL_116e: Unknown result type (might be due to invalid IL or missing references) //IL_1183: Unknown result type (might be due to invalid IL or missing references) //IL_118d: Expected O, but got Unknown //IL_118d: Expected O, but got Unknown //IL_11a1: Unknown result type (might be due to invalid IL or missing references) //IL_11b6: Unknown result type (might be due to invalid IL or missing references) //IL_11c0: Expected O, but got Unknown //IL_11c0: Expected O, but got Unknown //IL_11d4: Unknown result type (might be due to invalid IL or missing references) //IL_11e9: Unknown result type (might be due to invalid IL or missing references) //IL_11f3: Expected O, but got Unknown //IL_11f3: Expected O, but got Unknown //IL_1207: Unknown result type (might be due to invalid IL or missing references) //IL_121c: Unknown result type (might be due to invalid IL or missing references) //IL_1226: Expected O, but got Unknown //IL_1226: Expected O, but got Unknown //IL_123a: Unknown result type (might be due to invalid IL or missing references) //IL_124f: Unknown result type (might be due to invalid IL or missing references) //IL_1259: Expected O, but got Unknown //IL_1259: Expected O, but got Unknown //IL_126d: Unknown result type (might be due to invalid IL or missing references) //IL_1282: Unknown result type (might be due to invalid IL or missing references) //IL_128c: Expected O, but got Unknown //IL_128c: Expected O, but got Unknown //IL_12a0: Unknown result type (might be due to invalid IL or missing references) //IL_12b5: Unknown result type (might be due to invalid IL or missing references) //IL_12bf: Expected O, but got Unknown //IL_12bf: Expected O, but got Unknown //IL_12d3: Unknown result type (might be due to invalid IL or missing references) //IL_12e8: Unknown result type (might be due to invalid IL or missing references) //IL_12f2: Expected O, but got Unknown //IL_12f2: Expected O, but got Unknown //IL_1306: Unknown result type (might be due to invalid IL or missing references) //IL_131b: Unknown result type (might be due to invalid IL or missing references) //IL_1325: Expected O, but got Unknown //IL_1325: Expected O, but got Unknown //IL_1339: Unknown result type (might be due to invalid IL or missing references) //IL_134e: Unknown result type (might be due to invalid IL or missing references) //IL_1358: Expected O, but got Unknown //IL_1358: Expected O, but got Unknown //IL_136c: Unknown result type (might be due to invalid IL or missing references) //IL_1381: Unknown result type (might be due to invalid IL or missing references) //IL_138b: Expected O, but got Unknown //IL_138b: Expected O, but got Unknown //IL_139f: Unknown result type (might be due to invalid IL or missing references) //IL_13b4: Unknown result type (might be due to invalid IL or missing references) //IL_13be: Expected O, but got Unknown //IL_13be: Expected O, but got Unknown //IL_13d2: Unknown result type (might be due to invalid IL or missing references) //IL_13e7: Unknown result type (might be due to invalid IL or missing references) //IL_13f1: Expected O, but got Unknown //IL_13f1: Expected O, but got Unknown //IL_1405: Unknown result type (might be due to invalid IL or missing references) //IL_141a: Unknown result type (might be due to invalid IL or missing references) //IL_1424: Expected O, but got Unknown //IL_1424: Expected O, but got Unknown //IL_1438: Unknown result type (might be due to invalid IL or missing references) //IL_144d: Unknown result type (might be due to invalid IL or missing references) //IL_1457: Expected O, but got Unknown //IL_1457: Expected O, but got Unknown //IL_146b: Unknown result type (might be due to invalid IL or missing references) //IL_147c: Unknown result type (might be due to invalid IL or missing references) //IL_1486: Expected O, but got Unknown //IL_1486: Expected O, but got Unknown //IL_149a: 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_14b9: Expected O, but got Unknown //IL_14b9: Expected O, but got Unknown //IL_14cd: Unknown result type (might be due to invalid IL or missing references) //IL_14e2: Unknown result type (might be due to invalid IL or missing references) //IL_14ec: Expected O, but got Unknown //IL_14ec: Expected O, but got Unknown //IL_1500: Unknown result type (might be due to invalid IL or missing references) //IL_1515: Unknown result type (might be due to invalid IL or missing references) //IL_151f: Expected O, but got Unknown //IL_151f: Expected O, but got Unknown //IL_1533: 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_1552: Expected O, but got Unknown //IL_1552: Expected O, but got Unknown //IL_1566: Unknown result type (might be due to invalid IL or missing references) //IL_157b: Unknown result type (might be due to invalid IL or missing references) //IL_1585: Expected O, but got Unknown //IL_1585: Expected O, but got Unknown //IL_1599: Unknown result type (might be due to invalid IL or missing references) //IL_15ae: Unknown result type (might be due to invalid IL or missing references) //IL_15b8: Expected O, but got Unknown //IL_15b8: Expected O, but got Unknown //IL_15cc: Unknown result type (might be due to invalid IL or missing references) //IL_15e1: Unknown result type (might be due to invalid IL or missing references) //IL_15eb: Expected O, but got Unknown //IL_15eb: Expected O, but got Unknown //IL_15ff: Unknown result type (might be due to invalid IL or missing references) //IL_1614: Unknown result type (might be due to invalid IL or missing references) //IL_161e: Expected O, but got Unknown //IL_161e: Expected O, but got Unknown //IL_1632: Unknown result type (might be due to invalid IL or missing references) //IL_1647: Unknown result type (might be due to invalid IL or missing references) //IL_1651: Expected O, but got Unknown //IL_1651: Expected O, but got Unknown //IL_1665: Unknown result type (might be due to invalid IL or missing references) //IL_167a: Unknown result type (might be due to invalid IL or missing references) //IL_1684: Expected O, but got Unknown //IL_1684: Expected O, but got Unknown //IL_1698: Unknown result type (might be due to invalid IL or missing references) //IL_16a9: Unknown result type (might be due to invalid IL or missing references) //IL_16b3: Expected O, but got Unknown //IL_16b3: Expected O, but got Unknown //IL_16c7: Unknown result type (might be due to invalid IL or missing references) //IL_16dc: Unknown result type (might be due to invalid IL or missing references) //IL_16e6: Expected O, but got Unknown //IL_16e6: Expected O, but got Unknown //IL_16fa: Unknown result type (might be due to invalid IL or missing references) //IL_170f: Unknown result type (might be due to invalid IL or missing references) //IL_1719: Expected O, but got Unknown //IL_1719: Expected O, but got Unknown //IL_172d: Unknown result type (might be due to invalid IL or missing references) //IL_173e: Unknown result type (might be due to invalid IL or missing references) //IL_1748: Expected O, but got Unknown //IL_1748: Expected O, but got Unknown //IL_175c: Unknown result type (might be due to invalid IL or missing references) //IL_176d: Unknown result type (might be due to invalid IL or missing references) //IL_1777: Expected O, but got Unknown //IL_1777: Expected O, but got Unknown //IL_178b: Unknown result type (might be due to invalid IL or missing references) //IL_17a0: Unknown result type (might be due to invalid IL or missing references) //IL_17aa: Expected O, but got Unknown //IL_17aa: Expected O, but got Unknown //IL_17be: Unknown result type (might be due to invalid IL or missing references) //IL_17cf: Unknown result type (might be due to invalid IL or missing references) //IL_17d9: Expected O, but got Unknown //IL_17d9: Expected O, but got Unknown //IL_17ed: Unknown result type (might be due to invalid IL or missing references) //IL_17fe: Unknown result type (might be due to invalid IL or missing references) //IL_1808: Expected O, but got Unknown //IL_1808: Expected O, but got Unknown //IL_181c: Unknown result type (might be due to invalid IL or missing references) //IL_182d: Unknown result type (might be due to invalid IL or missing references) //IL_1837: Expected O, but got Unknown //IL_1837: Expected O, but got Unknown //IL_184b: Unknown result type (might be due to invalid IL or missing references) //IL_1860: Unknown result type (might be due to invalid IL or missing references) //IL_186a: Expected O, but got Unknown //IL_186a: Expected O, but got Unknown //IL_187e: Unknown result type (might be due to invalid IL or missing references) //IL_1893: Unknown result type (might be due to invalid IL or missing references) //IL_189d: Expected O, but got Unknown //IL_189d: Expected O, but got Unknown //IL_18b1: Unknown result type (might be due to invalid IL or missing references) //IL_18c6: Unknown result type (might be due to invalid IL or missing references) //IL_18d0: Expected O, but got Unknown //IL_18d0: Expected O, but got Unknown //IL_18e4: Unknown result type (might be due to invalid IL or missing references) //IL_18f9: Unknown result type (might be due to invalid IL or missing references) //IL_1903: Expected O, but got Unknown //IL_1903: Expected O, but got Unknown //IL_1917: Unknown result type (might be due to invalid IL or missing references) //IL_1928: Unknown result type (might be due to invalid IL or missing references) //IL_1932: Expected O, but got Unknown //IL_1932: Expected O, but got Unknown //IL_1946: Unknown result type (might be due to invalid IL or missing references) //IL_1957: Unknown result type (might be due to invalid IL or missing references) //IL_1961: Expected O, but got Unknown //IL_1961: Expected O, but got Unknown //IL_1975: Unknown result type (might be due to invalid IL or missing references) //IL_198a: Unknown result type (might be due to invalid IL or missing references) //IL_1994: Expected O, but got Unknown //IL_1994: Expected O, but got Unknown //IL_19a8: Unknown result type (might be due to invalid IL or missing references) //IL_19bd: Unknown result type (might be due to invalid IL or missing references) //IL_19c7: Expected O, but got Unknown //IL_19c7: Expected O, but got Unknown //IL_19db: Unknown result type (might be due to invalid IL or missing references) //IL_19f0: Unknown result type (might be due to invalid IL or missing references) //IL_19fa: Expected O, but got Unknown //IL_19fa: Expected O, but got Unknown //IL_1a0e: Unknown result type (might be due to invalid IL or missing references) //IL_1a23: Unknown result type (might be due to invalid IL or missing references) //IL_1a2d: Expected O, but got Unknown //IL_1a2d: Expected O, but got Unknown //IL_1a41: Unknown result type (might be due to invalid IL or missing references) //IL_1a56: Unknown result type (might be due to invalid IL or missing references) //IL_1a60: Expected O, but got Unknown //IL_1a60: Expected O, but got Unknown //IL_1a74: Unknown result type (might be due to invalid IL or missing references) //IL_1a89: Unknown result type (might be due to invalid IL or missing references) //IL_1a93: Expected O, but got Unknown //IL_1a93: Expected O, but got Unknown //IL_1aa7: Unknown result type (might be due to invalid IL or missing references) //IL_1abc: Unknown result type (might be due to invalid IL or missing references) //IL_1ac6: Expected O, but got Unknown //IL_1ac6: Expected O, but got Unknown //IL_1ada: Unknown result type (might be due to invalid IL or missing references) //IL_1aef: Unknown result type (might be due to invalid IL or missing references) //IL_1af9: Expected O, but got Unknown //IL_1af9: Expected O, but got Unknown //IL_1b0d: Unknown result type (might be due to invalid IL or missing references) //IL_1b22: Unknown result type (might be due to invalid IL or missing references) //IL_1b2c: Expected O, but got Unknown //IL_1b2c: Expected O, but got Unknown //IL_1b40: Unknown result type (might be due to invalid IL or missing references) //IL_1b55: Unknown result type (might be due to invalid IL or missing references) //IL_1b5f: Expected O, but got Unknown //IL_1b5f: Expected O, but got Unknown //IL_1b73: Unknown result type (might be due to invalid IL or missing references) //IL_1b88: Unknown result type (might be due to invalid IL or missing references) //IL_1b92: Expected O, but got Unknown //IL_1b92: Expected O, but got Unknown //IL_1ba6: Unknown result type (might be due to invalid IL or missing references) //IL_1bbb: Unknown result type (might be due to invalid IL or missing references) //IL_1bc5: Expected O, but got Unknown //IL_1bc5: Expected O, but got Unknown //IL_1bd9: Unknown result type (might be due to invalid IL or missing references) //IL_1bee: Unknown result type (might be due to invalid IL or missing references) //IL_1bf8: Expected O, but got Unknown //IL_1bf8: Expected O, but got Unknown //IL_1c0c: Unknown result type (might be due to invalid IL or missing references) //IL_1c21: Unknown result type (might be due to invalid IL or missing references) //IL_1c2b: Expected O, but got Unknown //IL_1c2b: Expected O, but got Unknown //IL_1c3f: Unknown result type (might be due to invalid IL or missing references) //IL_1c54: Unknown result type (might be due to invalid IL or missing references) //IL_1c5e: Expected O, but got Unknown //IL_1c5e: Expected O, but got Unknown //IL_1c72: Unknown result type (might be due to invalid IL or missing references) //IL_1c87: Unknown result type (might be due to invalid IL or missing references) //IL_1c91: Expected O, but got Unknown //IL_1c91: Expected O, but got Unknown //IL_1ca5: Unknown result type (might be due to invalid IL or missing references) //IL_1cba: Unknown result type (might be due to invalid IL or missing references) //IL_1cc4: Expected O, but got Unknown //IL_1cc4: Expected O, but got Unknown //IL_1cd8: Unknown result type (might be due to invalid IL or missing references) //IL_1ced: Unknown result type (might be due to invalid IL or missing references) //IL_1cf7: Expected O, but got Unknown //IL_1cf7: Expected O, but got Unknown //IL_1d0b: Unknown result type (might be due to invalid IL or missing references) //IL_1d20: Unknown result type (might be due to invalid IL or missing references) //IL_1d2a: Expected O, but got Unknown //IL_1d2a: Expected O, but got Unknown //IL_1d3e: Unknown result type (might be due to invalid IL or missing references) //IL_1d53: Unknown result type (might be due to invalid IL or missing references) //IL_1d5d: Expected O, but got Unknown //IL_1d5d: Expected O, but got Unknown //IL_1d71: Unknown result type (might be due to invalid IL or missing references) //IL_1d86: Unknown result type (might be due to invalid IL or missing references) //IL_1d90: Expected O, but got Unknown //IL_1d90: Expected O, but got Unknown //IL_1da4: Unknown result type (might be due to invalid IL or missing references) //IL_1db9: Unknown result type (might be due to invalid IL or missing references) //IL_1dc3: Expected O, but got Unknown //IL_1dc3: Expected O, but got Unknown //IL_1dd7: Unknown result type (might be due to invalid IL or missing references) //IL_1dec: Unknown result type (might be due to invalid IL or missing references) //IL_1df6: Expected O, but got Unknown //IL_1df6: Expected O, but got Unknown //IL_1e0a: Unknown result type (might be due to invalid IL or missing references) //IL_1e1f: Unknown result type (might be due to invalid IL or missing references) //IL_1e29: Expected O, but got Unknown //IL_1e29: Expected O, but got Unknown //IL_1e3d: Unknown result type (might be due to invalid IL or missing references) //IL_1e52: Unknown result type (might be due to invalid IL or missing references) //IL_1e5c: Expected O, but got Unknown //IL_1e5c: Expected O, but got Unknown //IL_1e70: Unknown result type (might be due to invalid IL or missing references) //IL_1e85: Unknown result type (might be due to invalid IL or missing references) //IL_1e8f: Expected O, but got Unknown //IL_1e8f: Expected O, but got Unknown //IL_1ea3: Unknown result type (might be due to invalid IL or missing references) //IL_1eb8: Unknown result type (might be due to invalid IL or missing references) //IL_1ec2: Expected O, but got Unknown //IL_1ec2: Expected O, but got Unknown //IL_1ed6: Unknown result type (might be due to invalid IL or missing references) //IL_1eeb: Unknown result type (might be due to invalid IL or missing references) //IL_1ef5: Expected O, but got Unknown //IL_1ef5: Expected O, but got Unknown ExtraSlot1 = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Keybinds", "ExtraSlot1"), new KeyboardShortcut((KeyCode)49, Array.Empty()), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); ExtraSlot2 = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Keybinds", "ExtraSlot2"), new KeyboardShortcut((KeyCode)50, Array.Empty()), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); ExtraSlot3 = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Keybinds", "ExtraSlot3"), new KeyboardShortcut((KeyCode)51, Array.Empty()), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); ExtraSlot4 = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Keybinds", "ExtraSlot4"), new KeyboardShortcut((KeyCode)52, Array.Empty()), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); OpenMenu = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Keybinds", "OpenMenu"), new KeyboardShortcut((KeyCode)52, Array.Empty()), new ConfigDescription("Press this to open the Magicite Menu", (AcceptableValueBase)null, Array.Empty())); QuickEquip = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Keybinds", "QuickEquip"), new KeyboardShortcut((KeyCode)304, Array.Empty()), new ConfigDescription("Hold this when clicking a Magicite to instantly equip/unequip it", (AcceptableValueBase)null, Array.Empty())); Emote = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Keybinds", "Emote"), new KeyboardShortcut((KeyCode)51, Array.Empty()), new ConfigDescription("Press this to celebrate", (AcceptableValueBase)null, Array.Empty())); ExtraSlot1pad = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Controller", "ExtraSlot1"), (KeyCode)342, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); ExtraSlot2pad = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Controller", "ExtraSlot2"), (KeyCode)343, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); ExtraSlot3pad = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Controller", "ExtraSlot3"), (KeyCode)344, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); ExtraSlot4pad = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Controller", "ExtraSlot4"), (KeyCode)345, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); OpenMenupad = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Controller", "OpenMenu"), (KeyCode)345, new ConfigDescription("Press this to open the Magicite Menu", (AcceptableValueBase)null, Array.Empty())); Emotepad = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Controller", "Emote"), (KeyCode)344, new ConfigDescription("Press this to celebrate", (AcceptableValueBase)null, Array.Empty())); SpellMagicite = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Magicites", "SpellColour"), new Color(0f, 1f, 0.05f, 1f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); FinisherMagicite = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Magicites", "FinisherColour"), new Color(1f, 0.8f, 0f, 1f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); LimitMagicite = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Magicites", "LimitColour"), new Color(1f, 0.25f, 0.25f, 1f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); SupportMagicite = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Magicites", "SupportColour"), new Color(0f, 0.9f, 1f, 1f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); UIscale = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("UI", "Resource Meter Scale"), 100f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); MagicBarColour = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("UI", "Magic Bar Colour"), new Color(0.15f, 0.15f, 0.7f, 1f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); MagicRechargeColour = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("UI", "Magic Recharge Colour"), new Color(0.7f, 0.15f, 0.5f, 1f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); MagicTextColour = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("UI", "Magic Text Colour"), new Color(0.7f, 1f, 0.85f, 1f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); MagicTextRechargeColour = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("UI", "Magic Text Recharge Colour"), new Color(1f, 0.7f, 0.9f, 1f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); LimitBarColour = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("UI", "Limit Full Colour"), new Color(1f, 0.8f, 0f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); LimitChargeColour = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("UI", "Limit Charge Colour"), new Color(0.6f, 0.45f, 0f), new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); ItemDisplays = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Enable Item Displays"), true, new ConfigDescription("Enables Item Displays (If false, all other Item Display configs do nothing)", (AcceptableValueBase)null, Array.Empty())); IDRbase = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Item Displays: Vanilla"), true, new ConfigDescription("Enables Item Displays for Vanilla Risk of Rain 2", (AcceptableValueBase)null, Array.Empty())); IDRdlc1 = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Item Displays: SotV"), true, new ConfigDescription("Enables Item Displays for SotV", (AcceptableValueBase)null, Array.Empty())); IDRdlc2 = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Item Displays: SotS"), true, new ConfigDescription("Enables Item Displays for SotS", (AcceptableValueBase)null, Array.Empty())); IDRdlc3 = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Item Displays: AC"), true, new ConfigDescription("Enables Item Displays for AC", (AcceptableValueBase)null, Array.Empty())); IDRmodded = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Enable Modded Item Displays"), true, new ConfigDescription("Enables Item Displays for Modded Items (if false, all other configs for modded item displays do nothing)", (AcceptableValueBase)null, Array.Empty())); IDRscepter = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Item Displays: Scepter"), true, new ConfigDescription("Enables Item Displays for Ancient Scepter", (AcceptableValueBase)null, Array.Empty())); IDRstarstorm = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Item Displays: Starstorm"), true, new ConfigDescription("Enables Item Displays for Starstorm 2", (AcceptableValueBase)null, Array.Empty())); IDRmysticsitems = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Item Displays: Mystics"), true, new ConfigDescription("Enables Item Displays for Mystics Items", (AcceptableValueBase)null, Array.Empty())); IDRtinkerssatchel = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("ItemDisplays", "Item Displays: Tinkers"), false, new ConfigDescription("Enables Item Displays for Tinkers Satchel", (AcceptableValueBase)null, Array.Empty())); OmniStasis = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Misc", "OmniStasis"), false, new ConfigDescription("Enable Stasis on All Characters", (AcceptableValueBase)null, Array.Empty())); LegacyMysticLO = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Misc", "LegacyMysticLO"), false, new ConfigDescription("Re-orders the Mystic Jobclass' abilities to the order they had in early versions.", (AcceptableValueBase)null, Array.Empty())); BabyMode = ((BaseUnityPlugin)MystPlugin.instance).Config.Bind(new ConfigDefinition("Misc", "BabyMode"), false, new ConfigDescription("Enables the Baby Jobclass, which grants every Magicite, this is 100% cheating and you should feel bad. 'I'm Baby'-John Meme", (AcceptableValueBase)null, Array.Empty())); Hooks(); if (MystPlugin.RiskOfOptionsInstalled) { SetUpRiskOfOptions(); } balanceConfigs = new ConfigFile(Paths.ConfigPath + "\\com.JavAngle.MystMod-Balance.cfg", true); useBalanceConfigs = balanceConfigs.Bind(new ConfigDefinition("1 Enable Balance Config", "Enable Balance Config"), false, new ConfigDescription("If this is set to false, the configs will be reset to default values when the game loads", (AcceptableValueBase)null, Array.Empty())); armor = balanceConfigs.Bind(new ConfigDefinition("BaseStats", "Armor"), 20f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); armorGrowth = balanceConfigs.Bind(new ConfigDefinition("BaseStats", "Armor per level"), 0f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); health = balanceConfigs.Bind(new ConfigDefinition("BaseStats", "Health"), 160f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); healthGrowth = balanceConfigs.Bind(new ConfigDefinition("BaseStats", "Health per level"), 50f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); regen = balanceConfigs.Bind(new ConfigDefinition("BaseStats", "Health Regen"), 2.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); limitDamageScaler = balanceConfigs.Bind(new ConfigDefinition("BaseStats", "Limit Damage Scaler"), 180f, new ConfigDescription("This effects how much Limit is given from dealing damage, the lower the number, the more limit is gained (Host only)", (AcceptableValueBase)null, Array.Empty())); limitDamageModulator = balanceConfigs.Bind(new ConfigDefinition("BaseStats", "Limit Damage Modulator"), 20f, new ConfigDescription("This effects how much Limit is expected to be generated every minute, if the player is generating more limit than this, their limit gain coefficient will be reduced (Host only)", (AcceptableValueBase)null, Array.Empty())); vorpalSliceDamage = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills VorpalSlice", "Damage"), 1.65f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); vorpalSliceProc = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills VorpalSlice", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); vorpalSliceForce = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills VorpalSlice", "Knockback Force"), 300f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); vorpalSliceHopVelocity = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills VorpalSlice", "Hop Velocity"), 6.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); dashAttackDamage = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills DashAttack", "Damage"), 2.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); dashAttackProc = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills DashAttack", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); dashAttackForce = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills DashAttack", "Knockback Force"), 300f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); dashAttackHopVelocity = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills DashAttack", "Hop Velocity"), 7f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); dashRollCooldown = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills Dash", "Cooldown"), 3f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); dashRollStartSpeed = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills Dash", "Start Speed"), 5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); dashRollEndSpeed = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills Dash", "End Speed"), 2.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); parryCooldown = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills Parry", "Cooldown"), 2f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); parryStartSpeed = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills Parry", "Start Speed"), 2f, new ConfigDescription("The blowback speed when the successfully blocking", (AcceptableValueBase)null, Array.Empty())); parryEndSpeed = balanceConfigs.Bind(new ConfigDefinition("DefaultSkills Parry", "End Speed"), 0f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); fireballDamage = balanceConfigs.Bind(new ConfigDefinition("Magic Fireball", "Damage"), 1.5f, new ConfigDescription("It is worth noting, that since this applies burn, the real damage number is about double this value", (AcceptableValueBase)null, Array.Empty())); fireballMagic = balanceConfigs.Bind(new ConfigDefinition("Magic Fireball", "Magic Cost"), 3f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); fireballProc = balanceConfigs.Bind(new ConfigDefinition("Magic Fireball", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); callLightningDamage = balanceConfigs.Bind(new ConfigDefinition("Magic CallLightning", "Damage"), 8.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); callLightningMagic = balanceConfigs.Bind(new ConfigDefinition("Magic CallLightning", "Magic Cost"), 10f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); callLightningProc = balanceConfigs.Bind(new ConfigDefinition("Magic CallLightning", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); magnetMagic = balanceConfigs.Bind(new ConfigDefinition("Magic Magnet", "Magic Cost"), 60f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); coneOfFrostDamage = balanceConfigs.Bind(new ConfigDefinition("Magic ConeOfFrost", "Damage"), 8.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); coneOfFrostMagic = balanceConfigs.Bind(new ConfigDefinition("Magic ConeOfFrost", "Magic Cost"), 10f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); coneOfFrostProc = balanceConfigs.Bind(new ConfigDefinition("Magic ConeOfFrost", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); reflectDamage = balanceConfigs.Bind(new ConfigDefinition("Magic Reflect", "Damage"), 25f, new ConfigDescription("the maximum damage that Reflect can deal", (AcceptableValueBase)null, Array.Empty())); reflectMaxStacks = balanceConfigs.Bind(new ConfigDefinition("Magic Reflect", "MaxStacks"), 20, new ConfigDescription("the maximum number of hits before the barier explodes, dealing the maximum damage", (AcceptableValueBase)null, Array.Empty())); reflectMagic = balanceConfigs.Bind(new ConfigDefinition("Magic Reflect", "Magic Cost"), 30f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); reflectProc = balanceConfigs.Bind(new ConfigDefinition("Magic Reflect", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); fortifyDuration = balanceConfigs.Bind(new ConfigDefinition("Magic Fortify", "Buff Duration"), 30f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); fortifyMagic = balanceConfigs.Bind(new ConfigDefinition("Magic Fortify", "Magic Cost"), float.PositiveInfinity, new ConfigDescription("'Infinity' causes the spell to spend all remaining mana", (AcceptableValueBase)null, Array.Empty())); hasteDuration = balanceConfigs.Bind(new ConfigDefinition("Magic Haste", "Buff Duration"), 15f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); hasteMagic = balanceConfigs.Bind(new ConfigDefinition("Magic Haste", "Magic Cost"), 40f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); mendWoundsPotency = balanceConfigs.Bind(new ConfigDefinition("Magic MendWounds", "Buff Duration"), 100f, new ConfigDescription("This healing is percentile, '100' = 100% of target HP", (AcceptableValueBase)null, Array.Empty())); mendWoundsMagic = balanceConfigs.Bind(new ConfigDefinition("Magic MendWounds", "Magic Cost"), float.PositiveInfinity, new ConfigDescription("'Infinity' causes the spell to spend all remaining mana", (AcceptableValueBase)null, Array.Empty())); acidSplashDamage = balanceConfigs.Bind(new ConfigDefinition("Magic AcidSplash", "Damage"), 2.4f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); acidSplashMagic = balanceConfigs.Bind(new ConfigDefinition("Magic AcidSplash", "Magic Cost"), 33f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); acidSplashProc = balanceConfigs.Bind(new ConfigDefinition("Magic AcidSplash", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); ultimaDamage = balanceConfigs.Bind(new ConfigDefinition("Magic Ultima", "Damage"), 40f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); ultimaMagic = balanceConfigs.Bind(new ConfigDefinition("Magic Ultima", "Magic Cost"), float.PositiveInfinity, new ConfigDescription("'Infinity' causes the spell to spend all remaining mana", (AcceptableValueBase)null, Array.Empty())); ultimaProc = balanceConfigs.Bind(new ConfigDefinition("Magic Ultima", "Proc Coefficient"), 0.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); doomboltDamage = balanceConfigs.Bind(new ConfigDefinition("Magic Doombolt", "Damage"), 2.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); doomboltMagic = balanceConfigs.Bind(new ConfigDefinition("Magic Doombolt", "Magic Cost"), 30f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); doomboltProc = balanceConfigs.Bind(new ConfigDefinition("Magic Doombolt", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); oofDamage = balanceConfigs.Bind(new ConfigDefinition("Magic ViciousMockery", "Damage"), 2f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); oofDuration = balanceConfigs.Bind(new ConfigDefinition("Magic ViciousMockery", "Duration"), 15f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); oofMagic = balanceConfigs.Bind(new ConfigDefinition("Magic ViciousMockery", "Magic Cost"), 4f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); oofProc = balanceConfigs.Bind(new ConfigDefinition("Magic ViciousMockery", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); potMagic = balanceConfigs.Bind(new ConfigDefinition("Magic Pot", "Magic Cost"), 10f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); magicMissileDamage = balanceConfigs.Bind(new ConfigDefinition("Magic MagicMissile", "Damage"), 2f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); magicMissileShots = balanceConfigs.Bind(new ConfigDefinition("Magic MagicMissile", "Maximum Shots"), 6, new ConfigDescription("The number of shots fired when at max MP", (AcceptableValueBase)null, Array.Empty())); magicMissileMagic = balanceConfigs.Bind(new ConfigDefinition("Magic MagicMissile", "Magic Cost"), 2f, new ConfigDescription("This is the amount of Mana spend PER SHOT, not per cast", (AcceptableValueBase)null, Array.Empty())); magicMissileProc = balanceConfigs.Bind(new ConfigDefinition("Magic MagicMissile", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); dispelMagicMagic = balanceConfigs.Bind(new ConfigDefinition("Magic DispelMagic", "Magic Cost"), 15f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); gustMagic = balanceConfigs.Bind(new ConfigDefinition("Magic Gust", "Magic Cost"), 0.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); gustProc = balanceConfigs.Bind(new ConfigDefinition("Magic Gust", "Proc Coefficient"), 0f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); eclipseGateBaseDamage = balanceConfigs.Bind(new ConfigDefinition("Magic EclipseGate", "Base Damage"), 3f, new ConfigDescription("the damage that will be done by this spell regardless of MP%", (AcceptableValueBase)null, Array.Empty())); eclipseGateScaledDamage = balanceConfigs.Bind(new ConfigDefinition("Magic EclipseGate", "Scaled Damage"), 10f, new ConfigDescription("this is the total amount of damage added if MP = 0", (AcceptableValueBase)null, Array.Empty())); eclipseGateMagic = balanceConfigs.Bind(new ConfigDefinition("Magic EclipseGate", "Magic Cost"), 10f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); eclipseGateProc = balanceConfigs.Bind(new ConfigDefinition("Magic EclipseGate", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); blastingZoneDamage = balanceConfigs.Bind(new ConfigDefinition("Limit BlastingZone", "Damage"), 150f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); blastingZoneCost = balanceConfigs.Bind(new ConfigDefinition("Limit BlastingZone", "Limit Cost"), 1, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); blastingZoneProc = balanceConfigs.Bind(new ConfigDefinition("Limit BlastingZone", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); JCEDamage = balanceConfigs.Bind(new ConfigDefinition("Limit JudgementCutEND", "Damage"), 200f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); JCECost = balanceConfigs.Bind(new ConfigDefinition("Limit JudgementCutEND", "Limit Cost"), 1, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); JCEnumberOfHits = balanceConfigs.Bind(new ConfigDefinition("Limit JudgementCutEND", "Number of Hits"), 5, new ConfigDescription("This does not effect total damage, just the number of instances the damage is done over, this can also cause lag extremely easily, so I wouldn't recommend setting this too high", (AcceptableValueBase)null, Array.Empty())); JCEProc = balanceConfigs.Bind(new ConfigDefinition("Limit JudgementCutEND", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); pyroclasmCost = balanceConfigs.Bind(new ConfigDefinition("Limit Pyroclasm", "Limit Cost"), 3, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); PWKCost = balanceConfigs.Bind(new ConfigDefinition("Limit PowerWordKill", "Limit Cost"), 1, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); berserkFormCost = balanceConfigs.Bind(new ConfigDefinition("Limit BerserkForm", "Limit Cost"), 1, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); berserkFormDuration = balanceConfigs.Bind(new ConfigDefinition("Limit BerserkForm", "Form Duration"), 40f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); berserkFormSpeed = balanceConfigs.Bind(new ConfigDefinition("Limit BerserkForm", "Form Movement Speed"), 1.5f, new ConfigDescription("'1.5' is a 50% movement speed increase", (AcceptableValueBase)null, Array.Empty())); berserkFormJump = balanceConfigs.Bind(new ConfigDefinition("Limit BerserkForm", "Form Jump Power"), 16f, new ConfigDescription("'16' is +16 jump power", (AcceptableValueBase)null, Array.Empty())); berserkFormArmor = balanceConfigs.Bind(new ConfigDefinition("Limit BerserkForm", "Form Armor"), -60f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); wildMagicCost = balanceConfigs.Bind(new ConfigDefinition("Limit WildMagic", "Limit Cost"), 1, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); zoomCost = balanceConfigs.Bind(new ConfigDefinition("Limit Zoom", "Limit Cost"), 1, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); BSKFangDamage = balanceConfigs.Bind(new ConfigDefinition("Formchange BerserkFang", "Damage"), 2.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); BSKFangProc = balanceConfigs.Bind(new ConfigDefinition("Formchange BerserkFang", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); BSKReaveDamage = balanceConfigs.Bind(new ConfigDefinition("Formchange BerserkReave", "Damage"), 10f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); BSKReaveProc = balanceConfigs.Bind(new ConfigDefinition("Formchange BerserkReave", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); BSKImpactDamage = balanceConfigs.Bind(new ConfigDefinition("Formchange BerserkImpact", "Damage"), 13f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); BSKImpactProc = balanceConfigs.Bind(new ConfigDefinition("Formchange BerserkImpact", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); bladeDanceDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher BladeDance", "Damage"), 0.55f, new ConfigDescription("damage per hit", (AcceptableValueBase)null, Array.Empty())); bladeDanceProc = balanceConfigs.Bind(new ConfigDefinition("Finisher BladeDance", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); bladeDanceInterval = balanceConfigs.Bind(new ConfigDefinition("Finisher BladeDance", "Interval"), 0.1f, new ConfigDescription("interval in seconds between each hit, this is effected by attack speed", (AcceptableValueBase)null, Array.Empty())); challengingShoutProc = balanceConfigs.Bind(new ConfigDefinition("Finisher ChallengingShout", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); darkPassengerDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher DarkPassenger", "Damage"), 7f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); darkPassengerProc = balanceConfigs.Bind(new ConfigDefinition("Finisher DarkPassenger", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); explosionDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher Explosion", "Damage"), 7f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); explosionProc = balanceConfigs.Bind(new ConfigDefinition("Finisher Explosion", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); fatedCircleSlashDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher FatedCircle", "Slash Damage"), 2f, new ConfigDescription("Damage for the first hit of Fated Circle", (AcceptableValueBase)null, Array.Empty())); fatedCircleBlastDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher FatedCircle", "Blast Damage"), 5f, new ConfigDescription("Damage for the second hit of Fated Circle", (AcceptableValueBase)null, Array.Empty())); fatedCircleProc = balanceConfigs.Bind(new ConfigDefinition("Finisher FatedCircle", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); frostFangsDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher FrostFangs", "Damage"), 3f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); frostFangsProc = balanceConfigs.Bind(new ConfigDefinition("Finisher FrostFangs", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); judgementCutDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher JudgementCut", "Damage"), 0.7f, new ConfigDescription("damage per hit", (AcceptableValueBase)null, Array.Empty())); judgementCutProc = balanceConfigs.Bind(new ConfigDefinition("Finisher JudgementCut", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); judgementCutInterval = balanceConfigs.Bind(new ConfigDefinition("Finisher JudgementCut", "Interval"), 0.1f, new ConfigDescription("interval in seconds between each hit, this is effected by attack speed", (AcceptableValueBase)null, Array.Empty())); rippleDriveDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher RippleDrive", "Damage"), 4f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); rippleDriveProc = balanceConfigs.Bind(new ConfigDefinition("Finisher RippleDrive", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); shillelaghBaseDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher Shillelagh", "Weak Damage"), 2.5f, new ConfigDescription("The damage dealt while still having Magic", (AcceptableValueBase)null, Array.Empty())); shillelaghBoostDamage = balanceConfigs.Bind(new ConfigDefinition("Finisher Shillelagh", "Boosted Damage"), 4.5f, new ConfigDescription("The damage dealt while in Magic Recharge", (AcceptableValueBase)null, Array.Empty())); shillelaghMagicRestore = balanceConfigs.Bind(new ConfigDefinition("Finisher Shillelagh", "Magic Restore"), 0.15f, new ConfigDescription("The percentage of Magic to resore when landing a blow in Magic Recharge", (AcceptableValueBase)null, Array.Empty())); shillelaghProc = balanceConfigs.Bind(new ConfigDefinition("Finisher Shillelagh", "Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); if (useBalanceConfigs.Value) { return; } Debug.Log((object)"[MystMessage] BalanceConfigsReseting"); foreach (ConfigEntryBase item in ((IEnumerable>)balanceConfigs).Select((KeyValuePair kvp) => kvp.Value)) { item.BoxedValue = item.DefaultValue; } balanceConfigs.Save(); Debug.Log((object)"[MystMessage] BalanceConfigsReset"); } [MethodImpl(MethodImplOptions.NoInlining)] private static void SetUpRiskOfOptions() { //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Expected O, but got Unknown //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Expected O, but got Unknown //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Expected O, but got Unknown //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Expected O, but got Unknown //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Expected O, but got Unknown //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Expected O, but got Unknown //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Expected O, but got Unknown //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Expected O, but got Unknown //IL_00ab: Unknown result type (might be due to invalid IL or missing references) //IL_00b5: Expected O, but got Unknown //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Expected O, but got Unknown //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00eb: Expected O, but got Unknown //IL_00e6: Unknown result type (might be due to invalid IL or missing references) //IL_00f0: Expected O, but got Unknown //IL_00f6: Unknown result type (might be due to invalid IL or missing references) //IL_0100: Expected O, but got Unknown //IL_0106: Unknown result type (might be due to invalid IL or missing references) //IL_0110: Expected O, but got Unknown //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_0120: Expected O, but got Unknown //IL_0126: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Expected O, but got Unknown //IL_0136: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Expected O, but got Unknown //IL_0146: Unknown result type (might be due to invalid IL or missing references) //IL_0150: Expected O, but got Unknown //IL_0157: Unknown result type (might be due to invalid IL or missing references) //IL_0161: Expected O, but got Unknown //IL_0168: Unknown result type (might be due to invalid IL or missing references) //IL_0172: Expected O, but got Unknown //IL_0179: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Expected O, but got Unknown //IL_018a: Unknown result type (might be due to invalid IL or missing references) //IL_0194: Expected O, but got Unknown //IL_019b: Unknown result type (might be due to invalid IL or missing references) //IL_01a5: Expected O, but got Unknown //IL_01ac: Unknown result type (might be due to invalid IL or missing references) //IL_01b6: Expected O, but got Unknown //IL_01bd: Unknown result type (might be due to invalid IL or missing references) //IL_01c7: Expected O, but got Unknown //IL_01ce: Unknown result type (might be due to invalid IL or missing references) //IL_01d8: Expected O, but got Unknown //IL_01df: Unknown result type (might be due to invalid IL or missing references) //IL_01e9: Expected O, but got Unknown //IL_01f0: Unknown result type (might be due to invalid IL or missing references) //IL_01fa: Expected O, but got Unknown //IL_0200: Unknown result type (might be due to invalid IL or missing references) //IL_020a: Expected O, but got Unknown //IL_0210: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Expected O, but got Unknown ModSettingsManager.SetModIcon(Assets.mainAssetBundle.LoadAsset("mysticon")); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(ExtraSlot1)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(ExtraSlot2)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(ExtraSlot3)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(ExtraSlot4)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(OpenMenu)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEquip)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(Emote)); ModSettingsManager.AddOption((BaseOption)new ColorOption(SpellMagicite)); ModSettingsManager.AddOption((BaseOption)new ColorOption(FinisherMagicite)); ModSettingsManager.AddOption((BaseOption)new ColorOption(LimitMagicite)); ModSettingsManager.AddOption((BaseOption)new ColorOption(SupportMagicite)); ModSettingsManager.AddOption((BaseOption)new SliderOption(UIscale, new SliderConfig { min = 0f, max = 500f })); ModSettingsManager.AddOption((BaseOption)new ColorOption(MagicBarColour)); ModSettingsManager.AddOption((BaseOption)new ColorOption(MagicRechargeColour)); ModSettingsManager.AddOption((BaseOption)new ColorOption(MagicTextColour)); ModSettingsManager.AddOption((BaseOption)new ColorOption(MagicTextRechargeColour)); ModSettingsManager.AddOption((BaseOption)new ColorOption(LimitBarColour)); ModSettingsManager.AddOption((BaseOption)new ColorOption(LimitChargeColour)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(ItemDisplays, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(IDRbase, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(IDRdlc1, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(IDRdlc2, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(IDRdlc3, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(IDRmodded, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(IDRscepter, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(IDRstarstorm, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(IDRmysticsitems, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(IDRtinkerssatchel, true)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(OmniStasis)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(LegacyMysticLO)); } private static void Hooks() { SpellMagicite.SettingChanged += ColourChange; FinisherMagicite.SettingChanged += ColourChange; LimitMagicite.SettingChanged += ColourChange; SupportMagicite.SettingChanged += ColourChange; UIscale.SettingChanged += HUDScaleChange; MagicBarColour.SettingChanged += HUDColourChange; MagicRechargeColour.SettingChanged += HUDColourChange; LimitBarColour.SettingChanged += HUDColourChange; LimitChargeColour.SettingChanged += HUDColourChange; } private static void ColourChange(object sender, EventArgs e) { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) Magicite[] magicites = MagiciteDefs.magicites; foreach (Magicite magicite in magicites) { switch (magicite.type) { case Magicite.MagiciteType.Spell: magicite.color = SpellMagicite.Value; break; case Magicite.MagiciteType.Finisher: magicite.color = FinisherMagicite.Value; break; case Magicite.MagiciteType.Limit: magicite.color = LimitMagicite.Value; break; case Magicite.MagiciteType.Support: magicite.color = SupportMagicite.Value; break; } } } private static void HUDScaleChange(object sender, EventArgs e) { //IL_004c: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)MystRunComponent.Instance != (Object)null) { ((Transform)MystRunComponent.Instance.HUDresourceGauges).localScale = new Vector3(1.3f * (UIscale.Value / 100f), 1.3f * (UIscale.Value / 100f), 1f); } } private static void HUDColourChange(object sender, EventArgs e) { //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) MystRunComponent instance = MystRunComponent.Instance; if ((Object)(object)instance != (Object)null && (Object)(object)instance.passiveManager != (Object)null) { ((Graphic)instance.magicBar).color = (instance.passiveManager.magicRecharge ? MagicRechargeColour.Value : MagicBarColour.Value); instance.passiveManager.LimitBarHandler(); } } } internal class ContentPacks : IContentPackProvider { [CompilerGenerated] private sealed class d__3 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public FinalizeAsyncArgs args; public ContentPacks <>4__this; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__3(int <>1__state) { this.<>1__state = <>1__state; } [DebuggerHidden] void IDisposable.Dispose() { <>1__state = -2; } private bool MoveNext() { if (<>1__state != 0) { return false; } <>1__state = -1; args.ReportProgress(1f); return false; } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void IEnumerator.Reset() { throw new NotSupportedException(); } } [CompilerGenerated] private sealed class d__4 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public GetContentPackAsyncArgs args; public ContentPacks <>4__this; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__4(int <>1__state) { this.<>1__state = <>1__state; } [DebuggerHidden] void IDisposable.Dispose() { <>1__state = -2; } private bool MoveNext() { if (<>1__state != 0) { return false; } <>1__state = -1; ContentPack.Copy(contentPack, args.output); return false; } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void IEnumerator.Reset() { throw new NotSupportedException(); } } [CompilerGenerated] private sealed class d__5 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public LoadStaticContentAsyncArgs args; public ContentPacks <>4__this; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__5(int <>1__state) { this.<>1__state = <>1__state; } [DebuggerHidden] void IDisposable.Dispose() { <>1__state = -2; } private bool MoveNext() { if (<>1__state != 0) { return false; } <>1__state = -1; contentPack.bodyPrefabs.Add(Prefabs.bodyPrefabs.ToArray()); contentPack.buffDefs.Add(Buffs.buffDefs.ToArray()); contentPack.effectDefs.Add(Assets.effectDefs.ToArray()); contentPack.entityStateTypes.Add(States.entityStates.ToArray()); contentPack.masterPrefabs.Add(Prefabs.masterPrefabs.ToArray()); contentPack.networkSoundEventDefs.Add(Assets.networkSoundEventDefs.ToArray()); contentPack.projectilePrefabs.Add(Prefabs.projectilePrefabs.ToArray()); contentPack.skillDefs.Add(Skills.skillDefs.ToArray()); contentPack.skillFamilies.Add(Skills.skillFamilies.ToArray()); contentPack.survivorDefs.Add(Prefabs.survivorDefinitions.ToArray()); args.ReportProgress(1f); return false; } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void IEnumerator.Reset() { throw new NotSupportedException(); } } private static ContentPack contentPack = new ContentPack(); public string identifier => "Myst.MystContent"; [IteratorStateMachine(typeof(d__3))] public IEnumerator FinalizeAsync(FinalizeAsyncArgs args) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__3(0) { <>4__this = this, args = args }; } [IteratorStateMachine(typeof(d__4))] public IEnumerator GenerateContentPackAsync(GetContentPackAsyncArgs args) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__4(0) { <>4__this = this, args = args }; } [IteratorStateMachine(typeof(d__5))] public IEnumerator LoadStaticContentAsync(LoadStaticContentAsyncArgs args) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__5(0) { <>4__this = this, args = args }; } internal void CreateContentPack() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Expected O, but got Unknown contentPack = new ContentPack(); contentPack.bodyPrefabs.Add(Prefabs.bodyPrefabs.ToArray()); contentPack.buffDefs.Add(Buffs.buffDefs.ToArray()); contentPack.effectDefs.Add(Assets.effectDefs.ToArray()); contentPack.entityStateTypes.Add(States.entityStates.ToArray()); contentPack.masterPrefabs.Add(Prefabs.masterPrefabs.ToArray()); contentPack.networkSoundEventDefs.Add(Assets.networkSoundEventDefs.ToArray()); contentPack.projectilePrefabs.Add(Prefabs.projectilePrefabs.ToArray()); contentPack.skillDefs.Add(Skills.skillDefs.ToArray()); contentPack.skillFamilies.Add(Skills.skillFamilies.ToArray()); contentPack.survivorDefs.Add(Prefabs.survivorDefinitions.ToArray()); } } internal static class Helpers { internal const string agilePrefix = "Agile. "; internal static string ScepterDescription(string desc) { return "\nSCEPTER: " + desc + ""; } public static T[] Append(ref T[] array, List list) { int num = array.Length; int count = list.Count; Array.Resize(ref array, num + count); list.CopyTo(array, num); return array; } public static Func AppendDel(List list) { return (T[] r) => Append(ref r, list); } } internal static class ArrayHelper { public static T[] Append(ref T[] array, List list) { int num = array.Length; int count = list.Count; Array.Resize(ref array, num + count); list.CopyTo(array, num); return array; } public static Func AppendDel(List list) { return (T[] r) => Append(ref r, list); } } internal static class ItemDisplays { private static Dictionary itemDisplayPrefabs = new Dictionary(); internal static void PopulateDisplays() { ItemDisplayRuleSet itemDisplayRuleSet = ((Component)LegacyResourcesAPI.Load("Prefabs/CharacterBodies/CommandoBody").GetComponent().modelTransform).GetComponent().itemDisplayRuleSet; KeyAssetRuleGroup[] keyAssetRuleGroups = itemDisplayRuleSet.keyAssetRuleGroups; for (int i = 0; i < keyAssetRuleGroups.Length; i++) { ItemDisplayRule[] rules = keyAssetRuleGroups[i].displayRuleGroup.rules; for (int j = 0; j < rules.Length; j++) { GameObject followerPrefab = rules[j].followerPrefab; if (Object.op_Implicit((Object)(object)followerPrefab)) { string key = ((Object)followerPrefab).name?.ToLower(); if (!itemDisplayPrefabs.ContainsKey(key)) { itemDisplayPrefabs[key] = followerPrefab; } } } } } internal static GameObject LoadDisplay(string name) { if (itemDisplayPrefabs.ContainsKey(name.ToLower()) && Object.op_Implicit((Object)(object)itemDisplayPrefabs[name.ToLower()])) { return itemDisplayPrefabs[name.ToLower()]; } return null; } } internal static class Prefabs { private static PhysicMaterial ragdollMaterial; internal static List survivorDefinitions = new List(); internal static List bodyPrefabs = new List(); internal static List masterPrefabs = new List(); internal static List projectilePrefabs = new List(); internal static void RegisterNewSurvivor(GameObject bodyPrefab, GameObject displayPrefab, Color charColor, string namePrefix, UnlockableDef unlockableDef) { //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) string displayNameToken = "JAVANGLE_" + namePrefix + "_BODY_NAME"; string descriptionToken = "JAVANGLE_" + namePrefix + "_BODY_DESCRIPTION"; string outroFlavorToken = "JAVANGLE_" + namePrefix + "_BODY_OUTRO_FLAVOR"; string mainEndingEscapeFailureFlavorToken = "JAVANGLE_" + namePrefix + "_BODY_OUTRO_FAILURE"; SurvivorDef val = ScriptableObject.CreateInstance(); val.bodyPrefab = bodyPrefab; val.displayPrefab = displayPrefab; val.primaryColor = charColor; val.displayNameToken = displayNameToken; val.descriptionToken = descriptionToken; val.outroFlavorToken = outroFlavorToken; val.mainEndingEscapeFailureFlavorToken = mainEndingEscapeFailureFlavorToken; val.desiredSortPosition = 15.000001f; val.unlockableDef = unlockableDef; val.cachedName = ((Object)bodyPrefab).name.Replace("Body", ""); survivorDefinitions.Add(val); } internal static void RegisterNewSurvivor(GameObject bodyPrefab, GameObject displayPrefab, Color charColor, string namePrefix) { //IL_0003: Unknown result type (might be due to invalid IL or missing references) RegisterNewSurvivor(bodyPrefab, displayPrefab, charColor, namePrefix, null); } internal static GameObject CreateDisplayPrefab(string modelName, GameObject prefab) { GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/CharacterBodies/CommandoBody"), modelName + "Prefab"); GameObject val2 = CreateModel(val, modelName); Transform val3 = SetupModel(val, val2.transform); val2.AddComponent().baseRendererInfos = prefab.GetComponentInChildren().baseRendererInfos; Assets.ConvertAllRenderersToHopooShader(val2); return val2.gameObject; } internal static GameObject CreatePrefab(string bodyName, string modelName, BodyInfo bodyInfo) { //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_019b: Unknown result type (might be due to invalid IL or missing references) //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) GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/CharacterBodies/CommandoBody"), bodyName); GameObject val2 = CreateModel(val, modelName); Transform val3 = SetupModel(val, val2.transform); CharacterBody component = val.GetComponent(); ((Object)component).name = bodyInfo.bodyName; component.baseNameToken = bodyInfo.bodyNameToken; component.subtitleNameToken = bodyInfo.subtitleNameToken; component.portraitIcon = bodyInfo.characterPortrait; component._defaultCrosshairPrefab = bodyInfo.crosshair; component.bodyFlags = (BodyFlags)16; component.rootMotionInMainState = false; component.baseMaxHealth = bodyInfo.maxHealth; component.levelMaxHealth = bodyInfo.healthGrowth; component.baseRegen = bodyInfo.healthRegen; component.levelRegen = component.baseRegen * 0.2f; component.baseMaxShield = bodyInfo.shield; component.levelMaxShield = bodyInfo.shieldGrowth; component.baseMoveSpeed = bodyInfo.moveSpeed; component.levelMoveSpeed = bodyInfo.moveSpeedGrowth; component.baseAcceleration = bodyInfo.acceleration; component.baseJumpPower = bodyInfo.jumpPower; component.levelJumpPower = bodyInfo.jumpPowerGrowth; component.baseDamage = bodyInfo.damage; component.levelDamage = component.baseDamage * 0.2f; component.baseAttackSpeed = bodyInfo.attackSpeed; component.levelAttackSpeed = bodyInfo.attackSpeedGrowth; component.baseArmor = bodyInfo.armor; component.levelArmor = bodyInfo.armorGrowth; component.baseCrit = bodyInfo.crit; component.levelCrit = bodyInfo.critGrowth; component.baseJumpCount = bodyInfo.jumpCount; component.sprintingSpeedMultiplier = 1.45f; component.hideCrosshair = false; component.aimOriginTransform = val3.Find("AimOrigin"); component.hullClassification = (HullClassification)0; component.preferredPodPrefab = bodyInfo.podPrefab; component.isChampion = false; component.bodyColor = bodyInfo.bodyColor; SetupCharacterDirection(val, val3, val2.transform); SetupCameraTargetParams(val); SetupModelLocator(val, val3, val2.transform); SetupRigidbody(val); SetupCapsuleCollider(val); SetupMainHurtbox(val, val2); SetupFootstepController(val2); SetupRagdoll(val2); SetupAimAnimator(val, val2); bodyPrefabs.Add(val); return val; } internal static void CreateGenericDoppelganger(GameObject bodyPrefab, string masterName, string masterToCopy) { GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/CharacterMasters/" + masterToCopy + "Master"), masterName, true); val.GetComponent().bodyPrefab = bodyPrefab; masterPrefabs.Add(val); } private static Transform SetupModel(GameObject prefab, Transform modelTransform) { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Expected O, but got Unknown //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_0064: 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_007a: Expected O, but got Unknown //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Expected O, but got Unknown //IL_0100: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_014c: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) GameObject val = new GameObject("ModelBase"); val.transform.parent = prefab.transform; val.transform.localPosition = new Vector3(0f, -0.92f, 0f); val.transform.localRotation = Quaternion.identity; val.transform.localScale = new Vector3(1f, 1f, 1f); GameObject val2 = new GameObject("CameraPivot"); val2.transform.parent = val.transform; val2.transform.localPosition = new Vector3(0f, 1.6f, 0f); val2.transform.localRotation = Quaternion.identity; val2.transform.localScale = Vector3.one; GameObject val3 = new GameObject("AimOrigin"); val3.transform.parent = val.transform; val3.transform.localPosition = new Vector3(0f, 1.8f, 0f); val3.transform.localRotation = Quaternion.identity; val3.transform.localScale = Vector3.one; prefab.GetComponent().aimOriginTransform = val3.transform; modelTransform.parent = val.transform; modelTransform.localPosition = Vector3.zero; modelTransform.localRotation = Quaternion.identity; return val.transform; } private static GameObject CreateModel(GameObject main, string modelName) { Object.DestroyImmediate((Object)(object)((Component)main.transform.Find("ModelBase")).gameObject); Object.DestroyImmediate((Object)(object)((Component)main.transform.Find("CameraPivot")).gameObject); Object.DestroyImmediate((Object)(object)((Component)main.transform.Find("AimOrigin")).gameObject); if ((Object)(object)Assets.mainAssetBundle.LoadAsset(modelName) == (Object)null) { Debug.LogError((object)"Trying to load a null model- check to see if the name in your code matches the name of the object in Unity"); return null; } return Object.Instantiate(Assets.mainAssetBundle.LoadAsset(modelName)); } internal static void SetupCharacterModel(GameObject prefab, CustomRendererInfo[] rendererInfo, int mainRendererIndex) { //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) CharacterModel val = ((Component)prefab.GetComponent().modelTransform).gameObject.AddComponent(); ChildLocator component = ((Component)val).GetComponent(); val.body = prefab.GetComponent(); List list = new List(); for (int i = 0; i < rendererInfo.Length; i++) { list.Add(new RendererInfo { renderer = ((Component)component.FindChild(rendererInfo[i].childName)).GetComponent(), defaultMaterial = rendererInfo[i].material, ignoreOverlays = rendererInfo[i].ignoreOverlays, defaultShadowCastingMode = (ShadowCastingMode)1 }); } val.baseRendererInfos = list.ToArray(); val.autoPopulateLightInfos = true; val.invisibilityCount = 0; val.temporaryOverlays = new List(); val.mainSkinnedMeshRenderer = ((Component)val.baseRendererInfos[mainRendererIndex].renderer).GetComponent(); } private static void SetupCharacterDirection(GameObject prefab, Transform modelBaseTransform, Transform modelTransform) { CharacterDirection component = prefab.GetComponent(); component.targetTransform = modelBaseTransform; component.overrideAnimatorForwardTransform = null; component.rootMotionAccumulator = null; component.modelAnimator = ((Component)modelTransform).GetComponent(); component.driveFromRootRotation = false; component.turnSpeed = 720f; } private static void SetupCameraTargetParams(GameObject prefab) { //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) CameraTargetParams component = prefab.GetComponent(); component.cameraParams = LegacyResourcesAPI.Load("Prefabs/CharacterBodies/MercBody").GetComponent().cameraParams; component.cameraPivotTransform = prefab.transform.Find("ModelBase").Find("CameraPivot"); component.recoil = Vector2.zero; component.dontRaycastToPivot = false; } private static void SetupModelLocator(GameObject prefab, Transform modelBaseTransform, Transform modelTransform) { ModelLocator component = prefab.GetComponent(); component.modelTransform = modelTransform; component.modelBaseTransform = modelBaseTransform; } private static void SetupRigidbody(GameObject prefab) { Rigidbody component = prefab.GetComponent(); component.mass = 100f; } private static void SetupCapsuleCollider(GameObject prefab) { //IL_0018: Unknown result type (might be due to invalid IL or missing references) CapsuleCollider component = prefab.GetComponent(); component.center = new Vector3(0f, 0f, 0f); component.radius = 0.5f; component.height = 1.82f; component.direction = 1; } private static void SetupMainHurtbox(GameObject prefab, GameObject model) { //IL_0075: Unknown result type (might be due to invalid IL or missing references) HurtBoxGroup val = model.AddComponent(); ChildLocator component = model.GetComponent(); if (!Object.op_Implicit((Object)(object)component.FindChild("MainHurtbox"))) { Debug.LogError((object)"Could not set up main hurtbox: make sure you have a transform pair in your prefab's ChildLocator component called 'MainHurtbox'"); return; } HurtBox val2 = ((Component)component.FindChild("MainHurtbox")).gameObject.AddComponent(); ((Component)val2).gameObject.layer = LayerIndex.entityPrecise.intVal; val2.healthComponent = prefab.GetComponent(); val2.isBullseye = true; val2.damageModifier = (DamageModifier)0; val2.hurtBoxGroup = val; val2.indexInGroup = 0; val.hurtBoxes = (HurtBox[])(object)new HurtBox[1] { val2 }; val.mainHurtBox = val2; val.bullseyeCount = 1; } private static void SetupFootstepController(GameObject model) { FootstepHandler val = model.AddComponent(); val.baseFootstepString = "Play_player_footstep"; val.sprintFootstepOverrideString = ""; val.enableFootstepDust = true; val.footstepDustPrefab = LegacyResourcesAPI.Load("Prefabs/GenericFootstepDust"); } private static void SetupRagdoll(GameObject model) { RagdollController component = model.GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { return; } if ((Object)(object)ragdollMaterial == (Object)null) { ragdollMaterial = ((Component)LegacyResourcesAPI.Load("Prefabs/CharacterBodies/CommandoBody").GetComponentInChildren().bones[1]).GetComponent().material; } Transform[] bones = component.bones; foreach (Transform val in bones) { if (Object.op_Implicit((Object)(object)val)) { ((Component)val).gameObject.layer = LayerIndex.ragdoll.intVal; Collider component2 = ((Component)val).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { component2.material = ragdollMaterial; component2.sharedMaterial = ragdollMaterial; } } } } private static void SetupAimAnimator(GameObject prefab, GameObject model) { AimAnimator val = model.AddComponent(); val.directionComponent = prefab.GetComponent(); val.pitchRangeMax = 60f; val.pitchRangeMin = -60f; val.yawRangeMin = -80f; val.yawRangeMax = 80f; val.pitchGiveupRange = 30f; val.yawGiveupRange = 10f; val.giveupDuration = 3f; val.inputBank = prefab.GetComponent(); } internal static void SetupHitbox(GameObject prefab, Transform hitboxTransform, string hitboxName) { HitBoxGroup val = prefab.AddComponent(); HitBox val2 = ((Component)hitboxTransform).gameObject.AddComponent(); ((Component)hitboxTransform).gameObject.layer = LayerIndex.projectile.intVal; val.hitBoxes = (HitBox[])(object)new HitBox[1] { val2 }; val.groupName = hitboxName; } internal static void SetupHitbox(GameObject prefab, string hitboxName, params Transform[] hitboxTransforms) { HitBoxGroup val = prefab.AddComponent(); List list = new List(); foreach (Transform val2 in hitboxTransforms) { HitBox item = ((Component)val2).gameObject.AddComponent(); ((Component)val2).gameObject.layer = LayerIndex.projectile.intVal; list.Add(item); } val.hitBoxes = list.ToArray(); val.groupName = hitboxName; } } internal static class Projectiles { internal static GameObject FireballPrefab; internal static GameObject MagicMissilePrefab; internal static GameObject AcidSplashPrefab; internal static GameObject MagnetPrefab; internal static GameObject DoomboltMainPrefab; internal static GameObject DoomboltSubPrefab; internal static void RegisterProjectiles() { CreateFireball(); CreateMagicMissile(); CreateAcidSplash(); CreateMagnet(); CreateDoomboltSub(); CreateDoomboltMain(); Prefabs.projectilePrefabs.Add(FireballPrefab); Prefabs.projectilePrefabs.Add(MagicMissilePrefab); Prefabs.projectilePrefabs.Add(AcidSplashPrefab); Prefabs.projectilePrefabs.Add(MagnetPrefab); Prefabs.projectilePrefabs.Add(DoomboltMainPrefab); Prefabs.projectilePrefabs.Add(DoomboltSubPrefab); } private static void CreateFireball() { //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: 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_00c6: Unknown result type (might be due to invalid IL or missing references) FireballPrefab = CloneProjectilePrefab("LunarNeedleProjectile", "MystFireballProjectile"); ProjectileImpactExplosion component = FireballPrefab.GetComponent(); InitializeImpactExplosion(component); ((ProjectileExplosion)component).blastRadius = 5f; ((ProjectileExplosion)component).blastDamageCoefficient = 100f; ((ProjectileExplosion)component).blastProcCoefficient = 1f; component.destroyOnEnemy = true; component.lifetime = 12f; component.impactEffect = Assets.SpellFireballExplosion; component.timerAfterImpact = true; component.lifetimeAfterImpact = 0f; ((ProjectileExplosion)component).blastProcCoefficient = 1f; ProjectileDamage component2 = FireballPrefab.GetComponent(); component2.damage = 0f; component2.crit = false; component2.force = 0f; component2.damageColorIndex = (DamageColorIndex)0; component2.damageType = DamageTypeCombo.op_Implicit((DamageType)128) | DamageTypeCombo.GenericUtility; Object.Destroy((Object)(object)FireballPrefab.GetComponent()); ProjectileController component3 = FireballPrefab.GetComponent(); component3.ghostPrefab = CreateGhostPrefab("Fireball"); component3.startSound = ""; component3.procCoefficient = Config.fireballProc.Value; ProjectileSteerTowardTarget val = FireballPrefab.AddComponent(); val.yAxisOnly = false; val.rotationSpeed = 90f; ProjectileSimple component4 = FireballPrefab.GetComponent(); component4.desiredForwardSpeed = 40f; component4.lifetime = 15f; component4.updateAfterFiring = true; component4.enableVelocityOverLifetime = false; component4.oscillate = false; component4.oscillateMagnitude = 20f; component4.oscillateSpeed = 0f; ProjectileDirectionalTargetFinder val2 = FireballPrefab.AddComponent(); val2.onlySearchIfNoTarget = true; val2.allowTargetLoss = false; val2.lookCone = 90f; val2.lookRange = 50f; val2.targetSearchInterval = 0.1f; val2.testLoS = false; val2.ignoreAir = false; FireballPrefab.GetComponent().useGravity = false; } private static void CreateMagicMissile() { //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) MagicMissilePrefab = CloneProjectilePrefab("LunarNeedleProjectile", "MystMagicMissileProjectile"); ProjectileImpactExplosion component = MagicMissilePrefab.GetComponent(); InitializeImpactExplosion(component); ((ProjectileExplosion)component).blastRadius = 0f; ((ProjectileExplosion)component).blastDamageCoefficient = 0f; ((ProjectileExplosion)component).blastProcCoefficient = 1f; component.destroyOnEnemy = true; component.lifetime = 12f; component.impactEffect = Assets.SpellMagicMissileExplosion; component.timerAfterImpact = true; component.lifetimeAfterImpact = 0f; ((ProjectileExplosion)component).blastProcCoefficient = 1f; ProjectileDamage component2 = MagicMissilePrefab.GetComponent(); component2.damage = 1f; component2.crit = false; component2.force = 0f; component2.damageColorIndex = (DamageColorIndex)0; component2.damageType = DamageTypeCombo.GenericUtility; Object.Destroy((Object)(object)MagicMissilePrefab.GetComponent()); ProjectileController component3 = MagicMissilePrefab.GetComponent(); component3.ghostPrefab = CreateGhostPrefab("MagicMissileVFX"); component3.startSound = ""; component3.procCoefficient = Config.magicMissileProc.Value; ProjectileSteerTowardTarget val = MagicMissilePrefab.AddComponent(); val.yAxisOnly = false; val.rotationSpeed = 180f; ProjectileSimple component4 = MagicMissilePrefab.GetComponent(); component4.desiredForwardSpeed = 40f; component4.lifetime = 15f; component4.updateAfterFiring = true; component4.enableVelocityOverLifetime = false; component4.oscillate = true; component4.oscillateMagnitude = 20f; component4.oscillateSpeed = 15f; ProjectileDirectionalTargetFinder val2 = MagicMissilePrefab.AddComponent(); val2.onlySearchIfNoTarget = true; val2.allowTargetLoss = false; val2.lookCone = 90f; val2.lookRange = 50f; val2.targetSearchInterval = 0.1f; val2.testLoS = false; val2.ignoreAir = false; MagicMissilePrefab.GetComponent().useGravity = false; } private static void CreateAcidSplash() { //IL_00b3: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) AcidSplashPrefab = CloneProjectilePrefab("LunarNeedleProjectile", "MystAcidSplashProjectile"); ProjectileImpactExplosion component = AcidSplashPrefab.GetComponent(); InitializeImpactExplosion(component); ((ProjectileExplosion)component).blastRadius = 0f; ((ProjectileExplosion)component).blastDamageCoefficient = 0f; ((ProjectileExplosion)component).blastProcCoefficient = 1f; component.destroyOnEnemy = true; component.lifetime = 12f; component.impactEffect = null; component.timerAfterImpact = true; component.lifetimeAfterImpact = 0f; MystProjectileDebuffInflictor mystProjectileDebuffInflictor = AcidSplashPrefab.AddComponent(); mystProjectileDebuffInflictor.duration = 15f; ProjectileDamage component2 = AcidSplashPrefab.GetComponent(); component2.damage = 1f; component2.crit = false; component2.force = 0f; component2.damageColorIndex = (DamageColorIndex)0; component2.damageType = DamageTypeCombo.GenericUtility; Object.Destroy((Object)(object)AcidSplashPrefab.GetComponent()); ProjectileController component3 = AcidSplashPrefab.GetComponent(); component3.ghostPrefab = CreateGhostPrefab("Acid Splash Bubble"); component3.startSound = ""; component3.procCoefficient = Config.acidSplashProc.Value; ProjectileSteerTowardTarget val = AcidSplashPrefab.AddComponent(); val.yAxisOnly = false; val.rotationSpeed = 90f; ProjectileSimple component4 = AcidSplashPrefab.GetComponent(); component4.desiredForwardSpeed = 40f; component4.lifetime = 15f; component4.updateAfterFiring = true; component4.enableVelocityOverLifetime = false; component4.oscillate = false; component4.oscillateMagnitude = 20f; component4.oscillateSpeed = 0f; ProjectileDirectionalTargetFinder val2 = AcidSplashPrefab.AddComponent(); val2.onlySearchIfNoTarget = true; val2.allowTargetLoss = false; val2.lookCone = 90f; val2.lookRange = 50f; val2.targetSearchInterval = 0.1f; val2.testLoS = false; val2.ignoreAir = false; AcidSplashPrefab.GetComponent().useGravity = false; } private static void CreateMagnet() { MagnetPrefab = CloneProjectilePrefab("GravSphere", "MystMagnetProjectile"); ProjectileController component = MagnetPrefab.GetComponent(); component.ghostPrefab = CreateGhostPrefab("Magnet"); component.startSound = "Magic_MagnetSpawn"; RadialForce component2 = MagnetPrefab.GetComponent(); component2.forceMagnitude = -750f; Object.Destroy((Object)(object)component2.tetherVfxOrigin.tetherPrefab.gameObject); DetachParticleOnDestroyAndEndEmission[] components = MagnetPrefab.GetComponents(); foreach (DetachParticleOnDestroyAndEndEmission val in components) { Object.Destroy((Object)(object)val.particleSystem); } ProjectileSimple component3 = MagnetPrefab.GetComponent(); component3.desiredForwardSpeed = 0f; component3.lifetime = 12f; component3.updateAfterFiring = true; component3.enableVelocityOverLifetime = false; component3.oscillate = false; component3.oscillateMagnitude = 20f; component3.oscillateSpeed = 0f; MagnetPrefab.GetComponent().useGravity = false; } private static void CreateDoomboltSub() { //IL_00a1: 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_00ac: Unknown result type (might be due to invalid IL or missing references) DoomboltSubPrefab = CloneProjectilePrefab("LunarNeedleProjectile", "MystDoomboltMainProjectile"); ProjectileImpactExplosion component = DoomboltSubPrefab.GetComponent(); InitializeImpactExplosion(component); ((ProjectileExplosion)component).blastRadius = 5f; ((ProjectileExplosion)component).blastDamageCoefficient = 100f; ((ProjectileExplosion)component).blastProcCoefficient = 1f; component.destroyOnEnemy = true; component.lifetime = 1f; component.impactEffect = Assets.SpellDoomboltBlast; component.timerAfterImpact = true; component.lifetimeAfterImpact = 0f; ProjectileDamage component2 = DoomboltSubPrefab.GetComponent(); component2.damage = 1f; component2.crit = false; component2.force = 0f; component2.damageColorIndex = (DamageColorIndex)0; component2.damageType = DamageTypeCombo.GenericUtility; Object.Destroy((Object)(object)DoomboltSubPrefab.GetComponent()); ProjectileController component3 = DoomboltSubPrefab.GetComponent(); component3.ghostPrefab = CreateGhostPrefab("DoomboltSub"); component3.startSound = "Play_item_proc_novaonheal_impact"; component3.procCoefficient = Config.doomboltProc.Value; ProjectileSteerTowardTarget component4 = DoomboltSubPrefab.GetComponent(); component4.yAxisOnly = false; component4.rotationSpeed = 200f; ProjectileSimple component5 = DoomboltSubPrefab.GetComponent(); component5.desiredForwardSpeed = 50f; component5.lifetime = 2f; component5.updateAfterFiring = true; component5.enableVelocityOverLifetime = false; component5.oscillate = false; component5.oscillateMagnitude = 20f; component5.oscillateSpeed = 0f; ProjectileDirectionalTargetFinder val = DoomboltSubPrefab.AddComponent(); val.onlySearchIfNoTarget = true; val.allowTargetLoss = false; val.lookCone = 360f; val.lookRange = 50f; val.targetSearchInterval = 0.1f; val.testLoS = false; val.ignoreAir = false; DoomboltSubPrefab.GetComponent().useGravity = false; } private static void CreateDoomboltMain() { //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) DoomboltMainPrefab = CloneProjectilePrefab("LunarNeedleProjectile", "MystDoomboltMainProjectile"); ProjectileImpactExplosion component = DoomboltMainPrefab.GetComponent(); InitializeImpactExplosion(component); ((ProjectileExplosion)component).blastRadius = 5f; ((ProjectileExplosion)component).blastDamageCoefficient = 300f; ((ProjectileExplosion)component).blastProcCoefficient = 1f; component.destroyOnEnemy = true; component.lifetime = 5f; component.impactEffect = Assets.SpellDoomboltBlast; component.timerAfterImpact = true; component.lifetimeAfterImpact = 0f; ProjectileDamage component2 = DoomboltMainPrefab.GetComponent(); component2.damage = 0f; component2.crit = false; component2.force = 0f; component2.damageColorIndex = (DamageColorIndex)0; component2.damageType = DamageTypeCombo.op_Implicit((DamageType)128) | DamageTypeCombo.GenericUtility; Object.Destroy((Object)(object)DoomboltMainPrefab.GetComponent()); ProjectileController component3 = DoomboltMainPrefab.GetComponent(); component3.ghostPrefab = CreateGhostPrefab("DoomboltMain"); component3.startSound = ""; component3.procCoefficient = Config.doomboltProc.Value; ProjectileSimple component4 = DoomboltMainPrefab.GetComponent(); component4.desiredForwardSpeed = 5f; component4.lifetime = 6f; component4.updateAfterFiring = true; component4.enableVelocityOverLifetime = false; component4.oscillate = false; component4.oscillateMagnitude = 20f; component4.oscillateSpeed = 0f; MystProjectileSubEmitter mystProjectileSubEmitter = DoomboltMainPrefab.AddComponent(); mystProjectileSubEmitter.damageCoefficient = 1f; mystProjectileSubEmitter.initialFireDelay = 1f; mystProjectileSubEmitter.fireDelay = 0.15f; mystProjectileSubEmitter.subProjectilePrefab = DoomboltSubPrefab; ProjectileSteerTowardTarget component5 = DoomboltMainPrefab.GetComponent(); component5.yAxisOnly = false; component5.rotationSpeed = 25f; ProjectileDirectionalTargetFinder val = DoomboltMainPrefab.AddComponent(); val.onlySearchIfNoTarget = true; val.allowTargetLoss = false; val.lookCone = 360f; val.lookRange = 50f; val.targetSearchInterval = 0.1f; val.testLoS = false; val.ignoreAir = false; DoomboltMainPrefab.GetComponent().useGravity = false; } private static void InitializeImpactExplosion(ProjectileImpactExplosion projectileImpactExplosion) { //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //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) ((ProjectileExplosion)projectileImpactExplosion).blastDamageCoefficient = 1f; ((ProjectileExplosion)projectileImpactExplosion).blastProcCoefficient = 1f; ((ProjectileExplosion)projectileImpactExplosion).blastRadius = 1f; ((ProjectileExplosion)projectileImpactExplosion).bonusBlastForce = Vector3.zero; ((ProjectileExplosion)projectileImpactExplosion).childrenCount = 0; ((ProjectileExplosion)projectileImpactExplosion).childrenDamageCoefficient = 0f; ((ProjectileExplosion)projectileImpactExplosion).childrenProjectilePrefab = null; projectileImpactExplosion.destroyOnEnemy = false; projectileImpactExplosion.destroyOnWorld = false; ((ProjectileExplosion)projectileImpactExplosion).falloffModel = (FalloffModel)0; ((ProjectileExplosion)projectileImpactExplosion).fireChildren = false; projectileImpactExplosion.impactEffect = null; projectileImpactExplosion.lifetime = 0f; projectileImpactExplosion.lifetimeAfterImpact = 0f; projectileImpactExplosion.lifetimeRandomOffset = 0f; projectileImpactExplosion.offsetForLifetimeExpiredSound = 0f; projectileImpactExplosion.timerAfterImpact = false; ((Component)projectileImpactExplosion).GetComponent().damageType = DamageTypeCombo.GenericUtility; } private static GameObject CreateGhostPrefab(string ghostName) { GameObject val = Assets.mainAssetBundle.LoadAsset(ghostName); if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } Assets.ConvertAllRenderersToHopooShader(val); return val; } private static GameObject CloneProjectilePrefab(string prefabName, string newPrefabName) { return PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/Projectiles/" + prefabName), newPrefabName); } } internal static class Skills { internal static List skillFamilies = new List(); internal static List skillDefs = new List(); internal static void CreateSkillFamilies(GameObject targetPrefab) { SkillLocator component = targetPrefab.GetComponent(); component.primary = targetPrefab.AddComponent(); SkillFamily val = ScriptableObject.CreateInstance(); ((Object)val).name = ((Object)targetPrefab).name + "PrimaryFamily"; val.variants = (Variant[])(object)new Variant[0]; component.primary._skillFamily = val; component.secondary = targetPrefab.AddComponent(); SkillFamily val2 = ScriptableObject.CreateInstance(); ((Object)val2).name = ((Object)targetPrefab).name + "SecondaryFamily"; val2.variants = (Variant[])(object)new Variant[0]; component.secondary._skillFamily = val2; component.utility = targetPrefab.AddComponent(); SkillFamily val3 = ScriptableObject.CreateInstance(); ((Object)val3).name = ((Object)targetPrefab).name + "UtilityFamily"; val3.variants = (Variant[])(object)new Variant[0]; component.utility._skillFamily = val3; component.special = targetPrefab.AddComponent(); SkillFamily val4 = ScriptableObject.CreateInstance(); ((Object)val4).name = ((Object)targetPrefab).name + "SpecialFamily"; val4.variants = (Variant[])(object)new Variant[0]; component.special._skillFamily = val4; skillFamilies.Add(val); skillFamilies.Add(val2); skillFamilies.Add(val3); skillFamilies.Add(val4); } internal static void AddExtraSkill(GameObject targetPrefab, SkillDef skillDef, SkillFamily skillFamily) { //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Expected O, but got Unknown //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_004d: Unknown result type (might be due to invalid IL or missing references) Array.Resize(ref skillFamily.variants, skillFamily.variants.Length + 1); Variant[] variants = skillFamily.variants; int num = skillFamily.variants.Length - 1; Variant val = new Variant { skillDef = skillDef }; ((Variant)(ref val)).viewableNode = new Node(skillDef.skillNameToken, false, (Node)null); variants[num] = val; } internal static void AddExtraSkills(GameObject targetPrefab, SkillFamily skillfamily, params SkillDef[] skillDefs) { foreach (SkillDef skillDef in skillDefs) { AddExtraSkill(targetPrefab, skillDef, skillfamily); } } internal static void AddPrimarySkill(GameObject targetPrefab, SkillDef skillDef) { //IL_003c: 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_005e: Expected O, but got Unknown //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) SkillLocator component = targetPrefab.GetComponent(); SkillFamily skillFamily = component.primary.skillFamily; Array.Resize(ref skillFamily.variants, skillFamily.variants.Length + 1); Variant[] variants = skillFamily.variants; int num = skillFamily.variants.Length - 1; Variant val = new Variant { skillDef = skillDef }; ((Variant)(ref val)).viewableNode = new Node(skillDef.skillNameToken, false, (Node)null); variants[num] = val; } internal static void AddSecondarySkill(GameObject targetPrefab, SkillDef skillDef) { //IL_003c: 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_005e: Expected O, but got Unknown //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) SkillLocator component = targetPrefab.GetComponent(); SkillFamily skillFamily = component.secondary.skillFamily; Array.Resize(ref skillFamily.variants, skillFamily.variants.Length + 1); Variant[] variants = skillFamily.variants; int num = skillFamily.variants.Length - 1; Variant val = new Variant { skillDef = skillDef }; ((Variant)(ref val)).viewableNode = new Node(skillDef.skillNameToken, false, (Node)null); variants[num] = val; } internal static void AddSecondarySkills(GameObject targetPrefab, params SkillDef[] skillDefs) { foreach (SkillDef skillDef in skillDefs) { AddSecondarySkill(targetPrefab, skillDef); } } internal static void AddUtilitySkill(GameObject targetPrefab, SkillDef skillDef) { //IL_003c: 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_005e: Expected O, but got Unknown //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) SkillLocator component = targetPrefab.GetComponent(); SkillFamily skillFamily = component.utility.skillFamily; Array.Resize(ref skillFamily.variants, skillFamily.variants.Length + 1); Variant[] variants = skillFamily.variants; int num = skillFamily.variants.Length - 1; Variant val = new Variant { skillDef = skillDef }; ((Variant)(ref val)).viewableNode = new Node(skillDef.skillNameToken, false, (Node)null); variants[num] = val; } internal static void AddUtilitySkills(GameObject targetPrefab, params SkillDef[] skillDefs) { foreach (SkillDef skillDef in skillDefs) { AddUtilitySkill(targetPrefab, skillDef); } } internal static void AddSpecialSkill(GameObject targetPrefab, SkillDef skillDef) { //IL_003c: 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_005e: Expected O, but got Unknown //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) SkillLocator component = targetPrefab.GetComponent(); SkillFamily skillFamily = component.special.skillFamily; Array.Resize(ref skillFamily.variants, skillFamily.variants.Length + 1); Variant[] variants = skillFamily.variants; int num = skillFamily.variants.Length - 1; Variant val = new Variant { skillDef = skillDef }; ((Variant)(ref val)).viewableNode = new Node(skillDef.skillNameToken, false, (Node)null); variants[num] = val; } internal static void AddSpecialSkills(GameObject targetPrefab, params SkillDef[] skillDefs) { foreach (SkillDef skillDef in skillDefs) { AddSpecialSkill(targetPrefab, skillDef); } } internal static SkillDef CreatePrimarySkillDef(SerializableEntityStateType state, string stateMachine, string skillNameToken, string skillDescriptionToken, Sprite skillIcon, bool agile) { //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_0026: 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) SkillDef val = ScriptableObject.CreateInstance(); val.skillName = skillNameToken; val.skillNameToken = skillNameToken; val.skillDescriptionToken = skillDescriptionToken; val.icon = skillIcon; val.activationState = state; val.activationStateMachineName = stateMachine; val.baseMaxStock = 1; val.baseRechargeInterval = 0f; val.beginSkillCooldownOnSkillEnd = false; val.canceledFromSprinting = false; val.forceSprintDuringState = false; val.fullRestockOnAssign = true; val.interruptPriority = (InterruptPriority)0; val.resetCooldownTimerOnUse = false; val.isCombatSkill = true; val.mustKeyPress = false; val.cancelSprintingOnActivation = !agile; val.rechargeStock = 1; val.requiredStock = 0; val.stockToConsume = 0; if (agile) { val.keywordTokens = new string[1] { "KEYWORD_AGILE" }; } skillDefs.Add(val); return val; } internal static SkillDef CreateSkillDef(SkillDefInfo skillDefInfo) { //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) SkillDef val = ScriptableObject.CreateInstance(); val.skillName = skillDefInfo.skillName; val.skillNameToken = skillDefInfo.skillNameToken; val.skillDescriptionToken = skillDefInfo.skillDescriptionToken; val.icon = skillDefInfo.skillIcon; val.activationState = skillDefInfo.activationState; val.activationStateMachineName = skillDefInfo.activationStateMachineName; val.baseMaxStock = skillDefInfo.baseMaxStock; val.baseRechargeInterval = skillDefInfo.baseRechargeInterval; val.beginSkillCooldownOnSkillEnd = skillDefInfo.beginSkillCooldownOnSkillEnd; val.canceledFromSprinting = skillDefInfo.canceledFromSprinting; val.forceSprintDuringState = skillDefInfo.forceSprintDuringState; val.fullRestockOnAssign = skillDefInfo.fullRestockOnAssign; val.interruptPriority = skillDefInfo.interruptPriority; val.resetCooldownTimerOnUse = skillDefInfo.resetCooldownTimerOnUse; val.isCombatSkill = skillDefInfo.isCombatSkill; val.mustKeyPress = skillDefInfo.mustKeyPress; val.cancelSprintingOnActivation = skillDefInfo.cancelSprintingOnActivation; val.rechargeStock = skillDefInfo.rechargeStock; val.requiredStock = skillDefInfo.requiredStock; val.stockToConsume = skillDefInfo.stockToConsume; val.keywordTokens = skillDefInfo.keywordTokens; skillDefs.Add(val); return val; } } internal static class Skins { internal struct SkinDefInfo { internal SkinDef[] BaseSkins; internal Sprite Icon; internal string NameToken; internal UnlockableDef UnlockableDef; internal GameObject RootObject; internal RendererInfo[] RendererInfos; internal MeshReplacement[] MeshReplacements; internal GameObjectActivation[] GameObjectActivations; internal ProjectileGhostReplacement[] ProjectileGhostReplacements; internal MinionSkinReplacement[] MinionSkinReplacements; internal string Name; } internal static SkinDef CreateSkinDef(string skinName, Sprite skinIcon, RendererInfo[] rendererInfos, SkinnedMeshRenderer mainRenderer, GameObject root) { return CreateSkinDef(skinName, skinIcon, rendererInfos, mainRenderer, root, null); } internal static SkinDef CreateSkinDef(string skinName, Sprite skinIcon, RendererInfo[] rendererInfos, SkinnedMeshRenderer mainRenderer, GameObject root, UnlockableDef unlockableDef) { //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Expected O, but got Unknown //IL_012e: Unknown result type (might be due to invalid IL or missing references) //IL_0138: Expected O, but got Unknown SkinDefInfo skinDefInfo = default(SkinDefInfo); skinDefInfo.BaseSkins = Array.Empty(); skinDefInfo.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[0]; skinDefInfo.Icon = skinIcon; skinDefInfo.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; skinDefInfo.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; skinDefInfo.Name = skinName; skinDefInfo.NameToken = skinName; skinDefInfo.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; skinDefInfo.RendererInfos = rendererInfos; skinDefInfo.RootObject = root; skinDefInfo.UnlockableDef = unlockableDef; SkinDefInfo skinDefInfo2 = skinDefInfo; SkinDef.Awake += new hook_Awake(DoNothing); SkinDefParams val = ScriptableObject.CreateInstance(); SkinDef val2 = ScriptableObject.CreateInstance(); val2.baseSkins = skinDefInfo2.BaseSkins; val2.icon = skinDefInfo2.Icon; val2.unlockableDef = skinDefInfo2.UnlockableDef; val2.rootObject = skinDefInfo2.RootObject; val.rendererInfos = skinDefInfo2.RendererInfos; val.gameObjectActivations = skinDefInfo2.GameObjectActivations; val.meshReplacements = skinDefInfo2.MeshReplacements; val.projectileGhostReplacements = skinDefInfo2.ProjectileGhostReplacements; val.minionSkinReplacements = skinDefInfo2.MinionSkinReplacements; val2.nameToken = skinDefInfo2.NameToken; ((Object)val2).name = skinDefInfo2.Name; val2.skinDefParams = val; SkinDef.Awake -= new hook_Awake(DoNothing); return val2; } private static void DoNothing(orig_Awake orig, SkinDef self) { } } public static class States { private delegate void set_stateTypeDelegate(ref SerializableEntityStateType self, Type value); private delegate void set_typeNameDelegate(ref SerializableEntityStateType self, string value); internal static List entityStates = new List(); private static Hook set_stateTypeHook; private static Hook set_typeNameHook; private static readonly BindingFlags allFlags = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic; internal static void RegisterStates() { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Expected O, but got Unknown //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Expected O, but got Unknown Type typeFromHandle = typeof(SerializableEntityStateType); HookConfig val = default(HookConfig); val.Priority = int.MinValue; set_stateTypeHook = new Hook((MethodBase)typeFromHandle.GetMethod("set_stateType", allFlags), (Delegate)new set_stateTypeDelegate(SetStateTypeHook), val); set_typeNameHook = new Hook((MethodBase)typeFromHandle.GetMethod("set_typeName", allFlags), (Delegate)new set_typeNameDelegate(SetTypeName), val); entityStates.Add(typeof(BaseMeleeAttack)); entityStates.Add(typeof(MystMain)); entityStates.Add(typeof(BaseEmote)); entityStates.Add(typeof(MystTaunt)); entityStates.Add(typeof(BaseMagiciteSkill)); entityStates.Add(typeof(EmptySlot)); entityStates.Add(typeof(EmptySkill)); entityStates.Add(typeof(MystPrimaryAttack)); entityStates.Add(typeof(MystBasicSwing)); entityStates.Add(typeof(DashAttack)); entityStates.Add(typeof(DashAttackExit)); entityStates.Add(typeof(MystSecondaryAttack)); entityStates.Add(typeof(DashRoll)); entityStates.Add(typeof(BlockEnter)); entityStates.Add(typeof(BlockExtend)); entityStates.Add(typeof(BlockParry)); entityStates.Add(typeof(MagicMenu)); entityStates.Add(typeof(LimitMenu)); entityStates.Add(typeof(MagiciteMenu)); entityStates.Add(typeof(BlastingZone)); entityStates.Add(typeof(WildMagicSurge)); entityStates.Add(typeof(PowerWordKill)); entityStates.Add(typeof(Zoom)); entityStates.Add(typeof(Pyroclasm)); entityStates.Add(typeof(JudgementCutEnd)); entityStates.Add(typeof(FormChangeBerserk)); entityStates.Add(typeof(ExitFormchange)); entityStates.Add(typeof(BerserkFang)); entityStates.Add(typeof(OmegaFinale)); entityStates.Add(typeof(BerserkReave)); entityStates.Add(typeof(BerserkImpact)); entityStates.Add(typeof(FatedCircle)); entityStates.Add(typeof(Explosion)); entityStates.Add(typeof(DarkPassenger)); entityStates.Add(typeof(RippleDrive)); entityStates.Add(typeof(JudgementCut)); entityStates.Add(typeof(BladeDance)); entityStates.Add(typeof(ChallengingShout)); entityStates.Add(typeof(FrostFangs)); entityStates.Add(typeof(Shillelagh)); entityStates.Add(typeof(TestMagicite)); entityStates.Add(typeof(Fireball)); entityStates.Add(typeof(Flamebolt)); entityStates.Add(typeof(ConeOfFrost)); entityStates.Add(typeof(CallLightning)); entityStates.Add(typeof(Magnet)); entityStates.Add(typeof(Ultima)); entityStates.Add(typeof(Gust)); entityStates.Add(typeof(MendWounds)); entityStates.Add(typeof(Haste)); entityStates.Add(typeof(Fortify)); entityStates.Add(typeof(AcidSplash)); entityStates.Add(typeof(Pot)); entityStates.Add(typeof(MagicMissile)); entityStates.Add(typeof(ViciousMockery)); entityStates.Add(typeof(Reflect)); entityStates.Add(typeof(Reflextend)); entityStates.Add(typeof(ReflExplosion)); entityStates.Add(typeof(DispelMagic)); entityStates.Add(typeof(Doombolt)); entityStates.Add(typeof(EclipseGate)); entityStates.Add(typeof(IrresistibleDance)); entityStates.Add(typeof(CrashToDesktop)); } private static void SetStateTypeHook(this ref SerializableEntityStateType self, Type value) { self._typeName = value.AssemblyQualifiedName; } private static void SetTypeName(this ref SerializableEntityStateType self, string value) { Type typeFromName = GetTypeFromName(value); if (typeFromName != null) { self.SetStateTypeHook(typeFromName); } } private static Type GetTypeFromName(string name) { Type[] stateIndexToType = EntityStateCatalog.stateIndexToType; return Type.GetType(name); } } internal static class Tokens { internal static void AddTokens() { string text = "JAVANGLE_MYST_BODY_"; string text2 = "JAVANGLE_MYST_MAGICITE_"; string text3 = "Myst is a high utility survivor that uses a unique resource called 'Magic Power' to use a wide range of otherworldly abilities, and another resource called 'Limit' to unleash powerful super-moves." + Environment.NewLine + Environment.NewLine; text3 = text3 + "< ! > Magic Power only starts to regenerate when fully depleted, where it cannot be used again until filled. - This recharge time can be sped up with items and effects that reduce cooldown time." + Environment.NewLine + Environment.NewLine; text3 = text3 + "< ! > The maximum amount of Magic power increases with items and effects that increase ability stocks. Note that this increases the amount of time it takes to fully drain Magic Power to enter Recharge." + Environment.NewLine + Environment.NewLine; text3 = text3 + "< ! > After 3 swings from Vorpal Slice, Myst will start to use all his available Finisher attacks, these tend to hold enemies still, but also reduce your mobility for their duration, so be mindful of when you let them activate." + Environment.NewLine + Environment.NewLine; text3 = text3 + "< ! > Ability Stocks and Cooldown Reduction only effect Magic Power, and do not effect the cooldown of Mysts equipped secondary." + Environment.NewLine + Environment.NewLine; string text4 = "What was the reason for my creation? What is it that I am supposed to do? Why was I built?" + Environment.NewLine + Environment.NewLine; text4 = text4 + "『Bei?ng】「Cr?eat?ion?』【??Sou??l?」" + Environment.NewLine + Environment.NewLine; text4 = text4 + "Soul..? Why? What's the point of a soul?" + Environment.NewLine + Environment.NewLine; text4 = text4 + "【Qu?esti?on??』『??Va?lue」「?!!!??!】" + Environment.NewLine + Environment.NewLine; text4 = text4 + "I'm sorry if I've caused offense, I just do not understand." + Environment.NewLine + Environment.NewLine; text4 = text4 + "「C?olle??ct】「?Ex?perie??nce???』" + Environment.NewLine; text4 = text4 + "『??Gro?w】【S?tron?g」" + Environment.NewLine + Environment.NewLine; text4 = text4 + "And once I have become strong, what should I do then?" + Environment.NewLine + Environment.NewLine; text4 = text4 + "【D?efe?at??】『B?rot?he?r」" + Environment.NewLine; text4 = text4 + "「?Pro?ve』『??Sou??l??】" + Environment.NewLine + Environment.NewLine; text4 = text4 + "I understand my task." + Environment.NewLine + Environment.NewLine; string text5 = "..and so he left, having completed his task, and proving Soul..."; string text6 = "..and so he vanished, back to the depths whence he came..."; LanguageAPI.Add(text + "NAME", "Myst"); LanguageAPI.Add(text + "DESCRIPTION", text3); LanguageAPI.Add(text + "SUBTITLE", "Voidal Light"); LanguageAPI.Add(text + "LORE", text4); LanguageAPI.Add(text + "OUTRO_FLAVOR", text5); LanguageAPI.Add(text + "OUTRO_FAILURE", text6); LanguageAPI.Add(text + "DEFAULT_SKIN_NAME", "Default"); LanguageAPI.Add(text + "MASTERY_SKIN_NAME", "Alternate"); LanguageAPI.Add(text + "JOBCLASS_MYSTIC_NAME", "Jobclass: Mystic"); string text7 = "Start the run with a well rounded kit with a bit of everything." + Environment.NewLine; text7 += "(Hover over in the 'Skills' tab for more info)"; LanguageAPI.Add(text + "JOBCLASS_MYSTIC_DESCRIPTION", text7); text7 = "[ Spell: Fireball ]" + Environment.NewLine; text7 = text7 + "Shoot a homing fireball at the target that explodes on impact, damaging and burning enemies in the AoE." + Environment.NewLine; text7 = text7 + "[ Spell: Call Lightning ]" + Environment.NewLine; text7 = text7 + "Call down a bolt of lightning onto your target, dealing damage and knocking targets to the ground." + Environment.NewLine; text7 = text7 + "[ Spell: Magnet ]" + Environment.NewLine; text7 = text7 + "Summon a magnetic field to pull in enemies in a wide area around the target." + Environment.NewLine; text7 = text7 + "[ Spell: Cone of Frost ]" + Environment.NewLine; text7 = text7 + "Summon a cone of Icy Wind to damage and freeze enemies before you." + Environment.NewLine; text7 = text7 + "[ Finisher: Fated Circle ]" + Environment.NewLine; text7 = text7 + "A Spinning Attack followed by fiery explosions that deal heavy damage and knock foes away." + Environment.NewLine; text7 = text7 + "[ Finisher: Explosion ]" + Environment.NewLine; text7 = text7 + "Stand your ground and summon Orbs of Light to orbit you, damaging and stunning nearby enemies." + Environment.NewLine; text7 = text7 + "[ Limit: Blasting Zone ]" + Environment.NewLine; text7 = text7 + "Summon a giant pillar of force before swinging the blade to send it crashing down, dealing extreme damage." + Environment.NewLine; text7 = text7 + "[ Limit: Berserk Form ]" + Environment.NewLine; text7 += "Myst goes Berserk, gaining increased Movement Speed and Jump Height and an attack focused moveset."; LanguageAPI.Add(text + "JOBCLASS_MYSTIC_KEYWORD", text7); LanguageAPI.Add(text + "JOBCLASS_WARRIOR_NAME", "Jobclass: Warrior"); text7 = "Start the run with a kit focused around utilising Finisher attacks." + Environment.NewLine; text7 += "(Hover over in the 'Skills' tab for more info)"; LanguageAPI.Add(text + "JOBCLASS_WARRIOR_DESCRIPTION", text7); text7 = "[ Finisher: Challenging Shout ]" + Environment.NewLine; text7 = text7 + "Unleash a commanding shout that weakens and drags foes towards you." + Environment.NewLine; text7 = text7 + "[ Finisher: Blade Dance ]" + Environment.NewLine; text7 = text7 + "An artful serenade of slicing blows that propels the user and rapidly deals damage." + Environment.NewLine; text7 = text7 + "[ Finisher: Judgement Cut ]" + Environment.NewLine; text7 = text7 + "Become intangible and strike multiple times in an AoE, dealing more hits with higher attack speed." + Environment.NewLine; text7 = text7 + "[ Spell: Haste ]" + Environment.NewLine; text7 = text7 + "After a brief Channel: Provides Movement and Attack Speed to yourself and an Ally Target." + Environment.NewLine; text7 = text7 + "[ Spell: Fortify ]" + Environment.NewLine; text7 = text7 + "After a brief Channel: Provides a powerful armor buff to yourself and an Ally Target." + Environment.NewLine; text7 = text7 + "[ Support: Limit Syphon ]" + Environment.NewLine; text7 = text7 + "Grants Limit based on Magic Cost. (linked to Fortify)" + Environment.NewLine; text7 = text7 + "[ Limit: Judgement Cut End ]" + Environment.NewLine; text7 = text7 + "Unleash a lightning fast onslaught of slashes that deal incredible damage after a delay." + Environment.NewLine; text7 = text7 + "[ Limit: Berserk Form ]" + Environment.NewLine; text7 += "Myst goes Berserk, gaining increased Movement Speed and Jump Height and an attack focused moveset."; LanguageAPI.Add(text + "JOBCLASS_WARRIOR_KEYWORD", text7); LanguageAPI.Add(text + "JOBCLASS_SORCERER_NAME", "Jobclass: Sorcerer"); text7 = "Start the run with a kit focused around spellcasting." + Environment.NewLine; text7 += "(Hover over in the 'Skills' tab for more info)"; LanguageAPI.Add(text + "JOBCLASS_SORCERER_DESCRIPTION", text7); text7 = "[ Spell: Magic Missile ]" + Environment.NewLine; text7 = text7 + "Fire a volley of magic bolts that home in on targets, more MP results in more bolts fired." + Environment.NewLine; text7 = text7 + "[ Support: MP Thrift ]" + Environment.NewLine; text7 = text7 + "Attached Spell costs less MP. (linked to Magic Missile)" + Environment.NewLine; text7 = text7 + "[ Spell: Eclipse Gate ]" + Environment.NewLine; text7 = text7 + "Summons a shard of umbral power to deal damage to the target based on missing MP." + Environment.NewLine; text7 = text7 + "[ Spell: Mend Wounds ]" + Environment.NewLine; text7 = text7 + "After a brief Channel: Heals yourself and an Ally Target for 100% of their Max Health." + Environment.NewLine; text7 = text7 + "[ Spell: Ultima ]" + Environment.NewLine; text7 = text7 + "After a brief Channel: Creates a large vortex of energy that deals incredible damage after a long delay." + Environment.NewLine; text7 = text7 + "[ Support: MP Turbo ]" + Environment.NewLine; text7 = text7 + "Attached Spell deals more damage, and costs more MP. (linked to Ultima)" + Environment.NewLine; text7 = text7 + "[ Finisher: Shillelagh ]" + Environment.NewLine; text7 = text7 + "When in Magic Recharge: Deals heavy damage and restores Magic. But is otherwise unimpressive." + Environment.NewLine; text7 = text7 + "[ Limit: Power-Word Kill ]" + Environment.NewLine; text7 += "After a brief Channel: Instantly kill the target."; LanguageAPI.Add(text + "JOBCLASS_SORCERER_KEYWORD", text7); LanguageAPI.Add(text + "JOBCLASS_CHAD_NAME", "Jobclass: Nomad"); text7 = "Start the run with no Magicites." + Environment.NewLine; text7 += "(Hover over in the 'Skills' tab for no more info)"; LanguageAPI.Add(text + "JOBCLASS_CHAD_DESCRIPTION", text7); text7 = "[ Nothing ]" + Environment.NewLine; text7 += "You start the run with nothing."; LanguageAPI.Add(text + "JOBCLASS_CHAD_KEYWORD", text7); LanguageAPI.Add(text + "JOBCLASS_BABY_NAME", "Jobclass: Baby"); text7 = "You start the run with every Magicite and a crippling lack of honour (you monster)." + Environment.NewLine; text7 += "(Hover over in the 'Skills' tab for no more info (since none of them start equipped))"; LanguageAPI.Add(text + "JOBCLASS_BABY_DESCRIPTION", text7); text7 = "[ Baby ]" + Environment.NewLine; text7 += "WAGHWAGHWAGH I DON'T WANNA F@#!&? HEAR IT!."; LanguageAPI.Add(text + "JOBCLASS_BABY_KEYWORD", text7); LanguageAPI.Add(text + "BASEFORM_SLASH_NAME", "Vorpal Slice"); string text8 = "Hold to: Slice at enemies before you dealing damage." + Environment.NewLine + "If target is far away, Myst will instead execute a dashing attack to close the distance." + Environment.NewLine + "If a Finisher is equipped, it will be activated after the third combo swing."; LanguageAPI.Add(text + "BASEFORM_SLASH_DESCRIPTION", text8); LanguageAPI.Add(text + "BASEFORM_BLOCK_NAME", "Parry"); string text9 = "Hold to: Heavily reduce incoming damage from the front, and gain Limit based on damage blocked." + Environment.NewLine + "If timed correctly: Nullify damage from all directions, reset the cooldown, restore Magic based on damage blocked, gain twice the amount of Limit, and reflect up to 3 times the damage blocked to nearby enemies."; LanguageAPI.Add(text + "BASEFORM_BLOCK_DESCRIPTION", text9); LanguageAPI.Add(text + "BASEFORM_DASH_NAME", "Dash"); LanguageAPI.Add(text + "BASEFORM_DASH_DESCRIPTION", "Dash a short distance in any horizontal direction."); LanguageAPI.Add(text + "BASEFORM_MAGICMENU_NAME", "Magic Menu"); string text10 = "Open the Magic Menu, allowing you to use equipped spells." + Environment.NewLine + "Hold to cast spells in quick succession."; LanguageAPI.Add(text + "BASEFORM_MAGICMENU_DESCRIPTION", text10); LanguageAPI.Add(text + "BASEFORM_LIMITMENU_NAME", "Limit Menu"); LanguageAPI.Add(text + "BASEFORM_LIMITMENU_DESCRIPTION", "Open the Limit Menu, allowing you to use equipped Limit Breaks."); LanguageAPI.Add(text2 + "FIREBALL_NAME", "Fireball"); LanguageAPI.Add(text2 + "FIREBALL_DESCRIPTION", "Shoot a homing fireball at the target that explodes on impact, damaging and burning enemies in the AoE."); string text11 = "MP Cost: " + Flamebolt.MPCost + Environment.NewLine; text11 = text11 + "Damage: " + Flamebolt.Damage * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "A guiding light of ruin, the power to burn our enemies... But who are the enemies?... Why are we fighting?"; LanguageAPI.Add(text2 + "FIREBALL_INFO", text11); LanguageAPI.Add(text2 + "CONEOFFROST_NAME", "Cone of Frost"); LanguageAPI.Add(text2 + "CONEOFFROST_DESCRIPTION", "Summon a cone of Icy Wind to damage and freeze enemies before you."); text11 = "MP Cost: " + ConeOfFrost.MPCost + Environment.NewLine; text11 = text11 + "Damage: " + ConeOfFrost.Damage * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "What is made hard, is also made brittle. Things in stasis are easy to study, but I wasn't sent here to gain knowledge, I must gather Experience."; LanguageAPI.Add(text2 + "CONEOFFROST_INFO", text11); LanguageAPI.Add(text2 + "CALLLIGHTNING_NAME", "Call Lightning"); LanguageAPI.Add(text2 + "CALLLIGHTNING_DESCRIPTION", "Call down a bolt of lightning onto your target, dealing damage and knocking airborne targets to the ground."); text11 = "MP Cost: " + CallLightning.MPCost + Environment.NewLine; text11 = text11 + "Damage: " + CallLightning.Damage * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "The light that shines twice as bright, burns half as long... I wonder how much time I have left?"; LanguageAPI.Add(text2 + "CALLLIGHTNING_INFO", text11); LanguageAPI.Add(text2 + "MAGNET_NAME", "Magnet"); LanguageAPI.Add(text2 + "MAGNET_DESCRIPTION", "Summon a magnetic field to pull in enemies in a wide area around the target."); text11 = "MP Cost: " + Magnet.MPCost + Environment.NewLine; text11 = text11 + Environment.NewLine + "I know my task, I've come to collect."; LanguageAPI.Add(text2 + "MAGNET_INFO", text11); LanguageAPI.Add(text2 + "REFLECT_NAME", "Reflect"); LanguageAPI.Add(text2 + "REFLECT_DESCRIPTION", "Block damage from all directions before returning the favour."); text11 = "MP Cost: " + Reflect.baseMagicCost + Environment.NewLine; text11 = text11 + "Damage: " + Mathf.FloorToInt(25f * (1f / (float)Reflextend.buffstacks) * 100f) + "% x number of hits blocked" + Environment.NewLine; text11 = text11 + Environment.NewLine + "I shall stand fast, and see this through..."; LanguageAPI.Add(text2 + "REFLECT_INFO", text11); LanguageAPI.Add(text2 + "FORTIFY_NAME", "Fortify"); LanguageAPI.Add(text2 + "FORTIFY_DESCRIPTION", "After a brief Channel: Provides a powerful armor buff to yourself and an Ally Target."); text11 = "MP Cost: All" + Environment.NewLine; text11 = text11 + "Duration: " + Fortify.buffDuration + Environment.NewLine; text11 = text11 + Environment.NewLine + "Even in the darkest depths, shine bright lights, but to shine at all in such a dark place, takes Fortitude."; LanguageAPI.Add(text2 + "FORTIFY_INFO", text11); LanguageAPI.Add(text2 + "HASTE_NAME", "Haste"); LanguageAPI.Add(text2 + "HASTE_DESCRIPTION", "After a brief Channel: Provides Movement and Attack Speed to yourself and an Ally Target."); text11 = "MP Cost: " + Haste.MPCost + Environment.NewLine; text11 = text11 + "Duration: " + Haste.buffDuration + Environment.NewLine; text11 = text11 + Environment.NewLine + "There is no time to waste, I must gather as much Experience as possible."; LanguageAPI.Add(text2 + "HASTE_INFO", text11); LanguageAPI.Add(text2 + "MENDWOUNDS_NAME", "Mend Wounds"); LanguageAPI.Add(text2 + "MENDWOUNDS_DESCRIPTION", "After a brief Channel: Heals yourself and an Ally Target for 100% of their Max Health."); text11 = "MP Cost: All" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Time is the greatest healer, but how much of it do we have left... I must keep going."; LanguageAPI.Add(text2 + "MENDWOUNDS_INFO", text11); LanguageAPI.Add(text2 + "ACIDSPLASH_NAME", "Acid Splash"); LanguageAPI.Add(text2 + "ACIDSPLASH_DESCRIPTION", "Shoots a homing ball of acid at the Target, dealing minor damage, and applying Poison, Blight, Slow, and Weak."); text11 = "MP Cost: " + AcidSplash.MPCost + Environment.NewLine; text11 = text11 + "Damage: " + AcidSplash.Damage * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Time is the fire by which they will burn."; LanguageAPI.Add(text2 + "ACIDSPLASH_INFO", text11); LanguageAPI.Add(text2 + "ULTIMA_NAME", "Ultima"); LanguageAPI.Add(text2 + "ULTIMA_DESCRIPTION", "After a brief Channel: Creates a large vortex of pure energy that deals incredible damage after a long delay."); text11 = "MP Cost: All" + Environment.NewLine; text11 = text11 + "Damage: " + Ultima.Damage * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "My being, my purpose... My Light, my Soul... My Will, my Everything... I will show you it's power."; LanguageAPI.Add(text2 + "ULTIMA_INFO", text11); LanguageAPI.Add(text2 + "DOOMBOLT_NAME", "Doombolt"); LanguageAPI.Add(text2 + "DOOMBOLT_DESCRIPTION", "After a brief Channel: Summon a slow moving blast of Dark energy that erupts into small homing bolts."); text11 = "MP Cost: " + Doombolt.MPCost + Environment.NewLine; text11 = text11 + "Damage: " + Doombolt.Damage * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Prove Soul..? He never said it had to be mine I suppose..."; LanguageAPI.Add(text2 + "DOOMBOLT_INFO", text11); LanguageAPI.Add(text2 + "VICIOUSMOCKERY_NAME", "Vicious Mockery"); LanguageAPI.Add(text2 + "VICIOUSMOCKERY_DESCRIPTION", "Insult the target, damaging it and applying weak."); text11 = "MP Cost: " + ViciousMockery.MPCost + Environment.NewLine; text11 = text11 + "Damage: " + ViciousMockery.Damage * 100f + "%" + Environment.NewLine; text11 = text11 + "Duration: " + ViciousMockery.debuffDuration + Environment.NewLine; text11 = text11 + Environment.NewLine + "Break their spirit, crush their Soul."; LanguageAPI.Add(text2 + "VICIOUSMOCKERY_INFO", text11); LanguageAPI.Add(text2 + "POT_NAME", "Pot"); LanguageAPI.Add(text2 + "POT_DESCRIPTION", "Summons a pot at the crosshair's position."); text11 = "MP Cost: " + Pot.MPCost + Environment.NewLine; text11 = text11 + Environment.NewLine + "It's not the container, but its contents... Same goes for us all I suppose..."; LanguageAPI.Add(text2 + "POT_INFO", text11); LanguageAPI.Add(text2 + "MAGICMISSILE_NAME", "Magic Missile"); LanguageAPI.Add(text2 + "MAGICMISSILE_DESCRIPTION", "Fire a volley of magic bolts that home in on targets, more MP results in more bolts fired."); text11 = "MP Cost: " + MagicMissile.MPCost + " per bolt" + Environment.NewLine; text11 = text11 + "Damage: " + MagicMissile.Damage * 100f + "%" + Environment.NewLine; text11 = text11 + "# of bolts: " + MagicMissile.basenumberOfShots + " * percentage of MP remaining (rounded up)" + Environment.NewLine; text11 = text11 + Environment.NewLine + "My will to see my task through, shall make my destiny unerring."; LanguageAPI.Add(text2 + "MAGICMISSILE_INFO", text11); LanguageAPI.Add(text2 + "DISPELMAGIC_NAME", "Dispel Magic"); LanguageAPI.Add(text2 + "DISPELMAGIC_DESCRIPTION", "Dispel all negative effects from the user, and purge all positive effects from the target."); text11 = "MP Cost: " + DispelMagic.MPCost + Environment.NewLine; text11 = text11 + "Info: Can be cast on allies to dispel their negative effects." + Environment.NewLine; text11 = text11 + "Info: When cast on enemies, it removes all of their positive buffs, items, and their equipment." + Environment.NewLine; text11 = text11 + Environment.NewLine + "I intend to 'prove' my Soul, and shall do so on fairer terms."; LanguageAPI.Add(text2 + "DISPELMAGIC_INFO", text11); LanguageAPI.Add(text2 + "GUST_NAME", "Gust"); LanguageAPI.Add(text2 + "GUST_DESCRIPTION", "Pushes all enemies before you away."); text11 = "MP Cost: " + Gust.MPCost + Environment.NewLine; text11 = text11 + "Damage: 0%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Each encounter teaches me, time and time again: there is always a better place to be... And so it's time for you to go there."; LanguageAPI.Add(text2 + "GUST_INFO", text11); LanguageAPI.Add(text2 + "GIGASLASH_NAME", "Gigaslash"); LanguageAPI.Add(text2 + "GIGASLASH_DESCRIPTION", "Default"); LanguageAPI.Add(text2 + "GIGASLASH_INFO", "Default"); LanguageAPI.Add(text2 + "ECLIPSEGATE_NAME", "Eclipse Gate"); LanguageAPI.Add(text2 + "ECLIPSEGATE_DESCRIPTION", "Summons a shard of umbral power to deal damage to the target based on missing MP."); text11 = "MP Cost: " + EclipseGate.MPCost + Environment.NewLine; text11 = text11 + "Base Damage: " + EclipseGate.Damage * 100f + "%" + Environment.NewLine; text11 = text11 + "Scaled Damage: " + EclipseGate.ScaledDamage * 100f + "% * percentage of MP missing" + Environment.NewLine; text11 = text11 + Environment.NewLine + "There is strength in loss, what has not killed me has only made me stronger."; LanguageAPI.Add(text2 + "ECLIPSEGATE_INFO", text11); LanguageAPI.Add(text2 + "DANCE_NAME", "Irresistible Dance"); LanguageAPI.Add(text2 + "DANCE_DESCRIPTION", "Compel every nearby enemy to dance, preventing them from moving or attacking."); text11 = "MP Cost: " + IrresistibleDance.MPCost + Environment.NewLine; text11 = text11 + "Duration: Random" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Movin' is Groovin', it don't mean a thing, if you ain't got that swing."; LanguageAPI.Add(text2 + "DANCE_INFO", text11); LanguageAPI.Add(text2 + "CRASHTODESKTOP_NAME", "Crash To Desktop"); LanguageAPI.Add(text2 + "CRASHTODESKTOP_DESCRIPTION", "Instantly Kill a Random Enemy. (does not effect bosses)"); text11 = "MP Cost: " + float.PositiveInfinity + Environment.NewLine; text11 = text11 + Environment.NewLine + "Following an extremely buggy release, the clever survivors quickly harnessed this power to their advantage."; LanguageAPI.Add(text2 + "CRASHTODESKTOP_INFO", text11); LanguageAPI.Add(text2 + "SAGEFORM_NAME", "Default"); LanguageAPI.Add(text2 + "SAGEFORM_DESCRIPTION", "Default"); LanguageAPI.Add(text2 + "SAGEFORM_INFO", "Default"); LanguageAPI.Add(text2 + "BERSERKFORM_NAME", "Berserk Form"); LanguageAPI.Add(text2 + "BERSERKFORM_DESCRIPTION", "Myst goes Berserk, gaining increased Movement Speed and Jump Height and an attack focused moveset, but loses Armour and access to Spells. Attack enemies to increase duration"); text11 = "Limit Cost: " + FormChangeBerserk.baseLimitCost + Environment.NewLine; text11 = text11 + "Max Duration: " + FormChangeBerserk.formchangeDuration + "s" + Environment.NewLine; text11 = text11 + "Move Speed: " + FormChangeBerserk.moveSpeedModifier * 100f + "%" + Environment.NewLine; text11 = text11 + "Jump Power: " + FormChangeBerserk.jumpPowerModifier + Environment.NewLine; text11 = text11 + "Armour: " + FormChangeBerserk.armourModifier + Environment.NewLine; text11 = text11 + Environment.NewLine + "To protect peace, we must embrace war..."; LanguageAPI.Add(text2 + "BERSERKFORM_INFO", text11); LanguageAPI.Add(text2 + "CORRUPTFORM_NAME", "Default"); LanguageAPI.Add(text2 + "CORRUPTFORM_DESCRIPTION", "Default"); LanguageAPI.Add(text2 + "CORRUPTFORM_INFO", "Default"); LanguageAPI.Add(text2 + "BLASTINGZONE_NAME", "Blasting Zone"); LanguageAPI.Add(text2 + "BLASTINGZONE_DESCRIPTION", "Summon a giant pillar of force to envelop the Vorpal Sword, before swinging the blade to send it crashing down onto foes before you, dealing incredible damage across a wide area."); text11 = "Limit Cost: " + BlastingZone.baseLimitCost + Environment.NewLine; text11 = text11 + "Damage: " + BlastingZone.baseDamageCoefficient * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Is this the power of the Soul?"; LanguageAPI.Add(text2 + "BLASTINGZONE_INFO", text11); LanguageAPI.Add(text2 + "PYROCLASM_NAME", "Pyroclasm"); LanguageAPI.Add(text2 + "PYROCLASM_DESCRIPTION", "Evoke a blast of pure heat to erupt across the map, killing everything."); text11 = "Limit Cost: " + Pyroclasm.baseLimitCost + Environment.NewLine; text11 = text11 + "Damage: 150% of target's max health" + Environment.NewLine; text11 = text11 + Environment.NewLine + "A bright flash of burning passion... and then there's nothing..."; LanguageAPI.Add(text2 + "PYROCLASM_INFO", text11); LanguageAPI.Add(text2 + "ZOOM_NAME", "Zoom"); LanguageAPI.Add(text2 + "ZOOM_DESCRIPTION", "Teleports the user to the next stage."); text11 = "Limit Cost: " + Zoom.baseLimitCost + Environment.NewLine; text11 = text11 + "Info: Has a 10% chance to send to a hidden realm" + Environment.NewLine; text11 = text11 + Environment.NewLine + "The march into the unknown, makes the soul of an adventurer."; LanguageAPI.Add(text2 + "ZOOM_INFO", text11); LanguageAPI.Add(text2 + "WILDMAGIC_NAME", "Wild Magic"); LanguageAPI.Add(text2 + "WILDMAGIC_DESCRIPTION", "Does something entirely Random, and almost completely Unpredictable."); text11 = "Limit Cost: " + WildMagicSurge.baseLimitCost + Environment.NewLine; text11 = text11 + Environment.NewLine + "In the depths of the void lies Mrs Luck's Casino, a place with only 1 rule: ''The House Always Wins''. Of course, things in motion, stay in motion, and when one man was on a high roll, he almost ran the place out of business. And once he had beat the Casino, he must have been The House, because after all: The House Always Wins..."; LanguageAPI.Add(text2 + "WILDMAGIC_INFO", text11); LanguageAPI.Add(text2 + "POWERWORDKILL_NAME", "Power Word: Kill"); LanguageAPI.Add(text2 + "POWERWORDKILL_DESCRIPTION", "After a brief Channel: Instantly kill the target."); text11 = "Limit Cost: " + PowerWordKill.baseLimitCost + Environment.NewLine; text11 = text11 + "Damage: 200% of target's max health" + Environment.NewLine; text11 = text11 + "Note: Cannot instant kill final bosses such as Mithrix, Voidling, or Twisted Scavengers, instead dealing 35% of their max HP in damage." + Environment.NewLine; text11 = text11 + Environment.NewLine + "In the face of fate, we must learn to press on, despite the inevitable."; LanguageAPI.Add(text2 + "POWERWORDKILL_INFO", text11); LanguageAPI.Add(text2 + "JUDGEMENTCUTEND_NAME", "Judgement Cut END"); LanguageAPI.Add(text2 + "JUDGEMENTCUTEND_DESCRIPTION", "Hold the Vorpal Sword in its sheath, gathering energy before unleashing a lightning fast onslaught of slashes that deal incredible damage after a delay."); text11 = "Limit Cost: " + JudgementCutEnd.baseLimitCost + Environment.NewLine; text11 = text11 + "Damage: " + JudgementCutEnd.baseDamageCoefficient * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Eliminate... All..."; LanguageAPI.Add(text2 + "JUDGEMENTCUTEND_INFO", text11); LanguageAPI.Add(text2 + "FORM_REVERT_NAME", "Revert"); LanguageAPI.Add(text2 + "FORM_REVERT_DESCRIPTION", "Exits the current Formchange"); LanguageAPI.Add(text2 + "FORM_BSKFANG_NAME", "Berserk Fang"); LanguageAPI.Add(text2 + "FORM_BSKFANG_DESCRIPTION", "Swing both swords violently, hold to access unique finishers" + Environment.NewLine + "(Finishers differ based on whether or not Myst is grounded)"); LanguageAPI.Add(text2 + "FORM_BSKOMEGA_NAME", "Omega Finale"); LanguageAPI.Add(text2 + "FORM_BSKOMEGA_DESCRIPTION", "Skips straight to the Finishers"); LanguageAPI.Add(text2 + "FORM_BSKWIT_NAME", "Berserkers Iron Wit"); LanguageAPI.Add(text2 + "FORM_BSKWIT_DESCRIPTION", "Cannot use Magic while in Berserk Form"); LanguageAPI.Add(text2 + "EXPLOSION_NAME", "Explosion"); LanguageAPI.Add(text2 + "EXPLOSION_DESCRIPTION", "Stand your ground and summon Orbs of Light to orbit you, damaging and stunning nearby enemies."); text11 = "Damage: " + Explosion.baseDamageCoefficient * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Even in a place so dark, there was always a light to clear the way, yet he always bathed in the darkness of the deep, as if he was unable to leave."; LanguageAPI.Add(text2 + "EXPLOSION_INFO", text11); LanguageAPI.Add(text2 + "FATEDCIRCLE_NAME", "Fated Circle"); LanguageAPI.Add(text2 + "FATEDCIRCLE_DESCRIPTION", "A Spinning Attack that stuns and pulls in enemies, followed by fiery explosions that knock them away, dealing heavy damage."); text11 = "Damage: " + (FatedCircle.baseSlashDamageCoefficient + FatedCircle.baseExplosionDamageCoefficient) * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "I found a log entry that read 'Experience trumps technique', so far technique has served me fine... Maybe I'll understand, once all this is over."; LanguageAPI.Add(text2 + "FATEDCIRCLE_INFO", text11); LanguageAPI.Add(text2 + "DARKPASSENGER_NAME", "Dark Passenger"); LanguageAPI.Add(text2 + "DARKPASSENGER_DESCRIPTION", "Unleash blasts of dark energy in a line before you, Damaging and Blinding enemies hit."); text11 = "Damage: " + DarkPassenger.baseDamage * 100f + "%" + Environment.NewLine; text11 = text11 + "Duration: 15s" + Environment.NewLine; text11 = text11 + Environment.NewLine + "The deepest Darkness begets the brightest Lights, and the brightest Lights beget the greatest shadows... what does that make me?"; LanguageAPI.Add(text2 + "DARKPASSENGER_INFO", text11); LanguageAPI.Add(text2 + "RIPPLEDRIVE_NAME", "Ripple Drive"); LanguageAPI.Add(text2 + "RIPPLEDRIVE_DESCRIPTION", "Summon a surge of energy in a giant radius around you, Damaging and Shocking enemies hit."); text11 = "Damage: " + RippleDrive.baseDamageCoefficient * 100f + "%" + Environment.NewLine; text11 = text11 + "Duration: 5s" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Soul is a fuel that burns bright and fast, it seemingly can't be contained... this could be dangerous."; LanguageAPI.Add(text2 + "RIPPLEDRIVE_INFO", text11); LanguageAPI.Add(text2 + "JUDGEMENTCUT_NAME", "Judgement Cut"); LanguageAPI.Add(text2 + "JUDGEMENTCUT_DESCRIPTION", "Become intangible and strike multiple times in an AoE, dealing more hits with higher attack speed."); text11 = "Damage: " + JudgementCut.baseDamageCoefficient * 100f + "% per hit" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Power, I need, more... power."; LanguageAPI.Add(text2 + "JUDGEMENTCUT_INFO", text11); LanguageAPI.Add(text2 + "CHALLENGINGSHOUT_NAME", "Challenging Shout"); LanguageAPI.Add(text2 + "CHALLENGINGSHOUT_DESCRIPTION", "Unleash a commanding shout that weakens and drags foes towards you."); text11 = "Damage: 0%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Not everyone can fight fair, some of them know they would lose..."; LanguageAPI.Add(text2 + "CHALLENGINGSHOUT_INFO", text11); LanguageAPI.Add(text2 + "BLADEDANCE_NAME", "Blade Dance"); LanguageAPI.Add(text2 + "BLADEDANCE_DESCRIPTION", "An artful serenade of slicing blows that propels the user and rapidly deals damage."); text11 = "Damage: " + BladeDance.baseDamageCoefficient * 100f + "% per hit" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Swinging blades like slicing winds, the art of war, the Soul of the swordsman."; LanguageAPI.Add(text2 + "BLADEDANCE_INFO", text11); LanguageAPI.Add(text2 + "FROSTFANGS_NAME", "Frost Fangs"); LanguageAPI.Add(text2 + "FROSTFANGS_DESCRIPTION", "Summon a ring of cold that freezes nearby enemies."); text11 = "Damage: " + FrostFangs.baseDamageCoefficient * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Fear not the tumbling avalanche, those who remain rooted will quickly find themselves alone."; LanguageAPI.Add(text2 + "FROSTFANGS_INFO", text11); LanguageAPI.Add(text2 + "HANDOFGOD_NAME", "Hand of God"); LanguageAPI.Add(text2 + "HANDOFGOD_DESCRIPTION", "Default hog"); text11 = "Damage: " + HandOfGod.baseDamageCoefficient * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "My mission is within my grasp, I must not stop here..."; LanguageAPI.Add(text2 + "HANDOFGOD_INFO", text11); LanguageAPI.Add(text2 + "SHILLELAGH_NAME", "Shillelagh"); LanguageAPI.Add(text2 + "SHILLELAGH_DESCRIPTION", "When in Magic Recharge: Deals heavy damage and restores Magic. But is otherwise unimpressive."); text11 = "Standard Damage: " + Shillelagh.baseDamageCoefficient * 100f + "%" + Environment.NewLine; text11 = text11 + "Magic Recharge Damage: " + Shillelagh.baseAplifiedDamageCoefficient * 100f + "%" + Environment.NewLine; text11 = text11 + "Magic Restored: " + Shillelagh.manaRestorePercentage * 100f + "%" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Listen to the song of the wind, and dance according to its instruction. You will find yourself dodging every blow, countering every strike."; LanguageAPI.Add(text2 + "SHILLELAGH_INFO", text11); LanguageAPI.Add(text2 + "ALL_NAME", "All"); LanguageAPI.Add(text2 + "ALL_DESCRIPTION", "Attached Spell fires on extra targets or over a wider area."); text11 = "Pairs With: All Spells except; Pot|" + Environment.NewLine; text11 = text11 + Environment.NewLine + "What comes for one, comes for us all, best we take care of things."; LanguageAPI.Add(text2 + "ALL_INFO", text11); LanguageAPI.Add(text2 + "MULTI_NAME", "Multi"); LanguageAPI.Add(text2 + "MULTI_DESCRIPTION", "Attached Spell fires multiple times."); text11 = "Additional MP Cost: 100% + 50% per level" + Environment.NewLine; text11 = text11 + "Pairs With: All Spells, Wild Magic" + Environment.NewLine; text11 = text11 + Environment.NewLine + "The ratios are simple. It should be quite fun."; LanguageAPI.Add(text2 + "MULTI_INFO", text11); LanguageAPI.Add(text2 + "MPTURBO_NAME", "MP Turbo"); LanguageAPI.Add(text2 + "MPTURBO_DESCRIPTION", "Attached Spell deals more damage, and costs more MP."); text11 = "Additional MP Cost: 20% per level" + Environment.NewLine; text11 = text11 + "Pairs With: All Spells" + Environment.NewLine; text11 = text11 + Environment.NewLine + "I haven't the time for this..."; LanguageAPI.Add(text2 + "MPTURBO_INFO", text11); LanguageAPI.Add(text2 + "MPTHRIFT_NAME", "MP Thrift"); LanguageAPI.Add(text2 + "MPTHRIFT_DESCRIPTION", "Attached Spell costs less MP."); text11 = "MP Cost Reduction: 10% per level" + Environment.NewLine; text11 = text11 + "Pairs With: All Spells except; Ultima, Mend Wounds, Fortify." + Environment.NewLine; text11 = text11 + Environment.NewLine + "Best we pace ourselves."; LanguageAPI.Add(text2 + "MPTHRIFT_INFO", text11); LanguageAPI.Add(text2 + "USEONCAST_NAME", "Use On Cast"); LanguageAPI.Add(text2 + "USEONCAST_DESCRIPTION", "Activates 'Use Interactable' effects on cast."); text11 = "Additional MP Cost: 10 (-1 per level)" + Environment.NewLine; text11 = text11 + "Pairs With: All Spells, All Limits" + Environment.NewLine; text11 = text11 + Environment.NewLine + "The more the merrier."; LanguageAPI.Add(text2 + "USEONCAST_INFO", text11); LanguageAPI.Add(text2 + "KILLONCAST_NAME", "Kill On Cast"); LanguageAPI.Add(text2 + "KILLONCAST_DESCRIPTION", "Activates 'On Kill' effects on cast."); text11 = "Additional MP Cost: 10 (-1 per level)" + Environment.NewLine; text11 = text11 + "Pairs With: All Spells, All Limits" + Environment.NewLine; text11 = text11 + Environment.NewLine + "Such death... but what does it all mean... I must gather more Experience."; LanguageAPI.Add(text2 + "KILLONCAST_INFO", text11); LanguageAPI.Add(text2 + "HEALTHSYPHON_NAME", "Health Syphon"); LanguageAPI.Add(text2 + "HEALTHSYPHON_DESCRIPTION", "Grants health based on Magic Cost."); text11 = "Pairs With: All Spells" + Environment.NewLine; text11 = text11 + Environment.NewLine + "If it's my energy spent, it can come back to me... right?"; LanguageAPI.Add(text2 + "HEALTHSYPHON_INFO", text11); LanguageAPI.Add(text2 + "LIMITSYPHON_NAME", "Limit Syphon"); LanguageAPI.Add(text2 + "LIMITSYPHON_DESCRIPTION", "Grants Limit based on Magic Cost."); text11 = "Pairs With: All Spells" + Environment.NewLine; text11 = text11 + Environment.NewLine + "For as long as I have breath I shall fight, this is the Soul of a warrior."; LanguageAPI.Add(text2 + "LIMITSYPHON_INFO", text11); LanguageAPI.Add(text2 + "MASS_NAME", "Mass"); LanguageAPI.Add(text2 + "MASS_DESCRIPTION", "Provides no benefit, but can level up to lv" + MagiciteDefs.magicites[44].levelMAX + "."); text11 = "Max Level: " + MagiciteDefs.magicites[44].levelMAX + Environment.NewLine; text11 = text11 + "EXP per Level: " + MagiciteDefs.magicites[44].EXPperLevel + Environment.NewLine; text11 = text11 + Environment.NewLine + "It is mass. We can take mass, and shape it to form."; LanguageAPI.Add(text2 + "MASS_INFO", text11); LanguageAPI.Add(text2 + "DUST_NAME", "Latent Magicite"); LanguageAPI.Add(text2 + "DUST_DESCRIPTION", "Used to Synthesise new Magicites"); LanguageAPI.Add(text2 + "DUST_PICKUP", "Used to Synthesise new Magicites"); LanguageAPI.Add(text2 + "DUST_LORE", "loretext; if you're reading this, hi, hello, I forgot to add lore, I do intend to though, so ping me @JavAngle on the Modding Discord and tell me that I forgor"); LanguageAPI.Add(text + "UNLOCKABLE_ACHIEVEMENT_NAME", "Uh"); LanguageAPI.Add(text + "UNLOCKABLE_ACHIEVEMENT_DESC", "Uh"); LanguageAPI.Add(text + "UNLOCKABLE_UNLOCKABLE_NAME", "Uh"); LanguageAPI.Add(text + "MASTERYUNLOCKABLE_ACHIEVEMENT_NAME", "Myst: Mastery"); LanguageAPI.Add(text + "MASTERYUNLOCKABLE_ACHIEVEMENT_DESC", "As Myst, beat the game or obliterate on Monsoon."); LanguageAPI.Add(text + "MASTERYUNLOCKABLE_UNLOCKABLE_NAME", "Myst: Mastery"); LanguageAPI.Add(text + "BROTHER_INITIALRESPONSE_MYST_1", "One of His I take it..? No matter, I shall end this."); LanguageAPI.Add(text + "BROTHER_INITIALRESPONSE_MYST_2", "A contruct weaved of soul? A familiar miscreation..."); LanguageAPI.Add(text + "BROTHER_INITIALRESPONSE_MYST_3", "Again? Another? Frail Construct. Die."); LanguageAPI.Add(text + "BROTHER_ONBODYKILL_MYST_1", "Unstable, frail, and weak."); LanguageAPI.Add(text + "BROTHER_ONBODYKILL_MYST_2", "Frail miscreation, begone."); LanguageAPI.Add(text + "BROTHER_ONBODYKILL_MYST_3", "Was this the best He could do?"); LanguageAPI.Add(text + "ITEMNOTIFICATION_BACKUPMAG", "Provides 10 Max Magic (+10 per stack)."); LanguageAPI.Add(text + "ITEMNOTIFICATION_LYSATE", "Provides 15 Max Magic (+15 per stack). Reduces Magic Recharge by 33%"); LanguageAPI.Add(text + "ITEMNOTIFICATION_AFTERBURNER", "Provides 50 Max Magic (+50 per stack), and reduces Magic Recharge duration by 33%."); LanguageAPI.Add(text + "ITEMNOTIFICATION_LIGHTFLUX", "Reduces Magic Recharge duration by 93% (+93% per stack)."); LanguageAPI.Add(text + "ITEMNOTIFICATION_ALIENHEAD", "Reduces Magic Recharge duration by 68% (+68% per stack)."); LanguageAPI.Add(text + "ITEMNOTIFICATION_LUMINOUSSHOT", "Reduces Magic Recharge duration by 20%."); LanguageAPI.Add(text + "ITEMNOTIFICATION_BRAINSTALKS", "Entering Frenzy causes MP Recharge to be instant"); LanguageAPI.Add(text + "ITEMNOTIFICATION_BANDOLIER", "Ammo Packs restore 20 Magic when collected."); LanguageAPI.Add(text + "ITEMNOTIFICATION_PURITY", "Reduced Magic Recharge duration by 2 seconds (+1 per stack)."); LanguageAPI.Add(text + "ITEMNOTIFICATION_RUSTKEY", "Grants 2 Extra Magicite Slots while held (this effect does not stack with itself or similar effects)"); LanguageAPI.Add(text + "ITEMNOTIFICATION_VOIDKEY", "Grants 4 Extra Magicite Slots while held (this effect does not stack with itself or similar effects)"); LanguageAPI.Add(text + "ITEMNOTIFICATION_SCEPTER", "Grants 8 Extra Magicite Slots while held (this effect does not stack with itself or similar effects)"); LanguageAPI.Add(text + "ITEMNOTIFICATION_X4", "Reduces Magic Recharge duration by 10% (+10% per stack)."); LanguageAPI.Add(text + "ITEMNOTIFICATION_RELICOFFORCE", "Increases Magic Recharge duration by 384%."); LanguageAPI.Add(text + "ITEMNOTIFICATION_HIKERBACKPACK", "Increases Max Magic by 55 (+55 per stack)."); LanguageAPI.Add(text + "UI_MAGICNAME", "Magic Meter"); LanguageAPI.Add(text + "UI_MAGICDESCRIPTION", "A resource used for Spells" + Environment.NewLine + "Upon full depletion, will fully replete after a recharge period" + Environment.NewLine + "Spells can be cast regardless of their cost as long as you are not in Recharge" + Environment.NewLine + "Cooldown reduction effects Recharge Time, Stock items effect Maximum Magic"); LanguageAPI.Add(text + "UI_LIMITNAME", "Limit Gauges"); LanguageAPI.Add(text + "UI_LIMITDESCRIPTION", "A resource used for Limit Breaks" + Environment.NewLine + "Small amounts of Limit is gained by dealing damage by any means, and is persistent between stages" + Environment.NewLine + "Limit is split between 3 Gauges, Limit Breaks will cost an entire gauge at a time (sometimes multiple), and cannot be used unless the required number of gauges are full"); LanguageAPI.Add(text + "UI_EQUIPPEDMAGICITES", "Equipped Magicites"); LanguageAPI.Add(text + "UI_MAGICITEINVENTORY", "Magicite Inventory"); LanguageAPI.Add(text + "UI_MAGICITEINVENTORYICON", "Icon"); LanguageAPI.Add(text + "UI_MAGICITEINVENTORYNAME", "Name"); LanguageAPI.Add(text + "UI_MAGICITEINVENTORYLEVEL", "Level"); LanguageAPI.Add(text + "UI_MAGICITEINVENTORYSCRAP", "Desynth"); LanguageAPI.Add(text + "UI_TUTORIALTITLE", "Synthesis"); LanguageAPI.Add(text + "UI_TUTORIALDESCRIPTION", "Welcome to the Magicite Menu!" + Environment.NewLine + Environment.NewLine + "(Everything here is optional and can be entirely ignored if not to your taste.)" + Environment.NewLine + Environment.NewLine + "Here, Myst can create and equip new Magicites, which change what Spells, Limits, and Finishers he has access to." + Environment.NewLine + Environment.NewLine + "Above; are the equipped Magicites, and to the right; are where unequipped Magicites are stored." + Environment.NewLine + "Below are a collection of options to craft new Magicites." + Environment.NewLine + Environment.NewLine + "Magicites can be 'Desynthed' into Latent Magicites, which can be turned into new Magicites entirely." + Environment.NewLine + Environment.NewLine + "After completing the Teleporter event, a Stasis field will appear, freezing the run timer, and giving time for Myst to sort out his magicites."); LanguageAPI.Add(text + "UI_SHOPRANDOM", "Synthesize: Random"); LanguageAPI.Add(text + "UI_SHOPSPELL", "Synth-: Spell"); LanguageAPI.Add(text + "UI_SHOPLIMIT", "Synth-: Limit"); LanguageAPI.Add(text + "UI_SHOPFINISHER", "Synth-: Finisher"); LanguageAPI.Add(text + "UI_SHOPSUPPORT", "Synth-: Support"); LanguageAPI.Add(text + "UI_SORT", "Sort"); } } internal static class Unlockables { internal static UnlockableDef mystMasterySkinDef; public static void RegisterUnlockables() { } } } namespace MystMod.Modules.Survivors { public static class Myst { internal static GameObject characterPrefab; internal static GameObject displayPrefab; public const string bodyName = "JavangleMystBody"; public const string bodyNameToken = "JAVANGLE_MYST_BODY_NAME"; public static int bodyRendererIndex; internal static ItemDisplayRuleSet itemDisplayRuleSet; internal static List itemDisplayRules; public static GenericSkill MystPassiveSkill; internal static void CreateCharacter() { //IL_0064: 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_015a: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_018d: Unknown result type (might be due to invalid IL or missing references) //IL_02bc: Unknown result type (might be due to invalid IL or missing references) bool flag = true; CreateUnlockables(); characterPrefab = Prefabs.CreatePrefab("JavangleMystBody", "mdlMyst", new BodyInfo { armor = Config.armor.Value, armorGrowth = Config.armorGrowth.Value, bodyName = "JavangleMystBody", bodyNameToken = "JAVANGLE_MYST_BODY_NAME", bodyColor = new Color(0.96f, 0.2f, 0f, 1f), characterPortrait = (Texture)(object)Assets.mainAssetBundle.LoadAsset("mysticon").texture, crosshair = Assets.LoadCrosshair("SimpleDot"), damage = 12f, healthGrowth = Config.healthGrowth.Value, healthRegen = Config.regen.Value, jumpCount = 1, maxHealth = Config.health.Value, subtitleNameToken = "JAVANGLE_MYST_BODY_SUBTITLE", podPrefab = LegacyResourcesAPI.Load("Prefabs/NetworkedObjects/SurvivorPod") }); characterPrefab.AddComponent(); characterPrefab.AddComponent(); characterPrefab.AddComponent(); ChildLocator componentInChildren = characterPrefab.GetComponentInChildren(); ((Component)componentInChildren.FindChild("TextBox")).gameObject.AddComponent().childLocator = componentInChildren; characterPrefab.GetComponent().mainStateType = new SerializableEntityStateType(typeof(MystMain)); Material material = Assets.CreateMaterial("MystMat", 10f); Material material2 = Assets.CreateMaterial("MystMat", 0.5f, new Color(0.7f, 0.1f, 0f)); bodyRendererIndex = 7; Prefabs.SetupCharacterModel(characterPrefab, new CustomRendererInfo[8] { new CustomRendererInfo { childName = "Model", material = material }, new CustomRendererInfo { childName = "CapeModel", material = material }, new CustomRendererInfo { childName = "SheatheModel", material = material }, new CustomRendererInfo { childName = "SheatheSwordModel", material = material2 }, new CustomRendererInfo { childName = "SwordModel1", material = material2 }, new CustomRendererInfo { childName = "SwordModel2", material = material2 }, new CustomRendererInfo { childName = "SwordModel3", material = material2 }, new CustomRendererInfo { childName = "SwordModel4", material = material2 } }, bodyRendererIndex); displayPrefab = Prefabs.CreateDisplayPrefab("MystDisplay", characterPrefab); displayPrefab.AddComponent(); Prefabs.RegisterNewSurvivor(characterPrefab, displayPrefab, new Color(1f, 1f, 1f), "MYST"); CreateHitboxes(); CreateSkills(); CreateSkins(); CreateDoppelganger(); } private static void CreateUnlockables() { } private static void CreateDoppelganger() { CreateAI(characterPrefab); } private static void CreateHitboxes() { ChildLocator componentInChildren = characterPrefab.GetComponentInChildren(); GameObject gameObject = ((Component)componentInChildren).gameObject; Transform hitboxTransform = componentInChildren.FindChild("SwordHitbox"); Prefabs.SetupHitbox(gameObject, hitboxTransform, "Sword"); Transform hitboxTransform2 = componentInChildren.FindChild("SwordHitboxWide"); Prefabs.SetupHitbox(gameObject, hitboxTransform2, "SwordWide"); Transform hitboxTransform3 = componentInChildren.FindChild("SwordHitboxLarge"); Prefabs.SetupHitbox(gameObject, hitboxTransform3, "SwordLarge"); } private static void CreateSkills() { //IL_011f: Unknown result type (might be due to invalid IL or missing references) //IL_0212: Unknown result type (might be due to invalid IL or missing references) //IL_0306: Unknown result type (might be due to invalid IL or missing references) //IL_03fa: Unknown result type (might be due to invalid IL or missing references) //IL_04ee: Unknown result type (might be due to invalid IL or missing references) //IL_0601: Unknown result type (might be due to invalid IL or missing references) //IL_0606: 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_0700: Unknown result type (might be due to invalid IL or missing references) //IL_0705: Unknown result type (might be due to invalid IL or missing references) //IL_074d: Unknown result type (might be due to invalid IL or missing references) //IL_07fb: 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_0848: Unknown result type (might be due to invalid IL or missing references) //IL_0911: Unknown result type (might be due to invalid IL or missing references) //IL_0916: Unknown result type (might be due to invalid IL or missing references) //IL_095e: Unknown result type (might be due to invalid IL or missing references) //IL_0a22: Unknown result type (might be due to invalid IL or missing references) //IL_0a27: Unknown result type (might be due to invalid IL or missing references) //IL_0a6f: Unknown result type (might be due to invalid IL or missing references) GenericSkill[] componentsInChildren = characterPrefab.GetComponentsInChildren(); foreach (GenericSkill val in componentsInChildren) { Object.DestroyImmediate((Object)(object)val); } MystPassiveSkill = characterPrefab.AddComponent(); SkillFamily val2 = ScriptableObject.CreateInstance(); val2.variants = (Variant[])(object)new Variant[0]; MystPassiveSkill._skillFamily = val2; SkillFamily skillFamily = MystPassiveSkill.skillFamily; Skills.CreateSkillFamilies(characterPrefab); string text = "JAVANGLE_MYST_BODY_"; SkillDefInfo skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "JOBCLASS_MYSTIC_NAME"; skillDefInfo.skillNameToken = text + "JOBCLASS_MYSTIC_NAME"; skillDefInfo.skillDescriptionToken = text + "JOBCLASS_MYSTIC_DESCRIPTION"; skillDefInfo.keywordTokens = new string[1] { text + "JOBCLASS_MYSTIC_KEYWORD" }; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("IconMysticClass"); skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = 0f; skillDefInfo.beginSkillCooldownOnSkillEnd = false; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = false; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = Mathf.CeilToInt(float.PositiveInfinity); SkillDef val3 = Skills.CreateSkillDef(skillDefInfo); skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "JOBCLASS_WARRIOR_NAME"; skillDefInfo.skillNameToken = text + "JOBCLASS_WARRIOR_NAME"; skillDefInfo.skillDescriptionToken = text + "JOBCLASS_WARRIOR_DESCRIPTION"; skillDefInfo.keywordTokens = new string[1] { text + "JOBCLASS_WARRIOR_KEYWORD" }; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("IconWarriorClass"); skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = 0f; skillDefInfo.beginSkillCooldownOnSkillEnd = false; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = false; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = Mathf.CeilToInt(float.PositiveInfinity); SkillDef val4 = Skills.CreateSkillDef(skillDefInfo); skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "JOBCLASS_SORCERER_NAME"; skillDefInfo.skillNameToken = text + "JOBCLASS_SORCERER_NAME"; skillDefInfo.skillDescriptionToken = text + "JOBCLASS_SORCERER_DESCRIPTION"; skillDefInfo.keywordTokens = new string[1] { text + "JOBCLASS_SORCERER_KEYWORD" }; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("IconSorcererClass"); skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = 0f; skillDefInfo.beginSkillCooldownOnSkillEnd = false; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = false; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = Mathf.CeilToInt(float.PositiveInfinity); SkillDef val5 = Skills.CreateSkillDef(skillDefInfo); skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "JOBCLASS_CHAD_NAME"; skillDefInfo.skillNameToken = text + "JOBCLASS_CHAD_NAME"; skillDefInfo.skillDescriptionToken = text + "JOBCLASS_CHAD_DESCRIPTION"; skillDefInfo.keywordTokens = new string[1] { text + "JOBCLASS_CHAD_KEYWORD" }; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("IconChadClass"); skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = 0f; skillDefInfo.beginSkillCooldownOnSkillEnd = false; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = false; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = Mathf.CeilToInt(float.PositiveInfinity); SkillDef val6 = Skills.CreateSkillDef(skillDefInfo); skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "JOBCLASS_BABY_NAME"; skillDefInfo.skillNameToken = text + "JOBCLASS_BABY_NAME"; skillDefInfo.skillDescriptionToken = text + "JOBCLASS_BABY_DESCRIPTION"; skillDefInfo.keywordTokens = new string[1] { text + "JOBCLASS_BABY_KEYWORD" }; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("IconBabyClass"); skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = 0f; skillDefInfo.beginSkillCooldownOnSkillEnd = false; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = false; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = Mathf.CeilToInt(float.PositiveInfinity); SkillDef val7 = Skills.CreateSkillDef(skillDefInfo); if (Config.BabyMode.Value) { Skills.AddExtraSkills(characterPrefab, skillFamily, val3, val4, val5, val6, val7); } else { Skills.AddExtraSkills(characterPrefab, skillFamily, val3, val4, val5, val6); } skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "BASEFORM_SLASH_NAME"; skillDefInfo.skillNameToken = text + "BASEFORM_SLASH_NAME"; skillDefInfo.skillDescriptionToken = text + "BASEFORM_SLASH_DESCRIPTION"; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("MystPrimaryIcon2"); skillDefInfo.activationState = new SerializableEntityStateType(typeof(MystPrimaryAttack)); skillDefInfo.activationStateMachineName = "Weapon"; skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = 0f; skillDefInfo.beginSkillCooldownOnSkillEnd = false; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)0; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = false; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = 1; SkillDef skillDef = Skills.CreateSkillDef(skillDefInfo); Skills.AddPrimarySkill(characterPrefab, skillDef); skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "BASEFORM_BLOCK_NAME"; skillDefInfo.skillNameToken = text + "BASEFORM_BLOCK_NAME"; skillDefInfo.skillDescriptionToken = text + "BASEFORM_BLOCK_DESCRIPTION"; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("MystSecondaryParryIcon"); skillDefInfo.activationState = new SerializableEntityStateType(typeof(MystSecondaryAttack)); skillDefInfo.activationStateMachineName = "Weapon"; skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = float.PositiveInfinity; skillDefInfo.beginSkillCooldownOnSkillEnd = false; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = false; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = Mathf.CeilToInt(float.PositiveInfinity); SkillDef val8 = Skills.CreateSkillDef(skillDefInfo); skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "BASEFORM_DASH_NAME"; skillDefInfo.skillNameToken = text + "BASEFORM_DASH_NAME"; skillDefInfo.skillDescriptionToken = text + "BASEFORM_DASH_DESCRIPTION"; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("MystSecondaryDash"); skillDefInfo.activationState = new SerializableEntityStateType(typeof(MystSecondaryAttack)); skillDefInfo.activationStateMachineName = "Weapon"; skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = float.PositiveInfinity; skillDefInfo.beginSkillCooldownOnSkillEnd = false; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = false; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = Mathf.CeilToInt(float.PositiveInfinity); SkillDef val9 = Skills.CreateSkillDef(skillDefInfo); Skills.AddSecondarySkills(characterPrefab, val9, val8); skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "BASEFORM_MAGICMENU_NAME"; skillDefInfo.skillNameToken = text + "BASEFORM_MAGICMENU_NAME"; skillDefInfo.skillDescriptionToken = text + "BASEFORM_MAGICMENU_DESCRIPTION"; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("MystMagicMenu"); skillDefInfo.activationState = new SerializableEntityStateType(typeof(MagicMenu)); skillDefInfo.activationStateMachineName = "Weapon"; skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = float.PositiveInfinity; skillDefInfo.beginSkillCooldownOnSkillEnd = true; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = true; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = Mathf.CeilToInt(float.PositiveInfinity); SkillDef val10 = Skills.CreateSkillDef(skillDefInfo); Skills.AddUtilitySkills(characterPrefab, val10); skillDefInfo = new SkillDefInfo(); skillDefInfo.skillName = text + "BASEFORM_LIMITMENU_NAME"; skillDefInfo.skillNameToken = text + "BASEFORM_LIMITMENU_NAME"; skillDefInfo.skillDescriptionToken = text + "BASEFORM_LIMITMENU_DESCRIPTION"; skillDefInfo.skillIcon = Assets.mainAssetBundle.LoadAsset("MystLimitMenu"); skillDefInfo.activationState = new SerializableEntityStateType(typeof(LimitMenu)); skillDefInfo.activationStateMachineName = "Weapon"; skillDefInfo.baseMaxStock = 1; skillDefInfo.baseRechargeInterval = float.PositiveInfinity; skillDefInfo.beginSkillCooldownOnSkillEnd = true; skillDefInfo.canceledFromSprinting = false; skillDefInfo.forceSprintDuringState = false; skillDefInfo.fullRestockOnAssign = true; skillDefInfo.interruptPriority = (InterruptPriority)1; skillDefInfo.resetCooldownTimerOnUse = false; skillDefInfo.isCombatSkill = false; skillDefInfo.mustKeyPress = false; skillDefInfo.cancelSprintingOnActivation = true; skillDefInfo.rechargeStock = 1; skillDefInfo.requiredStock = 1; skillDefInfo.stockToConsume = Mathf.CeilToInt(float.PositiveInfinity); SkillDef val11 = Skills.CreateSkillDef(skillDefInfo); Skills.AddSpecialSkills(characterPrefab, val11); } private static void CreateSkins() { //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_00e9: Unknown result type (might be due to invalid IL or missing references) //IL_0119: Unknown result type (might be due to invalid IL or missing references) //IL_011b: 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_0154: Unknown result type (might be due to invalid IL or missing references) //IL_0156: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Unknown result type (might be due to invalid IL or missing references) //IL_0191: Unknown result type (might be due to invalid IL or missing references) //IL_019a: Unknown result type (might be due to invalid IL or missing references) //IL_01ca: Unknown result type (might be due to invalid IL or missing references) //IL_01cc: Unknown result type (might be due to invalid IL or missing references) //IL_01d5: Unknown result type (might be due to invalid IL or missing references) //IL_0205: Unknown result type (might be due to invalid IL or missing references) //IL_0207: Unknown result type (might be due to invalid IL or missing references) //IL_0210: Unknown result type (might be due to invalid IL or missing references) //IL_0240: Unknown result type (might be due to invalid IL or missing references) //IL_0242: 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_0309: Unknown result type (might be due to invalid IL or missing references) //IL_030b: Unknown result type (might be due to invalid IL or missing references) //IL_0314: 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_0346: Unknown result type (might be due to invalid IL or missing references) //IL_034f: 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_0381: 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_03ba: Unknown result type (might be due to invalid IL or missing references) //IL_03bc: Unknown result type (might be due to invalid IL or missing references) //IL_03c5: Unknown result type (might be due to invalid IL or missing references) //IL_03f5: Unknown result type (might be due to invalid IL or missing references) //IL_03f7: Unknown result type (might be due to invalid IL or missing references) //IL_0400: Unknown result type (might be due to invalid IL or missing references) //IL_0430: Unknown result type (might be due to invalid IL or missing references) //IL_0432: Unknown result type (might be due to invalid IL or missing references) //IL_043b: Unknown result type (might be due to invalid IL or missing references) //IL_046b: Unknown result type (might be due to invalid IL or missing references) //IL_046d: Unknown result type (might be due to invalid IL or missing references) //IL_0476: Unknown result type (might be due to invalid IL or missing references) //IL_04a6: Unknown result type (might be due to invalid IL or missing references) //IL_04a8: Unknown result type (might be due to invalid IL or missing references) GameObject gameObject = ((Component)characterPrefab.GetComponentInChildren().modelTransform).gameObject; CharacterModel component = gameObject.GetComponent(); ModelSkinController val = gameObject.AddComponent(); ChildLocator component2 = gameObject.GetComponent(); SkinnedMeshRenderer mainSkinnedMeshRenderer = component.mainSkinnedMeshRenderer; RendererInfo[] baseRendererInfos = component.baseRendererInfos; List list = new List(); SkinDef val2 = Skins.CreateSkinDef("JAVANGLE_MYST_BODY_DEFAULT_SKIN_NAME", Assets.mainAssetBundle.LoadAsset("texMainSkin"), baseRendererInfos, mainSkinnedMeshRenderer, gameObject); val2.skinDefParams.meshReplacements = (MeshReplacement[])(object)new MeshReplacement[8] { new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MystMesh"), renderer = baseRendererInfos[0].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MystCapeMesh"), renderer = baseRendererInfos[1].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MystSheatheMesh"), renderer = baseRendererInfos[2].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MystSwordSheathMesh"), renderer = baseRendererInfos[3].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MystSword1Mesh"), renderer = baseRendererInfos[4].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MystSword2Mesh"), renderer = baseRendererInfos[5].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MystSwordLMesh"), renderer = baseRendererInfos[6].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MystSwordRMesh"), renderer = baseRendererInfos[7].renderer } }; list.Add(val2); Material val3 = Assets.CreateMaterial("MystMasteryMat", 10f); SkinDef val4 = Skins.CreateSkinDef("JAVANGLE_MYST_BODY_DEFAULT_SKIN_NAME", Assets.mainAssetBundle.LoadAsset("texMainSkin"), baseRendererInfos, mainSkinnedMeshRenderer, gameObject); val4.skinDefParams.rendererInfos = SkinRendererInfos(baseRendererInfos, (Material[])(object)new Material[8] { val3, val3, val3, val3, val3, val3, val3, val3 }); val4.skinDefParams.meshReplacements = (MeshReplacement[])(object)new MeshReplacement[8] { new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MasteryMesh"), renderer = baseRendererInfos[0].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MasteryCapeMesh"), renderer = baseRendererInfos[1].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MasterySheath"), renderer = baseRendererInfos[2].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MasterySwordSheath"), renderer = baseRendererInfos[3].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MasterySword1Mesh"), renderer = baseRendererInfos[4].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MasterySword2Mesh"), renderer = baseRendererInfos[5].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MasterySwordLMesh"), renderer = baseRendererInfos[6].renderer }, new MeshReplacement { mesh = Assets.mainAssetBundle.LoadAsset("MasterySwordRMesh"), renderer = baseRendererInfos[7].renderer } }; val.skins = list.ToArray(); } public static void InitializeItemDisplays() { CharacterModel componentInChildren = characterPrefab.GetComponentInChildren(); itemDisplayRuleSet = ScriptableObject.CreateInstance(); ((Object)itemDisplayRuleSet).name = "idrsMyst"; componentInChildren.itemDisplayRuleSet = itemDisplayRuleSet; } internal static void SetItemDisplays() { itemDisplayRules = new List(); if (!Config.ItemDisplays.Value) { return; } if (Config.IDRbase.Value) { try { SetUpVanillaDisplays(); } catch { Debug.LogError((object)"[MystError] Failed to set up IDRs for Vanilla"); } } if (Config.IDRdlc1.Value) { try { SetUpSOTVDisplays(); } catch { Debug.LogError((object)"[MystError] Failed to set up IDRs for SOTV"); } } if (Config.IDRdlc2.Value) { try { SetUpSOTSDisplays(); } catch { Debug.LogError((object)"[MystError] Failed to set up IDRs for SOTS"); } } if (Config.IDRdlc3.Value) { try { SetUpACDisplays(); } catch { Debug.LogError((object)"[MystError] Failed to set up IDRs for AC"); } } if (Config.IDRmodded.Value) { if (MystPlugin.scepterInstalled) { try { SetUpAncientScepterDisplay(); } catch { Debug.LogError((object)"[MystError] Failed to set up IDRs for Ancient Scepter"); } } if (MystPlugin.SS2Installed) { try { SetUpStarstormDisplays(); } catch { Debug.LogError((object)"[MystError] Failed to set up IDRs for Starstorm2"); } } if (MystPlugin.AetheriumInstalled) { try { SetUpAetheriumDisplays(); } catch { Debug.LogError((object)"[MystError] Failed to set up IDRs for Aetherium"); } } if (MystPlugin.MysticsItemsInstalled) { try { SetUpMysticsItemsDisplays(); } catch { Debug.LogError((object)"[MystError] Failed to set up IDRs for Mystics Items"); } } if (MystPlugin.TinkersSatchelInstalled) { try { SetUpTinkersSatchelDisplays(); } catch { Debug.LogError((object)"[MystError] Failed to set up IDRs for Tinkers Satchel"); } } } itemDisplayRuleSet.keyAssetRuleGroups = itemDisplayRules.ToArray(); } internal static void SetUpVanillaDisplays() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //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_00ac: 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_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: 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_012f: Unknown result type (might be due to invalid IL or missing references) //IL_0134: Unknown result type (might be due to invalid IL or missing references) //IL_014a: Unknown result type (might be due to invalid IL or missing references) //IL_014f: Unknown result type (might be due to invalid IL or missing references) //IL_0165: Unknown result type (might be due to invalid IL or missing references) //IL_016a: 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_0177: Unknown result type (might be due to invalid IL or missing references) //IL_0178: Unknown result type (might be due to invalid IL or missing references) //IL_0182: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Unknown result type (might be due to invalid IL or missing references) //IL_0188: Unknown result type (might be due to invalid IL or missing references) //IL_0196: Unknown result type (might be due to invalid IL or missing references) //IL_01ac: Unknown result type (might be due to invalid IL or missing references) //IL_01be: Unknown result type (might be due to invalid IL or missing references) //IL_01c7: Unknown result type (might be due to invalid IL or missing references) //IL_01fa: Unknown result type (might be due to invalid IL or missing references) //IL_01ff: Unknown result type (might be due to invalid IL or missing references) //IL_0215: 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_0230: Unknown result type (might be due to invalid IL or missing references) //IL_0235: Unknown result type (might be due to invalid IL or missing references) //IL_023d: Unknown result type (might be due to invalid IL or missing references) //IL_0242: Unknown result type (might be due to invalid IL or missing references) //IL_0243: Unknown result type (might be due to invalid IL or missing references) //IL_024d: Unknown result type (might be due to invalid IL or missing references) //IL_024e: Unknown result type (might be due to invalid IL or missing references) //IL_0253: Unknown result type (might be due to invalid IL or missing references) //IL_0261: Unknown result type (might be due to invalid IL or missing references) //IL_0277: Unknown result type (might be due to invalid IL or missing references) //IL_0289: Unknown result type (might be due to invalid IL or missing references) //IL_0292: Unknown result type (might be due to invalid IL or missing references) //IL_02c5: Unknown result type (might be due to invalid IL or missing references) //IL_02ca: 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_02e5: Unknown result type (might be due to invalid IL or missing references) //IL_02fb: Unknown result type (might be due to invalid IL or missing references) //IL_0300: Unknown result type (might be due to invalid IL or missing references) //IL_0308: Unknown result type (might be due to invalid IL or missing references) //IL_030d: Unknown result type (might be due to invalid IL or missing references) //IL_030e: Unknown result type (might be due to invalid IL or missing references) //IL_0318: Unknown result type (might be due to invalid IL or missing references) //IL_0319: Unknown result type (might be due to invalid IL or missing references) //IL_031e: Unknown result type (might be due to invalid IL or missing references) //IL_032c: Unknown result type (might be due to invalid IL or missing references) //IL_0342: Unknown result type (might be due to invalid IL or missing references) //IL_0354: Unknown result type (might be due to invalid IL or missing references) //IL_035d: Unknown result type (might be due to invalid IL or missing references) //IL_0390: Unknown result type (might be due to invalid IL or missing references) //IL_0395: Unknown result type (might be due to invalid IL or missing references) //IL_03ab: Unknown result type (might be due to invalid IL or missing references) //IL_03b0: Unknown result type (might be due to invalid IL or missing references) //IL_03c6: Unknown result type (might be due to invalid IL or missing references) //IL_03cb: Unknown result type (might be due to invalid IL or missing references) //IL_03d3: Unknown result type (might be due to invalid IL or missing references) //IL_03d8: Unknown result type (might be due to invalid IL or missing references) //IL_03d9: Unknown result type (might be due to invalid IL or missing references) //IL_03e3: Unknown result type (might be due to invalid IL or missing references) //IL_03e4: Unknown result type (might be due to invalid IL or missing references) //IL_03e9: 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_040d: 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_0428: Unknown result type (might be due to invalid IL or missing references) //IL_045b: Unknown result type (might be due to invalid IL or missing references) //IL_0460: Unknown result type (might be due to invalid IL or missing references) //IL_0476: Unknown result type (might be due to invalid IL or missing references) //IL_047b: 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_0496: Unknown result type (might be due to invalid IL or missing references) //IL_049e: Unknown result type (might be due to invalid IL or missing references) //IL_04a3: Unknown result type (might be due to invalid IL or missing references) //IL_04a4: Unknown result type (might be due to invalid IL or missing references) //IL_04ae: Unknown result type (might be due to invalid IL or missing references) //IL_04af: Unknown result type (might be due to invalid IL or missing references) //IL_04b4: Unknown result type (might be due to invalid IL or missing references) //IL_04c2: Unknown result type (might be due to invalid IL or missing references) //IL_04d8: Unknown result type (might be due to invalid IL or missing references) //IL_04ea: Unknown result type (might be due to invalid IL or missing references) //IL_04f3: Unknown result type (might be due to invalid IL or missing references) //IL_0526: Unknown result type (might be due to invalid IL or missing references) //IL_052b: Unknown result type (might be due to invalid IL or missing references) //IL_0541: Unknown result type (might be due to invalid IL or missing references) //IL_0546: Unknown result type (might be due to invalid IL or missing references) //IL_055c: Unknown result type (might be due to invalid IL or missing references) //IL_0561: Unknown result type (might be due to invalid IL or missing references) //IL_0569: 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_056f: Unknown result type (might be due to invalid IL or missing references) //IL_0579: Unknown result type (might be due to invalid IL or missing references) //IL_057a: Unknown result type (might be due to invalid IL or missing references) //IL_057f: Unknown result type (might be due to invalid IL or missing references) //IL_058d: Unknown result type (might be due to invalid IL or missing references) //IL_05a3: Unknown result type (might be due to invalid IL or missing references) //IL_05b5: Unknown result type (might be due to invalid IL or missing references) //IL_05be: Unknown result type (might be due to invalid IL or missing references) //IL_05f1: Unknown result type (might be due to invalid IL or missing references) //IL_05f6: Unknown result type (might be due to invalid IL or missing references) //IL_060c: Unknown result type (might be due to invalid IL or missing references) //IL_0611: Unknown result type (might be due to invalid IL or missing references) //IL_0627: Unknown result type (might be due to invalid IL or missing references) //IL_062c: 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_0639: Unknown result type (might be due to invalid IL or missing references) //IL_063a: Unknown result type (might be due to invalid IL or missing references) //IL_0644: Unknown result type (might be due to invalid IL or missing references) //IL_0645: Unknown result type (might be due to invalid IL or missing references) //IL_064a: Unknown result type (might be due to invalid IL or missing references) //IL_0658: 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_0680: Unknown result type (might be due to invalid IL or missing references) //IL_0689: Unknown result type (might be due to invalid IL or missing references) //IL_06bc: Unknown result type (might be due to invalid IL or missing references) //IL_06c1: Unknown result type (might be due to invalid IL or missing references) //IL_06d7: Unknown result type (might be due to invalid IL or missing references) //IL_06dc: Unknown result type (might be due to invalid IL or missing references) //IL_06f2: Unknown result type (might be due to invalid IL or missing references) //IL_06f7: Unknown result type (might be due to invalid IL or missing references) //IL_06ff: Unknown result type (might be due to invalid IL or missing references) //IL_0704: Unknown result type (might be due to invalid IL or missing references) //IL_0705: Unknown result type (might be due to invalid IL or missing references) //IL_070f: Unknown result type (might be due to invalid IL or missing references) //IL_0710: Unknown result type (might be due to invalid IL or missing references) //IL_0715: Unknown result type (might be due to invalid IL or missing references) //IL_0723: 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_074b: Unknown result type (might be due to invalid IL or missing references) //IL_0754: Unknown result type (might be due to invalid IL or missing references) //IL_0787: Unknown result type (might be due to invalid IL or missing references) //IL_078c: Unknown result type (might be due to invalid IL or missing references) //IL_07a2: Unknown result type (might be due to invalid IL or missing references) //IL_07a7: Unknown result type (might be due to invalid IL or missing references) //IL_07bd: Unknown result type (might be due to invalid IL or missing references) //IL_07c2: Unknown result type (might be due to invalid IL or missing references) //IL_07ca: Unknown result type (might be due to invalid IL or missing references) //IL_07cf: Unknown result type (might be due to invalid IL or missing references) //IL_07d0: 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_07db: Unknown result type (might be due to invalid IL or missing references) //IL_07e0: Unknown result type (might be due to invalid IL or missing references) //IL_07ee: Unknown result type (might be due to invalid IL or missing references) //IL_0804: Unknown result type (might be due to invalid IL or missing references) //IL_0816: Unknown result type (might be due to invalid IL or missing references) //IL_081f: 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_0857: Unknown result type (might be due to invalid IL or missing references) //IL_086d: Unknown result type (might be due to invalid IL or missing references) //IL_0872: Unknown result type (might be due to invalid IL or missing references) //IL_0888: Unknown result type (might be due to invalid IL or missing references) //IL_088d: Unknown result type (might be due to invalid IL or missing references) //IL_0895: Unknown result type (might be due to invalid IL or missing references) //IL_089a: Unknown result type (might be due to invalid IL or missing references) //IL_089b: Unknown result type (might be due to invalid IL or missing references) //IL_08a5: Unknown result type (might be due to invalid IL or missing references) //IL_08a6: Unknown result type (might be due to invalid IL or missing references) //IL_08ab: Unknown result type (might be due to invalid IL or missing references) //IL_08b9: Unknown result type (might be due to invalid IL or missing references) //IL_08cf: Unknown result type (might be due to invalid IL or missing references) //IL_08e1: Unknown result type (might be due to invalid IL or missing references) //IL_08ea: Unknown result type (might be due to invalid IL or missing references) //IL_091d: Unknown result type (might be due to invalid IL or missing references) //IL_0922: 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_093d: Unknown result type (might be due to invalid IL or missing references) //IL_0953: 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_0960: Unknown result type (might be due to invalid IL or missing references) //IL_0965: Unknown result type (might be due to invalid IL or missing references) //IL_0966: Unknown result type (might be due to invalid IL or missing references) //IL_0970: Unknown result type (might be due to invalid IL or missing references) //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_0984: Unknown result type (might be due to invalid IL or missing references) //IL_099a: Unknown result type (might be due to invalid IL or missing references) //IL_09ac: Unknown result type (might be due to invalid IL or missing references) //IL_09b5: Unknown result type (might be due to invalid IL or missing references) //IL_09e8: Unknown result type (might be due to invalid IL or missing references) //IL_09ed: Unknown result type (might be due to invalid IL or missing references) //IL_0a03: Unknown result type (might be due to invalid IL or missing references) //IL_0a08: Unknown result type (might be due to invalid IL or missing references) //IL_0a1e: Unknown result type (might be due to invalid IL or missing references) //IL_0a23: Unknown result type (might be due to invalid IL or missing references) //IL_0a2b: Unknown result type (might be due to invalid IL or missing references) //IL_0a30: Unknown result type (might be due to invalid IL or missing references) //IL_0a31: Unknown result type (might be due to invalid IL or missing references) //IL_0a3b: Unknown result type (might be due to invalid IL or missing references) //IL_0a3c: Unknown result type (might be due to invalid IL or missing references) //IL_0a41: 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_0a65: Unknown result type (might be due to invalid IL or missing references) //IL_0a77: Unknown result type (might be due to invalid IL or missing references) //IL_0a80: Unknown result type (might be due to invalid IL or missing references) //IL_0ab3: Unknown result type (might be due to invalid IL or missing references) //IL_0ab8: Unknown result type (might be due to invalid IL or missing references) //IL_0ace: Unknown result type (might be due to invalid IL or missing references) //IL_0ad3: 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_0aee: Unknown result type (might be due to invalid IL or missing references) //IL_0af6: Unknown result type (might be due to invalid IL or missing references) //IL_0afb: 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_0b06: 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_0b0c: 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_0b30: Unknown result type (might be due to invalid IL or missing references) //IL_0b42: Unknown result type (might be due to invalid IL or missing references) //IL_0b4b: Unknown result type (might be due to invalid IL or missing references) //IL_0b7e: Unknown result type (might be due to invalid IL or missing references) //IL_0b83: Unknown result type (might be due to invalid IL or missing references) //IL_0b99: Unknown result type (might be due to invalid IL or missing references) //IL_0b9e: Unknown result type (might be due to invalid IL or missing references) //IL_0bb4: Unknown result type (might be due to invalid IL or missing references) //IL_0bb9: Unknown result type (might be due to invalid IL or missing references) //IL_0bc1: 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_0bc7: Unknown result type (might be due to invalid IL or missing references) //IL_0bd1: Unknown result type (might be due to invalid IL or missing references) //IL_0bd2: Unknown result type (might be due to invalid IL or missing references) //IL_0bd7: Unknown result type (might be due to invalid IL or missing references) //IL_0be5: Unknown result type (might be due to invalid IL or missing references) //IL_0bfb: Unknown result type (might be due to invalid IL or missing references) //IL_0c0d: Unknown result type (might be due to invalid IL or missing references) //IL_0c16: Unknown result type (might be due to invalid IL or missing references) //IL_0c49: Unknown result type (might be due to invalid IL or missing references) //IL_0c4e: Unknown result type (might be due to invalid IL or missing references) //IL_0c64: Unknown result type (might be due to invalid IL or missing references) //IL_0c69: Unknown result type (might be due to invalid IL or missing references) //IL_0c7f: Unknown result type (might be due to invalid IL or missing references) //IL_0c84: 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_0c91: Unknown result type (might be due to invalid IL or missing references) //IL_0c92: Unknown result type (might be due to invalid IL or missing references) //IL_0c9c: Unknown result type (might be due to invalid IL or missing references) //IL_0c9d: Unknown result type (might be due to invalid IL or missing references) //IL_0ca2: Unknown result type (might be due to invalid IL or missing references) //IL_0cb0: 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_0cd8: Unknown result type (might be due to invalid IL or missing references) //IL_0ce1: Unknown result type (might be due to invalid IL or missing references) //IL_0d14: Unknown result type (might be due to invalid IL or missing references) //IL_0d19: Unknown result type (might be due to invalid IL or missing references) //IL_0d2f: Unknown result type (might be due to invalid IL or missing references) //IL_0d34: Unknown result type (might be due to invalid IL or missing references) //IL_0d4a: Unknown result type (might be due to invalid IL or missing references) //IL_0d4f: Unknown result type (might be due to invalid IL or missing references) //IL_0d57: Unknown result type (might be due to invalid IL or missing references) //IL_0d5c: Unknown result type (might be due to invalid IL or missing references) //IL_0d5d: Unknown result type (might be due to invalid IL or missing references) //IL_0d67: Unknown result type (might be due to invalid IL or missing references) //IL_0d68: Unknown result type (might be due to invalid IL or missing references) //IL_0d6d: Unknown result type (might be due to invalid IL or missing references) //IL_0d7b: Unknown result type (might be due to invalid IL or missing references) //IL_0d91: Unknown result type (might be due to invalid IL or missing references) //IL_0da3: Unknown result type (might be due to invalid IL or missing references) //IL_0dac: Unknown result type (might be due to invalid IL or missing references) //IL_0ddf: Unknown result type (might be due to invalid IL or missing references) //IL_0de4: Unknown result type (might be due to invalid IL or missing references) //IL_0dfa: Unknown result type (might be due to invalid IL or missing references) //IL_0dff: Unknown result type (might be due to invalid IL or missing references) //IL_0e15: Unknown result type (might be due to invalid IL or missing references) //IL_0e1a: Unknown result type (might be due to invalid IL or missing references) //IL_0e22: Unknown result type (might be due to invalid IL or missing references) //IL_0e27: Unknown result type (might be due to invalid IL or missing references) //IL_0e28: Unknown result type (might be due to invalid IL or missing references) //IL_0e32: Unknown result type (might be due to invalid IL or missing references) //IL_0e33: Unknown result type (might be due to invalid IL or missing references) //IL_0e38: Unknown result type (might be due to invalid IL or missing references) //IL_0e46: Unknown result type (might be due to invalid IL or missing references) //IL_0e5c: Unknown result type (might be due to invalid IL or missing references) //IL_0e6e: Unknown result type (might be due to invalid IL or missing references) //IL_0e77: Unknown result type (might be due to invalid IL or missing references) //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_0ec5: Unknown result type (might be due to invalid IL or missing references) //IL_0eca: Unknown result type (might be due to invalid IL or missing references) //IL_0ee0: Unknown result type (might be due to invalid IL or missing references) //IL_0ee5: Unknown result type (might be due to invalid IL or missing references) //IL_0eed: Unknown result type (might be due to invalid IL or missing references) //IL_0ef2: Unknown result type (might be due to invalid IL or missing references) //IL_0ef3: Unknown result type (might be due to invalid IL or missing references) //IL_0efd: Unknown result type (might be due to invalid IL or missing references) //IL_0efe: Unknown result type (might be due to invalid IL or missing references) //IL_0f03: Unknown result type (might be due to invalid IL or missing references) //IL_0f11: Unknown result type (might be due to invalid IL or missing references) //IL_0f27: Unknown result type (might be due to invalid IL or missing references) //IL_0f39: 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_0f75: Unknown result type (might be due to invalid IL or missing references) //IL_0f7a: Unknown result type (might be due to invalid IL or missing references) //IL_0f90: Unknown result type (might be due to invalid IL or missing references) //IL_0f95: Unknown result type (might be due to invalid IL or missing references) //IL_0fab: Unknown result type (might be due to invalid IL or missing references) //IL_0fb0: Unknown result type (might be due to invalid IL or missing references) //IL_0fb8: Unknown result type (might be due to invalid IL or missing references) //IL_0fbd: Unknown result type (might be due to invalid IL or missing references) //IL_0fbe: Unknown result type (might be due to invalid IL or missing references) //IL_0fc8: Unknown result type (might be due to invalid IL or missing references) //IL_0fc9: Unknown result type (might be due to invalid IL or missing references) //IL_0fce: Unknown result type (might be due to invalid IL or missing references) //IL_0fdc: Unknown result type (might be due to invalid IL or missing references) //IL_0ff2: Unknown result type (might be due to invalid IL or missing references) //IL_1004: Unknown result type (might be due to invalid IL or missing references) //IL_100d: 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_1045: Unknown result type (might be due to invalid IL or missing references) //IL_105b: Unknown result type (might be due to invalid IL or missing references) //IL_1060: Unknown result type (might be due to invalid IL or missing references) //IL_1076: Unknown result type (might be due to invalid IL or missing references) //IL_107b: Unknown result type (might be due to invalid IL or missing references) //IL_1083: Unknown result type (might be due to invalid IL or missing references) //IL_1088: Unknown result type (might be due to invalid IL or missing references) //IL_1089: Unknown result type (might be due to invalid IL or missing references) //IL_1093: Unknown result type (might be due to invalid IL or missing references) //IL_1094: Unknown result type (might be due to invalid IL or missing references) //IL_1099: Unknown result type (might be due to invalid IL or missing references) //IL_10a7: Unknown result type (might be due to invalid IL or missing references) //IL_10bd: Unknown result type (might be due to invalid IL or missing references) //IL_10cf: Unknown result type (might be due to invalid IL or missing references) //IL_10d8: Unknown result type (might be due to invalid IL or missing references) //IL_110b: Unknown result type (might be due to invalid IL or missing references) //IL_1110: Unknown result type (might be due to invalid IL or missing references) //IL_1126: Unknown result type (might be due to invalid IL or missing references) //IL_112b: Unknown result type (might be due to invalid IL or missing references) //IL_1141: Unknown result type (might be due to invalid IL or missing references) //IL_1146: Unknown result type (might be due to invalid IL or missing references) //IL_114e: Unknown result type (might be due to invalid IL or missing references) //IL_1153: Unknown result type (might be due to invalid IL or missing references) //IL_1154: Unknown result type (might be due to invalid IL or missing references) //IL_115e: Unknown result type (might be due to invalid IL or missing references) //IL_115f: Unknown result type (might be due to invalid IL or missing references) //IL_1164: Unknown result type (might be due to invalid IL or missing references) //IL_1172: Unknown result type (might be due to invalid IL or missing references) //IL_1188: Unknown result type (might be due to invalid IL or missing references) //IL_119a: Unknown result type (might be due to invalid IL or missing references) //IL_11a3: Unknown result type (might be due to invalid IL or missing references) //IL_11d6: Unknown result type (might be due to invalid IL or missing references) //IL_11db: Unknown result type (might be due to invalid IL or missing references) //IL_11f1: Unknown result type (might be due to invalid IL or missing references) //IL_11f6: Unknown result type (might be due to invalid IL or missing references) //IL_120c: Unknown result type (might be due to invalid IL or missing references) //IL_1211: Unknown result type (might be due to invalid IL or missing references) //IL_1219: Unknown result type (might be due to invalid IL or missing references) //IL_121e: Unknown result type (might be due to invalid IL or missing references) //IL_121f: Unknown result type (might be due to invalid IL or missing references) //IL_1229: Unknown result type (might be due to invalid IL or missing references) //IL_122a: Unknown result type (might be due to invalid IL or missing references) //IL_122f: Unknown result type (might be due to invalid IL or missing references) //IL_123d: Unknown result type (might be due to invalid IL or missing references) //IL_1253: Unknown result type (might be due to invalid IL or missing references) //IL_1265: Unknown result type (might be due to invalid IL or missing references) //IL_126e: Unknown result type (might be due to invalid IL or missing references) //IL_12a1: Unknown result type (might be due to invalid IL or missing references) //IL_12a6: Unknown result type (might be due to invalid IL or missing references) //IL_12bc: Unknown result type (might be due to invalid IL or missing references) //IL_12c1: Unknown result type (might be due to invalid IL or missing references) //IL_12d7: Unknown result type (might be due to invalid IL or missing references) //IL_12dc: Unknown result type (might be due to invalid IL or missing references) //IL_12e4: Unknown result type (might be due to invalid IL or missing references) //IL_12e9: Unknown result type (might be due to invalid IL or missing references) //IL_12ea: Unknown result type (might be due to invalid IL or missing references) //IL_12f4: Unknown result type (might be due to invalid IL or missing references) //IL_12f5: Unknown result type (might be due to invalid IL or missing references) //IL_12fa: Unknown result type (might be due to invalid IL or missing references) //IL_1308: Unknown result type (might be due to invalid IL or missing references) //IL_131e: Unknown result type (might be due to invalid IL or missing references) //IL_1330: Unknown result type (might be due to invalid IL or missing references) //IL_1339: Unknown result type (might be due to invalid IL or missing references) //IL_136c: Unknown result type (might be due to invalid IL or missing references) //IL_1371: Unknown result type (might be due to invalid IL or missing references) //IL_1387: Unknown result type (might be due to invalid IL or missing references) //IL_138c: 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_13a7: Unknown result type (might be due to invalid IL or missing references) //IL_13af: Unknown result type (might be due to invalid IL or missing references) //IL_13b4: 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_13be: Unknown result type (might be due to invalid IL or missing references) //IL_13c7: Unknown result type (might be due to invalid IL or missing references) //IL_13fa: Unknown result type (might be due to invalid IL or missing references) //IL_13ff: Unknown result type (might be due to invalid IL or missing references) //IL_1415: Unknown result type (might be due to invalid IL or missing references) //IL_141a: Unknown result type (might be due to invalid IL or missing references) //IL_1430: Unknown result type (might be due to invalid IL or missing references) //IL_1435: Unknown result type (might be due to invalid IL or missing references) //IL_143d: Unknown result type (might be due to invalid IL or missing references) //IL_1442: Unknown result type (might be due to invalid IL or missing references) //IL_1443: Unknown result type (might be due to invalid IL or missing references) //IL_144d: Unknown result type (might be due to invalid IL or missing references) //IL_144e: Unknown result type (might be due to invalid IL or missing references) //IL_1453: 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_1477: 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_1492: Unknown result type (might be due to invalid IL or missing references) //IL_14c5: Unknown result type (might be due to invalid IL or missing references) //IL_14ca: Unknown result type (might be due to invalid IL or missing references) //IL_14e0: Unknown result type (might be due to invalid IL or missing references) //IL_14e5: Unknown result type (might be due to invalid IL or missing references) //IL_14fb: Unknown result type (might be due to invalid IL or missing references) //IL_1500: Unknown result type (might be due to invalid IL or missing references) //IL_1508: Unknown result type (might be due to invalid IL or missing references) //IL_150d: Unknown result type (might be due to invalid IL or missing references) //IL_150e: Unknown result type (might be due to invalid IL or missing references) //IL_1518: Unknown result type (might be due to invalid IL or missing references) //IL_1519: Unknown result type (might be due to invalid IL or missing references) //IL_151e: Unknown result type (might be due to invalid IL or missing references) //IL_152c: Unknown result type (might be due to invalid IL or missing references) //IL_1542: Unknown result type (might be due to invalid IL or missing references) //IL_1554: Unknown result type (might be due to invalid IL or missing references) //IL_155d: Unknown result type (might be due to invalid IL or missing references) //IL_1590: Unknown result type (might be due to invalid IL or missing references) //IL_1595: Unknown result type (might be due to invalid IL or missing references) //IL_15ab: Unknown result type (might be due to invalid IL or missing references) //IL_15b0: Unknown result type (might be due to invalid IL or missing references) //IL_15c6: Unknown result type (might be due to invalid IL or missing references) //IL_15cb: Unknown result type (might be due to invalid IL or missing references) //IL_15d3: Unknown result type (might be due to invalid IL or missing references) //IL_15d8: Unknown result type (might be due to invalid IL or missing references) //IL_15d9: Unknown result type (might be due to invalid IL or missing references) //IL_15e3: Unknown result type (might be due to invalid IL or missing references) //IL_15e4: Unknown result type (might be due to invalid IL or missing references) //IL_15e9: Unknown result type (might be due to invalid IL or missing references) //IL_15f7: Unknown result type (might be due to invalid IL or missing references) //IL_160d: Unknown result type (might be due to invalid IL or missing references) //IL_161f: Unknown result type (might be due to invalid IL or missing references) //IL_1628: Unknown result type (might be due to invalid IL or missing references) //IL_165b: Unknown result type (might be due to invalid IL or missing references) //IL_1660: Unknown result type (might be due to invalid IL or missing references) //IL_1676: Unknown result type (might be due to invalid IL or missing references) //IL_167b: Unknown result type (might be due to invalid IL or missing references) //IL_1691: Unknown result type (might be due to invalid IL or missing references) //IL_1696: 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_16a3: Unknown result type (might be due to invalid IL or missing references) //IL_16a4: Unknown result type (might be due to invalid IL or missing references) //IL_16ad: Unknown result type (might be due to invalid IL or missing references) //IL_16b6: Unknown result type (might be due to invalid IL or missing references) //IL_16e9: Unknown result type (might be due to invalid IL or missing references) //IL_16ee: Unknown result type (might be due to invalid IL or missing references) //IL_1704: Unknown result type (might be due to invalid IL or missing references) //IL_1709: Unknown result type (might be due to invalid IL or missing references) //IL_171f: Unknown result type (might be due to invalid IL or missing references) //IL_1724: Unknown result type (might be due to invalid IL or missing references) //IL_172c: Unknown result type (might be due to invalid IL or missing references) //IL_1731: Unknown result type (might be due to invalid IL or missing references) //IL_1732: Unknown result type (might be due to invalid IL or missing references) //IL_173c: Unknown result type (might be due to invalid IL or missing references) //IL_173d: Unknown result type (might be due to invalid IL or missing references) //IL_1742: Unknown result type (might be due to invalid IL or missing references) //IL_1750: Unknown result type (might be due to invalid IL or missing references) //IL_1766: Unknown result type (might be due to invalid IL or missing references) //IL_1778: Unknown result type (might be due to invalid IL or missing references) //IL_1781: Unknown result type (might be due to invalid IL or missing references) //IL_17b4: Unknown result type (might be due to invalid IL or missing references) //IL_17b9: Unknown result type (might be due to invalid IL or missing references) //IL_17cf: Unknown result type (might be due to invalid IL or missing references) //IL_17d4: Unknown result type (might be due to invalid IL or missing references) //IL_17ea: Unknown result type (might be due to invalid IL or missing references) //IL_17ef: Unknown result type (might be due to invalid IL or missing references) //IL_17f7: Unknown result type (might be due to invalid IL or missing references) //IL_17fc: Unknown result type (might be due to invalid IL or missing references) //IL_17fd: Unknown result type (might be due to invalid IL or missing references) //IL_1807: Unknown result type (might be due to invalid IL or missing references) //IL_1808: Unknown result type (might be due to invalid IL or missing references) //IL_180d: Unknown result type (might be due to invalid IL or missing references) //IL_181b: Unknown result type (might be due to invalid IL or missing references) //IL_1831: Unknown result type (might be due to invalid IL or missing references) //IL_1843: Unknown result type (might be due to invalid IL or missing references) //IL_184c: Unknown result type (might be due to invalid IL or missing references) //IL_187f: Unknown result type (might be due to invalid IL or missing references) //IL_1884: Unknown result type (might be due to invalid IL or missing references) //IL_189a: Unknown result type (might be due to invalid IL or missing references) //IL_189f: Unknown result type (might be due to invalid IL or missing references) //IL_18b5: Unknown result type (might be due to invalid IL or missing references) //IL_18ba: Unknown result type (might be due to invalid IL or missing references) //IL_18c2: Unknown result type (might be due to invalid IL or missing references) //IL_18c7: Unknown result type (might be due to invalid IL or missing references) //IL_18c8: Unknown result type (might be due to invalid IL or missing references) //IL_18d2: Unknown result type (might be due to invalid IL or missing references) //IL_18d3: Unknown result type (might be due to invalid IL or missing references) //IL_18d8: Unknown result type (might be due to invalid IL or missing references) //IL_18e6: 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_190e: Unknown result type (might be due to invalid IL or missing references) //IL_1917: Unknown result type (might be due to invalid IL or missing references) //IL_194a: Unknown result type (might be due to invalid IL or missing references) //IL_194f: Unknown result type (might be due to invalid IL or missing references) //IL_1965: Unknown result type (might be due to invalid IL or missing references) //IL_196a: Unknown result type (might be due to invalid IL or missing references) //IL_1980: Unknown result type (might be due to invalid IL or missing references) //IL_1985: Unknown result type (might be due to invalid IL or missing references) //IL_198d: Unknown result type (might be due to invalid IL or missing references) //IL_1992: Unknown result type (might be due to invalid IL or missing references) //IL_1993: Unknown result type (might be due to invalid IL or missing references) //IL_199d: Unknown result type (might be due to invalid IL or missing references) //IL_199e: Unknown result type (might be due to invalid IL or missing references) //IL_19a3: Unknown result type (might be due to invalid IL or missing references) //IL_19b1: Unknown result type (might be due to invalid IL or missing references) //IL_19c7: Unknown result type (might be due to invalid IL or missing references) //IL_19d9: Unknown result type (might be due to invalid IL or missing references) //IL_19e2: Unknown result type (might be due to invalid IL or missing references) //IL_1a15: Unknown result type (might be due to invalid IL or missing references) //IL_1a1a: Unknown result type (might be due to invalid IL or missing references) //IL_1a30: Unknown result type (might be due to invalid IL or missing references) //IL_1a35: Unknown result type (might be due to invalid IL or missing references) //IL_1a4b: Unknown result type (might be due to invalid IL or missing references) //IL_1a50: Unknown result type (might be due to invalid IL or missing references) //IL_1a58: Unknown result type (might be due to invalid IL or missing references) //IL_1a5d: Unknown result type (might be due to invalid IL or missing references) //IL_1a5e: Unknown result type (might be due to invalid IL or missing references) //IL_1a68: Unknown result type (might be due to invalid IL or missing references) //IL_1a69: Unknown result type (might be due to invalid IL or missing references) //IL_1a6e: Unknown result type (might be due to invalid IL or missing references) //IL_1a7c: Unknown result type (might be due to invalid IL or missing references) //IL_1a92: Unknown result type (might be due to invalid IL or missing references) //IL_1aa4: Unknown result type (might be due to invalid IL or missing references) //IL_1aad: Unknown result type (might be due to invalid IL or missing references) //IL_1ae0: Unknown result type (might be due to invalid IL or missing references) //IL_1ae5: Unknown result type (might be due to invalid IL or missing references) //IL_1afb: Unknown result type (might be due to invalid IL or missing references) //IL_1b00: Unknown result type (might be due to invalid IL or missing references) //IL_1b16: Unknown result type (might be due to invalid IL or missing references) //IL_1b1b: Unknown result type (might be due to invalid IL or missing references) //IL_1b23: Unknown result type (might be due to invalid IL or missing references) //IL_1b28: Unknown result type (might be due to invalid IL or missing references) //IL_1b29: Unknown result type (might be due to invalid IL or missing references) //IL_1b32: Unknown result type (might be due to invalid IL or missing references) //IL_1b3b: Unknown result type (might be due to invalid IL or missing references) //IL_1b6e: Unknown result type (might be due to invalid IL or missing references) //IL_1b73: Unknown result type (might be due to invalid IL or missing references) //IL_1b89: Unknown result type (might be due to invalid IL or missing references) //IL_1b8e: Unknown result type (might be due to invalid IL or missing references) //IL_1ba4: Unknown result type (might be due to invalid IL or missing references) //IL_1ba9: Unknown result type (might be due to invalid IL or missing references) //IL_1bb1: Unknown result type (might be due to invalid IL or missing references) //IL_1bb6: Unknown result type (might be due to invalid IL or missing references) //IL_1bb7: Unknown result type (might be due to invalid IL or missing references) //IL_1bc1: Unknown result type (might be due to invalid IL or missing references) //IL_1bc2: Unknown result type (might be due to invalid IL or missing references) //IL_1bc7: Unknown result type (might be due to invalid IL or missing references) //IL_1bd5: Unknown result type (might be due to invalid IL or missing references) //IL_1beb: Unknown result type (might be due to invalid IL or missing references) //IL_1bfd: Unknown result type (might be due to invalid IL or missing references) //IL_1c06: Unknown result type (might be due to invalid IL or missing references) //IL_1c39: Unknown result type (might be due to invalid IL or missing references) //IL_1c3e: Unknown result type (might be due to invalid IL or missing references) //IL_1c54: Unknown result type (might be due to invalid IL or missing references) //IL_1c59: Unknown result type (might be due to invalid IL or missing references) //IL_1c6f: Unknown result type (might be due to invalid IL or missing references) //IL_1c74: Unknown result type (might be due to invalid IL or missing references) //IL_1c7c: Unknown result type (might be due to invalid IL or missing references) //IL_1c81: Unknown result type (might be due to invalid IL or missing references) //IL_1c82: Unknown result type (might be due to invalid IL or missing references) //IL_1c8c: Unknown result type (might be due to invalid IL or missing references) //IL_1c8d: Unknown result type (might be due to invalid IL or missing references) //IL_1c92: Unknown result type (might be due to invalid IL or missing references) //IL_1ca0: Unknown result type (might be due to invalid IL or missing references) //IL_1cb6: Unknown result type (might be due to invalid IL or missing references) //IL_1cc8: Unknown result type (might be due to invalid IL or missing references) //IL_1cd1: Unknown result type (might be due to invalid IL or missing references) //IL_1d04: Unknown result type (might be due to invalid IL or missing references) //IL_1d09: Unknown result type (might be due to invalid IL or missing references) //IL_1d1f: Unknown result type (might be due to invalid IL or missing references) //IL_1d24: Unknown result type (might be due to invalid IL or missing references) //IL_1d3a: Unknown result type (might be due to invalid IL or missing references) //IL_1d3f: Unknown result type (might be due to invalid IL or missing references) //IL_1d47: Unknown result type (might be due to invalid IL or missing references) //IL_1d4c: Unknown result type (might be due to invalid IL or missing references) //IL_1d4d: Unknown result type (might be due to invalid IL or missing references) //IL_1d57: Unknown result type (might be due to invalid IL or missing references) //IL_1d58: Unknown result type (might be due to invalid IL or missing references) //IL_1d5d: Unknown result type (might be due to invalid IL or missing references) //IL_1d6b: Unknown result type (might be due to invalid IL or missing references) //IL_1d81: Unknown result type (might be due to invalid IL or missing references) //IL_1d93: Unknown result type (might be due to invalid IL or missing references) //IL_1d9c: Unknown result type (might be due to invalid IL or missing references) //IL_1dcf: Unknown result type (might be due to invalid IL or missing references) //IL_1dd4: Unknown result type (might be due to invalid IL or missing references) //IL_1dea: Unknown result type (might be due to invalid IL or missing references) //IL_1def: Unknown result type (might be due to invalid IL or missing references) //IL_1e05: Unknown result type (might be due to invalid IL or missing references) //IL_1e0a: Unknown result type (might be due to invalid IL or missing references) //IL_1e12: Unknown result type (might be due to invalid IL or missing references) //IL_1e17: Unknown result type (might be due to invalid IL or missing references) //IL_1e18: Unknown result type (might be due to invalid IL or missing references) //IL_1e21: Unknown result type (might be due to invalid IL or missing references) //IL_1e2a: Unknown result type (might be due to invalid IL or missing references) //IL_1e5d: Unknown result type (might be due to invalid IL or missing references) //IL_1e62: Unknown result type (might be due to invalid IL or missing references) //IL_1e78: Unknown result type (might be due to invalid IL or missing references) //IL_1e7d: Unknown result type (might be due to invalid IL or missing references) //IL_1e93: Unknown result type (might be due to invalid IL or missing references) //IL_1e98: Unknown result type (might be due to invalid IL or missing references) //IL_1ea0: Unknown result type (might be due to invalid IL or missing references) //IL_1ea5: Unknown result type (might be due to invalid IL or missing references) //IL_1ea6: Unknown result type (might be due to invalid IL or missing references) //IL_1eb0: Unknown result type (might be due to invalid IL or missing references) //IL_1eb1: Unknown result type (might be due to invalid IL or missing references) //IL_1eb6: Unknown result type (might be due to invalid IL or missing references) //IL_1ec4: Unknown result type (might be due to invalid IL or missing references) //IL_1eda: Unknown result type (might be due to invalid IL or missing references) //IL_1eec: Unknown result type (might be due to invalid IL or missing references) //IL_1ef5: Unknown result type (might be due to invalid IL or missing references) //IL_1f28: Unknown result type (might be due to invalid IL or missing references) //IL_1f2d: Unknown result type (might be due to invalid IL or missing references) //IL_1f43: Unknown result type (might be due to invalid IL or missing references) //IL_1f48: Unknown result type (might be due to invalid IL or missing references) //IL_1f5e: Unknown result type (might be due to invalid IL or missing references) //IL_1f63: Unknown result type (might be due to invalid IL or missing references) //IL_1f6b: Unknown result type (might be due to invalid IL or missing references) //IL_1f70: Unknown result type (might be due to invalid IL or missing references) //IL_1f71: Unknown result type (might be due to invalid IL or missing references) //IL_1f7b: Unknown result type (might be due to invalid IL or missing references) //IL_1f7c: Unknown result type (might be due to invalid IL or missing references) //IL_1f81: Unknown result type (might be due to invalid IL or missing references) //IL_1f8f: Unknown result type (might be due to invalid IL or missing references) //IL_1fa5: Unknown result type (might be due to invalid IL or missing references) //IL_1fb7: Unknown result type (might be due to invalid IL or missing references) //IL_1fc0: Unknown result type (might be due to invalid IL or missing references) //IL_1ff3: Unknown result type (might be due to invalid IL or missing references) //IL_1ff8: Unknown result type (might be due to invalid IL or missing references) //IL_200e: Unknown result type (might be due to invalid IL or missing references) //IL_2013: Unknown result type (might be due to invalid IL or missing references) //IL_2029: Unknown result type (might be due to invalid IL or missing references) //IL_202e: Unknown result type (might be due to invalid IL or missing references) //IL_2036: Unknown result type (might be due to invalid IL or missing references) //IL_203b: Unknown result type (might be due to invalid IL or missing references) //IL_203c: Unknown result type (might be due to invalid IL or missing references) //IL_2046: Unknown result type (might be due to invalid IL or missing references) //IL_2047: Unknown result type (might be due to invalid IL or missing references) //IL_204c: Unknown result type (might be due to invalid IL or missing references) //IL_205a: Unknown result type (might be due to invalid IL or missing references) //IL_2070: Unknown result type (might be due to invalid IL or missing references) //IL_2082: Unknown result type (might be due to invalid IL or missing references) //IL_208b: Unknown result type (might be due to invalid IL or missing references) //IL_20be: Unknown result type (might be due to invalid IL or missing references) //IL_20c3: Unknown result type (might be due to invalid IL or missing references) //IL_20d9: Unknown result type (might be due to invalid IL or missing references) //IL_20de: Unknown result type (might be due to invalid IL or missing references) //IL_20f4: Unknown result type (might be due to invalid IL or missing references) //IL_20f9: Unknown result type (might be due to invalid IL or missing references) //IL_2101: Unknown result type (might be due to invalid IL or missing references) //IL_2106: Unknown result type (might be due to invalid IL or missing references) //IL_2107: Unknown result type (might be due to invalid IL or missing references) //IL_2111: Unknown result type (might be due to invalid IL or missing references) //IL_2112: Unknown result type (might be due to invalid IL or missing references) //IL_2117: Unknown result type (might be due to invalid IL or missing references) //IL_2125: Unknown result type (might be due to invalid IL or missing references) //IL_213b: Unknown result type (might be due to invalid IL or missing references) //IL_214d: Unknown result type (might be due to invalid IL or missing references) //IL_2156: Unknown result type (might be due to invalid IL or missing references) //IL_2189: Unknown result type (might be due to invalid IL or missing references) //IL_218e: Unknown result type (might be due to invalid IL or missing references) //IL_21a4: Unknown result type (might be due to invalid IL or missing references) //IL_21a9: Unknown result type (might be due to invalid IL or missing references) //IL_21bf: Unknown result type (might be due to invalid IL or missing references) //IL_21c4: Unknown result type (might be due to invalid IL or missing references) //IL_21cc: Unknown result type (might be due to invalid IL or missing references) //IL_21d1: Unknown result type (might be due to invalid IL or missing references) //IL_21d2: Unknown result type (might be due to invalid IL or missing references) //IL_21dc: Unknown result type (might be due to invalid IL or missing references) //IL_21dd: Unknown result type (might be due to invalid IL or missing references) //IL_21e2: Unknown result type (might be due to invalid IL or missing references) //IL_21f0: Unknown result type (might be due to invalid IL or missing references) //IL_2206: Unknown result type (might be due to invalid IL or missing references) //IL_2218: Unknown result type (might be due to invalid IL or missing references) //IL_2221: Unknown result type (might be due to invalid IL or missing references) //IL_2254: Unknown result type (might be due to invalid IL or missing references) //IL_2259: Unknown result type (might be due to invalid IL or missing references) //IL_226f: Unknown result type (might be due to invalid IL or missing references) //IL_2274: Unknown result type (might be due to invalid IL or missing references) //IL_228a: Unknown result type (might be due to invalid IL or missing references) //IL_228f: Unknown result type (might be due to invalid IL or missing references) //IL_2297: Unknown result type (might be due to invalid IL or missing references) //IL_229c: Unknown result type (might be due to invalid IL or missing references) //IL_229d: Unknown result type (might be due to invalid IL or missing references) //IL_22a7: Unknown result type (might be due to invalid IL or missing references) //IL_22a8: Unknown result type (might be due to invalid IL or missing references) //IL_22ad: Unknown result type (might be due to invalid IL or missing references) //IL_22bb: Unknown result type (might be due to invalid IL or missing references) //IL_22d1: Unknown result type (might be due to invalid IL or missing references) //IL_22e3: Unknown result type (might be due to invalid IL or missing references) //IL_22ec: Unknown result type (might be due to invalid IL or missing references) //IL_231f: Unknown result type (might be due to invalid IL or missing references) //IL_2324: Unknown result type (might be due to invalid IL or missing references) //IL_233a: Unknown result type (might be due to invalid IL or missing references) //IL_233f: Unknown result type (might be due to invalid IL or missing references) //IL_2355: Unknown result type (might be due to invalid IL or missing references) //IL_235a: Unknown result type (might be due to invalid IL or missing references) //IL_2362: Unknown result type (might be due to invalid IL or missing references) //IL_2367: Unknown result type (might be due to invalid IL or missing references) //IL_2368: Unknown result type (might be due to invalid IL or missing references) //IL_2372: Unknown result type (might be due to invalid IL or missing references) //IL_2373: Unknown result type (might be due to invalid IL or missing references) //IL_2378: Unknown result type (might be due to invalid IL or missing references) //IL_2386: Unknown result type (might be due to invalid IL or missing references) //IL_239c: Unknown result type (might be due to invalid IL or missing references) //IL_23ae: Unknown result type (might be due to invalid IL or missing references) //IL_23b7: Unknown result type (might be due to invalid IL or missing references) //IL_23ea: Unknown result type (might be due to invalid IL or missing references) //IL_23ef: Unknown result type (might be due to invalid IL or missing references) //IL_2405: Unknown result type (might be due to invalid IL or missing references) //IL_240a: Unknown result type (might be due to invalid IL or missing references) //IL_2420: Unknown result type (might be due to invalid IL or missing references) //IL_2425: Unknown result type (might be due to invalid IL or missing references) //IL_242d: Unknown result type (might be due to invalid IL or missing references) //IL_2432: Unknown result type (might be due to invalid IL or missing references) //IL_2433: Unknown result type (might be due to invalid IL or missing references) //IL_243d: Unknown result type (might be due to invalid IL or missing references) //IL_243e: Unknown result type (might be due to invalid IL or missing references) //IL_2443: Unknown result type (might be due to invalid IL or missing references) //IL_2451: Unknown result type (might be due to invalid IL or missing references) //IL_2467: Unknown result type (might be due to invalid IL or missing references) //IL_2479: Unknown result type (might be due to invalid IL or missing references) //IL_2482: Unknown result type (might be due to invalid IL or missing references) //IL_24b5: Unknown result type (might be due to invalid IL or missing references) //IL_24ba: Unknown result type (might be due to invalid IL or missing references) //IL_24d0: Unknown result type (might be due to invalid IL or missing references) //IL_24d5: Unknown result type (might be due to invalid IL or missing references) //IL_24eb: Unknown result type (might be due to invalid IL or missing references) //IL_24f0: Unknown result type (might be due to invalid IL or missing references) //IL_24f8: Unknown result type (might be due to invalid IL or missing references) //IL_24fd: Unknown result type (might be due to invalid IL or missing references) //IL_24fe: Unknown result type (might be due to invalid IL or missing references) //IL_2508: Unknown result type (might be due to invalid IL or missing references) //IL_2509: Unknown result type (might be due to invalid IL or missing references) //IL_250e: Unknown result type (might be due to invalid IL or missing references) //IL_251c: Unknown result type (might be due to invalid IL or missing references) //IL_2532: Unknown result type (might be due to invalid IL or missing references) //IL_2544: Unknown result type (might be due to invalid IL or missing references) //IL_254d: Unknown result type (might be due to invalid IL or missing references) //IL_2580: Unknown result type (might be due to invalid IL or missing references) //IL_2585: Unknown result type (might be due to invalid IL or missing references) //IL_259b: Unknown result type (might be due to invalid IL or missing references) //IL_25a0: Unknown result type (might be due to invalid IL or missing references) //IL_25b6: Unknown result type (might be due to invalid IL or missing references) //IL_25bb: Unknown result type (might be due to invalid IL or missing references) //IL_25c3: Unknown result type (might be due to invalid IL or missing references) //IL_25c8: Unknown result type (might be due to invalid IL or missing references) //IL_25c9: Unknown result type (might be due to invalid IL or missing references) //IL_25d3: Unknown result type (might be due to invalid IL or missing references) //IL_25d4: Unknown result type (might be due to invalid IL or missing references) //IL_25d9: Unknown result type (might be due to invalid IL or missing references) //IL_25e7: Unknown result type (might be due to invalid IL or missing references) //IL_25fd: Unknown result type (might be due to invalid IL or missing references) //IL_260f: Unknown result type (might be due to invalid IL or missing references) //IL_2618: Unknown result type (might be due to invalid IL or missing references) //IL_264b: Unknown result type (might be due to invalid IL or missing references) //IL_2650: Unknown result type (might be due to invalid IL or missing references) //IL_2666: Unknown result type (might be due to invalid IL or missing references) //IL_266b: Unknown result type (might be due to invalid IL or missing references) //IL_2681: Unknown result type (might be due to invalid IL or missing references) //IL_2686: Unknown result type (might be due to invalid IL or missing references) //IL_268e: Unknown result type (might be due to invalid IL or missing references) //IL_2693: Unknown result type (might be due to invalid IL or missing references) //IL_2694: Unknown result type (might be due to invalid IL or missing references) //IL_269e: Unknown result type (might be due to invalid IL or missing references) //IL_269f: Unknown result type (might be due to invalid IL or missing references) //IL_26a4: Unknown result type (might be due to invalid IL or missing references) //IL_26b2: Unknown result type (might be due to invalid IL or missing references) //IL_26c8: Unknown result type (might be due to invalid IL or missing references) //IL_26da: Unknown result type (might be due to invalid IL or missing references) //IL_26e3: Unknown result type (might be due to invalid IL or missing references) //IL_2716: Unknown result type (might be due to invalid IL or missing references) //IL_271b: Unknown result type (might be due to invalid IL or missing references) //IL_2731: Unknown result type (might be due to invalid IL or missing references) //IL_2736: Unknown result type (might be due to invalid IL or missing references) //IL_274c: Unknown result type (might be due to invalid IL or missing references) //IL_2751: Unknown result type (might be due to invalid IL or missing references) //IL_2759: Unknown result type (might be due to invalid IL or missing references) //IL_275e: Unknown result type (might be due to invalid IL or missing references) //IL_275f: Unknown result type (might be due to invalid IL or missing references) //IL_2769: Unknown result type (might be due to invalid IL or missing references) //IL_276a: Unknown result type (might be due to invalid IL or missing references) //IL_276f: Unknown result type (might be due to invalid IL or missing references) //IL_277d: Unknown result type (might be due to invalid IL or missing references) //IL_2793: Unknown result type (might be due to invalid IL or missing references) //IL_27a5: Unknown result type (might be due to invalid IL or missing references) //IL_27ae: Unknown result type (might be due to invalid IL or missing references) //IL_27e1: Unknown result type (might be due to invalid IL or missing references) //IL_27e6: Unknown result type (might be due to invalid IL or missing references) //IL_27fc: Unknown result type (might be due to invalid IL or missing references) //IL_2801: Unknown result type (might be due to invalid IL or missing references) //IL_2817: Unknown result type (might be due to invalid IL or missing references) //IL_281c: Unknown result type (might be due to invalid IL or missing references) //IL_2824: Unknown result type (might be due to invalid IL or missing references) //IL_2829: Unknown result type (might be due to invalid IL or missing references) //IL_282a: Unknown result type (might be due to invalid IL or missing references) //IL_2834: Unknown result type (might be due to invalid IL or missing references) //IL_2835: Unknown result type (might be due to invalid IL or missing references) //IL_283a: Unknown result type (might be due to invalid IL or missing references) //IL_2848: Unknown result type (might be due to invalid IL or missing references) //IL_285e: Unknown result type (might be due to invalid IL or missing references) //IL_2870: Unknown result type (might be due to invalid IL or missing references) //IL_2879: Unknown result type (might be due to invalid IL or missing references) //IL_28ac: Unknown result type (might be due to invalid IL or missing references) //IL_28b1: Unknown result type (might be due to invalid IL or missing references) //IL_28c7: Unknown result type (might be due to invalid IL or missing references) //IL_28cc: Unknown result type (might be due to invalid IL or missing references) //IL_28e2: Unknown result type (might be due to invalid IL or missing references) //IL_28e7: Unknown result type (might be due to invalid IL or missing references) //IL_28ef: Unknown result type (might be due to invalid IL or missing references) //IL_28f4: Unknown result type (might be due to invalid IL or missing references) //IL_28f5: Unknown result type (might be due to invalid IL or missing references) //IL_28ff: Unknown result type (might be due to invalid IL or missing references) //IL_2900: Unknown result type (might be due to invalid IL or missing references) //IL_2905: Unknown result type (might be due to invalid IL or missing references) //IL_2913: Unknown result type (might be due to invalid IL or missing references) //IL_2929: Unknown result type (might be due to invalid IL or missing references) //IL_293b: Unknown result type (might be due to invalid IL or missing references) //IL_2944: Unknown result type (might be due to invalid IL or missing references) //IL_2977: Unknown result type (might be due to invalid IL or missing references) //IL_297c: Unknown result type (might be due to invalid IL or missing references) //IL_2992: Unknown result type (might be due to invalid IL or missing references) //IL_2997: Unknown result type (might be due to invalid IL or missing references) //IL_29ad: Unknown result type (might be due to invalid IL or missing references) //IL_29b2: Unknown result type (might be due to invalid IL or missing references) //IL_29ba: Unknown result type (might be due to invalid IL or missing references) //IL_29bf: Unknown result type (might be due to invalid IL or missing references) //IL_29c0: Unknown result type (might be due to invalid IL or missing references) //IL_29ca: Unknown result type (might be due to invalid IL or missing references) //IL_29cb: Unknown result type (might be due to invalid IL or missing references) //IL_29d0: Unknown result type (might be due to invalid IL or missing references) //IL_29de: Unknown result type (might be due to invalid IL or missing references) //IL_29f4: Unknown result type (might be due to invalid IL or missing references) //IL_2a06: Unknown result type (might be due to invalid IL or missing references) //IL_2a0f: Unknown result type (might be due to invalid IL or missing references) //IL_2a42: Unknown result type (might be due to invalid IL or missing references) //IL_2a47: Unknown result type (might be due to invalid IL or missing references) //IL_2a5d: Unknown result type (might be due to invalid IL or missing references) //IL_2a62: Unknown result type (might be due to invalid IL or missing references) //IL_2a78: Unknown result type (might be due to invalid IL or missing references) //IL_2a7d: Unknown result type (might be due to invalid IL or missing references) //IL_2a85: Unknown result type (might be due to invalid IL or missing references) //IL_2a8a: Unknown result type (might be due to invalid IL or missing references) //IL_2a8b: Unknown result type (might be due to invalid IL or missing references) //IL_2a95: Unknown result type (might be due to invalid IL or missing references) //IL_2a96: Unknown result type (might be due to invalid IL or missing references) //IL_2a9b: Unknown result type (might be due to invalid IL or missing references) //IL_2aa9: Unknown result type (might be due to invalid IL or missing references) //IL_2abf: Unknown result type (might be due to invalid IL or missing references) //IL_2ad1: Unknown result type (might be due to invalid IL or missing references) //IL_2ada: Unknown result type (might be due to invalid IL or missing references) //IL_2b0d: Unknown result type (might be due to invalid IL or missing references) //IL_2b12: Unknown result type (might be due to invalid IL or missing references) //IL_2b28: Unknown result type (might be due to invalid IL or missing references) //IL_2b2d: Unknown result type (might be due to invalid IL or missing references) //IL_2b43: Unknown result type (might be due to invalid IL or missing references) //IL_2b48: Unknown result type (might be due to invalid IL or missing references) //IL_2b50: Unknown result type (might be due to invalid IL or missing references) //IL_2b55: Unknown result type (might be due to invalid IL or missing references) //IL_2b56: Unknown result type (might be due to invalid IL or missing references) //IL_2b60: Unknown result type (might be due to invalid IL or missing references) //IL_2b61: Unknown result type (might be due to invalid IL or missing references) //IL_2b66: Unknown result type (might be due to invalid IL or missing references) //IL_2b74: Unknown result type (might be due to invalid IL or missing references) //IL_2b8a: Unknown result type (might be due to invalid IL or missing references) //IL_2b9c: Unknown result type (might be due to invalid IL or missing references) //IL_2ba5: Unknown result type (might be due to invalid IL or missing references) //IL_2bd8: Unknown result type (might be due to invalid IL or missing references) //IL_2bdd: Unknown result type (might be due to invalid IL or missing references) //IL_2bf3: Unknown result type (might be due to invalid IL or missing references) //IL_2bf8: Unknown result type (might be due to invalid IL or missing references) //IL_2c0e: Unknown result type (might be due to invalid IL or missing references) //IL_2c13: Unknown result type (might be due to invalid IL or missing references) //IL_2c1b: Unknown result type (might be due to invalid IL or missing references) //IL_2c20: Unknown result type (might be due to invalid IL or missing references) //IL_2c21: Unknown result type (might be due to invalid IL or missing references) //IL_2c2b: Unknown result type (might be due to invalid IL or missing references) //IL_2c2c: Unknown result type (might be due to invalid IL or missing references) //IL_2c31: Unknown result type (might be due to invalid IL or missing references) //IL_2c3f: Unknown result type (might be due to invalid IL or missing references) //IL_2c55: Unknown result type (might be due to invalid IL or missing references) //IL_2c67: Unknown result type (might be due to invalid IL or missing references) //IL_2c70: Unknown result type (might be due to invalid IL or missing references) //IL_2ca3: Unknown result type (might be due to invalid IL or missing references) //IL_2ca8: Unknown result type (might be due to invalid IL or missing references) //IL_2cbe: Unknown result type (might be due to invalid IL or missing references) //IL_2cc3: Unknown result type (might be due to invalid IL or missing references) //IL_2cd9: Unknown result type (might be due to invalid IL or missing references) //IL_2cde: Unknown result type (might be due to invalid IL or missing references) //IL_2ce6: Unknown result type (might be due to invalid IL or missing references) //IL_2ceb: Unknown result type (might be due to invalid IL or missing references) //IL_2cec: Unknown result type (might be due to invalid IL or missing references) //IL_2cf6: Unknown result type (might be due to invalid IL or missing references) //IL_2cf7: Unknown result type (might be due to invalid IL or missing references) //IL_2cfc: Unknown result type (might be due to invalid IL or missing references) //IL_2d0a: Unknown result type (might be due to invalid IL or missing references) //IL_2d20: Unknown result type (might be due to invalid IL or missing references) //IL_2d32: Unknown result type (might be due to invalid IL or missing references) //IL_2d3b: Unknown result type (might be due to invalid IL or missing references) //IL_2d6e: Unknown result type (might be due to invalid IL or missing references) //IL_2d73: Unknown result type (might be due to invalid IL or missing references) //IL_2d89: Unknown result type (might be due to invalid IL or missing references) //IL_2d8e: Unknown result type (might be due to invalid IL or missing references) //IL_2da4: Unknown result type (might be due to invalid IL or missing references) //IL_2da9: Unknown result type (might be due to invalid IL or missing references) //IL_2db1: Unknown result type (might be due to invalid IL or missing references) //IL_2db6: Unknown result type (might be due to invalid IL or missing references) //IL_2db7: Unknown result type (might be due to invalid IL or missing references) //IL_2dc1: Unknown result type (might be due to invalid IL or missing references) //IL_2dc2: Unknown result type (might be due to invalid IL or missing references) //IL_2dc7: Unknown result type (might be due to invalid IL or missing references) //IL_2dd5: Unknown result type (might be due to invalid IL or missing references) //IL_2deb: Unknown result type (might be due to invalid IL or missing references) //IL_2dfd: Unknown result type (might be due to invalid IL or missing references) //IL_2e06: Unknown result type (might be due to invalid IL or missing references) //IL_2e39: Unknown result type (might be due to invalid IL or missing references) //IL_2e3e: Unknown result type (might be due to invalid IL or missing references) //IL_2e54: Unknown result type (might be due to invalid IL or missing references) //IL_2e59: Unknown result type (might be due to invalid IL or missing references) //IL_2e6f: Unknown result type (might be due to invalid IL or missing references) //IL_2e74: Unknown result type (might be due to invalid IL or missing references) //IL_2e7c: Unknown result type (might be due to invalid IL or missing references) //IL_2e81: Unknown result type (might be due to invalid IL or missing references) //IL_2e82: Unknown result type (might be due to invalid IL or missing references) //IL_2e8c: Unknown result type (might be due to invalid IL or missing references) //IL_2e8d: Unknown result type (might be due to invalid IL or missing references) //IL_2e92: Unknown result type (might be due to invalid IL or missing references) //IL_2ea0: Unknown result type (might be due to invalid IL or missing references) //IL_2eb6: Unknown result type (might be due to invalid IL or missing references) //IL_2ec8: Unknown result type (might be due to invalid IL or missing references) //IL_2ed1: Unknown result type (might be due to invalid IL or missing references) //IL_2f04: Unknown result type (might be due to invalid IL or missing references) //IL_2f09: Unknown result type (might be due to invalid IL or missing references) //IL_2f1f: Unknown result type (might be due to invalid IL or missing references) //IL_2f24: Unknown result type (might be due to invalid IL or missing references) //IL_2f3a: Unknown result type (might be due to invalid IL or missing references) //IL_2f3f: Unknown result type (might be due to invalid IL or missing references) //IL_2f47: Unknown result type (might be due to invalid IL or missing references) //IL_2f4c: Unknown result type (might be due to invalid IL or missing references) //IL_2f4d: Unknown result type (might be due to invalid IL or missing references) //IL_2f56: Unknown result type (might be due to invalid IL or missing references) //IL_2f5f: Unknown result type (might be due to invalid IL or missing references) //IL_2f92: Unknown result type (might be due to invalid IL or missing references) //IL_2f97: Unknown result type (might be due to invalid IL or missing references) //IL_2fad: Unknown result type (might be due to invalid IL or missing references) //IL_2fb2: Unknown result type (might be due to invalid IL or missing references) //IL_2fc8: Unknown result type (might be due to invalid IL or missing references) //IL_2fcd: Unknown result type (might be due to invalid IL or missing references) //IL_2fd5: Unknown result type (might be due to invalid IL or missing references) //IL_2fda: Unknown result type (might be due to invalid IL or missing references) //IL_2fdb: Unknown result type (might be due to invalid IL or missing references) //IL_2fe5: Unknown result type (might be due to invalid IL or missing references) //IL_2fe6: Unknown result type (might be due to invalid IL or missing references) //IL_2feb: Unknown result type (might be due to invalid IL or missing references) //IL_2ff9: Unknown result type (might be due to invalid IL or missing references) //IL_300f: Unknown result type (might be due to invalid IL or missing references) //IL_3021: Unknown result type (might be due to invalid IL or missing references) //IL_302a: Unknown result type (might be due to invalid IL or missing references) //IL_305d: Unknown result type (might be due to invalid IL or missing references) //IL_3062: Unknown result type (might be due to invalid IL or missing references) //IL_3078: Unknown result type (might be due to invalid IL or missing references) //IL_307d: Unknown result type (might be due to invalid IL or missing references) //IL_3093: Unknown result type (might be due to invalid IL or missing references) //IL_3098: Unknown result type (might be due to invalid IL or missing references) //IL_30a0: Unknown result type (might be due to invalid IL or missing references) //IL_30a5: Unknown result type (might be due to invalid IL or missing references) //IL_30a6: Unknown result type (might be due to invalid IL or missing references) //IL_30b0: Unknown result type (might be due to invalid IL or missing references) //IL_30b1: Unknown result type (might be due to invalid IL or missing references) //IL_30b6: Unknown result type (might be due to invalid IL or missing references) //IL_30c4: Unknown result type (might be due to invalid IL or missing references) //IL_30da: Unknown result type (might be due to invalid IL or missing references) //IL_30ec: Unknown result type (might be due to invalid IL or missing references) //IL_30f5: Unknown result type (might be due to invalid IL or missing references) //IL_3128: Unknown result type (might be due to invalid IL or missing references) //IL_312d: Unknown result type (might be due to invalid IL or missing references) //IL_3143: Unknown result type (might be due to invalid IL or missing references) //IL_3148: Unknown result type (might be due to invalid IL or missing references) //IL_315e: Unknown result type (might be due to invalid IL or missing references) //IL_3163: Unknown result type (might be due to invalid IL or missing references) //IL_316b: Unknown result type (might be due to invalid IL or missing references) //IL_3170: Unknown result type (might be due to invalid IL or missing references) //IL_3171: Unknown result type (might be due to invalid IL or missing references) //IL_317b: Unknown result type (might be due to invalid IL or missing references) //IL_317c: Unknown result type (might be due to invalid IL or missing references) //IL_3181: Unknown result type (might be due to invalid IL or missing references) //IL_318f: Unknown result type (might be due to invalid IL or missing references) //IL_31a5: Unknown result type (might be due to invalid IL or missing references) //IL_31b7: Unknown result type (might be due to invalid IL or missing references) //IL_31c0: Unknown result type (might be due to invalid IL or missing references) //IL_31f3: Unknown result type (might be due to invalid IL or missing references) //IL_31f8: Unknown result type (might be due to invalid IL or missing references) //IL_320e: Unknown result type (might be due to invalid IL or missing references) //IL_3213: Unknown result type (might be due to invalid IL or missing references) //IL_3229: Unknown result type (might be due to invalid IL or missing references) //IL_322e: Unknown result type (might be due to invalid IL or missing references) //IL_3236: Unknown result type (might be due to invalid IL or missing references) //IL_323b: Unknown result type (might be due to invalid IL or missing references) //IL_323c: Unknown result type (might be due to invalid IL or missing references) //IL_3246: Unknown result type (might be due to invalid IL or missing references) //IL_3247: Unknown result type (might be due to invalid IL or missing references) //IL_324c: Unknown result type (might be due to invalid IL or missing references) //IL_325a: Unknown result type (might be due to invalid IL or missing references) //IL_3270: Unknown result type (might be due to invalid IL or missing references) //IL_3282: Unknown result type (might be due to invalid IL or missing references) //IL_328b: Unknown result type (might be due to invalid IL or missing references) //IL_32be: Unknown result type (might be due to invalid IL or missing references) //IL_32c3: Unknown result type (might be due to invalid IL or missing references) //IL_32d9: Unknown result type (might be due to invalid IL or missing references) //IL_32de: Unknown result type (might be due to invalid IL or missing references) //IL_32f4: Unknown result type (might be due to invalid IL or missing references) //IL_32f9: Unknown result type (might be due to invalid IL or missing references) //IL_3301: Unknown result type (might be due to invalid IL or missing references) //IL_3306: Unknown result type (might be due to invalid IL or missing references) //IL_3307: Unknown result type (might be due to invalid IL or missing references) //IL_3311: Unknown result type (might be due to invalid IL or missing references) //IL_3312: Unknown result type (might be due to invalid IL or missing references) //IL_3317: Unknown result type (might be due to invalid IL or missing references) //IL_3325: Unknown result type (might be due to invalid IL or missing references) //IL_333b: Unknown result type (might be due to invalid IL or missing references) //IL_334d: Unknown result type (might be due to invalid IL or missing references) //IL_3356: Unknown result type (might be due to invalid IL or missing references) //IL_3389: Unknown result type (might be due to invalid IL or missing references) //IL_338e: Unknown result type (might be due to invalid IL or missing references) //IL_33a4: Unknown result type (might be due to invalid IL or missing references) //IL_33a9: Unknown result type (might be due to invalid IL or missing references) //IL_33bf: Unknown result type (might be due to invalid IL or missing references) //IL_33c4: Unknown result type (might be due to invalid IL or missing references) //IL_33cc: Unknown result type (might be due to invalid IL or missing references) //IL_33d1: Unknown result type (might be due to invalid IL or missing references) //IL_33d2: Unknown result type (might be due to invalid IL or missing references) //IL_33dc: Unknown result type (might be due to invalid IL or missing references) //IL_33dd: Unknown result type (might be due to invalid IL or missing references) //IL_33e2: Unknown result type (might be due to invalid IL or missing references) //IL_33f0: Unknown result type (might be due to invalid IL or missing references) //IL_3406: Unknown result type (might be due to invalid IL or missing references) //IL_3418: Unknown result type (might be due to invalid IL or missing references) //IL_3421: Unknown result type (might be due to invalid IL or missing references) //IL_3454: Unknown result type (might be due to invalid IL or missing references) //IL_3459: Unknown result type (might be due to invalid IL or missing references) //IL_346f: Unknown result type (might be due to invalid IL or missing references) //IL_3474: Unknown result type (might be due to invalid IL or missing references) //IL_348a: Unknown result type (might be due to invalid IL or missing references) //IL_348f: Unknown result type (might be due to invalid IL or missing references) //IL_3497: Unknown result type (might be due to invalid IL or missing references) //IL_349c: Unknown result type (might be due to invalid IL or missing references) //IL_349d: Unknown result type (might be due to invalid IL or missing references) //IL_34a7: Unknown result type (might be due to invalid IL or missing references) //IL_34a8: Unknown result type (might be due to invalid IL or missing references) //IL_34ad: Unknown result type (might be due to invalid IL or missing references) //IL_34bb: Unknown result type (might be due to invalid IL or missing references) //IL_34d1: Unknown result type (might be due to invalid IL or missing references) //IL_34e3: Unknown result type (might be due to invalid IL or missing references) //IL_34ec: Unknown result type (might be due to invalid IL or missing references) //IL_351f: Unknown result type (might be due to invalid IL or missing references) //IL_3524: Unknown result type (might be due to invalid IL or missing references) //IL_353a: Unknown result type (might be due to invalid IL or missing references) //IL_353f: Unknown result type (might be due to invalid IL or missing references) //IL_3555: Unknown result type (might be due to invalid IL or missing references) //IL_355a: Unknown result type (might be due to invalid IL or missing references) //IL_3562: Unknown result type (might be due to invalid IL or missing references) //IL_3567: Unknown result type (might be due to invalid IL or missing references) //IL_3568: Unknown result type (might be due to invalid IL or missing references) //IL_3572: Unknown result type (might be due to invalid IL or missing references) //IL_3573: Unknown result type (might be due to invalid IL or missing references) //IL_3578: Unknown result type (might be due to invalid IL or missing references) //IL_3586: Unknown result type (might be due to invalid IL or missing references) //IL_359c: Unknown result type (might be due to invalid IL or missing references) //IL_35ae: Unknown result type (might be due to invalid IL or missing references) //IL_35b7: Unknown result type (might be due to invalid IL or missing references) //IL_35ea: Unknown result type (might be due to invalid IL or missing references) //IL_35ef: Unknown result type (might be due to invalid IL or missing references) //IL_3605: Unknown result type (might be due to invalid IL or missing references) //IL_360a: Unknown result type (might be due to invalid IL or missing references) //IL_3620: Unknown result type (might be due to invalid IL or missing references) //IL_3625: Unknown result type (might be due to invalid IL or missing references) //IL_362d: Unknown result type (might be due to invalid IL or missing references) //IL_3632: Unknown result type (might be due to invalid IL or missing references) //IL_3633: Unknown result type (might be due to invalid IL or missing references) //IL_363d: Unknown result type (might be due to invalid IL or missing references) //IL_363e: Unknown result type (might be due to invalid IL or missing references) //IL_3643: Unknown result type (might be due to invalid IL or missing references) //IL_3651: Unknown result type (might be due to invalid IL or missing references) //IL_3667: Unknown result type (might be due to invalid IL or missing references) //IL_3679: Unknown result type (might be due to invalid IL or missing references) //IL_3682: Unknown result type (might be due to invalid IL or missing references) //IL_36b5: Unknown result type (might be due to invalid IL or missing references) //IL_36ba: Unknown result type (might be due to invalid IL or missing references) //IL_36d0: Unknown result type (might be due to invalid IL or missing references) //IL_36d5: Unknown result type (might be due to invalid IL or missing references) //IL_36eb: Unknown result type (might be due to invalid IL or missing references) //IL_36f0: Unknown result type (might be due to invalid IL or missing references) //IL_36f8: Unknown result type (might be due to invalid IL or missing references) //IL_36fd: Unknown result type (might be due to invalid IL or missing references) //IL_36fe: Unknown result type (might be due to invalid IL or missing references) //IL_3708: Unknown result type (might be due to invalid IL or missing references) //IL_3709: Unknown result type (might be due to invalid IL or missing references) //IL_370e: Unknown result type (might be due to invalid IL or missing references) //IL_371c: Unknown result type (might be due to invalid IL or missing references) //IL_3732: Unknown result type (might be due to invalid IL or missing references) //IL_3744: Unknown result type (might be due to invalid IL or missing references) //IL_374d: Unknown result type (might be due to invalid IL or missing references) //IL_3780: Unknown result type (might be due to invalid IL or missing references) //IL_3785: Unknown result type (might be due to invalid IL or missing references) //IL_379b: Unknown result type (might be due to invalid IL or missing references) //IL_37a0: Unknown result type (might be due to invalid IL or missing references) //IL_37b6: Unknown result type (might be due to invalid IL or missing references) //IL_37bb: Unknown result type (might be due to invalid IL or missing references) //IL_37c3: Unknown result type (might be due to invalid IL or missing references) //IL_37c8: Unknown result type (might be due to invalid IL or missing references) //IL_37c9: Unknown result type (might be due to invalid IL or missing references) //IL_37d3: Unknown result type (might be due to invalid IL or missing references) //IL_37d4: Unknown result type (might be due to invalid IL or missing references) //IL_37d9: Unknown result type (might be due to invalid IL or missing references) //IL_37e7: Unknown result type (might be due to invalid IL or missing references) //IL_37fd: Unknown result type (might be due to invalid IL or missing references) //IL_380f: Unknown result type (might be due to invalid IL or missing references) //IL_3818: Unknown result type (might be due to invalid IL or missing references) //IL_384b: Unknown result type (might be due to invalid IL or missing references) //IL_3850: Unknown result type (might be due to invalid IL or missing references) //IL_3866: Unknown result type (might be due to invalid IL or missing references) //IL_386b: Unknown result type (might be due to invalid IL or missing references) //IL_3881: Unknown result type (might be due to invalid IL or missing references) //IL_3886: Unknown result type (might be due to invalid IL or missing references) //IL_388e: Unknown result type (might be due to invalid IL or missing references) //IL_3893: Unknown result type (might be due to invalid IL or missing references) //IL_3894: Unknown result type (might be due to invalid IL or missing references) //IL_389e: Unknown result type (might be due to invalid IL or missing references) //IL_389f: Unknown result type (might be due to invalid IL or missing references) //IL_38a4: Unknown result type (might be due to invalid IL or missing references) //IL_38b2: Unknown result type (might be due to invalid IL or missing references) //IL_38c8: Unknown result type (might be due to invalid IL or missing references) //IL_38da: Unknown result type (might be due to invalid IL or missing references) //IL_38e3: Unknown result type (might be due to invalid IL or missing references) //IL_3916: Unknown result type (might be due to invalid IL or missing references) //IL_391b: Unknown result type (might be due to invalid IL or missing references) //IL_3931: Unknown result type (might be due to invalid IL or missing references) //IL_3936: Unknown result type (might be due to invalid IL or missing references) //IL_394c: Unknown result type (might be due to invalid IL or missing references) //IL_3951: Unknown result type (might be due to invalid IL or missing references) //IL_3959: Unknown result type (might be due to invalid IL or missing references) //IL_395e: Unknown result type (might be due to invalid IL or missing references) //IL_395f: Unknown result type (might be due to invalid IL or missing references) //IL_3969: Unknown result type (might be due to invalid IL or missing references) //IL_396a: Unknown result type (might be due to invalid IL or missing references) //IL_396f: Unknown result type (might be due to invalid IL or missing references) //IL_397d: Unknown result type (might be due to invalid IL or missing references) //IL_3993: Unknown result type (might be due to invalid IL or missing references) //IL_39a5: Unknown result type (might be due to invalid IL or missing references) //IL_39ae: Unknown result type (might be due to invalid IL or missing references) //IL_39e1: Unknown result type (might be due to invalid IL or missing references) //IL_39e6: Unknown result type (might be due to invalid IL or missing references) //IL_39fc: Unknown result type (might be due to invalid IL or missing references) //IL_3a01: Unknown result type (might be due to invalid IL or missing references) //IL_3a17: Unknown result type (might be due to invalid IL or missing references) //IL_3a1c: Unknown result type (might be due to invalid IL or missing references) //IL_3a24: Unknown result type (might be due to invalid IL or missing references) //IL_3a29: Unknown result type (might be due to invalid IL or missing references) //IL_3a2a: Unknown result type (might be due to invalid IL or missing references) //IL_3a34: Unknown result type (might be due to invalid IL or missing references) //IL_3a35: Unknown result type (might be due to invalid IL or missing references) //IL_3a3a: Unknown result type (might be due to invalid IL or missing references) //IL_3a48: Unknown result type (might be due to invalid IL or missing references) //IL_3a5e: Unknown result type (might be due to invalid IL or missing references) //IL_3a70: Unknown result type (might be due to invalid IL or missing references) //IL_3a79: Unknown result type (might be due to invalid IL or missing references) //IL_3aac: Unknown result type (might be due to invalid IL or missing references) //IL_3ab1: Unknown result type (might be due to invalid IL or missing references) //IL_3ac7: Unknown result type (might be due to invalid IL or missing references) //IL_3acc: Unknown result type (might be due to invalid IL or missing references) //IL_3ae2: Unknown result type (might be due to invalid IL or missing references) //IL_3ae7: Unknown result type (might be due to invalid IL or missing references) //IL_3aef: Unknown result type (might be due to invalid IL or missing references) //IL_3af4: Unknown result type (might be due to invalid IL or missing references) //IL_3af5: Unknown result type (might be due to invalid IL or missing references) //IL_3aff: Unknown result type (might be due to invalid IL or missing references) //IL_3b00: Unknown result type (might be due to invalid IL or missing references) //IL_3b05: Unknown result type (might be due to invalid IL or missing references) //IL_3b13: Unknown result type (might be due to invalid IL or missing references) //IL_3b29: Unknown result type (might be due to invalid IL or missing references) //IL_3b3b: Unknown result type (might be due to invalid IL or missing references) //IL_3b44: Unknown result type (might be due to invalid IL or missing references) //IL_3b77: Unknown result type (might be due to invalid IL or missing references) //IL_3b7c: Unknown result type (might be due to invalid IL or missing references) //IL_3b92: Unknown result type (might be due to invalid IL or missing references) //IL_3b97: Unknown result type (might be due to invalid IL or missing references) //IL_3bad: Unknown result type (might be due to invalid IL or missing references) //IL_3bb2: Unknown result type (might be due to invalid IL or missing references) //IL_3bba: Unknown result type (might be due to invalid IL or missing references) //IL_3bbf: Unknown result type (might be due to invalid IL or missing references) //IL_3bc0: Unknown result type (might be due to invalid IL or missing references) //IL_3bca: Unknown result type (might be due to invalid IL or missing references) //IL_3bcb: Unknown result type (might be due to invalid IL or missing references) //IL_3bd0: Unknown result type (might be due to invalid IL or missing references) //IL_3bde: Unknown result type (might be due to invalid IL or missing references) //IL_3bf4: Unknown result type (might be due to invalid IL or missing references) //IL_3c06: Unknown result type (might be due to invalid IL or missing references) //IL_3c0f: Unknown result type (might be due to invalid IL or missing references) //IL_3c42: Unknown result type (might be due to invalid IL or missing references) //IL_3c47: Unknown result type (might be due to invalid IL or missing references) //IL_3c5d: Unknown result type (might be due to invalid IL or missing references) //IL_3c62: Unknown result type (might be due to invalid IL or missing references) //IL_3c78: Unknown result type (might be due to invalid IL or missing references) //IL_3c7d: Unknown result type (might be due to invalid IL or missing references) //IL_3c85: Unknown result type (might be due to invalid IL or missing references) //IL_3c8a: Unknown result type (might be due to invalid IL or missing references) //IL_3c8b: Unknown result type (might be due to invalid IL or missing references) //IL_3c95: Unknown result type (might be due to invalid IL or missing references) //IL_3c96: Unknown result type (might be due to invalid IL or missing references) //IL_3c9b: Unknown result type (might be due to invalid IL or missing references) //IL_3ca9: Unknown result type (might be due to invalid IL or missing references) //IL_3cbf: Unknown result type (might be due to invalid IL or missing references) //IL_3cd1: Unknown result type (might be due to invalid IL or missing references) //IL_3cda: Unknown result type (might be due to invalid IL or missing references) //IL_3d0d: Unknown result type (might be due to invalid IL or missing references) //IL_3d12: Unknown result type (might be due to invalid IL or missing references) //IL_3d28: Unknown result type (might be due to invalid IL or missing references) //IL_3d2d: Unknown result type (might be due to invalid IL or missing references) //IL_3d43: Unknown result type (might be due to invalid IL or missing references) //IL_3d48: Unknown result type (might be due to invalid IL or missing references) //IL_3d50: Unknown result type (might be due to invalid IL or missing references) //IL_3d55: Unknown result type (might be due to invalid IL or missing references) //IL_3d56: Unknown result type (might be due to invalid IL or missing references) //IL_3d5f: Unknown result type (might be due to invalid IL or missing references) //IL_3d68: Unknown result type (might be due to invalid IL or missing references) //IL_3d9b: Unknown result type (might be due to invalid IL or missing references) //IL_3da0: Unknown result type (might be due to invalid IL or missing references) //IL_3db6: Unknown result type (might be due to invalid IL or missing references) //IL_3dbb: Unknown result type (might be due to invalid IL or missing references) //IL_3dd1: Unknown result type (might be due to invalid IL or missing references) //IL_3dd6: Unknown result type (might be due to invalid IL or missing references) //IL_3dde: Unknown result type (might be due to invalid IL or missing references) //IL_3de3: Unknown result type (might be due to invalid IL or missing references) //IL_3de4: Unknown result type (might be due to invalid IL or missing references) //IL_3dee: Unknown result type (might be due to invalid IL or missing references) //IL_3def: Unknown result type (might be due to invalid IL or missing references) //IL_3df4: Unknown result type (might be due to invalid IL or missing references) //IL_3e02: Unknown result type (might be due to invalid IL or missing references) //IL_3e18: Unknown result type (might be due to invalid IL or missing references) //IL_3e2a: Unknown result type (might be due to invalid IL or missing references) //IL_3e33: Unknown result type (might be due to invalid IL or missing references) //IL_3e66: Unknown result type (might be due to invalid IL or missing references) //IL_3e6b: Unknown result type (might be due to invalid IL or missing references) //IL_3e81: Unknown result type (might be due to invalid IL or missing references) //IL_3e86: Unknown result type (might be due to invalid IL or missing references) //IL_3e9c: Unknown result type (might be due to invalid IL or missing references) //IL_3ea1: Unknown result type (might be due to invalid IL or missing references) //IL_3ea9: Unknown result type (might be due to invalid IL or missing references) //IL_3eae: Unknown result type (might be due to invalid IL or missing references) //IL_3eaf: Unknown result type (might be due to invalid IL or missing references) //IL_3eb9: Unknown result type (might be due to invalid IL or missing references) //IL_3eba: Unknown result type (might be due to invalid IL or missing references) //IL_3ebf: Unknown result type (might be due to invalid IL or missing references) //IL_3ecd: Unknown result type (might be due to invalid IL or missing references) //IL_3ee3: Unknown result type (might be due to invalid IL or missing references) //IL_3ef5: Unknown result type (might be due to invalid IL or missing references) //IL_3efe: Unknown result type (might be due to invalid IL or missing references) //IL_3f31: Unknown result type (might be due to invalid IL or missing references) //IL_3f36: Unknown result type (might be due to invalid IL or missing references) //IL_3f4c: Unknown result type (might be due to invalid IL or missing references) //IL_3f51: Unknown result type (might be due to invalid IL or missing references) //IL_3f67: Unknown result type (might be due to invalid IL or missing references) //IL_3f6c: Unknown result type (might be due to invalid IL or missing references) //IL_3f74: Unknown result type (might be due to invalid IL or missing references) //IL_3f79: Unknown result type (might be due to invalid IL or missing references) //IL_3f7a: Unknown result type (might be due to invalid IL or missing references) //IL_3f84: Unknown result type (might be due to invalid IL or missing references) //IL_3f85: Unknown result type (might be due to invalid IL or missing references) //IL_3f8a: Unknown result type (might be due to invalid IL or missing references) //IL_3f98: Unknown result type (might be due to invalid IL or missing references) //IL_3fae: Unknown result type (might be due to invalid IL or missing references) //IL_3fc0: Unknown result type (might be due to invalid IL or missing references) //IL_3fc9: Unknown result type (might be due to invalid IL or missing references) //IL_3ffc: Unknown result type (might be due to invalid IL or missing references) //IL_4001: Unknown result type (might be due to invalid IL or missing references) //IL_4017: Unknown result type (might be due to invalid IL or missing references) //IL_401c: Unknown result type (might be due to invalid IL or missing references) //IL_4032: Unknown result type (might be due to invalid IL or missing references) //IL_4037: Unknown result type (might be due to invalid IL or missing references) //IL_403f: Unknown result type (might be due to invalid IL or missing references) //IL_4044: Unknown result type (might be due to invalid IL or missing references) //IL_4045: Unknown result type (might be due to invalid IL or missing references) //IL_404f: Unknown result type (might be due to invalid IL or missing references) //IL_4050: Unknown result type (might be due to invalid IL or missing references) //IL_4055: Unknown result type (might be due to invalid IL or missing references) //IL_4063: Unknown result type (might be due to invalid IL or missing references) //IL_4079: Unknown result type (might be due to invalid IL or missing references) //IL_408b: Unknown result type (might be due to invalid IL or missing references) //IL_4094: Unknown result type (might be due to invalid IL or missing references) //IL_40c7: Unknown result type (might be due to invalid IL or missing references) //IL_40cc: Unknown result type (might be due to invalid IL or missing references) //IL_40e2: Unknown result type (might be due to invalid IL or missing references) //IL_40e7: Unknown result type (might be due to invalid IL or missing references) //IL_40fd: Unknown result type (might be due to invalid IL or missing references) //IL_4102: Unknown result type (might be due to invalid IL or missing references) //IL_410a: Unknown result type (might be due to invalid IL or missing references) //IL_410f: Unknown result type (might be due to invalid IL or missing references) //IL_4110: Unknown result type (might be due to invalid IL or missing references) //IL_411a: Unknown result type (might be due to invalid IL or missing references) //IL_411b: Unknown result type (might be due to invalid IL or missing references) //IL_4120: Unknown result type (might be due to invalid IL or missing references) //IL_412e: Unknown result type (might be due to invalid IL or missing references) //IL_4144: Unknown result type (might be due to invalid IL or missing references) //IL_4156: Unknown result type (might be due to invalid IL or missing references) //IL_415f: Unknown result type (might be due to invalid IL or missing references) //IL_4192: Unknown result type (might be due to invalid IL or missing references) //IL_4197: Unknown result type (might be due to invalid IL or missing references) //IL_41ad: Unknown result type (might be due to invalid IL or missing references) //IL_41b2: Unknown result type (might be due to invalid IL or missing references) //IL_41c8: Unknown result type (might be due to invalid IL or missing references) //IL_41cd: Unknown result type (might be due to invalid IL or missing references) //IL_41d5: Unknown result type (might be due to invalid IL or missing references) //IL_41da: Unknown result type (might be due to invalid IL or missing references) //IL_41db: Unknown result type (might be due to invalid IL or missing references) //IL_41e5: Unknown result type (might be due to invalid IL or missing references) //IL_41e6: Unknown result type (might be due to invalid IL or missing references) //IL_41eb: Unknown result type (might be due to invalid IL or missing references) //IL_41f9: Unknown result type (might be due to invalid IL or missing references) //IL_420f: Unknown result type (might be due to invalid IL or missing references) //IL_4221: Unknown result type (might be due to invalid IL or missing references) //IL_422a: Unknown result type (might be due to invalid IL or missing references) //IL_425d: Unknown result type (might be due to invalid IL or missing references) //IL_4262: Unknown result type (might be due to invalid IL or missing references) //IL_4278: Unknown result type (might be due to invalid IL or missing references) //IL_427d: Unknown result type (might be due to invalid IL or missing references) //IL_4293: Unknown result type (might be due to invalid IL or missing references) //IL_4298: Unknown result type (might be due to invalid IL or missing references) //IL_42a0: Unknown result type (might be due to invalid IL or missing references) //IL_42a5: Unknown result type (might be due to invalid IL or missing references) //IL_42a6: Unknown result type (might be due to invalid IL or missing references) //IL_42b0: Unknown result type (might be due to invalid IL or missing references) //IL_42b1: Unknown result type (might be due to invalid IL or missing references) //IL_42b6: Unknown result type (might be due to invalid IL or missing references) //IL_42c4: Unknown result type (might be due to invalid IL or missing references) //IL_42da: Unknown result type (might be due to invalid IL or missing references) //IL_42ec: Unknown result type (might be due to invalid IL or missing references) //IL_42f5: Unknown result type (might be due to invalid IL or missing references) //IL_4328: Unknown result type (might be due to invalid IL or missing references) //IL_432d: Unknown result type (might be due to invalid IL or missing references) //IL_4343: Unknown result type (might be due to invalid IL or missing references) //IL_4348: Unknown result type (might be due to invalid IL or missing references) //IL_435e: Unknown result type (might be due to invalid IL or missing references) //IL_4363: Unknown result type (might be due to invalid IL or missing references) //IL_436b: Unknown result type (might be due to invalid IL or missing references) //IL_4370: Unknown result type (might be due to invalid IL or missing references) //IL_4371: Unknown result type (might be due to invalid IL or missing references) //IL_437b: Unknown result type (might be due to invalid IL or missing references) //IL_437c: Unknown result type (might be due to invalid IL or missing references) //IL_4381: Unknown result type (might be due to invalid IL or missing references) //IL_438f: Unknown result type (might be due to invalid IL or missing references) //IL_43a5: Unknown result type (might be due to invalid IL or missing references) //IL_43b7: Unknown result type (might be due to invalid IL or missing references) //IL_43c0: Unknown result type (might be due to invalid IL or missing references) //IL_43f3: Unknown result type (might be due to invalid IL or missing references) //IL_43f8: Unknown result type (might be due to invalid IL or missing references) //IL_440e: Unknown result type (might be due to invalid IL or missing references) //IL_4413: Unknown result type (might be due to invalid IL or missing references) //IL_4429: Unknown result type (might be due to invalid IL or missing references) //IL_442e: Unknown result type (might be due to invalid IL or missing references) //IL_4436: Unknown result type (might be due to invalid IL or missing references) //IL_443b: Unknown result type (might be due to invalid IL or missing references) //IL_443c: Unknown result type (might be due to invalid IL or missing references) //IL_4446: Unknown result type (might be due to invalid IL or missing references) //IL_4447: Unknown result type (might be due to invalid IL or missing references) //IL_444c: Unknown result type (might be due to invalid IL or missing references) //IL_445a: Unknown result type (might be due to invalid IL or missing references) //IL_4470: Unknown result type (might be due to invalid IL or missing references) //IL_4482: Unknown result type (might be due to invalid IL or missing references) //IL_448b: Unknown result type (might be due to invalid IL or missing references) //IL_44be: Unknown result type (might be due to invalid IL or missing references) //IL_44c3: Unknown result type (might be due to invalid IL or missing references) //IL_44d9: Unknown result type (might be due to invalid IL or missing references) //IL_44de: Unknown result type (might be due to invalid IL or missing references) //IL_44f4: Unknown result type (might be due to invalid IL or missing references) //IL_44f9: Unknown result type (might be due to invalid IL or missing references) //IL_4501: Unknown result type (might be due to invalid IL or missing references) //IL_4506: Unknown result type (might be due to invalid IL or missing references) //IL_4507: Unknown result type (might be due to invalid IL or missing references) //IL_4511: Unknown result type (might be due to invalid IL or missing references) //IL_4512: Unknown result type (might be due to invalid IL or missing references) //IL_4517: Unknown result type (might be due to invalid IL or missing references) //IL_4525: Unknown result type (might be due to invalid IL or missing references) //IL_453b: Unknown result type (might be due to invalid IL or missing references) //IL_454d: Unknown result type (might be due to invalid IL or missing references) //IL_4556: Unknown result type (might be due to invalid IL or missing references) //IL_4589: Unknown result type (might be due to invalid IL or missing references) //IL_458e: Unknown result type (might be due to invalid IL or missing references) //IL_45a4: Unknown result type (might be due to invalid IL or missing references) //IL_45a9: Unknown result type (might be due to invalid IL or missing references) //IL_45bf: Unknown result type (might be due to invalid IL or missing references) //IL_45c4: Unknown result type (might be due to invalid IL or missing references) //IL_45cc: Unknown result type (might be due to invalid IL or missing references) //IL_45d1: Unknown result type (might be due to invalid IL or missing references) //IL_45d2: Unknown result type (might be due to invalid IL or missing references) //IL_45dc: Unknown result type (might be due to invalid IL or missing references) //IL_45dd: Unknown result type (might be due to invalid IL or missing references) //IL_45e2: Unknown result type (might be due to invalid IL or missing references) //IL_45f0: Unknown result type (might be due to invalid IL or missing references) //IL_4606: Unknown result type (might be due to invalid IL or missing references) //IL_4618: Unknown result type (might be due to invalid IL or missing references) //IL_4621: Unknown result type (might be due to invalid IL or missing references) //IL_4654: Unknown result type (might be due to invalid IL or missing references) //IL_4659: Unknown result type (might be due to invalid IL or missing references) //IL_466f: Unknown result type (might be due to invalid IL or missing references) //IL_4674: Unknown result type (might be due to invalid IL or missing references) //IL_468a: Unknown result type (might be due to invalid IL or missing references) //IL_468f: Unknown result type (might be due to invalid IL or missing references) //IL_4697: Unknown result type (might be due to invalid IL or missing references) //IL_469c: Unknown result type (might be due to invalid IL or missing references) //IL_469d: Unknown result type (might be due to invalid IL or missing references) //IL_46a7: Unknown result type (might be due to invalid IL or missing references) //IL_46a8: Unknown result type (might be due to invalid IL or missing references) //IL_46ad: Unknown result type (might be due to invalid IL or missing references) //IL_46bb: Unknown result type (might be due to invalid IL or missing references) //IL_46d1: Unknown result type (might be due to invalid IL or missing references) //IL_46e3: Unknown result type (might be due to invalid IL or missing references) //IL_46ec: Unknown result type (might be due to invalid IL or missing references) //IL_471f: Unknown result type (might be due to invalid IL or missing references) //IL_4724: Unknown result type (might be due to invalid IL or missing references) //IL_473a: Unknown result type (might be due to invalid IL or missing references) //IL_473f: Unknown result type (might be due to invalid IL or missing references) //IL_4755: Unknown result type (might be due to invalid IL or missing references) //IL_475a: Unknown result type (might be due to invalid IL or missing references) //IL_4762: Unknown result type (might be due to invalid IL or missing references) //IL_4767: Unknown result type (might be due to invalid IL or missing references) //IL_4768: Unknown result type (might be due to invalid IL or missing references) //IL_4772: Unknown result type (might be due to invalid IL or missing references) //IL_4773: Unknown result type (might be due to invalid IL or missing references) //IL_4778: Unknown result type (might be due to invalid IL or missing references) //IL_4786: Unknown result type (might be due to invalid IL or missing references) //IL_479c: Unknown result type (might be due to invalid IL or missing references) //IL_47ae: Unknown result type (might be due to invalid IL or missing references) //IL_47b7: Unknown result type (might be due to invalid IL or missing references) //IL_47ea: Unknown result type (might be due to invalid IL or missing references) //IL_47ef: Unknown result type (might be due to invalid IL or missing references) //IL_4805: Unknown result type (might be due to invalid IL or missing references) //IL_480a: Unknown result type (might be due to invalid IL or missing references) //IL_4820: Unknown result type (might be due to invalid IL or missing references) //IL_4825: Unknown result type (might be due to invalid IL or missing references) //IL_482d: Unknown result type (might be due to invalid IL or missing references) //IL_4832: Unknown result type (might be due to invalid IL or missing references) //IL_4833: Unknown result type (might be due to invalid IL or missing references) //IL_483d: Unknown result type (might be due to invalid IL or missing references) //IL_483e: Unknown result type (might be due to invalid IL or missing references) //IL_4843: Unknown result type (might be due to invalid IL or missing references) //IL_4851: Unknown result type (might be due to invalid IL or missing references) //IL_4867: Unknown result type (might be due to invalid IL or missing references) //IL_4879: Unknown result type (might be due to invalid IL or missing references) //IL_4882: Unknown result type (might be due to invalid IL or missing references) //IL_48b5: Unknown result type (might be due to invalid IL or missing references) //IL_48ba: Unknown result type (might be due to invalid IL or missing references) //IL_48d0: Unknown result type (might be due to invalid IL or missing references) //IL_48d5: Unknown result type (might be due to invalid IL or missing references) //IL_48eb: Unknown result type (might be due to invalid IL or missing references) //IL_48f0: Unknown result type (might be due to invalid IL or missing references) //IL_48f8: Unknown result type (might be due to invalid IL or missing references) //IL_48fd: Unknown result type (might be due to invalid IL or missing references) //IL_48fe: Unknown result type (might be due to invalid IL or missing references) //IL_4908: Unknown result type (might be due to invalid IL or missing references) //IL_4909: Unknown result type (might be due to invalid IL or missing references) //IL_490e: Unknown result type (might be due to invalid IL or missing references) //IL_491c: Unknown result type (might be due to invalid IL or missing references) //IL_4932: Unknown result type (might be due to invalid IL or missing references) //IL_4944: Unknown result type (might be due to invalid IL or missing references) //IL_494d: Unknown result type (might be due to invalid IL or missing references) //IL_4980: Unknown result type (might be due to invalid IL or missing references) //IL_4985: Unknown result type (might be due to invalid IL or missing references) //IL_499b: Unknown result type (might be due to invalid IL or missing references) //IL_49a0: Unknown result type (might be due to invalid IL or missing references) //IL_49b6: Unknown result type (might be due to invalid IL or missing references) //IL_49bb: Unknown result type (might be due to invalid IL or missing references) //IL_49c3: Unknown result type (might be due to invalid IL or missing references) //IL_49c8: Unknown result type (might be due to invalid IL or missing references) //IL_49c9: Unknown result type (might be due to invalid IL or missing references) //IL_49d3: Unknown result type (might be due to invalid IL or missing references) //IL_49d4: Unknown result type (might be due to invalid IL or missing references) //IL_49d9: Unknown result type (might be due to invalid IL or missing references) //IL_49e7: Unknown result type (might be due to invalid IL or missing references) //IL_49fd: Unknown result type (might be due to invalid IL or missing references) //IL_4a0f: Unknown result type (might be due to invalid IL or missing references) //IL_4a18: Unknown result type (might be due to invalid IL or missing references) //IL_4a4b: Unknown result type (might be due to invalid IL or missing references) //IL_4a50: Unknown result type (might be due to invalid IL or missing references) //IL_4a66: Unknown result type (might be due to invalid IL or missing references) //IL_4a6b: Unknown result type (might be due to invalid IL or missing references) //IL_4a81: Unknown result type (might be due to invalid IL or missing references) //IL_4a86: Unknown result type (might be due to invalid IL or missing references) //IL_4a8e: Unknown result type (might be due to invalid IL or missing references) //IL_4a93: Unknown result type (might be due to invalid IL or missing references) //IL_4a94: Unknown result type (might be due to invalid IL or missing references) //IL_4a9e: Unknown result type (might be due to invalid IL or missing references) //IL_4a9f: Unknown result type (might be due to invalid IL or missing references) //IL_4aa4: Unknown result type (might be due to invalid IL or missing references) //IL_4ab2: Unknown result type (might be due to invalid IL or missing references) //IL_4ac8: Unknown result type (might be due to invalid IL or missing references) //IL_4ada: Unknown result type (might be due to invalid IL or missing references) //IL_4ae3: Unknown result type (might be due to invalid IL or missing references) //IL_4b16: Unknown result type (might be due to invalid IL or missing references) //IL_4b1b: Unknown result type (might be due to invalid IL or missing references) //IL_4b31: Unknown result type (might be due to invalid IL or missing references) //IL_4b36: Unknown result type (might be due to invalid IL or missing references) //IL_4b4c: Unknown result type (might be due to invalid IL or missing references) //IL_4b51: Unknown result type (might be due to invalid IL or missing references) //IL_4b59: Unknown result type (might be due to invalid IL or missing references) //IL_4b5e: Unknown result type (might be due to invalid IL or missing references) //IL_4b5f: Unknown result type (might be due to invalid IL or missing references) //IL_4b69: Unknown result type (might be due to invalid IL or missing references) //IL_4b6a: Unknown result type (might be due to invalid IL or missing references) //IL_4b6f: Unknown result type (might be due to invalid IL or missing references) //IL_4b7d: Unknown result type (might be due to invalid IL or missing references) //IL_4b93: Unknown result type (might be due to invalid IL or missing references) //IL_4ba5: Unknown result type (might be due to invalid IL or missing references) //IL_4bae: Unknown result type (might be due to invalid IL or missing references) //IL_4be1: Unknown result type (might be due to invalid IL or missing references) //IL_4be6: Unknown result type (might be due to invalid IL or missing references) //IL_4bfc: Unknown result type (might be due to invalid IL or missing references) //IL_4c01: Unknown result type (might be due to invalid IL or missing references) //IL_4c17: Unknown result type (might be due to invalid IL or missing references) //IL_4c1c: Unknown result type (might be due to invalid IL or missing references) //IL_4c24: Unknown result type (might be due to invalid IL or missing references) //IL_4c29: Unknown result type (might be due to invalid IL or missing references) //IL_4c2a: Unknown result type (might be due to invalid IL or missing references) //IL_4c34: Unknown result type (might be due to invalid IL or missing references) //IL_4c35: Unknown result type (might be due to invalid IL or missing references) //IL_4c3a: Unknown result type (might be due to invalid IL or missing references) //IL_4c48: Unknown result type (might be due to invalid IL or missing references) //IL_4c5e: Unknown result type (might be due to invalid IL or missing references) //IL_4c70: Unknown result type (might be due to invalid IL or missing references) //IL_4c79: Unknown result type (might be due to invalid IL or missing references) //IL_4cac: Unknown result type (might be due to invalid IL or missing references) //IL_4cb1: Unknown result type (might be due to invalid IL or missing references) //IL_4cc7: Unknown result type (might be due to invalid IL or missing references) //IL_4ccc: Unknown result type (might be due to invalid IL or missing references) //IL_4ce2: Unknown result type (might be due to invalid IL or missing references) //IL_4ce7: Unknown result type (might be due to invalid IL or missing references) //IL_4cef: Unknown result type (might be due to invalid IL or missing references) //IL_4cf4: Unknown result type (might be due to invalid IL or missing references) //IL_4cf5: Unknown result type (might be due to invalid IL or missing references) //IL_4cff: Unknown result type (might be due to invalid IL or missing references) //IL_4d00: Unknown result type (might be due to invalid IL or missing references) //IL_4d05: Unknown result type (might be due to invalid IL or missing references) //IL_4d13: Unknown result type (might be due to invalid IL or missing references) //IL_4d29: Unknown result type (might be due to invalid IL or missing references) //IL_4d3b: Unknown result type (might be due to invalid IL or missing references) //IL_4d44: Unknown result type (might be due to invalid IL or missing references) //IL_4d77: Unknown result type (might be due to invalid IL or missing references) //IL_4d7c: Unknown result type (might be due to invalid IL or missing references) //IL_4d92: Unknown result type (might be due to invalid IL or missing references) //IL_4d97: Unknown result type (might be due to invalid IL or missing references) //IL_4dad: Unknown result type (might be due to invalid IL or missing references) //IL_4db2: Unknown result type (might be due to invalid IL or missing references) //IL_4dba: Unknown result type (might be due to invalid IL or missing references) //IL_4dbf: Unknown result type (might be due to invalid IL or missing references) //IL_4dc0: Unknown result type (might be due to invalid IL or missing references) //IL_4dc9: Unknown result type (might be due to invalid IL or missing references) //IL_4dd2: Unknown result type (might be due to invalid IL or missing references) //IL_4e05: Unknown result type (might be due to invalid IL or missing references) //IL_4e0a: Unknown result type (might be due to invalid IL or missing references) //IL_4e20: Unknown result type (might be due to invalid IL or missing references) //IL_4e25: Unknown result type (might be due to invalid IL or missing references) //IL_4e3b: Unknown result type (might be due to invalid IL or missing references) //IL_4e40: Unknown result type (might be due to invalid IL or missing references) //IL_4e48: Unknown result type (might be due to invalid IL or missing references) //IL_4e4d: Unknown result type (might be due to invalid IL or missing references) //IL_4e4e: Unknown result type (might be due to invalid IL or missing references) //IL_4e58: Unknown result type (might be due to invalid IL or missing references) //IL_4e59: Unknown result type (might be due to invalid IL or missing references) //IL_4e5e: Unknown result type (might be due to invalid IL or missing references) //IL_4e6c: Unknown result type (might be due to invalid IL or missing references) //IL_4e82: Unknown result type (might be due to invalid IL or missing references) //IL_4e94: Unknown result type (might be due to invalid IL or missing references) //IL_4e9d: Unknown result type (might be due to invalid IL or missing references) //IL_4ed0: Unknown result type (might be due to invalid IL or missing references) //IL_4ed5: Unknown result type (might be due to invalid IL or missing references) //IL_4eeb: Unknown result type (might be due to invalid IL or missing references) //IL_4ef0: Unknown result type (might be due to invalid IL or missing references) //IL_4f06: Unknown result type (might be due to invalid IL or missing references) //IL_4f0b: Unknown result type (might be due to invalid IL or missing references) //IL_4f13: Unknown result type (might be due to invalid IL or missing references) //IL_4f18: Unknown result type (might be due to invalid IL or missing references) //IL_4f19: Unknown result type (might be due to invalid IL or missing references) //IL_4f22: Unknown result type (might be due to invalid IL or missing references) //IL_4f2b: Unknown result type (might be due to invalid IL or missing references) //IL_4f5e: Unknown result type (might be due to invalid IL or missing references) //IL_4f63: Unknown result type (might be due to invalid IL or missing references) //IL_4f79: Unknown result type (might be due to invalid IL or missing references) //IL_4f7e: Unknown result type (might be due to invalid IL or missing references) //IL_4f94: Unknown result type (might be due to invalid IL or missing references) //IL_4f99: Unknown result type (might be due to invalid IL or missing references) //IL_4fa1: Unknown result type (might be due to invalid IL or missing references) //IL_4fa6: Unknown result type (might be due to invalid IL or missing references) //IL_4fa7: Unknown result type (might be due to invalid IL or missing references) //IL_4fb1: Unknown result type (might be due to invalid IL or missing references) //IL_4fb2: Unknown result type (might be due to invalid IL or missing references) //IL_4fb7: Unknown result type (might be due to invalid IL or missing references) //IL_4fc5: Unknown result type (might be due to invalid IL or missing references) //IL_4fdb: Unknown result type (might be due to invalid IL or missing references) //IL_4fed: Unknown result type (might be due to invalid IL or missing references) //IL_4ff6: Unknown result type (might be due to invalid IL or missing references) //IL_5029: Unknown result type (might be due to invalid IL or missing references) //IL_502e: Unknown result type (might be due to invalid IL or missing references) //IL_5044: Unknown result type (might be due to invalid IL or missing references) //IL_5049: Unknown result type (might be due to invalid IL or missing references) //IL_505f: Unknown result type (might be due to invalid IL or missing references) //IL_5064: Unknown result type (might be due to invalid IL or missing references) //IL_506c: Unknown result type (might be due to invalid IL or missing references) //IL_5071: Unknown result type (might be due to invalid IL or missing references) //IL_5072: Unknown result type (might be due to invalid IL or missing references) //IL_507c: Unknown result type (might be due to invalid IL or missing references) //IL_507d: Unknown result type (might be due to invalid IL or missing references) //IL_5082: Unknown result type (might be due to invalid IL or missing references) //IL_5090: Unknown result type (might be due to invalid IL or missing references) //IL_50a6: Unknown result type (might be due to invalid IL or missing references) //IL_50b8: Unknown result type (might be due to invalid IL or missing references) //IL_50c1: Unknown result type (might be due to invalid IL or missing references) //IL_50f4: Unknown result type (might be due to invalid IL or missing references) //IL_50f9: Unknown result type (might be due to invalid IL or missing references) //IL_510f: Unknown result type (might be due to invalid IL or missing references) //IL_5114: Unknown result type (might be due to invalid IL or missing references) //IL_512a: Unknown result type (might be due to invalid IL or missing references) //IL_512f: Unknown result type (might be due to invalid IL or missing references) //IL_5137: Unknown result type (might be due to invalid IL or missing references) //IL_513c: Unknown result type (might be due to invalid IL or missing references) //IL_513d: Unknown result type (might be due to invalid IL or missing references) //IL_5147: Unknown result type (might be due to invalid IL or missing references) //IL_5148: Unknown result type (might be due to invalid IL or missing references) //IL_514d: Unknown result type (might be due to invalid IL or missing references) //IL_515b: Unknown result type (might be due to invalid IL or missing references) //IL_5171: Unknown result type (might be due to invalid IL or missing references) //IL_5183: Unknown result type (might be due to invalid IL or missing references) //IL_518c: Unknown result type (might be due to invalid IL or missing references) //IL_51bf: Unknown result type (might be due to invalid IL or missing references) //IL_51c4: Unknown result type (might be due to invalid IL or missing references) //IL_51da: Unknown result type (might be due to invalid IL or missing references) //IL_51df: Unknown result type (might be due to invalid IL or missing references) //IL_51f5: Unknown result type (might be due to invalid IL or missing references) //IL_51fa: Unknown result type (might be due to invalid IL or missing references) //IL_5202: Unknown result type (might be due to invalid IL or missing references) //IL_5207: Unknown result type (might be due to invalid IL or missing references) //IL_5208: Unknown result type (might be due to invalid IL or missing references) //IL_5212: Unknown result type (might be due to invalid IL or missing references) //IL_5213: Unknown result type (might be due to invalid IL or missing references) //IL_5218: Unknown result type (might be due to invalid IL or missing references) //IL_5226: Unknown result type (might be due to invalid IL or missing references) //IL_523c: Unknown result type (might be due to invalid IL or missing references) //IL_524e: Unknown result type (might be due to invalid IL or missing references) //IL_5257: Unknown result type (might be due to invalid IL or missing references) //IL_528a: Unknown result type (might be due to invalid IL or missing references) //IL_528f: Unknown result type (might be due to invalid IL or missing references) //IL_52a5: Unknown result type (might be due to invalid IL or missing references) //IL_52aa: Unknown result type (might be due to invalid IL or missing references) //IL_52c0: Unknown result type (might be due to invalid IL or missing references) //IL_52c5: Unknown result type (might be due to invalid IL or missing references) //IL_52cd: Unknown result type (might be due to invalid IL or missing references) //IL_52d2: Unknown result type (might be due to invalid IL or missing references) //IL_52d3: Unknown result type (might be due to invalid IL or missing references) //IL_52dd: Unknown result type (might be due to invalid IL or missing references) //IL_52de: Unknown result type (might be due to invalid IL or missing references) //IL_52e3: Unknown result type (might be due to invalid IL or missing references) //IL_52f1: Unknown result type (might be due to invalid IL or missing references) //IL_5307: Unknown result type (might be due to invalid IL or missing references) //IL_5319: Unknown result type (might be due to invalid IL or missing references) //IL_5322: Unknown result type (might be due to invalid IL or missing references) //IL_5355: Unknown result type (might be due to invalid IL or missing references) //IL_535a: Unknown result type (might be due to invalid IL or missing references) //IL_5370: Unknown result type (might be due to invalid IL or missing references) //IL_5375: Unknown result type (might be due to invalid IL or missing references) //IL_538b: Unknown result type (might be due to invalid IL or missing references) //IL_5390: Unknown result type (might be due to invalid IL or missing references) //IL_5398: Unknown result type (might be due to invalid IL or missing references) //IL_539d: Unknown result type (might be due to invalid IL or missing references) //IL_539e: Unknown result type (might be due to invalid IL or missing references) //IL_53a8: Unknown result type (might be due to invalid IL or missing references) //IL_53a9: Unknown result type (might be due to invalid IL or missing references) //IL_53ae: Unknown result type (might be due to invalid IL or missing references) //IL_53bc: Unknown result type (might be due to invalid IL or missing references) //IL_53d2: Unknown result type (might be due to invalid IL or missing references) //IL_53e4: Unknown result type (might be due to invalid IL or missing references) //IL_53ed: Unknown result type (might be due to invalid IL or missing references) //IL_5420: Unknown result type (might be due to invalid IL or missing references) //IL_5425: Unknown result type (might be due to invalid IL or missing references) //IL_543b: Unknown result type (might be due to invalid IL or missing references) //IL_5440: Unknown result type (might be due to invalid IL or missing references) //IL_5456: Unknown result type (might be due to invalid IL or missing references) //IL_545b: Unknown result type (might be due to invalid IL or missing references) //IL_5463: Unknown result type (might be due to invalid IL or missing references) //IL_5468: Unknown result type (might be due to invalid IL or missing references) //IL_5469: Unknown result type (might be due to invalid IL or missing references) //IL_5473: Unknown result type (might be due to invalid IL or missing references) //IL_5474: Unknown result type (might be due to invalid IL or missing references) //IL_5479: Unknown result type (might be due to invalid IL or missing references) //IL_5487: Unknown result type (might be due to invalid IL or missing references) //IL_549d: Unknown result type (might be due to invalid IL or missing references) //IL_54af: Unknown result type (might be due to invalid IL or missing references) //IL_54b8: Unknown result type (might be due to invalid IL or missing references) //IL_54eb: Unknown result type (might be due to invalid IL or missing references) //IL_54f0: Unknown result type (might be due to invalid IL or missing references) //IL_5506: Unknown result type (might be due to invalid IL or missing references) //IL_550b: Unknown result type (might be due to invalid IL or missing references) //IL_5521: Unknown result type (might be due to invalid IL or missing references) //IL_5526: Unknown result type (might be due to invalid IL or missing references) //IL_552e: Unknown result type (might be due to invalid IL or missing references) //IL_5533: Unknown result type (might be due to invalid IL or missing references) //IL_5534: Unknown result type (might be due to invalid IL or missing references) //IL_553e: Unknown result type (might be due to invalid IL or missing references) //IL_553f: Unknown result type (might be due to invalid IL or missing references) //IL_5544: Unknown result type (might be due to invalid IL or missing references) //IL_5552: Unknown result type (might be due to invalid IL or missing references) //IL_5568: Unknown result type (might be due to invalid IL or missing references) //IL_557a: Unknown result type (might be due to invalid IL or missing references) //IL_5583: Unknown result type (might be due to invalid IL or missing references) //IL_55b6: Unknown result type (might be due to invalid IL or missing references) //IL_55bb: Unknown result type (might be due to invalid IL or missing references) //IL_55d1: Unknown result type (might be due to invalid IL or missing references) //IL_55d6: Unknown result type (might be due to invalid IL or missing references) //IL_55ec: Unknown result type (might be due to invalid IL or missing references) //IL_55f1: Unknown result type (might be due to invalid IL or missing references) //IL_55f9: Unknown result type (might be due to invalid IL or missing references) //IL_55fe: Unknown result type (might be due to invalid IL or missing references) //IL_55ff: Unknown result type (might be due to invalid IL or missing references) //IL_5609: Unknown result type (might be due to invalid IL or missing references) //IL_560a: Unknown result type (might be due to invalid IL or missing references) //IL_560f: Unknown result type (might be due to invalid IL or missing references) //IL_561d: Unknown result type (might be due to invalid IL or missing references) //IL_5633: Unknown result type (might be due to invalid IL or missing references) //IL_5645: Unknown result type (might be due to invalid IL or missing references) //IL_564e: Unknown result type (might be due to invalid IL or missing references) //IL_5681: Unknown result type (might be due to invalid IL or missing references) //IL_5686: Unknown result type (might be due to invalid IL or missing references) //IL_569c: Unknown result type (might be due to invalid IL or missing references) //IL_56a1: Unknown result type (might be due to invalid IL or missing references) //IL_56b7: Unknown result type (might be due to invalid IL or missing references) //IL_56bc: Unknown result type (might be due to invalid IL or missing references) //IL_56c4: Unknown result type (might be due to invalid IL or missing references) //IL_56c9: Unknown result type (might be due to invalid IL or missing references) //IL_56ca: Unknown result type (might be due to invalid IL or missing references) //IL_56d4: Unknown result type (might be due to invalid IL or missing references) //IL_56d5: Unknown result type (might be due to invalid IL or missing references) //IL_56da: Unknown result type (might be due to invalid IL or missing references) //IL_56e8: Unknown result type (might be due to invalid IL or missing references) //IL_56fe: Unknown result type (might be due to invalid IL or missing references) //IL_5710: Unknown result type (might be due to invalid IL or missing references) //IL_5719: Unknown result type (might be due to invalid IL or missing references) //IL_574c: Unknown result type (might be due to invalid IL or missing references) //IL_5751: Unknown result type (might be due to invalid IL or missing references) //IL_5767: Unknown result type (might be due to invalid IL or missing references) //IL_576c: Unknown result type (might be due to invalid IL or missing references) //IL_5782: Unknown result type (might be due to invalid IL or missing references) //IL_5787: Unknown result type (might be due to invalid IL or missing references) //IL_578f: Unknown result type (might be due to invalid IL or missing references) //IL_5794: Unknown result type (might be due to invalid IL or missing references) //IL_5795: Unknown result type (might be due to invalid IL or missing references) //IL_579f: Unknown result type (might be due to invalid IL or missing references) //IL_57a0: Unknown result type (might be due to invalid IL or missing references) //IL_57a5: Unknown result type (might be due to invalid IL or missing references) //IL_57b3: Unknown result type (might be due to invalid IL or missing references) //IL_57c9: Unknown result type (might be due to invalid IL or missing references) //IL_57db: Unknown result type (might be due to invalid IL or missing references) //IL_57e4: Unknown result type (might be due to invalid IL or missing references) //IL_5817: Unknown result type (might be due to invalid IL or missing references) //IL_581c: Unknown result type (might be due to invalid IL or missing references) //IL_5832: Unknown result type (might be due to invalid IL or missing references) //IL_5837: Unknown result type (might be due to invalid IL or missing references) //IL_584d: Unknown result type (might be due to invalid IL or missing references) //IL_5852: Unknown result type (might be due to invalid IL or missing references) //IL_585a: Unknown result type (might be due to invalid IL or missing references) //IL_585f: Unknown result type (might be due to invalid IL or missing references) //IL_5860: Unknown result type (might be due to invalid IL or missing references) //IL_586a: Unknown result type (might be due to invalid IL or missing references) //IL_586b: Unknown result type (might be due to invalid IL or missing references) //IL_5870: Unknown result type (might be due to invalid IL or missing references) //IL_587e: Unknown result type (might be due to invalid IL or missing references) //IL_5894: Unknown result type (might be due to invalid IL or missing references) //IL_58a6: Unknown result type (might be due to invalid IL or missing references) //IL_58af: Unknown result type (might be due to invalid IL or missing references) //IL_58e2: Unknown result type (might be due to invalid IL or missing references) //IL_58e7: Unknown result type (might be due to invalid IL or missing references) //IL_58fd: Unknown result type (might be due to invalid IL or missing references) //IL_5902: Unknown result type (might be due to invalid IL or missing references) //IL_5918: Unknown result type (might be due to invalid IL or missing references) //IL_591d: Unknown result type (might be due to invalid IL or missing references) //IL_5925: Unknown result type (might be due to invalid IL or missing references) //IL_592a: Unknown result type (might be due to invalid IL or missing references) //IL_592b: Unknown result type (might be due to invalid IL or missing references) //IL_5935: Unknown result type (might be due to invalid IL or missing references) //IL_5936: Unknown result type (might be due to invalid IL or missing references) //IL_593b: Unknown result type (might be due to invalid IL or missing references) //IL_5949: Unknown result type (might be due to invalid IL or missing references) //IL_595f: Unknown result type (might be due to invalid IL or missing references) //IL_5971: Unknown result type (might be due to invalid IL or missing references) //IL_597a: Unknown result type (might be due to invalid IL or missing references) //IL_59ad: Unknown result type (might be due to invalid IL or missing references) //IL_59b2: Unknown result type (might be due to invalid IL or missing references) //IL_59c8: Unknown result type (might be due to invalid IL or missing references) //IL_59cd: Unknown result type (might be due to invalid IL or missing references) //IL_59e3: Unknown result type (might be due to invalid IL or missing references) //IL_59e8: Unknown result type (might be due to invalid IL or missing references) //IL_59f0: Unknown result type (might be due to invalid IL or missing references) //IL_59f5: Unknown result type (might be due to invalid IL or missing references) //IL_59f6: Unknown result type (might be due to invalid IL or missing references) //IL_5a00: Unknown result type (might be due to invalid IL or missing references) //IL_5a01: Unknown result type (might be due to invalid IL or missing references) //IL_5a06: Unknown result type (might be due to invalid IL or missing references) //IL_5a14: Unknown result type (might be due to invalid IL or missing references) //IL_5a2a: Unknown result type (might be due to invalid IL or missing references) //IL_5a3c: Unknown result type (might be due to invalid IL or missing references) //IL_5a45: Unknown result type (might be due to invalid IL or missing references) //IL_5a78: Unknown result type (might be due to invalid IL or missing references) //IL_5a7d: Unknown result type (might be due to invalid IL or missing references) //IL_5a93: Unknown result type (might be due to invalid IL or missing references) //IL_5a98: Unknown result type (might be due to invalid IL or missing references) //IL_5aae: Unknown result type (might be due to invalid IL or missing references) //IL_5ab3: Unknown result type (might be due to invalid IL or missing references) //IL_5abb: Unknown result type (might be due to invalid IL or missing references) //IL_5ac0: Unknown result type (might be due to invalid IL or missing references) //IL_5ac1: Unknown result type (might be due to invalid IL or missing references) //IL_5acb: Unknown result type (might be due to invalid IL or missing references) //IL_5acc: Unknown result type (might be due to invalid IL or missing references) //IL_5ad1: Unknown result type (might be due to invalid IL or missing references) //IL_5adf: Unknown result type (might be due to invalid IL or missing references) //IL_5af5: Unknown result type (might be due to invalid IL or missing references) //IL_5b07: Unknown result type (might be due to invalid IL or missing references) //IL_5b10: Unknown result type (might be due to invalid IL or missing references) //IL_5b43: Unknown result type (might be due to invalid IL or missing references) //IL_5b48: Unknown result type (might be due to invalid IL or missing references) //IL_5b5e: Unknown result type (might be due to invalid IL or missing references) //IL_5b63: Unknown result type (might be due to invalid IL or missing references) //IL_5b79: Unknown result type (might be due to invalid IL or missing references) //IL_5b7e: Unknown result type (might be due to invalid IL or missing references) //IL_5b86: Unknown result type (might be due to invalid IL or missing references) //IL_5b8b: Unknown result type (might be due to invalid IL or missing references) //IL_5b8c: Unknown result type (might be due to invalid IL or missing references) //IL_5b96: Unknown result type (might be due to invalid IL or missing references) //IL_5b97: Unknown result type (might be due to invalid IL or missing references) //IL_5b9c: Unknown result type (might be due to invalid IL or missing references) //IL_5baa: Unknown result type (might be due to invalid IL or missing references) //IL_5bc0: Unknown result type (might be due to invalid IL or missing references) //IL_5bd2: Unknown result type (might be due to invalid IL or missing references) //IL_5bdb: Unknown result type (might be due to invalid IL or missing references) //IL_5c0e: Unknown result type (might be due to invalid IL or missing references) //IL_5c13: Unknown result type (might be due to invalid IL or missing references) //IL_5c29: Unknown result type (might be due to invalid IL or missing references) //IL_5c2e: Unknown result type (might be due to invalid IL or missing references) //IL_5c44: Unknown result type (might be due to invalid IL or missing references) //IL_5c49: Unknown result type (might be due to invalid IL or missing references) //IL_5c51: Unknown result type (might be due to invalid IL or missing references) //IL_5c56: Unknown result type (might be due to invalid IL or missing references) //IL_5c57: Unknown result type (might be due to invalid IL or missing references) //IL_5c61: Unknown result type (might be due to invalid IL or missing references) //IL_5c62: Unknown result type (might be due to invalid IL or missing references) //IL_5c67: Unknown result type (might be due to invalid IL or missing references) //IL_5c75: Unknown result type (might be due to invalid IL or missing references) //IL_5c8b: Unknown result type (might be due to invalid IL or missing references) //IL_5c9d: Unknown result type (might be due to invalid IL or missing references) //IL_5ca6: Unknown result type (might be due to invalid IL or missing references) //IL_5cd9: Unknown result type (might be due to invalid IL or missing references) //IL_5cde: Unknown result type (might be due to invalid IL or missing references) //IL_5cf4: Unknown result type (might be due to invalid IL or missing references) //IL_5cf9: Unknown result type (might be due to invalid IL or missing references) //IL_5d0f: Unknown result type (might be due to invalid IL or missing references) //IL_5d14: Unknown result type (might be due to invalid IL or missing references) //IL_5d1c: Unknown result type (might be due to invalid IL or missing references) //IL_5d21: Unknown result type (might be due to invalid IL or missing references) //IL_5d22: Unknown result type (might be due to invalid IL or missing references) //IL_5d2c: Unknown result type (might be due to invalid IL or missing references) //IL_5d2d: Unknown result type (might be due to invalid IL or missing references) //IL_5d32: Unknown result type (might be due to invalid IL or missing references) //IL_5d40: Unknown result type (might be due to invalid IL or missing references) //IL_5d56: Unknown result type (might be due to invalid IL or missing references) //IL_5d68: Unknown result type (might be due to invalid IL or missing references) //IL_5d71: Unknown result type (might be due to invalid IL or missing references) //IL_5da4: Unknown result type (might be due to invalid IL or missing references) //IL_5da9: Unknown result type (might be due to invalid IL or missing references) //IL_5dbf: Unknown result type (might be due to invalid IL or missing references) //IL_5dc4: Unknown result type (might be due to invalid IL or missing references) //IL_5dda: Unknown result type (might be due to invalid IL or missing references) //IL_5ddf: Unknown result type (might be due to invalid IL or missing references) //IL_5de7: Unknown result type (might be due to invalid IL or missing references) //IL_5dec: Unknown result type (might be due to invalid IL or missing references) //IL_5ded: Unknown result type (might be due to invalid IL or missing references) //IL_5df7: Unknown result type (might be due to invalid IL or missing references) //IL_5df8: Unknown result type (might be due to invalid IL or missing references) //IL_5dfd: Unknown result type (might be due to invalid IL or missing references) //IL_5e0b: Unknown result type (might be due to invalid IL or missing references) //IL_5e21: Unknown result type (might be due to invalid IL or missing references) //IL_5e33: Unknown result type (might be due to invalid IL or missing references) //IL_5e3c: Unknown result type (might be due to invalid IL or missing references) //IL_5e6f: Unknown result type (might be due to invalid IL or missing references) //IL_5e74: Unknown result type (might be due to invalid IL or missing references) //IL_5e8a: Unknown result type (might be due to invalid IL or missing references) //IL_5e8f: Unknown result type (might be due to invalid IL or missing references) //IL_5ea5: Unknown result type (might be due to invalid IL or missing references) //IL_5eaa: Unknown result type (might be due to invalid IL or missing references) //IL_5eb2: Unknown result type (might be due to invalid IL or missing references) //IL_5eb7: Unknown result type (might be due to invalid IL or missing references) //IL_5eb8: Unknown result type (might be due to invalid IL or missing references) //IL_5ec2: Unknown result type (might be due to invalid IL or missing references) //IL_5ec3: Unknown result type (might be due to invalid IL or missing references) //IL_5ec8: Unknown result type (might be due to invalid IL or missing references) //IL_5ed6: Unknown result type (might be due to invalid IL or missing references) //IL_5eec: Unknown result type (might be due to invalid IL or missing references) //IL_5efe: Unknown result type (might be due to invalid IL or missing references) //IL_5f07: Unknown result type (might be due to invalid IL or missing references) //IL_5f3a: Unknown result type (might be due to invalid IL or missing references) //IL_5f3f: Unknown result type (might be due to invalid IL or missing references) //IL_5f55: Unknown result type (might be due to invalid IL or missing references) //IL_5f5a: Unknown result type (might be due to invalid IL or missing references) //IL_5f70: Unknown result type (might be due to invalid IL or missing references) //IL_5f75: Unknown result type (might be due to invalid IL or missing references) //IL_5f7d: Unknown result type (might be due to invalid IL or missing references) //IL_5f82: Unknown result type (might be due to invalid IL or missing references) //IL_5f83: Unknown result type (might be due to invalid IL or missing references) //IL_5f8d: Unknown result type (might be due to invalid IL or missing references) //IL_5f8e: Unknown result type (might be due to invalid IL or missing references) //IL_5f93: Unknown result type (might be due to invalid IL or missing references) //IL_5fa1: Unknown result type (might be due to invalid IL or missing references) //IL_5fb7: Unknown result type (might be due to invalid IL or missing references) //IL_5fc9: Unknown result type (might be due to invalid IL or missing references) //IL_5fd2: Unknown result type (might be due to invalid IL or missing references) //IL_6005: Unknown result type (might be due to invalid IL or missing references) //IL_600a: Unknown result type (might be due to invalid IL or missing references) //IL_6020: Unknown result type (might be due to invalid IL or missing references) //IL_6025: Unknown result type (might be due to invalid IL or missing references) //IL_603b: Unknown result type (might be due to invalid IL or missing references) //IL_6040: Unknown result type (might be due to invalid IL or missing references) //IL_6048: Unknown result type (might be due to invalid IL or missing references) //IL_604d: Unknown result type (might be due to invalid IL or missing references) //IL_604e: Unknown result type (might be due to invalid IL or missing references) //IL_6058: Unknown result type (might be due to invalid IL or missing references) //IL_6059: Unknown result type (might be due to invalid IL or missing references) //IL_605e: Unknown result type (might be due to invalid IL or missing references) //IL_606c: Unknown result type (might be due to invalid IL or missing references) //IL_6082: Unknown result type (might be due to invalid IL or missing references) //IL_6094: Unknown result type (might be due to invalid IL or missing references) //IL_609d: Unknown result type (might be due to invalid IL or missing references) //IL_60d0: Unknown result type (might be due to invalid IL or missing references) //IL_60d5: Unknown result type (might be due to invalid IL or missing references) //IL_60eb: Unknown result type (might be due to invalid IL or missing references) //IL_60f0: Unknown result type (might be due to invalid IL or missing references) //IL_6106: Unknown result type (might be due to invalid IL or missing references) //IL_610b: Unknown result type (might be due to invalid IL or missing references) //IL_6113: Unknown result type (might be due to invalid IL or missing references) //IL_6118: Unknown result type (might be due to invalid IL or missing references) //IL_6119: Unknown result type (might be due to invalid IL or missing references) //IL_6123: Unknown result type (might be due to invalid IL or missing references) //IL_6124: Unknown result type (might be due to invalid IL or missing references) //IL_6129: Unknown result type (might be due to invalid IL or missing references) itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Jetpack, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBugWings"), childName = "UpperTorso", localPos = new Vector3(0.0184f, 0.10804f, -0.11971f), localAngles = new Vector3(338.6965f, 2.19044f, 357.9593f), localScale = new Vector3(0.1f, 0.1f, 0.1f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.GoldGat, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGoldGat"), childName = "LeftShoulder", localPos = new Vector3(0.23309f, 0.06463f, 0.12873f), localAngles = new Vector3(63.66146f, 350.0505f, 285.4699f), localScale = new Vector3(0.09164f, 0.09164f, -0.09164f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.BFG, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBFG"), childName = "LeftShoulder", localPos = new Vector3(0.0827f, -0.01172f, 0.04998f), localAngles = new Vector3(341.136f, 300.864f, 287.0979f), localScale = new Vector3(0.3f, 0.3f, 0.3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.CritGlasses, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGlasses"), childName = "Head", localPos = new Vector3(0.00418f, 0.18634f, 0.08413f), localAngles = new Vector3(327.5657f, 2.59688f, 3.46433f), localScale = new Vector3(0.27389f, 0.26052f, 0.27451f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Syringe, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySyringeCluster"), childName = "LeftBicep", localPos = new Vector3(-0.04852f, -0.00667f, 0.01142f), localAngles = new Vector3(20.29107f, 27.35091f, 107.5964f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Behemoth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBehemoth"), childName = "Sheath", localPos = new Vector3(0.00573f, 0.25332f, -0.13636f), localAngles = new Vector3(357.7285f, 155.5096f, 1.03436f), localScale = new Vector3(0.05f, 0.05f, 0.05f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Missile, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMissileLauncher"), childName = "RightShoulder", localPos = new Vector3(-0.0466f, 0.28136f, 0.11207f), localAngles = new Vector3(15.81938f, 70.22907f, 41.35588f), localScale = new Vector3(0.05f, 0.05f, 0.05f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Dagger, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDagger"), childName = "Sheath", localPos = new Vector3(0.01695f, 0.11169f, 0.02661f), localAngles = new Vector3(84.14897f, 279.7128f, 75.56369f), localScale = new Vector3(0.5f, 0.5f, 0.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Hoof, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHoof"), childName = "RightFoot", localPos = new Vector3(-0.0042f, 0.03902f, -0.00692f), localAngles = new Vector3(41.23407f, 142.0806f, 207.2697f), localScale = new Vector3(0.07409f, 0.07519f, 0.03185f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ChainLightning, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayUkulele"), childName = "Sheath", localPos = new Vector3(-0.05356f, 0.20981f, -0.0049f), localAngles = new Vector3(0f, 270f, 0f), localScale = new Vector3(0.4749f, 0.4749f, 0.4749f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.GhostOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMask"), childName = "RightThigh", localPos = new Vector3(0f, 0.35044f, 0f), localAngles = new Vector3(353.2961f, 171.0365f, 181.0904f), localScale = new Vector3(0.6313f, 0.6313f, 0.6313f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Mushroom, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMushroom"), childName = "Head", localPos = new Vector3(0.08406f, 0.16518f, -0.11686f), localAngles = new Vector3(295.0656f, 1E-05f, 318.8844f), localScale = new Vector3(0.02797f, 0.02797f, 0.02797f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.AttackSpeedOnCrit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWolfPelt"), childName = "Head", localPos = new Vector3(0.08417f, 0.1298f, 0.01033f), localAngles = new Vector3(58.9318f, 30.82089f, 289.6204f), localScale = new Vector3(0.20034f, 0.13842f, 0.25551f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BleedOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTriTip"), childName = "Sheath", localPos = new Vector3(-3E-05f, 0.04087f, 0.00214f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.2615f, 1.03735f, 0.43923f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.WardOnLevel, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWarbanner"), childName = "Sheath", localPos = new Vector3(-2E-05f, 0.17432f, 0.09948f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.3162f, 0.3162f, 0.3162f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HealOnCrit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayScythe"), childName = "UpperTorso", localPos = new Vector3(0.00929f, 0.32375f, -0.17013f), localAngles = new Vector3(305.407f, 90f, 270f), localScale = new Vector3(0.1884f, 0.1884f, 0.1884f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HealWhileSafe, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySnail"), childName = "Sheath", localPos = new Vector3(0f, 1.29517f, -0.04676f), localAngles = new Vector3(45.76163f, 0f, 0f), localScale = new Vector3(0.0289f, 0.0289f, 0.0289f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Clover, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayClover"), childName = "UpperTorso", localPos = new Vector3(0.1261f, 0.35581f, 0.1465f), localAngles = new Vector3(49.54395f, 0f, 323.4183f), localScale = new Vector3(0.2749f, 0.2749f, 0.2749f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BarrierOnOverHeal, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAegis"), childName = "RightShoulder", localPos = new Vector3(-9E-05f, 0.09272f, 0.03689f), localAngles = new Vector3(65.75961f, 0.03774f, 180.5076f), localScale = new Vector3(0.17003f, 0.2981f, 0.11191f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.GoldOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBoneCrown"), childName = "Head", localPos = new Vector3(-1E-05f, 0.16644f, -0.03022f), localAngles = new Vector3(348.4629f, 0f, 0f), localScale = new Vector3(1.0154f, 0.9058f, 0.77528f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.WarCryOnMultiKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayPauldron"), childName = "UpperTorso", localPos = new Vector3(-0.09385f, 0.27417f, 0.18799f), localAngles = new Vector3(334.2946f, 38.62165f, 118.4984f), localScale = new Vector3(0.23177f, 0.2308f, 0.23177f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SprintArmor, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBuckler"), childName = "LeftBicep", localPos = new Vector3(-0.02465f, 0.24665f, 0.00849f), localAngles = new Vector3(0f, 301.0109f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.IceRing, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayIceRing"), childName = "LeftSword", localPos = new Vector3(-0.00163f, 0.42323f, -0.00054f), localAngles = new Vector3(3.13484f, 60.92768f, 0f), localScale = new Vector3(0.31942f, 0.31942f, 0.5379f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FireRing, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFireRing"), childName = "RightSword", localPos = new Vector3(-0.00599f, 0.4231f, 0.00161f), localAngles = new Vector3(0.41682f, 295.3326f, 91.91076f), localScale = new Vector3(0.31942f, 0.31942f, 0.5379f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.UtilitySkillMagazine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAfterburnerShoulderRing"), childName = "Head", localPos = new Vector3(0.11614f, 0.0821f, -0.02799f), localAngles = new Vector3(0.96637f, 20.41972f, 357.4061f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAfterburnerShoulderRing"), childName = "Head", localPos = new Vector3(-0.11141f, 0.07614f, -0.01738f), localAngles = new Vector3(1.21526f, 340.682f, 1.20881f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.JumpBoost, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWaxBird"), childName = "Sheath", localPos = new Vector3(5E-05f, 1.3806f, 0.23522f), localAngles = new Vector3(90f, 180.0003f, 0f), localScale = new Vector3(0.5253f, 0.5253f, 0.5253f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ArmorReductionOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWarhammer"), childName = "Sheath", localPos = new Vector3(7f / 160f, 0.38216f, -0.21361f), localAngles = new Vector3(322.1613f, 180f, 270f), localScale = new Vector3(0.1722f, 0.1722f, 0.1722f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.NearbyDamageBonus, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDiamond"), childName = "LeftSword", localPos = new Vector3(-0.00289f, 0.42346f, -0.00169f), localAngles = new Vector3(313.587f, 334.7328f, 356.0518f), localScale = new Vector3(0.02903f, 0.02903f, 0.02903f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDiamond"), childName = "RightSword", localPos = new Vector3(-0.00622f, 0.42356f, 0.00295f), localAngles = new Vector3(322.78f, 19.22459f, 5.67575f), localScale = new Vector3(0.02903f, 0.02903f, 0.02903f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ArmorPlate, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRepulsionArmorPlate"), childName = "RightForearm", localPos = new Vector3(0.01561f, 0.10297f, 0.01102f), localAngles = new Vector3(79.00965f, 1E-05f, 180f), localScale = new Vector3(0.1971f, 0.1971f, 0.1971f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.CommandMissile, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMissileRack"), childName = "RightShoulder", localPos = new Vector3(-0.12135f, 0.09292f, -0.06856f), localAngles = new Vector3(358.5244f, 195.7424f, 275.2195f), localScale = new Vector3(0.3362f, 0.3362f, 0.3362f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Feather, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFeather"), childName = "Head", localPos = new Vector3(0f, 0.19564f, -0.0933f), localAngles = new Vector3(339.1728f, 180f, 180f), localScale = new Vector3(0.02f, 0.02f, 0.02f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Crowbar, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayCrowbar"), childName = "UpperTorso", localPos = new Vector3(-0.01831f, 0.25393f, -0.16496f), localAngles = new Vector3(30.47087f, 259.6443f, 0f), localScale = new Vector3(0.28185f, 0.28185f, 0.28185f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FallBoots, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGravBoots"), childName = "RightFoot", localPos = new Vector3(-0.00503f, 0.01929f, -0.01115f), localAngles = new Vector3(18.55695f, 30.95599f, 226.2811f), localScale = new Vector3(0.23426f, 0.23426f, 0.23426f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGravBoots"), childName = "LeftFoot", localPos = new Vector3(-0.00251f, 0.00938f, -0.00951f), localAngles = new Vector3(346.3356f, 138.8297f, 223.7417f), localScale = new Vector3(0.23453f, 0.23453f, 0.23453f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExecuteLowHealthElite, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGuillotine"), childName = "Sheath", localPos = new Vector3(1E-05f, 0.58601f, 0.16557f), localAngles = new Vector3(312.3612f, 180f, 90.00002f), localScale = new Vector3(0.10365f, 0.10365f, 0.10365f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.EquipmentMagazine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBattery"), childName = "UpperTorso", localPos = new Vector3(0.09369f, 0.29701f, 0.19601f), localAngles = new Vector3(311.1437f, 270f, 180f), localScale = new Vector3(0.0773f, 0.0773f, 0.0773f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.NovaOnHeal, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDevilHorns"), childName = "Head", localPos = new Vector3(0.05275f, 0.04026f, 0.02251f), localAngles = new Vector3(0f, 8.73186f, 0f), localScale = new Vector3(0.35f, 0.35f, 0.35f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDevilHorns"), childName = "Head", localPos = new Vector3(-0.06377f, 0.04671f, 0.0105f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(-0.35f, 0.35f, 0.35f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Infusion, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayInfusion"), childName = "LowerTorso", localPos = new Vector3(0.17133f, 0.18126f, 0f), localAngles = new Vector3(0f, 80.60746f, 0f), localScale = new Vector3(0.5253f, 0.5253f, 0.5253f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Medkit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMedkit"), childName = "RightThigh", localPos = new Vector3(0.08677f, 0.02632f, 0.00264f), localAngles = new Vector3(84.28719f, 180f, 270f), localScale = new Vector3(0.4907f, 0.4907f, 0.4907f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Bandolier, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBandolier"), childName = "UpperTorso", localPos = new Vector3(0.01085f, 0.26373f, -0.01523f), localAngles = new Vector3(270f, 343.4287f, 0f), localScale = new Vector3(0.1173f, 0.16857f, 0.16857f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BounceNearby, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHook"), childName = "LeftShoulder", localPos = new Vector3(0.00975f, 0.03229f, 0.07981f), localAngles = new Vector3(348.3513f, 152.0538f, 76.00382f), localScale = new Vector3(-0.214f, 0.214f, 0.214f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.IgniteOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGasoline"), childName = "Sheath", localPos = new Vector3(0.03796f, 0.27106f, 0.054f), localAngles = new Vector3(-1E-05f, 180f, 180f), localScale = new Vector3(0.3165f, 0.3165f, 0.3165f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.StunChanceOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayStunGrenade"), childName = "UpperTorso", localPos = new Vector3(0.05292f, 0.27389f, 0.21928f), localAngles = new Vector3(310.4015f, 271.209f, 109.135f), localScale = new Vector3(0.4516f, 0.4516f, 0.4516f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Firework, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFirework"), childName = "LowerTorso", localPos = new Vector3(0.13888f, 0.20541f, 0.07244f), localAngles = new Vector3(285.5927f, 252.4752f, 108.1513f), localScale = new Vector3(0.1194f, 0.1194f, 0.1194f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarDagger, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLunarDagger"), childName = "Sheath", localPos = new Vector3(-0.03081f, 0.55628f, 0.01327f), localAngles = new Vector3(314.3233f, 181.2933f, 269.2486f), localScale = new Vector3(0.44333f, 0.44333f, 0.44333f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Knurl, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayKnurl"), childName = "UpperTorso", localPos = new Vector3(-0.03301f, 0.15794f, 0.02869f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BeetleGland, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBeetleGland"), childName = "Sheath", localPos = new Vector3(0.00062f, 1.10229f, 0.19933f), localAngles = new Vector3(88.90926f, 180f, 153.2774f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SprintBonus, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySoda"), childName = "UpperTorso", localPos = new Vector3(0.01857f, 0.23718f, 0.20835f), localAngles = new Vector3(311.3704f, 269.885f, 19.12682f), localScale = new Vector3(0.1655f, 0.1655f, 0.1655f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SecondarySkillMagazine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDoubleMag"), childName = "LeftThigh", localPos = new Vector3(0.00851f, 0.29932f, -0.1076f), localAngles = new Vector3(359.1393f, 101.9013f, 4.30219f), localScale = new Vector3(0.0441f, 0.0441f, 0.0441f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.StickyBomb, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayStickyBomb"), childName = "UpperTorso", localPos = new Vector3(-0.04887f, 0.22f, 0.20464f), localAngles = new Vector3(0f, 0f, 46.56133f), localScale = new Vector3(0.15f, 0.15f, 0.15f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.TreasureCache, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayKey"), childName = "Head", localPos = new Vector3(0.12913f, 0.09217f, -0.03618f), localAngles = new Vector3(0.2454f, 195.0205f, 89.08541f), localScale = new Vector3(0.4092f, 0.4092f, 0.4092f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BossDamageBonus, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAPRound"), childName = "Sheath", localPos = new Vector3(0.04406f, 0.45816f, 0.05345f), localAngles = new Vector3(1.89788f, 0f, 90f), localScale = new Vector3(0.5f, 0.5f, 0.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SlowOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBauble"), childName = "Sheath", localPos = new Vector3(-0.01112f, 0.1938f, -0.08326f), localAngles = new Vector3(0f, 90f, 335.515f), localScale = new Vector3(0.38457f, 0.38457f, 0.30065f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExtraLife, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHippo"), childName = "Sheath", localPos = new Vector3(-0.02178f, 1.09693f, 0.01866f), localAngles = new Vector3(0f, 270f, 0f), localScale = new Vector3(0.15f, 0.15f, 0.15f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.KillEliteFrenzy, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBrainstalk"), childName = "Head", localPos = new Vector3(-1E-05f, 0.12957f, -0.04389f), localAngles = new Vector3(344.0975f, 0f, 0f), localScale = new Vector3(0.2638f, 0.2638f, 0.2638f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RepeatHeal, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayCorpseFlower"), childName = "Head", localPos = new Vector3(-0.09834f, 0.27152f, 0.02258f), localAngles = new Vector3(51.20671f, 0f, 12.31521f), localScale = new Vector3(0.1511f, 0.1511f, 0.1511f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.AutoCastEquipment, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFossil"), childName = "Sheath", localPos = new Vector3(0.03101f, 0.56309f, 0.00539f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.4208f, 0.4208f, 0.4208f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.IncreaseHealing, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAntler"), childName = "Head", localPos = new Vector3(0.1003f, 0.269f, 0f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.2f, 0.2f, 0.2f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAntler"), childName = "Head", localPos = new Vector3(-0.1003f, 0.269f, 0f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.2f, 0.2f, -0.2f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.TitanGoldDuringTP, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGoldHeart"), childName = "Sheath", localPos = new Vector3(-0.04037f, 0.12482f, -0.02229f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1191f, 0.1191f, 0.1191f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SprintWisp, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBrokenMask"), childName = "Head", localPos = new Vector3(0.0003f, 0.10532f, 0.11032f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.16557f, 0.15752f, 0.1385f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BarrierOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBrooch"), childName = "LeftSword", localPos = new Vector3(-0.02184f, 0.53585f, -0.00524f), localAngles = new Vector3(88.53995f, 169.177f, 287.8959f), localScale = new Vector3(0.2321f, 0.35773f, 0.2321f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.TPHealingNova, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGlowFlower"), childName = "Head", localPos = new Vector3(-0.09235f, 0.27008f, 0.04109f), localAngles = new Vector3(324.1412f, 307.0036f, 16.36962f), localScale = new Vector3(0.2731f, 0.2731f, 0.0273f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Thorns, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRazorwireLeft"), childName = "LeftCalf", localPos = new Vector3(0f, -0.00191f, 0.02367f), localAngles = new Vector3(290.3239f, 268.9597f, 89.36517f), localScale = new Vector3(0.74362f, 0.74362f, 0.34083f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.NovaOnLowHealth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayJellyGuts"), childName = "RightThigh", localPos = new Vector3(-0.03375f, 0.1669f, 1E-05f), localAngles = new Vector3(295.975f, 0f, 0f), localScale = new Vector3(0.1035f, 0.1035f, 0.1035f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarTrinket, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBeads"), childName = "Sheath", localPos = new Vector3(-0.00917f, 0.81915f, 0.04202f), localAngles = new Vector3(30.84364f, 0f, 90f), localScale = new Vector3(1f, 0.71172f, 1.39377f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Plant, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayInterstellarDeskPlant"), childName = "Sheath", localPos = new Vector3(0f, 0.65153f, -0.12362f), localAngles = new Vector3(0f, 180f, 0f), localScale = new Vector3(0.0429f, 0.0429f, 0.0429f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Bear, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBear"), childName = "Sheath", localPos = new Vector3(0.04107f, 0.91641f, 0.00246f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.12812f, 0.12812f, 0.10863f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.DeathMark, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDeathMark"), childName = "UpperTorso", localPos = new Vector3(-0.1143f, 0.20805f, 0.06742f), localAngles = new Vector3(305.8065f, 151.8986f, 188.3863f), localScale = new Vector3(0.01793f, 0.01793f, 0.01793f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExplodeOnDeath, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWilloWisp"), childName = "Sheath", localPos = new Vector3(0f, 0.75753f, -0.12476f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.0283f, 0.0283f, 0.0283f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Seed, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySeed"), childName = "UpperTorso", localPos = new Vector3(-0.06112f, 0.1918f, 0.1131f), localAngles = new Vector3(12.473f, 301.5417f, 53.77709f), localScale = new Vector3(0.0275f, 0.0275f, 0.0275f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SprintOutOfCombat, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWhip"), childName = "RightThigh", localPos = new Vector3(0.10021f, 0.19304f, 0.01131f), localAngles = new Vector3(12.32924f, 354.3047f, 188.5467f), localScale = new Vector3(0.20314f, 0.20314f, 0.20314f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Phasing, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayStealthkit"), childName = "LeftForearm", localPos = new Vector3(0.01357f, 0.17453f, -0.04272f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.08026f, 0.15044f, 0.09674f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.PersonalShield, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShieldGenerator"), childName = "LeftSword", localPos = new Vector3(0.00853f, 0.52371f, 0.01078f), localAngles = new Vector3(0f, 325.2307f, 90f), localScale = new Vector3(0.1057f, 0.1057f, 0.1057f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ShockNearby, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTeslaCoil"), childName = "UpperTorso", localPos = new Vector3(-0.02777f, 0.36107f, -0.14248f), localAngles = new Vector3(276.7912f, 5.7396f, 355.8273f), localScale = new Vector3(0.22335f, 0.22335f, 0.22335f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ShieldOnly, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShieldBug"), childName = "Head", localPos = new Vector3(0.0868f, 0.3114f, 0f), localAngles = new Vector3(348.1819f, 268.0985f, 0.3896f), localScale = new Vector3(0.2f, 0.2f, 0.2f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShieldBug"), childName = "Head", localPos = new Vector3(-0.0868f, 0.3114f, 0f), localAngles = new Vector3(11.8181f, 268.0985f, 359.6104f), localScale = new Vector3(0.2f, 0.2f, -0.2f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.AlienHead, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAlienHead"), childName = "Sheath", localPos = new Vector3(1E-05f, 0.94332f, 0.11135f), localAngles = new Vector3(0f, 180f, 90f), localScale = new Vector3(0.6701f, 0.6701f, 0.6701f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HeadHunter, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySkullCrown"), childName = "UpperTorso", localPos = new Vector3(0.00647f, 0.24384f, -0.01213f), localAngles = new Vector3(0f, 331.8978f, 0f), localScale = new Vector3(0.17449f, 0.05816f, 0.06452f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.EnergizedOnEquipmentUse, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWarHorn"), childName = "UpperTorso", localPos = new Vector3(0.00717f, 0.19498f, 0.11129f), localAngles = new Vector3(334.3528f, 3.29621f, 49.13106f), localScale = new Vector3(0.16879f, 0.16879f, 0.16879f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FlatHealth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySteakCurved"), childName = "Sheath", localPos = new Vector3(-0.06551f, 1.03982f, -0.07041f), localAngles = new Vector3(351.0503f, 221.1535f, 271.1117f), localScale = new Vector3(0.1245f, 0.1155f, 0.1155f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Tooth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayToothMeshLarge"), childName = "Head", localPos = new Vector3(-0.00433f, -0.01464f, 0.06423f), localAngles = new Vector3(359.4362f, 358.3654f, 0.7617f), localScale = new Vector3(1.75305f, 1.88083f, 1.75305f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Pearl, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayPearl"), childName = "LeftSword", localPos = new Vector3(-0.00592f, 0.80435f, 0.00045f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ShinyPearl, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShinyPearl"), childName = "LeftSword", localPos = new Vector3(-0.00643f, 0.80702f, 0.00039f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BonusGoldPackOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTome"), childName = "RightCalf", localPos = new Vector3(0.09745f, 0.0877f, 0.00633f), localAngles = new Vector3(11.90231f, 95.97308f, 0f), localScale = new Vector3(0.0475f, 0.0475f, 0.0475f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Squid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySquidTurret"), childName = "UpperTorso", localPos = new Vector3(-0.04768f, 0.34592f, 0.16597f), localAngles = new Vector3(355.5121f, 84.89632f, 48.77805f), localScale = new Vector3(0.025f, 0.025f, 0.025f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Icicle, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFrostRelic"), childName = "UpperTorso", localPos = new Vector3(1.01295f, 0f, 0f), localAngles = new Vector3(89.0022f, 0f, 45f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Talisman, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTalisman"), childName = "Root", localPos = new Vector3(-0.99751f, 1.85894f, -0.85064f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LaserTurbine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLaserTurbine"), childName = "UpperTorso", localPos = new Vector3(0.77536f, 0.34358f, 0.24354f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.2159f, 0.2159f, 0.2159f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FocusConvergence, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFocusedConvergence"), childName = "Root", localPos = new Vector3(0.73994f, 1.7943f, -0.69907f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FireballsOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFireballsOnHit"), childName = "Head", localPos = new Vector3(0f, 0.3365f, -0.0878f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.0761f, 0.0761f, 0.0761f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SiphonOnLowHealth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySiphonOnLowHealth"), childName = "Sheath", localPos = new Vector3(0.0248f, 0.88311f, -0.1444f), localAngles = new Vector3(356.0917f, 90f, 270f), localScale = new Vector3(0.0385f, 0.0385f, 0.0385f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BleedOnHitAndExplode, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBleedOnHitAndExplode"), childName = "LeftSword", localPos = new Vector3(0.00387f, -0.19161f, 0.0172f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.04f, 0.05836f, 0.04f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MonstersOnShrineUse, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMonstersOnShrineUse"), childName = "UpperTorso", localPos = new Vector3(-0.10108f, 0.36802f, 0.17339f), localAngles = new Vector3(43.3337f, 61.03926f, 306.6078f), localScale = new Vector3(0.0246f, 0.0246f, 0.0246f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RandomDamageZone, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRandomDamageZone"), childName = "LeftShoulder", localPos = new Vector3(0.12821f, 0.07563f, 0.0779f), localAngles = new Vector3(36.34549f, 225.9725f, 243.2369f), localScale = new Vector3(0.0465f, 0.0465f, 0.0465f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Fruit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFruit"), childName = "RightBicep", localPos = new Vector3(0.05524f, -0.10129f, -0.04566f), localAngles = new Vector3(0f, 266.4461f, 15.53671f), localScale = new Vector3(0.2118f, 0.2118f, 0.2118f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixRed, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteHorn"), childName = "Head", localPos = new Vector3(0.1201f, 0.2516f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1036f, 0.1036f, 0.1036f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteHorn"), childName = "Head", localPos = new Vector3(-0.1201f, 0.2516f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(-0.1036f, 0.1036f, 0.1036f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixBlue, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteRhinoHorn"), childName = "Head", localPos = new Vector3(0f, 0.2648f, 0.1528f), localAngles = new Vector3(315f, 0f, 0f), localScale = new Vector3(0.2f, 0.2f, 0.2f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteRhinoHorn"), childName = "Head", localPos = new Vector3(0f, 0.3022f, 0.1055f), localAngles = new Vector3(300f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixWhite, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteIceCrown"), childName = "Head", localPos = new Vector3(0f, 0.2836f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.0265f, 0.0265f, 0.0265f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixPoison, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteUrchinCrown"), childName = "Head", localPos = new Vector3(0f, 0.2679f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.0496f, 0.0496f, 0.0496f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixHaunted, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteStealthCrown"), childName = "Head", localPos = new Vector3(0f, 0.2143f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.065f, 0.065f, 0.065f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.CritOnUse, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayNeuralImplant"), childName = "Head", localPos = new Vector3(0f, 0.11668f, 0.17221f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.2326f, 0.2326f, 0.2326f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.DroneBackup, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRadio"), childName = "RightThigh", localPos = new Vector3(-0.00654f, -0.15758f, -0.1324f), localAngles = new Vector3(0f, 180f, 180f), localScale = new Vector3(0.2641f, 0.2641f, 0.2641f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Lightning, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLightningArmRight"), childName = "LeftSword", localPos = new Vector3(-0.02996f, -0.27067f, 0.15244f), localAngles = new Vector3(0f, 0f, 238.2171f), localScale = new Vector3(0.3413f, 0.3413f, 0.3413f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.BurnNearby, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayPotion"), childName = "LowerTorso", localPos = new Vector3(0.17416f, 0.08335f, -0.05408f), localAngles = new Vector3(351.3204f, 323.1851f, 319.1746f), localScale = new Vector3(0.0307f, 0.0307f, 0.0307f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.CrippleWard, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEffigy"), childName = "RightThigh", localPos = new Vector3(0.01613f, 0.13071f, -0.09454f), localAngles = new Vector3(0f, 344.1937f, 178.2645f), localScale = new Vector3(0.2812f, 0.2812f, 0.2812f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.QuestVolatileBattery, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBatteryArray"), childName = "RightThigh", localPos = new Vector3(0.00873f, 0.0866f, -0.10671f), localAngles = new Vector3(0f, 353.4113f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.GainArmor, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayElephantFigure"), childName = "RightThigh", localPos = new Vector3(-0.00545f, 0.08966f, -0.12039f), localAngles = new Vector3(4.67978f, 73.36137f, 162.3351f), localScale = new Vector3(0.39443f, 0.39443f, 0.39443f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Recycle, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRecycler"), childName = "RightThigh", localPos = new Vector3(-0.01066f, 0.11366f, -0.09113f), localAngles = new Vector3(4.23232f, 267.2679f, 179.7982f), localScale = new Vector3(0.04456f, 0.04456f, 0.04456f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.FireBallDash, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEgg"), childName = "RightThigh", localPos = new Vector3(0f, 0.05669f, -0.09568f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.1891f, 0.1891f, 0.1891f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Cleanse, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWaterPack"), childName = "RightThigh", localPos = new Vector3(79f / (348f * MathF.PI), -0.12677f, -0.09402f), localAngles = new Vector3(354.2654f, 140.7363f, 177.7592f), localScale = new Vector3(0.03978f, 0.03978f, 0.03978f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Tonic, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTonic"), childName = "RightThigh", localPos = new Vector3(0.00356f, 0.07339f, -0.10153f), localAngles = new Vector3(1.25087f, 347.1954f, 185.4864f), localScale = new Vector3(0.1252f, 0.1252f, 0.1252f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Gateway, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayVase"), childName = "RightThigh", localPos = new Vector3(0.02416f, 0.08773f, -0.10565f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.0982f, 0.0982f, 0.0982f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Meteor, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMeteor"), childName = "Root", localPos = new Vector3(0.91472f, 1.62074f, -0.89822f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Saw, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySawmerang"), childName = "Root", localPos = new Vector3(0.89006f, 1.8051f, -0.9401f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Blackhole, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGravCube"), childName = "Root", localPos = new Vector3(0.91639f, 1.96016f, -0.83104f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.5f, 0.5f, 0.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Scanner, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayScanner"), childName = "Sheath", localPos = new Vector3(0.00311f, 1.07155f, -0.08704f), localAngles = new Vector3(0f, 180f, 265.1608f), localScale = new Vector3(0.10902f, 0.10902f, 0.10902f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.DeathProjectile, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDeathProjectile"), childName = "RightThigh", localPos = new Vector3(0f, 0.02801f, -0.1251f), localAngles = new Vector3(0f, 180f, 0f), localScale = new Vector3(0.0596f, 0.0596f, 0.0596f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.LifestealOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLifestealOnHit"), childName = "Head", localPos = new Vector3(-0.10566f, 0.2856f, -0.10307f), localAngles = new Vector3(44.0939f, 33.5151f, 43.5058f), localScale = new Vector3(0.09369f, 0.09369f, 0.09369f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.TeamWarCry, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTeamWarCry"), childName = "RightThigh", localPos = new Vector3(0f, 0.09469f, -0.10643f), localAngles = new Vector3(0.41844f, 180f, 180f), localScale = new Vector3(0.03592f, 0.03592f, 0.03592f), limbMask = (LimbFlags)0 } } } }); } internal static void SetUpSOTVDisplays() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //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_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) //IL_00e9: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: 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_0137: Unknown result type (might be due to invalid IL or missing references) //IL_013c: Unknown result type (might be due to invalid IL or missing references) //IL_0152: Unknown result type (might be due to invalid IL or missing references) //IL_0157: Unknown result type (might be due to invalid IL or missing references) //IL_016d: 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_017a: Unknown result type (might be due to invalid IL or missing references) //IL_017f: Unknown result type (might be due to invalid IL or missing references) //IL_0180: Unknown result type (might be due to invalid IL or missing references) //IL_018a: Unknown result type (might be due to invalid IL or missing references) //IL_018b: Unknown result type (might be due to invalid IL or missing references) //IL_0190: Unknown result type (might be due to invalid IL or missing references) //IL_019e: Unknown result type (might be due to invalid IL or missing references) //IL_01b4: Unknown result type (might be due to invalid IL or missing references) //IL_01c6: Unknown result type (might be due to invalid IL or missing references) //IL_01cf: Unknown result type (might be due to invalid IL or missing references) //IL_0202: Unknown result type (might be due to invalid IL or missing references) //IL_0207: Unknown result type (might be due to invalid IL or missing references) //IL_021d: Unknown result type (might be due to invalid IL or missing references) //IL_0222: Unknown result type (might be due to invalid IL or missing references) //IL_0238: Unknown result type (might be due to invalid IL or missing references) //IL_023d: Unknown result type (might be due to invalid IL or missing references) //IL_0245: Unknown result type (might be due to invalid IL or missing references) //IL_024a: Unknown result type (might be due to invalid IL or missing references) //IL_024b: Unknown result type (might be due to invalid IL or missing references) //IL_0255: Unknown result type (might be due to invalid IL or missing references) //IL_0256: 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_0269: Unknown result type (might be due to invalid IL or missing references) //IL_027f: Unknown result type (might be due to invalid IL or missing references) //IL_0291: 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_02cd: 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_02e8: Unknown result type (might be due to invalid IL or missing references) //IL_02ed: Unknown result type (might be due to invalid IL or missing references) //IL_0303: Unknown result type (might be due to invalid IL or missing references) //IL_0308: Unknown result type (might be due to invalid IL or missing references) //IL_0310: Unknown result type (might be due to invalid IL or missing references) //IL_0315: Unknown result type (might be due to invalid IL or missing references) //IL_0316: Unknown result type (might be due to invalid IL or missing references) //IL_0320: Unknown result type (might be due to invalid IL or missing references) //IL_0321: Unknown result type (might be due to invalid IL or missing references) //IL_0326: Unknown result type (might be due to invalid IL or missing references) //IL_0334: Unknown result type (might be due to invalid IL or missing references) //IL_034a: Unknown result type (might be due to invalid IL or missing references) //IL_035c: Unknown result type (might be due to invalid IL or missing references) //IL_0365: 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_039d: Unknown result type (might be due to invalid IL or missing references) //IL_03b3: Unknown result type (might be due to invalid IL or missing references) //IL_03b8: Unknown result type (might be due to invalid IL or missing references) //IL_03ce: Unknown result type (might be due to invalid IL or missing references) //IL_03d3: Unknown result type (might be due to invalid IL or missing references) //IL_03db: Unknown result type (might be due to invalid IL or missing references) //IL_03e0: Unknown result type (might be due to invalid IL or missing references) //IL_03e1: Unknown result type (might be due to invalid IL or missing references) //IL_03eb: Unknown result type (might be due to invalid IL or missing references) //IL_03ec: Unknown result type (might be due to invalid IL or missing references) //IL_03f1: 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_0415: Unknown result type (might be due to invalid IL or missing references) //IL_0427: Unknown result type (might be due to invalid IL or missing references) //IL_0430: Unknown result type (might be due to invalid IL or missing references) //IL_0463: Unknown result type (might be due to invalid IL or missing references) //IL_0468: Unknown result type (might be due to invalid IL or missing references) //IL_047e: 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_0499: Unknown result type (might be due to invalid IL or missing references) //IL_049e: Unknown result type (might be due to invalid IL or missing references) //IL_04a6: Unknown result type (might be due to invalid IL or missing references) //IL_04ab: Unknown result type (might be due to invalid IL or missing references) //IL_04ac: 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_04b7: Unknown result type (might be due to invalid IL or missing references) //IL_04bc: Unknown result type (might be due to invalid IL or missing references) //IL_04ca: Unknown result type (might be due to invalid IL or missing references) //IL_04e0: Unknown result type (might be due to invalid IL or missing references) //IL_04f2: Unknown result type (might be due to invalid IL or missing references) //IL_04fb: Unknown result type (might be due to invalid IL or missing references) //IL_052e: Unknown result type (might be due to invalid IL or missing references) //IL_0533: Unknown result type (might be due to invalid IL or missing references) //IL_0549: Unknown result type (might be due to invalid IL or missing references) //IL_054e: Unknown result type (might be due to invalid IL or missing references) //IL_0564: Unknown result type (might be due to invalid IL or missing references) //IL_0569: Unknown result type (might be due to invalid IL or missing references) //IL_0571: Unknown result type (might be due to invalid IL or missing references) //IL_0576: Unknown result type (might be due to invalid IL or missing references) //IL_0577: Unknown result type (might be due to invalid IL or missing references) //IL_0580: Unknown result type (might be due to invalid IL or missing references) //IL_0589: Unknown result type (might be due to invalid IL or missing references) //IL_05bc: Unknown result type (might be due to invalid IL or missing references) //IL_05c1: Unknown result type (might be due to invalid IL or missing references) //IL_05d7: 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_05f2: Unknown result type (might be due to invalid IL or missing references) //IL_05f7: Unknown result type (might be due to invalid IL or missing references) //IL_05ff: Unknown result type (might be due to invalid IL or missing references) //IL_0604: Unknown result type (might be due to invalid IL or missing references) //IL_0605: 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_0610: Unknown result type (might be due to invalid IL or missing references) //IL_0615: Unknown result type (might be due to invalid IL or missing references) //IL_0623: Unknown result type (might be due to invalid IL or missing references) //IL_0639: Unknown result type (might be due to invalid IL or missing references) //IL_064b: Unknown result type (might be due to invalid IL or missing references) //IL_0654: Unknown result type (might be due to invalid IL or missing references) //IL_0687: Unknown result type (might be due to invalid IL or missing references) //IL_068c: 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_06a7: Unknown result type (might be due to invalid IL or missing references) //IL_06bd: Unknown result type (might be due to invalid IL or missing references) //IL_06c2: Unknown result type (might be due to invalid IL or missing references) //IL_06ca: Unknown result type (might be due to invalid IL or missing references) //IL_06cf: Unknown result type (might be due to invalid IL or missing references) //IL_06d0: Unknown result type (might be due to invalid IL or missing references) //IL_06da: Unknown result type (might be due to invalid IL or missing references) //IL_06db: Unknown result type (might be due to invalid IL or missing references) //IL_06e0: Unknown result type (might be due to invalid IL or missing references) //IL_06ee: Unknown result type (might be due to invalid IL or missing references) //IL_0704: Unknown result type (might be due to invalid IL or missing references) //IL_0716: Unknown result type (might be due to invalid IL or missing references) //IL_071f: 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_0757: Unknown result type (might be due to invalid IL or missing references) //IL_076d: Unknown result type (might be due to invalid IL or missing references) //IL_0772: Unknown result type (might be due to invalid IL or missing references) //IL_0788: Unknown result type (might be due to invalid IL or missing references) //IL_078d: Unknown result type (might be due to invalid IL or missing references) //IL_0795: Unknown result type (might be due to invalid IL or missing references) //IL_079a: Unknown result type (might be due to invalid IL or missing references) //IL_079b: Unknown result type (might be due to invalid IL or missing references) //IL_07a5: Unknown result type (might be due to invalid IL or missing references) //IL_07a6: Unknown result type (might be due to invalid IL or missing references) //IL_07ab: Unknown result type (might be due to invalid IL or missing references) //IL_07b9: Unknown result type (might be due to invalid IL or missing references) //IL_07cf: Unknown result type (might be due to invalid IL or missing references) //IL_07e1: Unknown result type (might be due to invalid IL or missing references) //IL_07ea: Unknown result type (might be due to invalid IL or missing references) //IL_081d: Unknown result type (might be due to invalid IL or missing references) //IL_0822: Unknown result type (might be due to invalid IL or missing references) //IL_0838: Unknown result type (might be due to invalid IL or missing references) //IL_083d: Unknown result type (might be due to invalid IL or missing references) //IL_0853: Unknown result type (might be due to invalid IL or missing references) //IL_0858: Unknown result type (might be due to invalid IL or missing references) //IL_0860: Unknown result type (might be due to invalid IL or missing references) //IL_0865: Unknown result type (might be due to invalid IL or missing references) //IL_0866: Unknown result type (might be due to invalid IL or missing references) //IL_0870: 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_0876: 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_089a: Unknown result type (might be due to invalid IL or missing references) //IL_08ac: Unknown result type (might be due to invalid IL or missing references) //IL_08b5: Unknown result type (might be due to invalid IL or missing references) //IL_08e8: Unknown result type (might be due to invalid IL or missing references) //IL_08ed: Unknown result type (might be due to invalid IL or missing references) //IL_0903: Unknown result type (might be due to invalid IL or missing references) //IL_0908: Unknown result type (might be due to invalid IL or missing references) //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_0930: Unknown result type (might be due to invalid IL or missing references) //IL_0931: Unknown result type (might be due to invalid IL or missing references) //IL_093b: Unknown result type (might be due to invalid IL or missing references) //IL_093c: Unknown result type (might be due to invalid IL or missing references) //IL_0941: Unknown result type (might be due to invalid IL or missing references) //IL_094f: Unknown result type (might be due to invalid IL or missing references) //IL_0965: Unknown result type (might be due to invalid IL or missing references) //IL_0977: Unknown result type (might be due to invalid IL or missing references) //IL_0980: Unknown result type (might be due to invalid IL or missing references) //IL_09b3: Unknown result type (might be due to invalid IL or missing references) //IL_09b8: Unknown result type (might be due to invalid IL or missing references) //IL_09ce: Unknown result type (might be due to invalid IL or missing references) //IL_09d3: 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_09ee: Unknown result type (might be due to invalid IL or missing references) //IL_09f6: Unknown result type (might be due to invalid IL or missing references) //IL_09fb: Unknown result type (might be due to invalid IL or missing references) //IL_09fc: Unknown result type (might be due to invalid IL or missing references) //IL_0a06: Unknown result type (might be due to invalid IL or missing references) //IL_0a07: Unknown result type (might be due to invalid IL or missing references) //IL_0a0c: Unknown result type (might be due to invalid IL or missing references) //IL_0a1a: Unknown result type (might be due to invalid IL or missing references) //IL_0a30: Unknown result type (might be due to invalid IL or missing references) //IL_0a42: Unknown result type (might be due to invalid IL or missing references) //IL_0a4b: Unknown result type (might be due to invalid IL or missing references) //IL_0a7e: Unknown result type (might be due to invalid IL or missing references) //IL_0a83: Unknown result type (might be due to invalid IL or missing references) //IL_0a99: Unknown result type (might be due to invalid IL or missing references) //IL_0a9e: Unknown result type (might be due to invalid IL or missing references) //IL_0ab4: Unknown result type (might be due to invalid IL or missing references) //IL_0ab9: 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_0ac6: Unknown result type (might be due to invalid IL or missing references) //IL_0ac7: Unknown result type (might be due to invalid IL or missing references) //IL_0ad1: Unknown result type (might be due to invalid IL or missing references) //IL_0ad2: Unknown result type (might be due to invalid IL or missing references) //IL_0ad7: Unknown result type (might be due to invalid IL or missing references) //IL_0ae5: Unknown result type (might be due to invalid IL or missing references) //IL_0afb: Unknown result type (might be due to invalid IL or missing references) //IL_0b0d: Unknown result type (might be due to invalid IL or missing references) //IL_0b16: Unknown result type (might be due to invalid IL or missing references) //IL_0b49: Unknown result type (might be due to invalid IL or missing references) //IL_0b4e: Unknown result type (might be due to invalid IL or missing references) //IL_0b64: Unknown result type (might be due to invalid IL or missing references) //IL_0b69: Unknown result type (might be due to invalid IL or missing references) //IL_0b7f: Unknown result type (might be due to invalid IL or missing references) //IL_0b84: Unknown result type (might be due to invalid IL or missing references) //IL_0b8c: Unknown result type (might be due to invalid IL or missing references) //IL_0b91: Unknown result type (might be due to invalid IL or missing references) //IL_0b92: Unknown result type (might be due to invalid IL or missing references) //IL_0b9c: Unknown result type (might be due to invalid IL or missing references) //IL_0b9d: Unknown result type (might be due to invalid IL or missing references) //IL_0ba2: Unknown result type (might be due to invalid IL or missing references) //IL_0bb0: 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_0bd8: Unknown result type (might be due to invalid IL or missing references) //IL_0be1: Unknown result type (might be due to invalid IL or missing references) //IL_0c14: Unknown result type (might be due to invalid IL or missing references) //IL_0c19: Unknown result type (might be due to invalid IL or missing references) //IL_0c2f: 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_0c4a: Unknown result type (might be due to invalid IL or missing references) //IL_0c4f: Unknown result type (might be due to invalid IL or missing references) //IL_0c57: Unknown result type (might be due to invalid IL or missing references) //IL_0c5c: Unknown result type (might be due to invalid IL or missing references) //IL_0c5d: Unknown result type (might be due to invalid IL or missing references) //IL_0c67: Unknown result type (might be due to invalid IL or missing references) //IL_0c68: Unknown result type (might be due to invalid IL or missing references) //IL_0c6d: Unknown result type (might be due to invalid IL or missing references) //IL_0c7b: Unknown result type (might be due to invalid IL or missing references) //IL_0c91: Unknown result type (might be due to invalid IL or missing references) //IL_0ca3: Unknown result type (might be due to invalid IL or missing references) //IL_0cac: Unknown result type (might be due to invalid IL or missing references) //IL_0cdf: Unknown result type (might be due to invalid IL or missing references) //IL_0ce4: Unknown result type (might be due to invalid IL or missing references) //IL_0cfa: Unknown result type (might be due to invalid IL or missing references) //IL_0cff: Unknown result type (might be due to invalid IL or missing references) //IL_0d15: Unknown result type (might be due to invalid IL or missing references) //IL_0d1a: Unknown result type (might be due to invalid IL or missing references) //IL_0d22: Unknown result type (might be due to invalid IL or missing references) //IL_0d27: Unknown result type (might be due to invalid IL or missing references) //IL_0d28: Unknown result type (might be due to invalid IL or missing references) //IL_0d32: Unknown result type (might be due to invalid IL or missing references) //IL_0d33: Unknown result type (might be due to invalid IL or missing references) //IL_0d38: Unknown result type (might be due to invalid IL or missing references) //IL_0d46: Unknown result type (might be due to invalid IL or missing references) //IL_0d5c: Unknown result type (might be due to invalid IL or missing references) //IL_0d6e: Unknown result type (might be due to invalid IL or missing references) //IL_0d77: 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_0daf: Unknown result type (might be due to invalid IL or missing references) //IL_0dc5: Unknown result type (might be due to invalid IL or missing references) //IL_0dca: Unknown result type (might be due to invalid IL or missing references) //IL_0de0: 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_0ded: Unknown result type (might be due to invalid IL or missing references) //IL_0df2: Unknown result type (might be due to invalid IL or missing references) //IL_0df3: Unknown result type (might be due to invalid IL or missing references) //IL_0dfd: 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_0e03: 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_0e27: Unknown result type (might be due to invalid IL or missing references) //IL_0e39: Unknown result type (might be due to invalid IL or missing references) //IL_0e42: Unknown result type (might be due to invalid IL or missing references) //IL_0e75: Unknown result type (might be due to invalid IL or missing references) //IL_0e7a: Unknown result type (might be due to invalid IL or missing references) //IL_0e90: Unknown result type (might be due to invalid IL or missing references) //IL_0e95: Unknown result type (might be due to invalid IL or missing references) //IL_0eab: Unknown result type (might be due to invalid IL or missing references) //IL_0eb0: Unknown result type (might be due to invalid IL or missing references) //IL_0eb8: Unknown result type (might be due to invalid IL or missing references) //IL_0ebd: Unknown result type (might be due to invalid IL or missing references) //IL_0ebe: Unknown result type (might be due to invalid IL or missing references) //IL_0ec8: 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_0ece: Unknown result type (might be due to invalid IL or missing references) //IL_0edc: Unknown result type (might be due to invalid IL or missing references) //IL_0ef2: Unknown result type (might be due to invalid IL or missing references) //IL_0f04: Unknown result type (might be due to invalid IL or missing references) //IL_0f0d: Unknown result type (might be due to invalid IL or missing references) //IL_0f40: Unknown result type (might be due to invalid IL or missing references) //IL_0f45: Unknown result type (might be due to invalid IL or missing references) //IL_0f5b: Unknown result type (might be due to invalid IL or missing references) //IL_0f60: 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_0f7b: Unknown result type (might be due to invalid IL or missing references) //IL_0f83: 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_0f89: Unknown result type (might be due to invalid IL or missing references) //IL_0f93: Unknown result type (might be due to invalid IL or missing references) //IL_0f94: Unknown result type (might be due to invalid IL or missing references) //IL_0f99: Unknown result type (might be due to invalid IL or missing references) //IL_0fa7: Unknown result type (might be due to invalid IL or missing references) //IL_0fbd: Unknown result type (might be due to invalid IL or missing references) //IL_0fcf: Unknown result type (might be due to invalid IL or missing references) //IL_0fd8: Unknown result type (might be due to invalid IL or missing references) //IL_100b: Unknown result type (might be due to invalid IL or missing references) //IL_1010: Unknown result type (might be due to invalid IL or missing references) //IL_1026: Unknown result type (might be due to invalid IL or missing references) //IL_102b: Unknown result type (might be due to invalid IL or missing references) //IL_1041: Unknown result type (might be due to invalid IL or missing references) //IL_1046: 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_1053: Unknown result type (might be due to invalid IL or missing references) //IL_1054: Unknown result type (might be due to invalid IL or missing references) //IL_105e: Unknown result type (might be due to invalid IL or missing references) //IL_105f: Unknown result type (might be due to invalid IL or missing references) //IL_1064: Unknown result type (might be due to invalid IL or missing references) //IL_1072: Unknown result type (might be due to invalid IL or missing references) //IL_1088: Unknown result type (might be due to invalid IL or missing references) //IL_109a: Unknown result type (might be due to invalid IL or missing references) //IL_10a3: Unknown result type (might be due to invalid IL or missing references) //IL_10d6: Unknown result type (might be due to invalid IL or missing references) //IL_10db: Unknown result type (might be due to invalid IL or missing references) //IL_10f1: Unknown result type (might be due to invalid IL or missing references) //IL_10f6: Unknown result type (might be due to invalid IL or missing references) //IL_110c: Unknown result type (might be due to invalid IL or missing references) //IL_1111: Unknown result type (might be due to invalid IL or missing references) //IL_1119: Unknown result type (might be due to invalid IL or missing references) //IL_111e: Unknown result type (might be due to invalid IL or missing references) //IL_111f: Unknown result type (might be due to invalid IL or missing references) //IL_1129: Unknown result type (might be due to invalid IL or missing references) //IL_112a: Unknown result type (might be due to invalid IL or missing references) //IL_112f: Unknown result type (might be due to invalid IL or missing references) //IL_113d: Unknown result type (might be due to invalid IL or missing references) //IL_1153: 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_116e: Unknown result type (might be due to invalid IL or missing references) //IL_11a1: Unknown result type (might be due to invalid IL or missing references) //IL_11a6: Unknown result type (might be due to invalid IL or missing references) //IL_11bc: Unknown result type (might be due to invalid IL or missing references) //IL_11c1: Unknown result type (might be due to invalid IL or missing references) //IL_11d7: Unknown result type (might be due to invalid IL or missing references) //IL_11dc: Unknown result type (might be due to invalid IL or missing references) //IL_11e4: Unknown result type (might be due to invalid IL or missing references) //IL_11e9: Unknown result type (might be due to invalid IL or missing references) //IL_11ea: Unknown result type (might be due to invalid IL or missing references) //IL_11f4: Unknown result type (might be due to invalid IL or missing references) //IL_11f5: Unknown result type (might be due to invalid IL or missing references) //IL_11fa: Unknown result type (might be due to invalid IL or missing references) //IL_1208: Unknown result type (might be due to invalid IL or missing references) //IL_121e: Unknown result type (might be due to invalid IL or missing references) //IL_1230: Unknown result type (might be due to invalid IL or missing references) //IL_1239: Unknown result type (might be due to invalid IL or missing references) //IL_126c: Unknown result type (might be due to invalid IL or missing references) //IL_1271: Unknown result type (might be due to invalid IL or missing references) //IL_1287: Unknown result type (might be due to invalid IL or missing references) //IL_128c: Unknown result type (might be due to invalid IL or missing references) //IL_12a2: Unknown result type (might be due to invalid IL or missing references) //IL_12a7: Unknown result type (might be due to invalid IL or missing references) //IL_12af: Unknown result type (might be due to invalid IL or missing references) //IL_12b4: Unknown result type (might be due to invalid IL or missing references) //IL_12b5: Unknown result type (might be due to invalid IL or missing references) //IL_12bf: Unknown result type (might be due to invalid IL or missing references) //IL_12c0: Unknown result type (might be due to invalid IL or missing references) //IL_12c5: Unknown result type (might be due to invalid IL or missing references) //IL_12d3: Unknown result type (might be due to invalid IL or missing references) //IL_12e9: Unknown result type (might be due to invalid IL or missing references) //IL_12fb: 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_1337: 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_1352: Unknown result type (might be due to invalid IL or missing references) //IL_1357: Unknown result type (might be due to invalid IL or missing references) //IL_136d: Unknown result type (might be due to invalid IL or missing references) //IL_1372: Unknown result type (might be due to invalid IL or missing references) //IL_137a: Unknown result type (might be due to invalid IL or missing references) //IL_137f: Unknown result type (might be due to invalid IL or missing references) //IL_1380: Unknown result type (might be due to invalid IL or missing references) //IL_138a: Unknown result type (might be due to invalid IL or missing references) //IL_138b: Unknown result type (might be due to invalid IL or missing references) //IL_1390: Unknown result type (might be due to invalid IL or missing references) //IL_139e: Unknown result type (might be due to invalid IL or missing references) //IL_13b4: Unknown result type (might be due to invalid IL or missing references) //IL_13c6: Unknown result type (might be due to invalid IL or missing references) //IL_13cf: 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_1407: Unknown result type (might be due to invalid IL or missing references) //IL_141d: Unknown result type (might be due to invalid IL or missing references) //IL_1422: Unknown result type (might be due to invalid IL or missing references) //IL_1438: Unknown result type (might be due to invalid IL or missing references) //IL_143d: Unknown result type (might be due to invalid IL or missing references) //IL_1445: Unknown result type (might be due to invalid IL or missing references) //IL_144a: Unknown result type (might be due to invalid IL or missing references) //IL_144b: Unknown result type (might be due to invalid IL or missing references) //IL_1455: Unknown result type (might be due to invalid IL or missing references) //IL_1456: Unknown result type (might be due to invalid IL or missing references) //IL_145b: 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_147f: Unknown result type (might be due to invalid IL or missing references) //IL_1491: Unknown result type (might be due to invalid IL or missing references) //IL_149a: Unknown result type (might be due to invalid IL or missing references) //IL_14cd: Unknown result type (might be due to invalid IL or missing references) //IL_14d2: Unknown result type (might be due to invalid IL or missing references) //IL_14e8: Unknown result type (might be due to invalid IL or missing references) //IL_14ed: Unknown result type (might be due to invalid IL or missing references) //IL_1503: Unknown result type (might be due to invalid IL or missing references) //IL_1508: Unknown result type (might be due to invalid IL or missing references) //IL_1510: Unknown result type (might be due to invalid IL or missing references) //IL_1515: Unknown result type (might be due to invalid IL or missing references) //IL_1516: 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_1521: Unknown result type (might be due to invalid IL or missing references) //IL_1526: Unknown result type (might be due to invalid IL or missing references) //IL_1534: Unknown result type (might be due to invalid IL or missing references) //IL_154a: Unknown result type (might be due to invalid IL or missing references) //IL_155c: Unknown result type (might be due to invalid IL or missing references) //IL_1565: Unknown result type (might be due to invalid IL or missing references) //IL_1598: Unknown result type (might be due to invalid IL or missing references) //IL_159d: Unknown result type (might be due to invalid IL or missing references) //IL_15b3: Unknown result type (might be due to invalid IL or missing references) //IL_15b8: Unknown result type (might be due to invalid IL or missing references) //IL_15ce: Unknown result type (might be due to invalid IL or missing references) //IL_15d3: Unknown result type (might be due to invalid IL or missing references) //IL_15db: Unknown result type (might be due to invalid IL or missing references) //IL_15e0: Unknown result type (might be due to invalid IL or missing references) //IL_15e1: Unknown result type (might be due to invalid IL or missing references) //IL_15eb: Unknown result type (might be due to invalid IL or missing references) //IL_15ec: Unknown result type (might be due to invalid IL or missing references) //IL_15f1: Unknown result type (might be due to invalid IL or missing references) //IL_15ff: Unknown result type (might be due to invalid IL or missing references) //IL_1615: Unknown result type (might be due to invalid IL or missing references) //IL_1627: Unknown result type (might be due to invalid IL or missing references) //IL_1630: Unknown result type (might be due to invalid IL or missing references) //IL_1663: Unknown result type (might be due to invalid IL or missing references) //IL_1668: Unknown result type (might be due to invalid IL or missing references) //IL_167e: Unknown result type (might be due to invalid IL or missing references) //IL_1683: Unknown result type (might be due to invalid IL or missing references) //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_16ab: Unknown result type (might be due to invalid IL or missing references) //IL_16ac: Unknown result type (might be due to invalid IL or missing references) //IL_16b6: Unknown result type (might be due to invalid IL or missing references) //IL_16b7: Unknown result type (might be due to invalid IL or missing references) //IL_16bc: Unknown result type (might be due to invalid IL or missing references) //IL_16ca: Unknown result type (might be due to invalid IL or missing references) //IL_16e0: Unknown result type (might be due to invalid IL or missing references) //IL_16f2: Unknown result type (might be due to invalid IL or missing references) //IL_16fb: Unknown result type (might be due to invalid IL or missing references) //IL_172e: Unknown result type (might be due to invalid IL or missing references) //IL_1733: Unknown result type (might be due to invalid IL or missing references) //IL_1749: Unknown result type (might be due to invalid IL or missing references) //IL_174e: Unknown result type (might be due to invalid IL or missing references) //IL_1764: Unknown result type (might be due to invalid IL or missing references) //IL_1769: Unknown result type (might be due to invalid IL or missing references) //IL_1771: Unknown result type (might be due to invalid IL or missing references) //IL_1776: 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_1781: Unknown result type (might be due to invalid IL or missing references) //IL_1782: Unknown result type (might be due to invalid IL or missing references) //IL_1787: Unknown result type (might be due to invalid IL or missing references) //IL_1795: 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_17bd: Unknown result type (might be due to invalid IL or missing references) //IL_17c6: Unknown result type (might be due to invalid IL or missing references) //IL_17f9: Unknown result type (might be due to invalid IL or missing references) //IL_17fe: Unknown result type (might be due to invalid IL or missing references) //IL_1814: Unknown result type (might be due to invalid IL or missing references) //IL_1819: 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_1834: Unknown result type (might be due to invalid IL or missing references) //IL_183c: Unknown result type (might be due to invalid IL or missing references) //IL_1841: Unknown result type (might be due to invalid IL or missing references) //IL_1842: Unknown result type (might be due to invalid IL or missing references) //IL_184c: Unknown result type (might be due to invalid IL or missing references) //IL_184d: Unknown result type (might be due to invalid IL or missing references) //IL_1852: Unknown result type (might be due to invalid IL or missing references) //IL_1860: Unknown result type (might be due to invalid IL or missing references) //IL_1876: Unknown result type (might be due to invalid IL or missing references) //IL_1888: Unknown result type (might be due to invalid IL or missing references) //IL_1891: Unknown result type (might be due to invalid IL or missing references) //IL_18c4: Unknown result type (might be due to invalid IL or missing references) //IL_18c9: Unknown result type (might be due to invalid IL or missing references) //IL_18df: Unknown result type (might be due to invalid IL or missing references) //IL_18e4: Unknown result type (might be due to invalid IL or missing references) //IL_18fa: Unknown result type (might be due to invalid IL or missing references) //IL_18ff: Unknown result type (might be due to invalid IL or missing references) //IL_1907: Unknown result type (might be due to invalid IL or missing references) //IL_190c: Unknown result type (might be due to invalid IL or missing references) //IL_190d: Unknown result type (might be due to invalid IL or missing references) //IL_1917: Unknown result type (might be due to invalid IL or missing references) //IL_1918: Unknown result type (might be due to invalid IL or missing references) //IL_191d: Unknown result type (might be due to invalid IL or missing references) //IL_192b: Unknown result type (might be due to invalid IL or missing references) //IL_1941: Unknown result type (might be due to invalid IL or missing references) //IL_1953: Unknown result type (might be due to invalid IL or missing references) //IL_195c: Unknown result type (might be due to invalid IL or missing references) //IL_198f: Unknown result type (might be due to invalid IL or missing references) //IL_1994: Unknown result type (might be due to invalid IL or missing references) //IL_19aa: Unknown result type (might be due to invalid IL or missing references) //IL_19af: Unknown result type (might be due to invalid IL or missing references) //IL_19c5: Unknown result type (might be due to invalid IL or missing references) //IL_19ca: Unknown result type (might be due to invalid IL or missing references) //IL_19d2: Unknown result type (might be due to invalid IL or missing references) //IL_19d7: Unknown result type (might be due to invalid IL or missing references) //IL_19d8: Unknown result type (might be due to invalid IL or missing references) //IL_19e2: Unknown result type (might be due to invalid IL or missing references) //IL_19e3: 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_19f6: Unknown result type (might be due to invalid IL or missing references) //IL_1a0c: Unknown result type (might be due to invalid IL or missing references) //IL_1a1e: Unknown result type (might be due to invalid IL or missing references) //IL_1a27: Unknown result type (might be due to invalid IL or missing references) //IL_1a5a: Unknown result type (might be due to invalid IL or missing references) //IL_1a5f: Unknown result type (might be due to invalid IL or missing references) //IL_1a75: 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_1a90: Unknown result type (might be due to invalid IL or missing references) //IL_1a95: Unknown result type (might be due to invalid IL or missing references) //IL_1a9d: Unknown result type (might be due to invalid IL or missing references) //IL_1aa2: Unknown result type (might be due to invalid IL or missing references) //IL_1aa3: Unknown result type (might be due to invalid IL or missing references) //IL_1aad: Unknown result type (might be due to invalid IL or missing references) //IL_1aae: Unknown result type (might be due to invalid IL or missing references) //IL_1ab3: Unknown result type (might be due to invalid IL or missing references) //IL_1ac1: Unknown result type (might be due to invalid IL or missing references) //IL_1ad7: Unknown result type (might be due to invalid IL or missing references) //IL_1ae9: Unknown result type (might be due to invalid IL or missing references) //IL_1af2: Unknown result type (might be due to invalid IL or missing references) //IL_1b25: Unknown result type (might be due to invalid IL or missing references) //IL_1b2a: Unknown result type (might be due to invalid IL or missing references) //IL_1b40: Unknown result type (might be due to invalid IL or missing references) //IL_1b45: Unknown result type (might be due to invalid IL or missing references) //IL_1b5b: Unknown result type (might be due to invalid IL or missing references) //IL_1b60: Unknown result type (might be due to invalid IL or missing references) //IL_1b68: Unknown result type (might be due to invalid IL or missing references) //IL_1b6d: Unknown result type (might be due to invalid IL or missing references) //IL_1b6e: Unknown result type (might be due to invalid IL or missing references) //IL_1b77: Unknown result type (might be due to invalid IL or missing references) //IL_1b80: Unknown result type (might be due to invalid IL or missing references) //IL_1bb3: Unknown result type (might be due to invalid IL or missing references) //IL_1bb8: Unknown result type (might be due to invalid IL or missing references) //IL_1bce: Unknown result type (might be due to invalid IL or missing references) //IL_1bd3: Unknown result type (might be due to invalid IL or missing references) //IL_1be9: Unknown result type (might be due to invalid IL or missing references) //IL_1bee: Unknown result type (might be due to invalid IL or missing references) //IL_1bf6: Unknown result type (might be due to invalid IL or missing references) //IL_1bfb: Unknown result type (might be due to invalid IL or missing references) //IL_1bfc: Unknown result type (might be due to invalid IL or missing references) //IL_1c06: Unknown result type (might be due to invalid IL or missing references) //IL_1c07: Unknown result type (might be due to invalid IL or missing references) //IL_1c0c: Unknown result type (might be due to invalid IL or missing references) //IL_1c1a: Unknown result type (might be due to invalid IL or missing references) //IL_1c30: Unknown result type (might be due to invalid IL or missing references) //IL_1c42: Unknown result type (might be due to invalid IL or missing references) //IL_1c4b: Unknown result type (might be due to invalid IL or missing references) //IL_1c7e: Unknown result type (might be due to invalid IL or missing references) //IL_1c83: Unknown result type (might be due to invalid IL or missing references) //IL_1c99: Unknown result type (might be due to invalid IL or missing references) //IL_1c9e: Unknown result type (might be due to invalid IL or missing references) //IL_1cb4: Unknown result type (might be due to invalid IL or missing references) //IL_1cb9: Unknown result type (might be due to invalid IL or missing references) //IL_1cc1: Unknown result type (might be due to invalid IL or missing references) //IL_1cc6: Unknown result type (might be due to invalid IL or missing references) //IL_1cc7: Unknown result type (might be due to invalid IL or missing references) //IL_1cd1: Unknown result type (might be due to invalid IL or missing references) //IL_1cd2: Unknown result type (might be due to invalid IL or missing references) //IL_1cd7: Unknown result type (might be due to invalid IL or missing references) //IL_1ce5: Unknown result type (might be due to invalid IL or missing references) //IL_1d00: Unknown result type (might be due to invalid IL or missing references) //IL_1d12: Unknown result type (might be due to invalid IL or missing references) //IL_1d1b: Unknown result type (might be due to invalid IL or missing references) //IL_1d4e: Unknown result type (might be due to invalid IL or missing references) //IL_1d53: Unknown result type (might be due to invalid IL or missing references) //IL_1d69: Unknown result type (might be due to invalid IL or missing references) //IL_1d6e: Unknown result type (might be due to invalid IL or missing references) //IL_1d84: Unknown result type (might be due to invalid IL or missing references) //IL_1d89: Unknown result type (might be due to invalid IL or missing references) //IL_1d91: Unknown result type (might be due to invalid IL or missing references) //IL_1d96: Unknown result type (might be due to invalid IL or missing references) //IL_1d97: Unknown result type (might be due to invalid IL or missing references) //IL_1da1: Unknown result type (might be due to invalid IL or missing references) //IL_1da2: Unknown result type (might be due to invalid IL or missing references) //IL_1da7: Unknown result type (might be due to invalid IL or missing references) //IL_1db5: Unknown result type (might be due to invalid IL or missing references) //IL_1dcb: Unknown result type (might be due to invalid IL or missing references) //IL_1ddd: Unknown result type (might be due to invalid IL or missing references) //IL_1de6: Unknown result type (might be due to invalid IL or missing references) //IL_1e19: Unknown result type (might be due to invalid IL or missing references) //IL_1e1e: Unknown result type (might be due to invalid IL or missing references) //IL_1e34: Unknown result type (might be due to invalid IL or missing references) //IL_1e39: Unknown result type (might be due to invalid IL or missing references) //IL_1e4f: Unknown result type (might be due to invalid IL or missing references) //IL_1e54: Unknown result type (might be due to invalid IL or missing references) //IL_1e5c: Unknown result type (might be due to invalid IL or missing references) //IL_1e61: Unknown result type (might be due to invalid IL or missing references) //IL_1e62: Unknown result type (might be due to invalid IL or missing references) //IL_1e6c: Unknown result type (might be due to invalid IL or missing references) //IL_1e6d: Unknown result type (might be due to invalid IL or missing references) //IL_1e72: Unknown result type (might be due to invalid IL or missing references) //IL_1e80: Unknown result type (might be due to invalid IL or missing references) //IL_1e96: Unknown result type (might be due to invalid IL or missing references) //IL_1ea8: Unknown result type (might be due to invalid IL or missing references) //IL_1eb1: Unknown result type (might be due to invalid IL or missing references) //IL_1ee4: Unknown result type (might be due to invalid IL or missing references) //IL_1ee9: Unknown result type (might be due to invalid IL or missing references) //IL_1eff: Unknown result type (might be due to invalid IL or missing references) //IL_1f04: Unknown result type (might be due to invalid IL or missing references) //IL_1f1a: Unknown result type (might be due to invalid IL or missing references) //IL_1f1f: Unknown result type (might be due to invalid IL or missing references) //IL_1f27: Unknown result type (might be due to invalid IL or missing references) //IL_1f2c: Unknown result type (might be due to invalid IL or missing references) //IL_1f2d: Unknown result type (might be due to invalid IL or missing references) //IL_1f37: Unknown result type (might be due to invalid IL or missing references) //IL_1f38: Unknown result type (might be due to invalid IL or missing references) //IL_1f3d: Unknown result type (might be due to invalid IL or missing references) //IL_1f4b: Unknown result type (might be due to invalid IL or missing references) //IL_1f61: Unknown result type (might be due to invalid IL or missing references) //IL_1f73: Unknown result type (might be due to invalid IL or missing references) //IL_1f7c: Unknown result type (might be due to invalid IL or missing references) //IL_1faf: Unknown result type (might be due to invalid IL or missing references) //IL_1fb4: Unknown result type (might be due to invalid IL or missing references) //IL_1fca: Unknown result type (might be due to invalid IL or missing references) //IL_1fcf: Unknown result type (might be due to invalid IL or missing references) //IL_1fe5: Unknown result type (might be due to invalid IL or missing references) //IL_1fea: Unknown result type (might be due to invalid IL or missing references) //IL_1ff2: Unknown result type (might be due to invalid IL or missing references) //IL_1ff7: Unknown result type (might be due to invalid IL or missing references) //IL_1ff8: Unknown result type (might be due to invalid IL or missing references) //IL_2002: Unknown result type (might be due to invalid IL or missing references) //IL_2003: Unknown result type (might be due to invalid IL or missing references) //IL_2008: Unknown result type (might be due to invalid IL or missing references) //IL_2016: Unknown result type (might be due to invalid IL or missing references) //IL_202c: Unknown result type (might be due to invalid IL or missing references) //IL_203e: Unknown result type (might be due to invalid IL or missing references) //IL_2047: Unknown result type (might be due to invalid IL or missing references) //IL_207a: Unknown result type (might be due to invalid IL or missing references) //IL_207f: Unknown result type (might be due to invalid IL or missing references) //IL_2095: Unknown result type (might be due to invalid IL or missing references) //IL_209a: Unknown result type (might be due to invalid IL or missing references) //IL_20b0: Unknown result type (might be due to invalid IL or missing references) //IL_20b5: Unknown result type (might be due to invalid IL or missing references) //IL_20bd: Unknown result type (might be due to invalid IL or missing references) //IL_20c2: Unknown result type (might be due to invalid IL or missing references) //IL_20c3: Unknown result type (might be due to invalid IL or missing references) //IL_20cd: Unknown result type (might be due to invalid IL or missing references) //IL_20ce: Unknown result type (might be due to invalid IL or missing references) //IL_20d3: Unknown result type (might be due to invalid IL or missing references) itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.AttackSpeedAndMoveSpeed, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayCoffee"), childName = "Sheath", localPos = new Vector3(2E-05f, 1.1877f, -0.13739f), localAngles = new Vector3(285.2497f, 180f, 180f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BearVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBearVoid"), childName = "Sheath", localPos = new Vector3(0.03471f, 0.921f, 0.00051f), localAngles = new Vector3(0f, 99.07313f, 0f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BleedOnHitVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTriTipVoid"), childName = "LeftShoulder", localPos = new Vector3(-0.05909f, 0.15109f, -0.01084f), localAngles = new Vector3(310.1525f, 287.4936f, 1.71199f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ChainLightningVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayUkuleleVoid"), childName = "Sheath", localPos = new Vector3(-0.06241f, 0.19843f, -6E-05f), localAngles = new Vector3(0f, 270f, 0f), localScale = new Vector3(0.42182f, 0.42182f, 0.42182f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.CritDamage, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLaserSight"), childName = "LeftSword", localPos = new Vector3(-0.03196f, 0.26175f, -0.01478f), localAngles = new Vector3(-1E-05f, 150.9802f, 270f), localScale = new Vector3(0.05342f, 0.05333f, 0.05342f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.CritGlassesVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGlassesVoid"), childName = "Head", localPos = new Vector3(-1E-05f, 0.12899f, 0.10033f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.2f, 0.2f, 0.2f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ElementalRingVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayVoidRing"), childName = "LeftSword", localPos = new Vector3(0.00273f, 0.42742f, 0.00111f), localAngles = new Vector3(3.13484f, 60.92768f, 0f), localScale = new Vector3(0.31942f, 0.31942f, 0.5379f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayVoidRing"), childName = "RightSword", localPos = new Vector3(-0.00303f, 0.4244f, 0.00147f), localAngles = new Vector3(0.41682f, 295.3326f, 179.762f), localScale = new Vector3(0.31942f, 0.31942f, 0.5379f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.EquipmentMagazineVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFuelCellVoid"), childName = "UpperTorso", localPos = new Vector3(0.09643f, 0.29696f, 0.19777f), localAngles = new Vector3(357.3965f, 6.61138f, 42.95214f), localScale = new Vector3(0.08856f, 0.08856f, 0.08856f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExplodeOnDeathVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWillowWispVoid"), childName = "Sheath", localPos = new Vector3(0f, 0.7547f, -0.14558f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.0517f, 0.0517f, 0.0517f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExtraLifeVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHippoVoid"), childName = "Sheath", localPos = new Vector3(-0.09011f, 1.09214f, 0.01014f), localAngles = new Vector3(53.69547f, 270f, 0f), localScale = new Vector3(0.15939f, 0.15939f, 0.15939f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FragileDamageBonus, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDelicateWatch"), childName = "LeftForearm", localPos = new Vector3(0.00341f, 0.12912f, -0.00955f), localAngles = new Vector3(273.0452f, 180f, 180f), localScale = new Vector3(0.27691f, 0.63798f, 0.28076f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FreeChest, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShippingRequestForm"), childName = "Sheath", localPos = new Vector3(-0.03676f, 0.38409f, -0.00112f), localAngles = new Vector3(0f, 0f, 90f), localScale = new Vector3(0.27389f, 0.27389f, 0.27389f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.GoldOnHurt, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRollOfPennies"), childName = "Sheath", localPos = new Vector3(-0.03294f, 0.68094f, -0.03682f), localAngles = new Vector3(270.3316f, 0f, 0f), localScale = new Vector3(0.3f, 0.3f, 0.3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HalfAttackSpeedHalfCooldowns, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLunarShoulderNature"), childName = "LeftCalf", localPos = new Vector3(-0.0128f, 0.00383f, -0.00801f), localAngles = new Vector3(2.97071f, 104.0804f, 224.0453f), localScale = new Vector3(0.57998f, 0.57998f, 0.57998f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HalfSpeedDoubleHealth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLunarShoulderStone"), childName = "LeftThigh", localPos = new Vector3(0f, 0.34366f, -0.08853f), localAngles = new Vector3(0f, 285.1261f, 22.82187f), localScale = new Vector3(0.43907f, 0.43907f, 0.43907f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HealingPotion, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHealingPotion"), childName = "LowerTorso", localPos = new Vector3(0.17117f, 0.1308f, 0.07614f), localAngles = new Vector3(354.0988f, 0f, 0f), localScale = new Vector3(0.03732f, 0.03732f, 0.03732f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ImmuneToDebuff, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRainCoatBelt"), childName = "LowerTorso", localPos = new Vector3(0.17117f, 0.1308f, 0.07614f), localAngles = new Vector3(354.0988f, 0f, 0f), localScale = new Vector3(0.03732f, 0.03732f, 0.03732f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarSun, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySunHead"), childName = "Head", localPos = new Vector3(0.00074f, 0.09574f, 0.00163f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MinorConstructOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDefenseNucleus"), childName = "LowerTorso", localPos = new Vector3(1.18331f, -0.21229f, 0.26102f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.2f, 0.2f, 0.2f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MissileVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMissileLauncherVoid"), childName = "RightShoulder", localPos = new Vector3(-0.07261f, 0.28299f, 0.10388f), localAngles = new Vector3(0.22708f, 66.66266f, 54.73439f), localScale = new Vector3(0.05599f, 0.05599f, 0.05599f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MoreMissile, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayICBM"), childName = "Sheath", localPos = new Vector3(0f, 0.4067f, 0.13f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.06539f, 0.06539f, 0.06539f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MoveSpeedOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGrappleHook"), childName = "Sheath", localPos = new Vector3(2E-05f, 1.22835f, 0.01532f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MushroomVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMushroomVoid"), childName = "Head", localPos = new Vector3(0.07563f, 0.1722f, -0.12675f), localAngles = new Vector3(300.7634f, 45.573f, 280.4308f), localScale = new Vector3(0.02596f, 0.02596f, 0.02596f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.OutOfCombatArmor, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayOddlyShapedOpal"), childName = "LeftSword", localPos = new Vector3(-0.04285f, 0.48528f, 0.01709f), localAngles = new Vector3(0.17567f, 67.94237f, 275.3976f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.PermanentDebuffOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayScorpion"), childName = "LeftSword", localPos = new Vector3(0.00449f, -0.26235f, 0.00281f), localAngles = new Vector3(276.5228f, 234.7866f, 89.70537f), localScale = new Vector3(0.22732f, 0.24712f, 0.27836f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.PrimarySkillShuriken, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShuriken"), childName = "LeftSword", localPos = new Vector3(0.00812f, 0.4162f, -0.05968f), localAngles = new Vector3(0f, 52.39596f, 0f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RandomEquipmentTrigger, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBottledChaos"), childName = "LowerTorso", localPos = new Vector3(0.14501f, 0.25347f, 0.00179f), localAngles = new Vector3(10.18211f, 72.95691f, 0f), localScale = new Vector3(0.09362f, 0.09362f, 0.09362f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RandomlyLunar, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDomino"), childName = "Root", localPos = new Vector3(0.20765f, 1.55926f, -0.90771f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RegeneratingScrap, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRegeneratingScrap"), childName = "Sheath", localPos = new Vector3(0.00028f, 1.2977f, -0.03135f), localAngles = new Vector3(23.38339f, 177.2136f, 1.98894f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SlowOnHitVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBaubleVoid"), childName = "Sheath", localPos = new Vector3(0.02819f, 0.1081f, -0.03057f), localAngles = new Vector3(0f, 0f, 90f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.StrengthenBurn, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGasTank"), childName = "RightThigh", localPos = new Vector3(-0.02031f, 0.19291f, 0.12314f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.TreasureCacheVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayKeyVoid"), childName = "LeftSword", localPos = new Vector3(-0.0357f, 0.62201f, -0.01981f), localAngles = new Vector3(353.6411f, 238.7412f, 270.9926f), localScale = new Vector3(1.00032f, 0.78514f, 0.47765f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.VoidMegaCrabItem, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMegaCrabItem"), childName = "Sheath", localPos = new Vector3(-0.01494f, 0.81792f, 0.15959f), localAngles = new Vector3(329.2635f, 0f, 0f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.BossHunter, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTricornGhost"), childName = "Head", localPos = new Vector3(0f, 0.23565f, -0.02522f), localAngles = new Vector3(26.54721f, 0f, 0f), localScale = new Vector3(0.7786f, 0.7786f, 0.7786f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBlunderbuss"), childName = "Root", localPos = new Vector3(0.90845f, 1.75894f, -0.46179f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.7f, 0.7f, 0.7f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.BossHunterConsumed, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTricornUsed"), childName = "Head", localPos = new Vector3(0.0028f, 0.29773f, -0.02411f), localAngles = new Vector3(15.19365f, 358.9602f, 0.34339f), localScale = new Vector3(0.7786f, 0.7786f, 0.7786f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Elites.Earth.eliteEquipmentDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteMendingAntlers"), childName = "Head", localPos = new Vector3(0f, 0.19602f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.6314f, 0.6314f, 0.6314f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.EliteVoidEquipment, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAffixVoid"), childName = "Head", localPos = new Vector3(-1E-05f, 0.08919f, 0.08049f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Molotov, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMolotov"), childName = "RightThigh", localPos = new Vector3(0f, 0.10635f, -0.09816f), localAngles = new Vector3(0f, 180f, 180f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.MultiShopCard, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayExecutiveCard"), childName = "RightThigh", localPos = new Vector3(0.01045f, -0.13721f, -0.14026f), localAngles = new Vector3(3.03655f, 250.3085f, 92.42104f), localScale = new Vector3(0.7f, 0.7f, 0.7f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.VendingMachine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayVendingMachine"), childName = "RightThigh", localPos = new Vector3(0.03249f, 0.05521f, -0.06924f), localAngles = new Vector3(359.9791f, 179.6477f, 160.139f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); } internal static void SetUpSOTSDisplays() { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_015e: Unknown result type (might be due to invalid IL or missing references) //IL_0174: 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_018f: Unknown result type (might be due to invalid IL or missing references) //IL_0194: 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_01af: Unknown result type (might be due to invalid IL or missing references) //IL_01f3: Unknown result type (might be due to invalid IL or missing references) //IL_0209: Unknown result type (might be due to invalid IL or missing references) //IL_020e: Unknown result type (might be due to invalid IL or missing references) //IL_0224: Unknown result type (might be due to invalid IL or missing references) //IL_0229: Unknown result type (might be due to invalid IL or missing references) //IL_023f: Unknown result type (might be due to invalid IL or missing references) //IL_0244: Unknown result type (might be due to invalid IL or missing references) //IL_0288: Unknown result type (might be due to invalid IL or missing references) //IL_029e: Unknown result type (might be due to invalid IL or missing references) //IL_02a3: Unknown result type (might be due to invalid IL or missing references) //IL_02b9: Unknown result type (might be due to invalid IL or missing references) //IL_02be: Unknown result type (might be due to invalid IL or missing references) //IL_02d4: 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_031d: Unknown result type (might be due to invalid IL or missing references) //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_034e: Unknown result type (might be due to invalid IL or missing references) //IL_0353: Unknown result type (might be due to invalid IL or missing references) //IL_0369: Unknown result type (might be due to invalid IL or missing references) //IL_036e: Unknown result type (might be due to invalid IL or missing references) //IL_03b2: Unknown result type (might be due to invalid IL or missing references) //IL_03c8: Unknown result type (might be due to invalid IL or missing references) //IL_03cd: Unknown result type (might be due to invalid IL or missing references) //IL_03e3: Unknown result type (might be due to invalid IL or missing references) //IL_03e8: Unknown result type (might be due to invalid IL or missing references) //IL_03fe: Unknown result type (might be due to invalid IL or missing references) //IL_0403: Unknown result type (might be due to invalid IL or missing references) //IL_0447: Unknown result type (might be due to invalid IL or missing references) //IL_045d: Unknown result type (might be due to invalid IL or missing references) //IL_0462: Unknown result type (might be due to invalid IL or missing references) //IL_0478: Unknown result type (might be due to invalid IL or missing references) //IL_047d: Unknown result type (might be due to invalid IL or missing references) //IL_0493: Unknown result type (might be due to invalid IL or missing references) //IL_0498: Unknown result type (might be due to invalid IL or missing references) //IL_04dc: Unknown result type (might be due to invalid IL or missing references) //IL_04f2: Unknown result type (might be due to invalid IL or missing references) //IL_04f7: Unknown result type (might be due to invalid IL or missing references) //IL_050d: Unknown result type (might be due to invalid IL or missing references) //IL_0512: 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_052d: Unknown result type (might be due to invalid IL or missing references) //IL_0571: Unknown result type (might be due to invalid IL or missing references) //IL_0587: Unknown result type (might be due to invalid IL or missing references) //IL_058c: Unknown result type (might be due to invalid IL or missing references) //IL_05a2: Unknown result type (might be due to invalid IL or missing references) //IL_05a7: Unknown result type (might be due to invalid IL or missing references) //IL_05bd: Unknown result type (might be due to invalid IL or missing references) //IL_05c2: Unknown result type (might be due to invalid IL or missing references) //IL_0606: Unknown result type (might be due to invalid IL or missing references) //IL_061c: 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_0637: 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_0652: Unknown result type (might be due to invalid IL or missing references) //IL_0657: 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_06b1: Unknown result type (might be due to invalid IL or missing references) //IL_06b6: Unknown result type (might be due to invalid IL or missing references) //IL_06cc: Unknown result type (might be due to invalid IL or missing references) //IL_06d1: Unknown result type (might be due to invalid IL or missing references) //IL_06e7: Unknown result type (might be due to invalid IL or missing references) //IL_06ec: Unknown result type (might be due to invalid IL or missing references) //IL_0730: Unknown result type (might be due to invalid IL or missing references) //IL_0746: Unknown result type (might be due to invalid IL or missing references) //IL_074b: 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_0766: Unknown result type (might be due to invalid IL or missing references) //IL_077c: Unknown result type (might be due to invalid IL or missing references) //IL_0781: 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_07db: Unknown result type (might be due to invalid IL or missing references) //IL_07e0: Unknown result type (might be due to invalid IL or missing references) //IL_07f6: Unknown result type (might be due to invalid IL or missing references) //IL_07fb: Unknown result type (might be due to invalid IL or missing references) //IL_0811: Unknown result type (might be due to invalid IL or missing references) //IL_0816: Unknown result type (might be due to invalid IL or missing references) //IL_085a: Unknown result type (might be due to invalid IL or missing references) //IL_0870: Unknown result type (might be due to invalid IL or missing references) //IL_0875: 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_0890: Unknown result type (might be due to invalid IL or missing references) //IL_08a6: Unknown result type (might be due to invalid IL or missing references) //IL_08ab: Unknown result type (might be due to invalid IL or missing references) //IL_08ef: 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_090a: Unknown result type (might be due to invalid IL or missing references) //IL_0920: Unknown result type (might be due to invalid IL or missing references) //IL_0925: Unknown result type (might be due to invalid IL or missing references) //IL_093b: Unknown result type (might be due to invalid IL or missing references) //IL_0940: Unknown result type (might be due to invalid IL or missing references) //IL_0984: Unknown result type (might be due to invalid IL or missing references) //IL_099a: Unknown result type (might be due to invalid IL or missing references) //IL_099f: Unknown result type (might be due to invalid IL or missing references) //IL_09b5: Unknown result type (might be due to invalid IL or missing references) //IL_09ba: Unknown result type (might be due to invalid IL or missing references) //IL_09d0: Unknown result type (might be due to invalid IL or missing references) //IL_09d5: Unknown result type (might be due to invalid IL or missing references) //IL_0a19: 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_0a34: Unknown result type (might be due to invalid IL or missing references) //IL_0a4a: 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_0a65: Unknown result type (might be due to invalid IL or missing references) //IL_0a6a: 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_0ac4: 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_0adf: Unknown result type (might be due to invalid IL or missing references) //IL_0ae4: Unknown result type (might be due to invalid IL or missing references) //IL_0afa: Unknown result type (might be due to invalid IL or missing references) //IL_0aff: Unknown result type (might be due to invalid IL or missing references) CreateItemDisplaySafe("Bolstering Lantern", (Object)(object)Items.AttackSpeedPerNearbyAllyOrEnemy, ItemDisplays.LoadDisplay("DisplayRageCrystal"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.11483f, 0.08306f, -0.03632f), localAngles = new Vector3(1.85868f, 85.6585f, 356.9194f), localScale = new Vector3(0.36409f, 0.36409f, 0.36409f) } }); CreateItemDisplaySafe("War Bonds", (Object)(object)Items.BarrageOnBoss, ItemDisplays.LoadDisplay("DisplayTreasuryDividends"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape2", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.07999f, 0.07857f, 0.07274f), localAngles = new Vector3(7.16268f, 133.8675f, 4.86204f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Growth Nectar", (Object)(object)Items.BoostAllStats, ItemDisplays.LoadDisplay("DisplayGrowthNectar"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.20008f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.39709f, 0.39709f, 0.39709f) } }); CreateItemDisplaySafe("WarpedEcho", (Object)(object)Items.DelayedDamage, ItemDisplays.LoadDisplay("DisplayDelayedDamage"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.10656f, 0.07789f, -0.01431f), localAngles = new Vector3(0f, 55.01852f, 0f), localScale = new Vector3(0.04653f, 0.04653f, 0.04653f) } }); CreateItemDisplaySafe("Chance Doll", (Object)(object)Items.ExtraShrineItem, ItemDisplays.LoadDisplay("DisplayChanceDoll"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape1", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.04285f, 0.02298f, 0.10108f), localAngles = new Vector3(1.51416f, 301.9939f, 191.198f), localScale = new Vector3(0.11309f, 0.11309f, 0.11309f) } }); CreateItemDisplaySafe("Prayer Beads", (Object)(object)Items.ExtraStatsOnLevelUp, ItemDisplays.LoadDisplay("DisplayPrayerBeads"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "UpperTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.0133f, 0.46532f, 0.00389f), localAngles = new Vector3(352.9246f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Chronic Expansion", (Object)(object)Items.IncreaseDamageOnMultiKill, ItemDisplays.LoadDisplay("DisplayIncreaseDamageOnMultiKill"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape1", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00862f, 0.02659f, -0.15565f), localAngles = new Vector3(61.74395f, 314.1431f, 286.8138f), localScale = new Vector3(0.10412f, 0.10412f, 0.10412f) } }); CreateItemDisplaySafe("Luminous Shot", (Object)(object)Items.IncreasePrimaryDamage, ItemDisplays.LoadDisplay("DisplayIncreasePrimaryDamage"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape2", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.03105f, 0.31592f, -0.13673f), localAngles = new Vector3(347.0638f, 249.1795f, 4.86587f), localScale = new Vector3(0.66343f, 0.66343f, 0.66343f) } }); CreateItemDisplaySafe("Sonorous Whispoers", (Object)(object)Items.ItemDropChanceOnKill, ItemDisplays.LoadDisplay("DisplaySonorousEcho"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape1", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.08062f, -0.07033f, -0.05518f), localAngles = new Vector3(18.45943f, 248.218f, 0f), localScale = new Vector3(0.69246f, 0.69246f, 0.69246f) } }); CreateItemDisplaySafe("Breaching Fin", (Object)(object)Items.KnockBackHitEnemies, ItemDisplays.LoadDisplay("DisplayKnockbackFin"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftBicep", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.03414f, -0.10153f, -0.01454f), localAngles = new Vector3(350.6367f, 86.99752f, 179.6346f), localScale = new Vector3(0.55899f, 0.55899f, 0.55899f) } }); CreateItemDisplaySafe("Sale Star", (Object)(object)Items.LowerPricedChests, ItemDisplays.LoadDisplay("DisplayLowerPricedChests"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(1.0647f, 0.29998f, 0.74001f), localAngles = new Vector3(77.7935f, 20.95864f, 20.52471f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Runic Lens", (Object)(object)Items.MeteorAttackOnHighDamage, ItemDisplays.LoadDisplay("DisplayMeteorAttackOnHighDamage"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.07875f, 0.02808f, 0.0875f), localAngles = new Vector3(296.0536f, 46.41839f, 176.8436f), localScale = new Vector3(0.33254f, 0.33254f, 0.33254f) } }); CreateItemDisplaySafe("Longstanding Solitude", (Object)(object)Items.OnLevelUpFreeUnlock, ItemDisplays.LoadDisplay("DisplayOnLevelUpFreeUnlock"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.4432f, -0.3247f, 0.80411f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Electric Bomerang", (Object)(object)Items.StunAndPierce, ItemDisplays.LoadDisplay("DisplayElectricBoomerang"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape2", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.08385f, -0.14651f, -1E-05f), localAngles = new Vector3(1.16368f, 356.7469f, 910f / MathF.PI), localScale = new Vector3(0.26965f, 0.26965f, 0.26965f) } }); CreateItemDisplaySafe("Unstable Transporter", (Object)(object)Items.TeleportOnLowHealth, ItemDisplays.LoadDisplay("DisplayTeleportOnLowHealth"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.10899f, 0.01141f, -0.02374f), localAngles = new Vector3(0f, 274.1956f, 0f), localScale = new Vector3(0.36842f, 0.36842f, 0.36842f) } }); CreateItemDisplaySafe("Noxious Thorn", (Object)(object)Items.TriggerEnemyDebuffs, ItemDisplays.LoadDisplay("DisplayNoxiousThorn"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape1", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.05066f, 0.18981f, -0.2119f), localAngles = new Vector3(355.1344f, 37.09357f, 96.40051f), localScale = new Vector3(0.79232f, 0.79232f, 0.79232f) } }); CreateItemDisplaySafe("Aurelionite's Blessing", (Object)(object)Equipment.EliteAurelioniteEquipment, ItemDisplays.LoadDisplay("DisplayEliteAurelioniteEquipment"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.08008f, 0.08651f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.39733f, 0.51107f, 0.41631f) } }); CreateItemDisplaySafe("His Spiteful Boon", (Object)(object)Equipment.EliteBeadEquipment, ItemDisplays.LoadDisplay("DisplayEliteBeadSpike"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.26617f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.01687f, 0.01687f, 0.01687f) } }); CreateItemDisplaySafe("Seed of Life", (Object)(object)Equipment.HealAndRevive, ItemDisplays.LoadDisplay("DisplayHealAndRevive"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.11835f, 0.11012f, -0.03662f), localAngles = new Vector3(0f, 0f, 346.738f), localScale = new Vector3(0.17742f, 0.17742f, 0.17742f) } }); } internal static void SetUpACDisplays() { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_015e: Unknown result type (might be due to invalid IL or missing references) //IL_0174: 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_018f: Unknown result type (might be due to invalid IL or missing references) //IL_0194: 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_01af: Unknown result type (might be due to invalid IL or missing references) //IL_01f3: Unknown result type (might be due to invalid IL or missing references) //IL_0209: Unknown result type (might be due to invalid IL or missing references) //IL_020e: Unknown result type (might be due to invalid IL or missing references) //IL_0224: Unknown result type (might be due to invalid IL or missing references) //IL_0229: Unknown result type (might be due to invalid IL or missing references) //IL_023f: Unknown result type (might be due to invalid IL or missing references) //IL_0244: Unknown result type (might be due to invalid IL or missing references) //IL_0288: Unknown result type (might be due to invalid IL or missing references) //IL_029e: Unknown result type (might be due to invalid IL or missing references) //IL_02a3: Unknown result type (might be due to invalid IL or missing references) //IL_02b9: Unknown result type (might be due to invalid IL or missing references) //IL_02be: Unknown result type (might be due to invalid IL or missing references) //IL_02d4: 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_031d: Unknown result type (might be due to invalid IL or missing references) //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_034e: Unknown result type (might be due to invalid IL or missing references) //IL_0353: Unknown result type (might be due to invalid IL or missing references) //IL_0369: Unknown result type (might be due to invalid IL or missing references) //IL_036e: Unknown result type (might be due to invalid IL or missing references) //IL_03b2: Unknown result type (might be due to invalid IL or missing references) //IL_03c8: Unknown result type (might be due to invalid IL or missing references) //IL_03cd: Unknown result type (might be due to invalid IL or missing references) //IL_03e3: Unknown result type (might be due to invalid IL or missing references) //IL_03e8: Unknown result type (might be due to invalid IL or missing references) //IL_03fe: Unknown result type (might be due to invalid IL or missing references) //IL_0403: Unknown result type (might be due to invalid IL or missing references) //IL_0447: Unknown result type (might be due to invalid IL or missing references) //IL_045d: Unknown result type (might be due to invalid IL or missing references) //IL_0462: Unknown result type (might be due to invalid IL or missing references) //IL_0478: Unknown result type (might be due to invalid IL or missing references) //IL_047d: Unknown result type (might be due to invalid IL or missing references) //IL_0493: Unknown result type (might be due to invalid IL or missing references) //IL_0498: Unknown result type (might be due to invalid IL or missing references) //IL_04bc: Unknown result type (might be due to invalid IL or missing references) //IL_04d2: 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_04ed: Unknown result type (might be due to invalid IL or missing references) //IL_04f2: Unknown result type (might be due to invalid IL or missing references) //IL_0508: Unknown result type (might be due to invalid IL or missing references) //IL_050d: Unknown result type (might be due to invalid IL or missing references) //IL_0551: Unknown result type (might be due to invalid IL or missing references) //IL_0567: Unknown result type (might be due to invalid IL or missing references) //IL_056c: Unknown result type (might be due to invalid IL or missing references) //IL_0582: Unknown result type (might be due to invalid IL or missing references) //IL_0587: 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_05a2: Unknown result type (might be due to invalid IL or missing references) //IL_05e6: Unknown result type (might be due to invalid IL or missing references) //IL_05fc: Unknown result type (might be due to invalid IL or missing references) //IL_0601: Unknown result type (might be due to invalid IL or missing references) //IL_0617: Unknown result type (might be due to invalid IL or missing references) //IL_061c: Unknown result type (might be due to invalid IL or missing references) //IL_0632: Unknown result type (might be due to invalid IL or missing references) //IL_0637: Unknown result type (might be due to invalid IL or missing references) //IL_067b: Unknown result type (might be due to invalid IL or missing references) //IL_0691: Unknown result type (might be due to invalid IL or missing references) //IL_0696: Unknown result type (might be due to invalid IL or missing references) //IL_06ac: Unknown result type (might be due to invalid IL or missing references) //IL_06b1: Unknown result type (might be due to invalid IL or missing references) //IL_06c7: Unknown result type (might be due to invalid IL or missing references) //IL_06cc: Unknown result type (might be due to invalid IL or missing references) //IL_0710: Unknown result type (might be due to invalid IL or missing references) //IL_0726: Unknown result type (might be due to invalid IL or missing references) //IL_072b: 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_0746: Unknown result type (might be due to invalid IL or missing references) //IL_075c: 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_07a5: Unknown result type (might be due to invalid IL or missing references) //IL_07bb: Unknown result type (might be due to invalid IL or missing references) //IL_07c0: Unknown result type (might be due to invalid IL or missing references) //IL_07d6: Unknown result type (might be due to invalid IL or missing references) //IL_07db: Unknown result type (might be due to invalid IL or missing references) //IL_07f1: Unknown result type (might be due to invalid IL or missing references) //IL_07f6: Unknown result type (might be due to invalid IL or missing references) //IL_083a: Unknown result type (might be due to invalid IL or missing references) //IL_0850: Unknown result type (might be due to invalid IL or missing references) //IL_0855: Unknown result type (might be due to invalid IL or missing references) //IL_086b: Unknown result type (might be due to invalid IL or missing references) //IL_0870: Unknown result type (might be due to invalid IL or missing references) //IL_0886: 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_08cf: 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_08ea: Unknown result type (might be due to invalid IL or missing references) //IL_0900: 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_091b: Unknown result type (might be due to invalid IL or missing references) //IL_0920: 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_095a: Unknown result type (might be due to invalid IL or missing references) //IL_095f: Unknown result type (might be due to invalid IL or missing references) //IL_0975: Unknown result type (might be due to invalid IL or missing references) //IL_097a: 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_0995: Unknown result type (might be due to invalid IL or missing references) //IL_09d9: 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_09f4: Unknown result type (might be due to invalid IL or missing references) //IL_0a0a: Unknown result type (might be due to invalid IL or missing references) //IL_0a0f: Unknown result type (might be due to invalid IL or missing references) //IL_0a25: Unknown result type (might be due to invalid IL or missing references) //IL_0a2a: Unknown result type (might be due to invalid IL or missing references) //IL_0a4e: Unknown result type (might be due to invalid IL or missing references) //IL_0a64: Unknown result type (might be due to invalid IL or missing references) //IL_0a69: Unknown result type (might be due to invalid IL or missing references) //IL_0a7f: Unknown result type (might be due to invalid IL or missing references) //IL_0a84: Unknown result type (might be due to invalid IL or missing references) //IL_0a9a: Unknown result type (might be due to invalid IL or missing references) //IL_0a9f: Unknown result type (might be due to invalid IL or missing references) //IL_0ae3: Unknown result type (might be due to invalid IL or missing references) //IL_0af9: Unknown result type (might be due to invalid IL or missing references) //IL_0afe: Unknown result type (might be due to invalid IL or missing references) //IL_0b14: Unknown result type (might be due to invalid IL or missing references) //IL_0b19: 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_0b34: Unknown result type (might be due to invalid IL or missing references) //IL_0b78: 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_0b93: Unknown result type (might be due to invalid IL or missing references) //IL_0ba9: Unknown result type (might be due to invalid IL or missing references) //IL_0bae: Unknown result type (might be due to invalid IL or missing references) //IL_0bc4: Unknown result type (might be due to invalid IL or missing references) //IL_0bc9: Unknown result type (might be due to invalid IL or missing references) //IL_0c0d: Unknown result type (might be due to invalid IL or missing references) //IL_0c23: Unknown result type (might be due to invalid IL or missing references) //IL_0c28: Unknown result type (might be due to invalid IL or missing references) //IL_0c3e: Unknown result type (might be due to invalid IL or missing references) //IL_0c43: Unknown result type (might be due to invalid IL or missing references) //IL_0c59: Unknown result type (might be due to invalid IL or missing references) //IL_0c5e: Unknown result type (might be due to invalid IL or missing references) //IL_0ca2: 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_0cbd: Unknown result type (might be due to invalid IL or missing references) //IL_0cd3: Unknown result type (might be due to invalid IL or missing references) //IL_0cd8: Unknown result type (might be due to invalid IL or missing references) //IL_0cee: 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_0d37: Unknown result type (might be due to invalid IL or missing references) //IL_0d4d: 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_0d68: Unknown result type (might be due to invalid IL or missing references) //IL_0d6d: Unknown result type (might be due to invalid IL or missing references) //IL_0d83: Unknown result type (might be due to invalid IL or missing references) //IL_0d88: Unknown result type (might be due to invalid IL or missing references) //IL_0dac: Unknown result type (might be due to invalid IL or missing references) //IL_0dc2: Unknown result type (might be due to invalid IL or missing references) //IL_0dc7: 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_0de2: 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_0dfd: Unknown result type (might be due to invalid IL or missing references) CreateItemDisplaySafe("Eclipse Lite", (Object)(object)Items.BarrierOnCooldown, ItemDisplays.LoadDisplay("DisplayBarrierOnCooldown"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape2", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.03771f, 0.01884f, 0.17177f), localAngles = new Vector3(351.031f, 356.871f, 356.0896f), localScale = new Vector3(0.17504f, 0.17504f, 0.17504f) } }); CreateItemDisplaySafe("Quick Fix", (Object)(object)Items.BonusHealthBoost, ItemDisplays.LoadDisplay("DisplayQuickFix"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "UpperTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.16002f, 0.42309f, 0.02412f), localAngles = new Vector3(15.88792f, 355.3719f, 335.6528f), localScale = new Vector3(0.13751f, 0.13751f, 0.13751f) } }); CreateItemDisplaySafe("Seared Steak", (Object)(object)Items.CookedSteak, ItemDisplays.LoadDisplay("DisplayCookedSteakCurved"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "UpperTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.12468f, 0.42356f, 0.11239f), localAngles = new Vector3(312.6132f, 330.9472f, 86.49064f), localScale = new Vector3(0.04257f, 0.04257f, 0.04257f) } }); CreateItemDisplaySafe("Hiker's Boots", (Object)(object)Items.CritAtLowerElevation, ItemDisplays.LoadDisplay("CritAtLowerElevationDisplay"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.15441f, 0.06352f, 0.09417f), localAngles = new Vector3(1.24882f, 37.06404f, 175.2024f), localScale = new Vector3(0.1454f, 0.1454f, 0.1454f) } }); CreateItemDisplaySafe("Box of Dynamite", (Object)(object)Items.DronesDropDynamite, ItemDisplays.LoadDisplay("DronesDropDynamiteDisplay"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "UpperTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.1774f, 0.05814f, -0.0368f), localAngles = new Vector3(48.89821f, 269.5108f, 357.9553f), localScale = new Vector3(0.15305f, 0.15305f, 0.15305f) } }); CreateItemDisplaySafe("Substandard Duplicator", (Object)(object)Items.Duplicator, ItemDisplays.LoadDisplay("DisplayDuplicator"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightCalf", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, -0.07901f, -0.18494f), localAngles = new Vector3(336.4734f, 0f, 0f), localScale = new Vector3(0.41288f, 0.27496f, 0.29056f) } }); CreateItemDisplaySafe("Functional Coupler", (Object)(object)Items.ExtraEquipment, ItemDisplays.LoadDisplay("DisplayExtraEquipment"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.01938f, 0.05357f, -0.08184f), localAngles = new Vector3(1.34512f, 248.9072f, 183.4827f), localScale = new Vector3(0.24666f, 0.24666f, 0.24666f) } }); CreateItemDisplaySafe("Faraday Spur", (Object)(object)Items.JumpDamageStrike, ItemDisplays.LoadDisplay("DisplayJumpDamageStrike"), new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "RightFoot", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.02124f, 0.01057f, 0.02312f), localAngles = new Vector3(334.5913f, 318.3009f, 161.7729f), localScale = new Vector3(0.43547f, 0.71909f, 0.71909f) }, new IDRPlacementInfo { boneName = "LeftFoot", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.0183f, 0.00773f, 0.01642f), localAngles = new Vector3(331.8106f, 29.98034f, 205.9758f), localScale = new Vector3(0.71909f, 0.71909f, 0.71909f) } }); CreateItemDisplaySafe("Encrytped Cerebellum", (Object)(object)Items.PowerOrbSphere, ItemDisplays.LoadDisplay("DisplayPowerOrbSphere"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Orphaned Core", (Object)(object)Items.PhysicsProjectile, ItemDisplays.LoadDisplay("PhysicsProjectileDisplay"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftShoulder", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.00483f, 0.11455f, 0.02274f), localAngles = new Vector3(319.7375f, 343.4764f, 102.4453f), localScale = new Vector3(0.17901f, 0.17901f, 0.17901f) } }); CreateItemDisplaySafe("Prison Matrix", (Object)(object)Items.PowerCube, ItemDisplays.LoadDisplay("DisplayPowerCube"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Root", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.94858f, 1.86555f, -0.1763f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Ocular Battery", (Object)(object)Items.PowerOrbSphere, ItemDisplays.LoadDisplay("DisplayPowerOrbSphere"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Root", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.94858f, 1.86555f, -0.1763f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Sentry Key", (Object)(object)Items.PowerPyramid, ItemDisplays.LoadDisplay("DisplayPowerPyramid"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Root", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.94858f, 1.86555f, -0.1763f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Networked Suffering", (Object)(object)Items.SharedSuffering, ItemDisplays.LoadDisplay("SharedSufferingDisplay"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape2", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.03301f, 0.09521f, -0.16873f), localAngles = new Vector3(354.8665f, 297.2222f, 97.74903f), localScale = new Vector3(0.2f, 0.2f, 0.2f) } }); CreateItemDisplaySafe("Kinetic Dampener", (Object)(object)Items.ShieldBooster, ItemDisplays.LoadDisplay("DisplayShieldBooster"), new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.02611f, 1.02495f, 0.00474f), localAngles = new Vector3(0.22641f, 151.5495f, 269.9999f), localScale = new Vector3(0.55696f, 0.10558f, 0.13549f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.02611f, 1.02495f, 0.00474f), localAngles = new Vector3(0.13383f, 205.3379f, 270.1826f), localScale = new Vector3(0.55696f, 0.10558f, 0.13549f) } }); CreateItemDisplaySafe("Faulty Conductor", (Object)(object)Items.ShockDamageAura, ItemDisplays.LoadDisplay("ShockDamageAuraDisplay"), new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-2E-05f, 0.41701f, -7E-05f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.28418f, 0.28418f, 0.28418f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-2E-05f, 0.41701f, -7E-05f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.28418f, 0.28418f, 0.28418f) } }); CreateItemDisplaySafe("Collector's Compulsion", (Object)(object)Items.SpeedOnPickup, ItemDisplays.LoadDisplay("SpeedOnPickupDisplay"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00811f, 0.53809f, -0.0475f), localAngles = new Vector3(2.83575f, 89.298f, 269.9652f), localScale = new Vector3(0.2f, 0.2f, 0.2f) } }); CreateItemDisplaySafe("Hearty Stew", (Object)(object)Items.Stew, ItemDisplays.LoadDisplay("StewDisplay"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "UpperTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.1436f, 0.4273f, -0.07141f), localAngles = new Vector3(353.1453f, 359.8408f, 0.01848f), localScale = new Vector3(0.07276f, 0.07276f, 0.07276f) } }); CreateItemDisplaySafe("Ultimate Meal", (Object)(object)Items.UltimateMeal, ItemDisplays.LoadDisplay("UltimateMealDisplay"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.02025f, 0.40115f, -0.03384f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Sauteed Worms", (Object)(object)Items.WyrmOnHit, ItemDisplays.LoadDisplay("DisplayWyrmOnHit"), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.90416f, -4E-05f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.07673f, 0.11378f, 0.07624f) } }); CreateItemDisplaySafe("Deus Ex Machina", (Object)(object)Equipment.Parry, ItemDisplays.LoadDisplay("ParryDisplay"), new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-1E-05f, -0.33149f, -1E-05f), localAngles = new Vector3(0f, 57.67259f, 0f), localScale = new Vector3(1.60395f, 1.60395f, 1.60395f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.02611f, 1.02495f, 0.00474f), localAngles = new Vector3(0.13383f, 205.3379f, 270.1826f), localScale = new Vector3(0.55696f, 0.10558f, 0.13549f) } }); } internal static void SetUpAncientScepterDisplay() { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00f5: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) CreateItemDisplaySafe("Ancient Scepter", (Object)(object)((ItemBase)ItemBase.instance).ItemDef, ItemBase.displayPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00014f, 0.00538f, 0.00733f), localAngles = new Vector3(0f, 0f, 180f), localScale = new Vector3(0.5f, 0.4f, 0.5f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00014f, 0.00538f, 0.00733f), localAngles = new Vector3(0f, 0f, 180f), localScale = new Vector3(0.5f, 0.4f, 0.5f) } }); } internal static void SetUpStarstormDisplays() { //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_006c: 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_0087: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_00e8: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Unknown result type (might be due to invalid IL or missing references) //IL_0119: Unknown result type (might be due to invalid IL or missing references) //IL_011e: 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_017a: Unknown result type (might be due to invalid IL or missing references) //IL_017f: Unknown result type (might be due to invalid IL or missing references) //IL_0195: Unknown result type (might be due to invalid IL or missing references) //IL_019a: Unknown result type (might be due to invalid IL or missing references) //IL_01b0: Unknown result type (might be due to invalid IL or missing references) //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0211: Unknown result type (might be due to invalid IL or missing references) //IL_0216: Unknown result type (might be due to invalid IL or missing references) //IL_022c: Unknown result type (might be due to invalid IL or missing references) //IL_0231: Unknown result type (might be due to invalid IL or missing references) //IL_0247: Unknown result type (might be due to invalid IL or missing references) //IL_024c: Unknown result type (might be due to invalid IL or missing references) //IL_0292: 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_02ad: Unknown result type (might be due to invalid IL or missing references) //IL_02c3: Unknown result type (might be due to invalid IL or missing references) //IL_02c8: Unknown result type (might be due to invalid IL or missing references) //IL_02de: Unknown result type (might be due to invalid IL or missing references) //IL_02e3: Unknown result type (might be due to invalid IL or missing references) //IL_0329: Unknown result type (might be due to invalid IL or missing references) //IL_033f: 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_035a: Unknown result type (might be due to invalid IL or missing references) //IL_035f: Unknown result type (might be due to invalid IL or missing references) //IL_0375: Unknown result type (might be due to invalid IL or missing references) //IL_037a: Unknown result type (might be due to invalid IL or missing references) //IL_03c0: Unknown result type (might be due to invalid IL or missing references) //IL_03d6: Unknown result type (might be due to invalid IL or missing references) //IL_03db: Unknown result type (might be due to invalid IL or missing references) //IL_03f1: Unknown result type (might be due to invalid IL or missing references) //IL_03f6: Unknown result type (might be due to invalid IL or missing references) //IL_040c: 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_0457: Unknown result type (might be due to invalid IL or missing references) //IL_046d: Unknown result type (might be due to invalid IL or missing references) //IL_0472: Unknown result type (might be due to invalid IL or missing references) //IL_0488: Unknown result type (might be due to invalid IL or missing references) //IL_048d: Unknown result type (might be due to invalid IL or missing references) //IL_04a3: Unknown result type (might be due to invalid IL or missing references) //IL_04a8: Unknown result type (might be due to invalid IL or missing references) //IL_04ee: 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_0509: Unknown result type (might be due to invalid IL or missing references) //IL_051f: 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_053a: Unknown result type (might be due to invalid IL or missing references) //IL_053f: Unknown result type (might be due to invalid IL or missing references) //IL_0585: Unknown result type (might be due to invalid IL or missing references) //IL_059b: Unknown result type (might be due to invalid IL or missing references) //IL_05a0: Unknown result type (might be due to invalid IL or missing references) //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_05d1: Unknown result type (might be due to invalid IL or missing references) //IL_05d6: Unknown result type (might be due to invalid IL or missing references) //IL_061c: Unknown result type (might be due to invalid IL or missing references) //IL_0632: Unknown result type (might be due to invalid IL or missing references) //IL_0637: 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_0652: Unknown result type (might be due to invalid IL or missing references) //IL_0668: Unknown result type (might be due to invalid IL or missing references) //IL_066d: Unknown result type (might be due to invalid IL or missing references) //IL_06b3: Unknown result type (might be due to invalid IL or missing references) //IL_06c9: Unknown result type (might be due to invalid IL or missing references) //IL_06ce: Unknown result type (might be due to invalid IL or missing references) //IL_06e4: Unknown result type (might be due to invalid IL or missing references) //IL_06e9: Unknown result type (might be due to invalid IL or missing references) //IL_06ff: Unknown result type (might be due to invalid IL or missing references) //IL_0704: Unknown result type (might be due to invalid IL or missing references) //IL_074a: 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_0765: Unknown result type (might be due to invalid IL or missing references) //IL_077b: Unknown result type (might be due to invalid IL or missing references) //IL_0780: Unknown result type (might be due to invalid IL or missing references) //IL_0796: Unknown result type (might be due to invalid IL or missing references) //IL_079b: Unknown result type (might be due to invalid IL or missing references) //IL_07e1: Unknown result type (might be due to invalid IL or missing references) //IL_07f7: Unknown result type (might be due to invalid IL or missing references) //IL_07fc: 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_0817: Unknown result type (might be due to invalid IL or missing references) //IL_082d: Unknown result type (might be due to invalid IL or missing references) //IL_0832: Unknown result type (might be due to invalid IL or missing references) //IL_0878: Unknown result type (might be due to invalid IL or missing references) //IL_088e: Unknown result type (might be due to invalid IL or missing references) //IL_0893: Unknown result type (might be due to invalid IL or missing references) //IL_08a9: Unknown result type (might be due to invalid IL or missing references) //IL_08ae: Unknown result type (might be due to invalid IL or missing references) //IL_08c4: Unknown result type (might be due to invalid IL or missing references) //IL_08c9: Unknown result type (might be due to invalid IL or missing references) //IL_090f: Unknown result type (might be due to invalid IL or missing references) //IL_0925: Unknown result type (might be due to invalid IL or missing references) //IL_092a: Unknown result type (might be due to invalid IL or missing references) //IL_0940: Unknown result type (might be due to invalid IL or missing references) //IL_0945: Unknown result type (might be due to invalid IL or missing references) //IL_095b: Unknown result type (might be due to invalid IL or missing references) //IL_0960: Unknown result type (might be due to invalid IL or missing references) //IL_09a6: Unknown result type (might be due to invalid IL or missing references) //IL_09bc: Unknown result type (might be due to invalid IL or missing references) //IL_09c1: 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_09dc: Unknown result type (might be due to invalid IL or missing references) //IL_09f2: 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_0a3d: Unknown result type (might be due to invalid IL or missing references) //IL_0a53: Unknown result type (might be due to invalid IL or missing references) //IL_0a58: Unknown result type (might be due to invalid IL or missing references) //IL_0a6e: Unknown result type (might be due to invalid IL or missing references) //IL_0a73: Unknown result type (might be due to invalid IL or missing references) //IL_0a89: Unknown result type (might be due to invalid IL or missing references) //IL_0a8e: 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_0aea: Unknown result type (might be due to invalid IL or missing references) //IL_0aef: Unknown result type (might be due to invalid IL or missing references) //IL_0b05: Unknown result type (might be due to invalid IL or missing references) //IL_0b0a: Unknown result type (might be due to invalid IL or missing references) //IL_0b20: Unknown result type (might be due to invalid IL or missing references) //IL_0b25: Unknown result type (might be due to invalid IL or missing references) //IL_0b6b: Unknown result type (might be due to invalid IL or missing references) //IL_0b81: Unknown result type (might be due to invalid IL or missing references) //IL_0b86: Unknown result type (might be due to invalid IL or missing references) //IL_0b9c: Unknown result type (might be due to invalid IL or missing references) //IL_0ba1: Unknown result type (might be due to invalid IL or missing references) //IL_0bb7: Unknown result type (might be due to invalid IL or missing references) //IL_0bbc: Unknown result type (might be due to invalid IL or missing references) //IL_0c02: Unknown result type (might be due to invalid IL or missing references) //IL_0c18: Unknown result type (might be due to invalid IL or missing references) //IL_0c1d: Unknown result type (might be due to invalid IL or missing references) //IL_0c33: Unknown result type (might be due to invalid IL or missing references) //IL_0c38: Unknown result type (might be due to invalid IL or missing references) //IL_0c4e: Unknown result type (might be due to invalid IL or missing references) //IL_0c53: Unknown result type (might be due to invalid IL or missing references) //IL_0c99: Unknown result type (might be due to invalid IL or missing references) //IL_0caf: Unknown result type (might be due to invalid IL or missing references) //IL_0cb4: Unknown result type (might be due to invalid IL or missing references) //IL_0cca: Unknown result type (might be due to invalid IL or missing references) //IL_0ccf: Unknown result type (might be due to invalid IL or missing references) //IL_0ce5: Unknown result type (might be due to invalid IL or missing references) //IL_0cea: Unknown result type (might be due to invalid IL or missing references) //IL_0d30: Unknown result type (might be due to invalid IL or missing references) //IL_0d46: 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_0d61: Unknown result type (might be due to invalid IL or missing references) //IL_0d66: Unknown result type (might be due to invalid IL or missing references) //IL_0d7c: Unknown result type (might be due to invalid IL or missing references) //IL_0d81: Unknown result type (might be due to invalid IL or missing references) CreateItemDisplaySafe("Armed Backpack", (Object)(object)Items.ArmedBackpack, SS2Assets.LoadAsset("displayArmedBackpack", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "UpperTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.02334f, 0.37317f, -0.17011f), localAngles = new Vector3(350.3167f, 180.8188f, 359.9147f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Coffee Bag", (Object)(object)Items.CoffeeBag, SS2Assets.LoadAsset("DisplayCoffeeBag", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 1.00597f, 0.20276f), localAngles = new Vector3(-1E-05f, 270f, 90f), localScale = new Vector3(0.09083f, 0.09083f, 0.09083f) } }); CreateItemDisplaySafe("Detritive Trematode", (Object)(object)Items.DetritiveTrematode, SS2Assets.LoadAsset("DisplayTrematode", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightBicep", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.03088f, 0.10879f, 0.1045f), localAngles = new Vector3(345.2516f, 16.49813f, 189.8873f), localScale = new Vector3(0.1f, 0.1f, 0.1f) } }); CreateItemDisplaySafe("Fork", (Object)(object)Items.Fork, SS2Assets.LoadAsset("DisplayFork", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.04866f, -0.01766f, 0.13921f), localAngles = new Vector3(333.6812f, 8.64363f, 348.295f), localScale = new Vector3(0.02906f, 0.02906f, 0.02906f) } }); CreateItemDisplaySafe("Hunter's Sigil", (Object)(object)Items.HuntersSigil, SS2Assets.LoadAsset("DisplaySigil", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftThigh", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.04355f, 0.23873f, -0.08158f), localAngles = new Vector3(7.53065f, 202.3671f, 32.2723f), localScale = new Vector3(0.06784f, 0.06784f, 0.06784f) } }); CreateItemDisplaySafe("Insecticide", (Object)(object)Items.Insecticide, SS2Assets.LoadAsset("DisplayInsecticide", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.02728f, 1.35446f, -0.0837f), localAngles = new Vector3(37.30688f, 19.30137f, 97.66315f), localScale = new Vector3(0.05566f, 0.05566f, 0.05566f) } }); CreateItemDisplaySafe("Prototype Jet Boots", (Object)(object)Items.JetBoots, SS2Assets.LoadAsset("DisplayJetBoots", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftCalf", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.01055f, 0.27632f, -0.01561f), localAngles = new Vector3(359.4267f, 0.18651f, 180.3325f), localScale = new Vector3(1.25218f, 0.87882f, 0.85887f) } }); CreateItemDisplaySafe("Low Quality Speakers", (Object)(object)Items.LowQualitySpeakers, SS2Assets.LoadAsset("DisplayLowQualitySpeaker", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.06332f, 0.24004f, -0.00994f), localAngles = new Vector3(27.53126f, 278.38f, 101.7007f), localScale = new Vector3(0.13527f, 0.1267f, 0.1267f) } }); CreateItemDisplaySafe("Needles", (Object)(object)Items.Needles, SS2Assets.LoadAsset("DisplayNeedles", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightFoot", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.02748f, -0.04494f, 0.086f), localAngles = new Vector3(287.7839f, 90.05253f, 48.9038f), localScale = new Vector3(0.16549f, 0.16549f, 0.16549f) } }); CreateItemDisplaySafe("Relic of Termination", (Object)(object)Items.RelicOfTermination, SS2Assets.LoadAsset("PickupRelicOfTermination", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(1E-05f, 0.8358f, -0.17227f), localAngles = new Vector3(333.4484f, 90f, 269.9999f), localScale = new Vector3(0.04967f, 0.04967f, 0.04967f) } }); CreateItemDisplaySafe("X-4 Stimulant", (Object)(object)Items.X4, SS2Assets.LoadAsset("DisplayX4", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.18298f, 0.06308f, 0.01928f), localAngles = new Vector3(359.92f, 358.4648f, 171.2372f), localScale = new Vector3(1.46967f, 1.17574f, 1.46967f) } }); CreateItemDisplaySafe("Broken Blood Tester", (Object)(object)Items.BloodTester, SS2Assets.LoadAsset("DisplayBloodTester", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightThigh", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.06553f, 0.15746f, 0.09445f), localAngles = new Vector3(0.79923f, 130.2249f, 93.00463f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Cryptic Source", (Object)(object)Items.CrypticSource, SS2Assets.LoadAsset("DisplayCrypticSource", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(2E-05f, 1.29466f, 0.06137f), localAngles = new Vector3(0f, 90f, 46.54949f), localScale = new Vector3(1f, 1f, 0.25f) } }); CreateItemDisplaySafe("Erratic Gadget", (Object)(object)Items.ErraticGadget, SS2Assets.LoadAsset("DisplayErraticGadget", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-1E-05f, -0.20439f, -2E-05f), localAngles = new Vector3(0f, 323.872f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Flower Turret", (Object)(object)Items.FlowerTurret, SS2Assets.LoadAsset("DisplayFlowerTurret", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.40513f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.47381f, 0.47381f, 0.47381f) } }); CreateItemDisplaySafe("Guarding Amulet", (Object)(object)Items.GuardingAmulet, SS2Assets.LoadAsset("DisplayAmulet", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.01218f, 0.06846f, -0.14492f), localAngles = new Vector3(0f, 180f, 201.8207f), localScale = new Vector3(0.78323f, 0.47735f, 1.16724f) } }); CreateItemDisplaySafe("Portable Reactor", (Object)(object)Items.PortableReactor, SS2Assets.LoadAsset("DisplayPortableReactor", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.0089f, 0.70045f, 0.25609f), localAngles = new Vector3(359.1259f, 77.26666f, 270.1976f), localScale = new Vector3(0.17068f, 0.17068f, 0.17068f) } }); CreateItemDisplaySafe("Haunted Lamp", (Object)(object)Items.ShackledLamp, SS2Assets.LoadAsset("DisplayLampFollower", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Root", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.89187f, 1.91027f, -0.63209f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.5f, 0.5f, 0.5f) } }); CreateItemDisplaySafe("Strange Can", (Object)(object)Items.StrangeCan, SS2Assets.LoadAsset("DisplayStrangeCan", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftThigh", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00823f, 0.38449f, -0.09873f), localAngles = new Vector3(29.42031f, 272.3246f, 257.1178f), localScale = new Vector3(0.75153f, 0.75153f, 0.75153f) } }); CreateItemDisplaySafe("Swift Skateboard", (Object)(object)Items.SwiftSkateboard, SS2Assets.LoadAsset("DisplaySkateboard", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.07623f, 0.67558f, -0.0002f), localAngles = new Vector3(0.07517f, 266.2211f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("Universal Charger", (Object)(object)Items.UniversalCharger, SS2Assets.LoadAsset("DisplayUniversalCharger", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.16285f, 0.04836f, -0.00151f), localAngles = new Vector3(9.82483f, 89.48551f, 269.452f), localScale = new Vector3(0.80787f, 0.80787f, 0.80787f) } }); CreateItemDisplaySafe("Uranium Horseshoe", (Object)(object)Items.UraniumHorseshoe, SS2Assets.LoadAsset("DisplayUraniumHorseshoe", (SS2Bundle)11), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape2", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.02058f, 0.45273f, -0.0467f), localAngles = new Vector3(0f, 81.90677f, 0f), localScale = new Vector3(1f, 1f, 1f) } }); CreateItemDisplaySafe("White Flag", (Object)(object)Equipments.WhiteFlag, SS2Assets.LoadAsset("DisplayWhiteFlag", (SS2Bundle)10), new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(2E-05f, 1.25534f, -6E-05f), localAngles = new Vector3(348.5583f, 77.94911f, 317.101f), localScale = new Vector3(2f, 2f, 2f) } }); } internal static void SetUpAetheriumDisplays() { } internal static void SetUpMysticsItemsDisplays() { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_015e: Unknown result type (might be due to invalid IL or missing references) //IL_0174: 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_018f: Unknown result type (might be due to invalid IL or missing references) //IL_0194: 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_01af: Unknown result type (might be due to invalid IL or missing references) //IL_01f3: Unknown result type (might be due to invalid IL or missing references) //IL_0209: Unknown result type (might be due to invalid IL or missing references) //IL_020e: Unknown result type (might be due to invalid IL or missing references) //IL_0224: Unknown result type (might be due to invalid IL or missing references) //IL_0229: Unknown result type (might be due to invalid IL or missing references) //IL_023f: Unknown result type (might be due to invalid IL or missing references) //IL_0244: Unknown result type (might be due to invalid IL or missing references) //IL_0288: Unknown result type (might be due to invalid IL or missing references) //IL_029e: Unknown result type (might be due to invalid IL or missing references) //IL_02a3: Unknown result type (might be due to invalid IL or missing references) //IL_02b9: Unknown result type (might be due to invalid IL or missing references) //IL_02be: Unknown result type (might be due to invalid IL or missing references) //IL_02d4: 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_031d: Unknown result type (might be due to invalid IL or missing references) //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_034e: Unknown result type (might be due to invalid IL or missing references) //IL_0353: Unknown result type (might be due to invalid IL or missing references) //IL_0369: Unknown result type (might be due to invalid IL or missing references) //IL_036e: Unknown result type (might be due to invalid IL or missing references) //IL_03b2: Unknown result type (might be due to invalid IL or missing references) //IL_03c8: Unknown result type (might be due to invalid IL or missing references) //IL_03cd: Unknown result type (might be due to invalid IL or missing references) //IL_03e3: Unknown result type (might be due to invalid IL or missing references) //IL_03e8: Unknown result type (might be due to invalid IL or missing references) //IL_03fe: Unknown result type (might be due to invalid IL or missing references) //IL_0403: Unknown result type (might be due to invalid IL or missing references) //IL_0447: Unknown result type (might be due to invalid IL or missing references) //IL_045d: Unknown result type (might be due to invalid IL or missing references) //IL_0462: Unknown result type (might be due to invalid IL or missing references) //IL_0478: Unknown result type (might be due to invalid IL or missing references) //IL_047d: Unknown result type (might be due to invalid IL or missing references) //IL_0493: Unknown result type (might be due to invalid IL or missing references) //IL_0498: Unknown result type (might be due to invalid IL or missing references) //IL_04dc: Unknown result type (might be due to invalid IL or missing references) //IL_04f2: Unknown result type (might be due to invalid IL or missing references) //IL_04f7: Unknown result type (might be due to invalid IL or missing references) //IL_050d: Unknown result type (might be due to invalid IL or missing references) //IL_0512: 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_052d: Unknown result type (might be due to invalid IL or missing references) //IL_0551: Unknown result type (might be due to invalid IL or missing references) //IL_0567: Unknown result type (might be due to invalid IL or missing references) //IL_056c: Unknown result type (might be due to invalid IL or missing references) //IL_0582: Unknown result type (might be due to invalid IL or missing references) //IL_0587: 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_05a2: Unknown result type (might be due to invalid IL or missing references) //IL_05e6: Unknown result type (might be due to invalid IL or missing references) //IL_05fc: Unknown result type (might be due to invalid IL or missing references) //IL_0601: Unknown result type (might be due to invalid IL or missing references) //IL_0617: Unknown result type (might be due to invalid IL or missing references) //IL_061c: Unknown result type (might be due to invalid IL or missing references) //IL_0632: Unknown result type (might be due to invalid IL or missing references) //IL_0637: Unknown result type (might be due to invalid IL or missing references) //IL_067b: Unknown result type (might be due to invalid IL or missing references) //IL_0691: Unknown result type (might be due to invalid IL or missing references) //IL_0696: Unknown result type (might be due to invalid IL or missing references) //IL_06ac: Unknown result type (might be due to invalid IL or missing references) //IL_06b1: Unknown result type (might be due to invalid IL or missing references) //IL_06c7: Unknown result type (might be due to invalid IL or missing references) //IL_06cc: Unknown result type (might be due to invalid IL or missing references) //IL_0710: Unknown result type (might be due to invalid IL or missing references) //IL_0726: Unknown result type (might be due to invalid IL or missing references) //IL_072b: 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_0746: Unknown result type (might be due to invalid IL or missing references) //IL_075c: 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_07a5: Unknown result type (might be due to invalid IL or missing references) //IL_07bb: Unknown result type (might be due to invalid IL or missing references) //IL_07c0: Unknown result type (might be due to invalid IL or missing references) //IL_07d6: Unknown result type (might be due to invalid IL or missing references) //IL_07db: Unknown result type (might be due to invalid IL or missing references) //IL_07f1: Unknown result type (might be due to invalid IL or missing references) //IL_07f6: Unknown result type (might be due to invalid IL or missing references) //IL_083a: Unknown result type (might be due to invalid IL or missing references) //IL_0850: Unknown result type (might be due to invalid IL or missing references) //IL_0855: Unknown result type (might be due to invalid IL or missing references) //IL_086b: Unknown result type (might be due to invalid IL or missing references) //IL_0870: Unknown result type (might be due to invalid IL or missing references) //IL_0886: 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_08cf: 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_08ea: Unknown result type (might be due to invalid IL or missing references) //IL_0900: 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_091b: Unknown result type (might be due to invalid IL or missing references) //IL_0920: Unknown result type (might be due to invalid IL or missing references) //IL_0964: Unknown result type (might be due to invalid IL or missing references) //IL_097a: Unknown result type (might be due to invalid IL or missing references) //IL_097f: Unknown result type (might be due to invalid IL or missing references) //IL_0995: Unknown result type (might be due to invalid IL or missing references) //IL_099a: Unknown result type (might be due to invalid IL or missing references) //IL_09b0: Unknown result type (might be due to invalid IL or missing references) //IL_09b5: Unknown result type (might be due to invalid IL or missing references) //IL_09f9: Unknown result type (might be due to invalid IL or missing references) //IL_0a0f: Unknown result type (might be due to invalid IL or missing references) //IL_0a14: Unknown result type (might be due to invalid IL or missing references) //IL_0a2a: 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_0a45: Unknown result type (might be due to invalid IL or missing references) //IL_0a4a: Unknown result type (might be due to invalid IL or missing references) //IL_0a8e: Unknown result type (might be due to invalid IL or missing references) //IL_0aa4: Unknown result type (might be due to invalid IL or missing references) //IL_0aa9: Unknown result type (might be due to invalid IL or missing references) //IL_0abf: Unknown result type (might be due to invalid IL or missing references) //IL_0ac4: Unknown result type (might be due to invalid IL or missing references) //IL_0ada: Unknown result type (might be due to invalid IL or missing references) //IL_0adf: Unknown result type (might be due to invalid IL or missing references) //IL_0b23: Unknown result type (might be due to invalid IL or missing references) //IL_0b39: Unknown result type (might be due to invalid IL or missing references) //IL_0b3e: Unknown result type (might be due to invalid IL or missing references) //IL_0b54: Unknown result type (might be due to invalid IL or missing references) //IL_0b59: Unknown result type (might be due to invalid IL or missing references) //IL_0b6f: Unknown result type (might be due to invalid IL or missing references) //IL_0b74: Unknown result type (might be due to invalid IL or missing references) //IL_0b98: Unknown result type (might be due to invalid IL or missing references) //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_0bc9: Unknown result type (might be due to invalid IL or missing references) //IL_0bce: Unknown result type (might be due to invalid IL or missing references) //IL_0be4: Unknown result type (might be due to invalid IL or missing references) //IL_0be9: Unknown result type (might be due to invalid IL or missing references) //IL_0c2d: Unknown result type (might be due to invalid IL or missing references) //IL_0c43: Unknown result type (might be due to invalid IL or missing references) //IL_0c48: Unknown result type (might be due to invalid IL or missing references) //IL_0c5e: Unknown result type (might be due to invalid IL or missing references) //IL_0c63: Unknown result type (might be due to invalid IL or missing references) //IL_0c79: Unknown result type (might be due to invalid IL or missing references) //IL_0c7e: Unknown result type (might be due to invalid IL or missing references) //IL_0cc2: Unknown result type (might be due to invalid IL or missing references) //IL_0cd8: Unknown result type (might be due to invalid IL or missing references) //IL_0cdd: 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_0cf8: Unknown result type (might be due to invalid IL or missing references) //IL_0d0e: 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_0d37: Unknown result type (might be due to invalid IL or missing references) //IL_0d4d: 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_0d68: Unknown result type (might be due to invalid IL or missing references) //IL_0d6d: Unknown result type (might be due to invalid IL or missing references) //IL_0d83: Unknown result type (might be due to invalid IL or missing references) //IL_0d88: Unknown result type (might be due to invalid IL or missing references) //IL_0dcc: Unknown result type (might be due to invalid IL or missing references) //IL_0de2: Unknown result type (might be due to invalid IL or missing references) //IL_0de7: Unknown result type (might be due to invalid IL or missing references) //IL_0dfd: Unknown result type (might be due to invalid IL or missing references) //IL_0e02: 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_0e1d: Unknown result type (might be due to invalid IL or missing references) //IL_0e61: Unknown result type (might be due to invalid IL or missing references) //IL_0e77: 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_0e92: Unknown result type (might be due to invalid IL or missing references) //IL_0e97: Unknown result type (might be due to invalid IL or missing references) //IL_0ead: Unknown result type (might be due to invalid IL or missing references) //IL_0eb2: Unknown result type (might be due to invalid IL or missing references) //IL_0ef6: Unknown result type (might be due to invalid IL or missing references) //IL_0f0c: Unknown result type (might be due to invalid IL or missing references) //IL_0f11: Unknown result type (might be due to invalid IL or missing references) //IL_0f27: Unknown result type (might be due to invalid IL or missing references) //IL_0f2c: 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_0f47: Unknown result type (might be due to invalid IL or missing references) //IL_0f8b: Unknown result type (might be due to invalid IL or missing references) //IL_0fa1: Unknown result type (might be due to invalid IL or missing references) //IL_0fa6: Unknown result type (might be due to invalid IL or missing references) //IL_0fbc: Unknown result type (might be due to invalid IL or missing references) //IL_0fc1: Unknown result type (might be due to invalid IL or missing references) //IL_0fd7: Unknown result type (might be due to invalid IL or missing references) //IL_0fdc: Unknown result type (might be due to invalid IL or missing references) //IL_1020: Unknown result type (might be due to invalid IL or missing references) //IL_1036: Unknown result type (might be due to invalid IL or missing references) //IL_103b: Unknown result type (might be due to invalid IL or missing references) //IL_1051: Unknown result type (might be due to invalid IL or missing references) //IL_1056: Unknown result type (might be due to invalid IL or missing references) //IL_106c: Unknown result type (might be due to invalid IL or missing references) //IL_1071: Unknown result type (might be due to invalid IL or missing references) //IL_1095: Unknown result type (might be due to invalid IL or missing references) //IL_10ab: Unknown result type (might be due to invalid IL or missing references) //IL_10b0: Unknown result type (might be due to invalid IL or missing references) //IL_10c6: Unknown result type (might be due to invalid IL or missing references) //IL_10cb: Unknown result type (might be due to invalid IL or missing references) //IL_10e1: Unknown result type (might be due to invalid IL or missing references) //IL_10e6: Unknown result type (might be due to invalid IL or missing references) //IL_112a: Unknown result type (might be due to invalid IL or missing references) //IL_1140: Unknown result type (might be due to invalid IL or missing references) //IL_1145: Unknown result type (might be due to invalid IL or missing references) //IL_115b: Unknown result type (might be due to invalid IL or missing references) //IL_1160: Unknown result type (might be due to invalid IL or missing references) //IL_1176: Unknown result type (might be due to invalid IL or missing references) //IL_117b: Unknown result type (might be due to invalid IL or missing references) //IL_119f: Unknown result type (might be due to invalid IL or missing references) //IL_11b5: Unknown result type (might be due to invalid IL or missing references) //IL_11ba: Unknown result type (might be due to invalid IL or missing references) //IL_11d0: Unknown result type (might be due to invalid IL or missing references) //IL_11d5: Unknown result type (might be due to invalid IL or missing references) //IL_11eb: Unknown result type (might be due to invalid IL or missing references) //IL_11f0: Unknown result type (might be due to invalid IL or missing references) //IL_1234: Unknown result type (might be due to invalid IL or missing references) //IL_124a: Unknown result type (might be due to invalid IL or missing references) //IL_124f: Unknown result type (might be due to invalid IL or missing references) //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_1280: Unknown result type (might be due to invalid IL or missing references) //IL_1285: Unknown result type (might be due to invalid IL or missing references) //IL_12a9: Unknown result type (might be due to invalid IL or missing references) //IL_12bf: Unknown result type (might be due to invalid IL or missing references) //IL_12c4: Unknown result type (might be due to invalid IL or missing references) //IL_12da: Unknown result type (might be due to invalid IL or missing references) //IL_12df: Unknown result type (might be due to invalid IL or missing references) //IL_12f5: Unknown result type (might be due to invalid IL or missing references) //IL_12fa: Unknown result type (might be due to invalid IL or missing references) //IL_133e: Unknown result type (might be due to invalid IL or missing references) //IL_1354: Unknown result type (might be due to invalid IL or missing references) //IL_1359: Unknown result type (might be due to invalid IL or missing references) //IL_136f: Unknown result type (might be due to invalid IL or missing references) //IL_1374: Unknown result type (might be due to invalid IL or missing references) //IL_138a: Unknown result type (might be due to invalid IL or missing references) //IL_138f: Unknown result type (might be due to invalid IL or missing references) //IL_13d3: Unknown result type (might be due to invalid IL or missing references) //IL_13e9: Unknown result type (might be due to invalid IL or missing references) //IL_13ee: Unknown result type (might be due to invalid IL or missing references) //IL_1404: 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_141f: Unknown result type (might be due to invalid IL or missing references) //IL_1424: Unknown result type (might be due to invalid IL or missing references) //IL_1468: Unknown result type (might be due to invalid IL or missing references) //IL_147e: Unknown result type (might be due to invalid IL or missing references) //IL_1483: Unknown result type (might be due to invalid IL or missing references) //IL_1499: Unknown result type (might be due to invalid IL or missing references) //IL_149e: Unknown result type (might be due to invalid IL or missing references) //IL_14b4: Unknown result type (might be due to invalid IL or missing references) //IL_14b9: Unknown result type (might be due to invalid IL or missing references) //IL_14fd: Unknown result type (might be due to invalid IL or missing references) //IL_1513: Unknown result type (might be due to invalid IL or missing references) //IL_1518: Unknown result type (might be due to invalid IL or missing references) //IL_152e: 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_1549: Unknown result type (might be due to invalid IL or missing references) //IL_154e: Unknown result type (might be due to invalid IL or missing references) //IL_1592: Unknown result type (might be due to invalid IL or missing references) //IL_15a8: Unknown result type (might be due to invalid IL or missing references) //IL_15ad: Unknown result type (might be due to invalid IL or missing references) //IL_15c3: Unknown result type (might be due to invalid IL or missing references) //IL_15c8: Unknown result type (might be due to invalid IL or missing references) //IL_15de: Unknown result type (might be due to invalid IL or missing references) //IL_15e3: Unknown result type (might be due to invalid IL or missing references) //IL_1627: Unknown result type (might be due to invalid IL or missing references) //IL_163d: Unknown result type (might be due to invalid IL or missing references) //IL_1642: Unknown result type (might be due to invalid IL or missing references) //IL_1658: Unknown result type (might be due to invalid IL or missing references) //IL_165d: Unknown result type (might be due to invalid IL or missing references) //IL_1673: Unknown result type (might be due to invalid IL or missing references) //IL_1678: Unknown result type (might be due to invalid IL or missing references) //IL_169c: Unknown result type (might be due to invalid IL or missing references) //IL_16b2: Unknown result type (might be due to invalid IL or missing references) //IL_16b7: Unknown result type (might be due to invalid IL or missing references) //IL_16cd: Unknown result type (might be due to invalid IL or missing references) //IL_16d2: Unknown result type (might be due to invalid IL or missing references) //IL_16e8: Unknown result type (might be due to invalid IL or missing references) //IL_16ed: Unknown result type (might be due to invalid IL or missing references) //IL_1731: Unknown result type (might be due to invalid IL or missing references) //IL_1747: Unknown result type (might be due to invalid IL or missing references) //IL_174c: Unknown result type (might be due to invalid IL or missing references) //IL_1762: Unknown result type (might be due to invalid IL or missing references) //IL_1767: Unknown result type (might be due to invalid IL or missing references) //IL_177d: Unknown result type (might be due to invalid IL or missing references) //IL_1782: Unknown result type (might be due to invalid IL or missing references) //IL_17c6: Unknown result type (might be due to invalid IL or missing references) //IL_17dc: Unknown result type (might be due to invalid IL or missing references) //IL_17e1: Unknown result type (might be due to invalid IL or missing references) //IL_17f7: Unknown result type (might be due to invalid IL or missing references) //IL_17fc: Unknown result type (might be due to invalid IL or missing references) //IL_1812: Unknown result type (might be due to invalid IL or missing references) //IL_1817: Unknown result type (might be due to invalid IL or missing references) //IL_185b: Unknown result type (might be due to invalid IL or missing references) //IL_1871: Unknown result type (might be due to invalid IL or missing references) //IL_1876: Unknown result type (might be due to invalid IL or missing references) //IL_188c: Unknown result type (might be due to invalid IL or missing references) //IL_1891: Unknown result type (might be due to invalid IL or missing references) //IL_18a7: Unknown result type (might be due to invalid IL or missing references) //IL_18ac: Unknown result type (might be due to invalid IL or missing references) //IL_18d0: Unknown result type (might be due to invalid IL or missing references) //IL_18e6: Unknown result type (might be due to invalid IL or missing references) //IL_18eb: Unknown result type (might be due to invalid IL or missing references) //IL_1901: Unknown result type (might be due to invalid IL or missing references) //IL_1906: Unknown result type (might be due to invalid IL or missing references) //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_1965: Unknown result type (might be due to invalid IL or missing references) //IL_197b: Unknown result type (might be due to invalid IL or missing references) //IL_1980: Unknown result type (might be due to invalid IL or missing references) //IL_1996: Unknown result type (might be due to invalid IL or missing references) //IL_199b: Unknown result type (might be due to invalid IL or missing references) //IL_19b1: Unknown result type (might be due to invalid IL or missing references) //IL_19b6: 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_1a10: Unknown result type (might be due to invalid IL or missing references) //IL_1a15: Unknown result type (might be due to invalid IL or missing references) //IL_1a2b: Unknown result type (might be due to invalid IL or missing references) //IL_1a30: Unknown result type (might be due to invalid IL or missing references) //IL_1a46: Unknown result type (might be due to invalid IL or missing references) //IL_1a4b: Unknown result type (might be due to invalid IL or missing references) //IL_1a8f: Unknown result type (might be due to invalid IL or missing references) //IL_1aa5: Unknown result type (might be due to invalid IL or missing references) //IL_1aaa: 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_1ac5: Unknown result type (might be due to invalid IL or missing references) //IL_1adb: Unknown result type (might be due to invalid IL or missing references) //IL_1ae0: Unknown result type (might be due to invalid IL or missing references) //IL_1b24: Unknown result type (might be due to invalid IL or missing references) //IL_1b3a: Unknown result type (might be due to invalid IL or missing references) //IL_1b3f: Unknown result type (might be due to invalid IL or missing references) //IL_1b55: Unknown result type (might be due to invalid IL or missing references) //IL_1b5a: Unknown result type (might be due to invalid IL or missing references) //IL_1b70: Unknown result type (might be due to invalid IL or missing references) //IL_1b75: Unknown result type (might be due to invalid IL or missing references) //IL_1bb9: Unknown result type (might be due to invalid IL or missing references) //IL_1bcf: Unknown result type (might be due to invalid IL or missing references) //IL_1bd4: Unknown result type (might be due to invalid IL or missing references) //IL_1bea: Unknown result type (might be due to invalid IL or missing references) //IL_1bef: Unknown result type (might be due to invalid IL or missing references) //IL_1c05: Unknown result type (might be due to invalid IL or missing references) //IL_1c0a: Unknown result type (might be due to invalid IL or missing references) //IL_1c4e: Unknown result type (might be due to invalid IL or missing references) //IL_1c64: Unknown result type (might be due to invalid IL or missing references) //IL_1c69: Unknown result type (might be due to invalid IL or missing references) //IL_1c7f: Unknown result type (might be due to invalid IL or missing references) //IL_1c84: Unknown result type (might be due to invalid IL or missing references) //IL_1c9a: Unknown result type (might be due to invalid IL or missing references) //IL_1c9f: Unknown result type (might be due to invalid IL or missing references) //IL_1ce3: Unknown result type (might be due to invalid IL or missing references) //IL_1cf9: Unknown result type (might be due to invalid IL or missing references) //IL_1cfe: Unknown result type (might be due to invalid IL or missing references) //IL_1d14: Unknown result type (might be due to invalid IL or missing references) //IL_1d19: Unknown result type (might be due to invalid IL or missing references) //IL_1d2f: Unknown result type (might be due to invalid IL or missing references) //IL_1d34: Unknown result type (might be due to invalid IL or missing references) //IL_1d78: Unknown result type (might be due to invalid IL or missing references) //IL_1d8e: Unknown result type (might be due to invalid IL or missing references) //IL_1d93: Unknown result type (might be due to invalid IL or missing references) //IL_1da9: Unknown result type (might be due to invalid IL or missing references) //IL_1dae: Unknown result type (might be due to invalid IL or missing references) //IL_1dc4: Unknown result type (might be due to invalid IL or missing references) //IL_1dc9: Unknown result type (might be due to invalid IL or missing references) //IL_1e0d: Unknown result type (might be due to invalid IL or missing references) //IL_1e23: Unknown result type (might be due to invalid IL or missing references) //IL_1e28: Unknown result type (might be due to invalid IL or missing references) //IL_1e3e: Unknown result type (might be due to invalid IL or missing references) //IL_1e43: Unknown result type (might be due to invalid IL or missing references) //IL_1e59: Unknown result type (might be due to invalid IL or missing references) //IL_1e5e: Unknown result type (might be due to invalid IL or missing references) //IL_1ea2: Unknown result type (might be due to invalid IL or missing references) //IL_1eb8: Unknown result type (might be due to invalid IL or missing references) //IL_1ebd: Unknown result type (might be due to invalid IL or missing references) //IL_1ed3: Unknown result type (might be due to invalid IL or missing references) //IL_1ed8: Unknown result type (might be due to invalid IL or missing references) //IL_1eee: Unknown result type (might be due to invalid IL or missing references) //IL_1ef3: Unknown result type (might be due to invalid IL or missing references) //IL_1f37: Unknown result type (might be due to invalid IL or missing references) //IL_1f4d: Unknown result type (might be due to invalid IL or missing references) //IL_1f52: Unknown result type (might be due to invalid IL or missing references) //IL_1f68: Unknown result type (might be due to invalid IL or missing references) //IL_1f6d: Unknown result type (might be due to invalid IL or missing references) //IL_1f83: Unknown result type (might be due to invalid IL or missing references) //IL_1f88: Unknown result type (might be due to invalid IL or missing references) //IL_1fcc: Unknown result type (might be due to invalid IL or missing references) //IL_1fe2: Unknown result type (might be due to invalid IL or missing references) //IL_1fe7: Unknown result type (might be due to invalid IL or missing references) //IL_1ffd: Unknown result type (might be due to invalid IL or missing references) //IL_2002: Unknown result type (might be due to invalid IL or missing references) //IL_2018: Unknown result type (might be due to invalid IL or missing references) //IL_201d: Unknown result type (might be due to invalid IL or missing references) //IL_2061: Unknown result type (might be due to invalid IL or missing references) //IL_2077: Unknown result type (might be due to invalid IL or missing references) //IL_207c: Unknown result type (might be due to invalid IL or missing references) //IL_2092: Unknown result type (might be due to invalid IL or missing references) //IL_2097: Unknown result type (might be due to invalid IL or missing references) //IL_20ad: Unknown result type (might be due to invalid IL or missing references) //IL_20b2: Unknown result type (might be due to invalid IL or missing references) //IL_20f6: Unknown result type (might be due to invalid IL or missing references) //IL_210c: Unknown result type (might be due to invalid IL or missing references) //IL_2111: Unknown result type (might be due to invalid IL or missing references) //IL_2127: Unknown result type (might be due to invalid IL or missing references) //IL_212c: Unknown result type (might be due to invalid IL or missing references) //IL_2142: Unknown result type (might be due to invalid IL or missing references) //IL_2147: Unknown result type (might be due to invalid IL or missing references) //IL_216b: Unknown result type (might be due to invalid IL or missing references) //IL_2181: Unknown result type (might be due to invalid IL or missing references) //IL_2186: Unknown result type (might be due to invalid IL or missing references) //IL_219c: Unknown result type (might be due to invalid IL or missing references) //IL_21a1: Unknown result type (might be due to invalid IL or missing references) //IL_21b7: Unknown result type (might be due to invalid IL or missing references) //IL_21bc: Unknown result type (might be due to invalid IL or missing references) //IL_2200: Unknown result type (might be due to invalid IL or missing references) //IL_2216: Unknown result type (might be due to invalid IL or missing references) //IL_221b: Unknown result type (might be due to invalid IL or missing references) //IL_2231: Unknown result type (might be due to invalid IL or missing references) //IL_2236: Unknown result type (might be due to invalid IL or missing references) //IL_224c: Unknown result type (might be due to invalid IL or missing references) //IL_2251: Unknown result type (might be due to invalid IL or missing references) //IL_2295: Unknown result type (might be due to invalid IL or missing references) //IL_22ab: Unknown result type (might be due to invalid IL or missing references) //IL_22b0: Unknown result type (might be due to invalid IL or missing references) //IL_22c6: Unknown result type (might be due to invalid IL or missing references) //IL_22cb: Unknown result type (might be due to invalid IL or missing references) //IL_22e1: Unknown result type (might be due to invalid IL or missing references) //IL_22e6: Unknown result type (might be due to invalid IL or missing references) //IL_232a: Unknown result type (might be due to invalid IL or missing references) //IL_2340: Unknown result type (might be due to invalid IL or missing references) //IL_2345: Unknown result type (might be due to invalid IL or missing references) //IL_235b: Unknown result type (might be due to invalid IL or missing references) //IL_2360: Unknown result type (might be due to invalid IL or missing references) //IL_2376: Unknown result type (might be due to invalid IL or missing references) //IL_237b: Unknown result type (might be due to invalid IL or missing references) //IL_239f: Unknown result type (might be due to invalid IL or missing references) //IL_23b5: Unknown result type (might be due to invalid IL or missing references) //IL_23ba: Unknown result type (might be due to invalid IL or missing references) //IL_23d0: Unknown result type (might be due to invalid IL or missing references) //IL_23d5: Unknown result type (might be due to invalid IL or missing references) //IL_23eb: Unknown result type (might be due to invalid IL or missing references) //IL_23f0: Unknown result type (might be due to invalid IL or missing references) CreateItemDisplaySafe("Vendetta", (Object)(object)Items.MysticsItems_AllyDeathRevenge, Items.MysticsItems_AllyDeathRevenge.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.04159f, 1.73747f, -0.07435f), localAngles = new Vector3(359.9341f, 51.80574f, 200.8799f), localScale = new Vector3(0.73943f, 0.73943f, 0.73943f) } }); CreateItemDisplaySafe("Spine Implant", (Object)(object)Items.MysticsItems_BackArmor, Items.MysticsItems_BackArmor.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftBicep", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.0237f, 0.12738f, 0.03461f), localAngles = new Vector3(1.4781f, 152.1998f, 179.7825f), localScale = new Vector3(0.07454f, 0.1f, 0.11371f) } }); CreateItemDisplaySafe("Hiker's Backpack", (Object)(object)Items.MysticsItems_Backpack, Items.MysticsItems_Backpack.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightShoulder", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.15377f, 0.0634f, -0.02813f), localAngles = new Vector3(354.63f, 288.9259f, 253.6762f), localScale = new Vector3(0.12027f, 0.12027f, 0.12027f) } }); CreateItemDisplaySafe("Purrfect Headphones", (Object)(object)Items.MysticsItems_BuffInTPRange, Items.MysticsItems_BuffInTPRange.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.00413f, 0.24476f, -0.01844f), localAngles = new Vector3(18.17719f, 343.5834f, 350.7293f), localScale = new Vector3(0.58396f, 0.58396f, 0.58396f) } }); CreateItemDisplaySafe("Cup of Expresso", (Object)(object)Items.MysticsItems_CoffeeBoostOnItemPickup, Items.MysticsItems_CoffeeBoostOnItemPickup.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.40306f, -0.16417f), localAngles = new Vector3(298.3103f, 0f, 0f), localScale = new Vector3(0.05f, 0.05f, 0.05f) } }); CreateItemDisplaySafe("Choc Chip", (Object)(object)Items.MysticsItems_Cookie, Items.MysticsItems_Cookie.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00038f, 0.00201f, 0.11343f), localAngles = new Vector3(2.86213f, 0.33502f, 348.7936f), localScale = new Vector3(0.04978f, 0.04978f, 0.04978f) } }); CreateItemDisplaySafe("Crystalised World", (Object)(object)Items.MysticsItems_CrystalWorld, Items.MysticsItems_CrystalWorld.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightShoulder", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.09085f, 0.20553f, 0.25611f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.11744f, 0.11744f, 0.11744f) } }); CreateItemDisplaySafe("Crystalised World", (Object)(object)Items.MysticsItems_CrystalWorld, Items.MysticsItems_CrystalWorld.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightShoulder", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.09085f, 0.20553f, 0.25611f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.11744f, 0.11744f, 0.11744f) } }); CreateItemDisplaySafe("Timely Execution", (Object)(object)Items.MysticsItems_DasherDisc, Items.MysticsItems_DasherDisc.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-1E-05f, 1.48555f, -2E-05f), localAngles = new Vector3(0.07393f, 151.6243f, 270.3535f), localScale = new Vector3(0.02866f, 0.04946f, 0.02866f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-1E-05f, 1.48555f, -2E-05f), localAngles = new Vector3(359.7567f, 205.8048f, 270.2668f), localScale = new Vector3(0.02866f, 0.04946f, 0.02866f) } }); CreateItemDisplaySafe("Ceremony of Perdition", (Object)(object)Items.MysticsItems_DeathCeremony, Items.MysticsItems_DeathCeremony.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.01401f, 0.22754f, 0f), localAngles = new Vector3(358.6353f, 337.2336f, 176.7518f), localScale = new Vector3(0.15837f, 0.15837f, 0.15837f) } }); CreateItemDisplaySafe("Spare Wiring", (Object)(object)Items.MysticsItems_DroneWires, Items.MysticsItems_DroneWires.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftCalf", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.03124f, 0.10219f, 0.02025f), localAngles = new Vector3(0f, 0f, 154.7133f), localScale = new Vector3(0.04239f, 0.04239f, 0.04239f) } }); CreateItemDisplaySafe("Failed Experiment", (Object)(object)Items.MysticsItems_ElitePotion, Items.MysticsItems_ElitePotion.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.20671f, 0.03407f, -0.13439f), localAngles = new Vector3(5.57735f, 315.7067f, 214.818f), localScale = new Vector3(0.06584f, 0.06584f, 0.06584f) } }); CreateItemDisplaySafe("Contraband Gunpowder", (Object)(object)Items.MysticsItems_ExplosivePickups, Items.MysticsItems_ExplosivePickups.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.09267f, 0.0507f, -0.15079f), localAngles = new Vector3(335.8917f, 356.2092f, 189.214f), localScale = new Vector3(0.04076f, 0.04076f, 0.04076f) } }); CreateItemDisplaySafe("Black Monolith", (Object)(object)Items.MysticsItems_ExtraShrineUse, Items.MysticsItems_ExtraShrineUse.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.0653f, 0.92972f, 0.01305f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.02463f, 0.02463f, 0.02463f) } }); CreateItemDisplaySafe("Constant Flow", (Object)(object)Items.MysticsItems_Flow, Items.MysticsItems_Flow.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightFoot", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.02211f, 0.00794f, -0.04736f), localAngles = new Vector3(331.515f, 131.1435f, 191.1414f), localScale = new Vector3(0.09239f, 0.09239f, 0.09239f) } }); CreateItemDisplaySafe("Gachapon Coin", (Object)(object)Items.MysticsItems_GachaponToken, Items.MysticsItems_GachaponToken.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftThigh", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.05831f, 0.31908f, -0.06389f), localAngles = new Vector3(24.28853f, 63.56604f, 10.24625f), localScale = new Vector3(0.04145f, 0.04145f, 0.04145f) } }); CreateItemDisplaySafe("Ghost Apple", (Object)(object)Items.MysticsItems_GhostApple, Items.MysticsItems_GhostApple.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00978f, 1.12415f, 0.18625f), localAngles = new Vector3(270.9224f, 179.9947f, 180.0052f), localScale = new Vector3(0.0487f, 0.0487f, 0.0487f) } }); CreateItemDisplaySafe("Apple Stem", (Object)(object)Items.MysticsItems_GhostAppleWeak, Items.MysticsItems_GhostAppleWeak.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.03193f, 1.1504f, 0.09364f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.05695f, 0.05695f, 0.05695f) } }); CreateItemDisplaySafe("Donut", (Object)(object)Items.MysticsItems_HealOrbOnBarrel, Items.MysticsItems_HealOrbOnBarrel.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.19597f, -1E-05f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.08461f, 0.08461f, 0.08461f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.19597f, -1E-05f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.08461f, 0.08461f, 0.08461f) } }); CreateItemDisplaySafe("Super Idol", (Object)(object)Items.MysticsItems_Idol, Items.MysticsItems_Idol.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightCalf", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.087f, 0.06396f, -0.0075f), localAngles = new Vector3(2.40679f, 95.80051f, 181.1291f), localScale = new Vector3(0.08406f, 0.08406f, 0.08406f) } }); CreateItemDisplaySafe("Devil's Cry", (Object)(object)Items.MysticsItems_JudgementCut, Items.MysticsItems_JudgementCut.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.06257f, 0.93042f, 0.09432f), localAngles = new Vector3(0.19036f, 241.7682f, 141.4791f), localScale = new Vector3(1.02718f, 1.02718f, 1.02718f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.04866f, 0.92434f, 0.1027f), localAngles = new Vector3(0.0414f, 288.4242f, 141.8082f), localScale = new Vector3(1.02718f, 1.02718f, 1.02718f) } }); CreateItemDisplaySafe("Platinum Card", (Object)(object)Items.MysticsItems_KeepShopTerminalOpen, Items.MysticsItems_KeepShopTerminalOpen.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.00904f, 0.0658f, -0.1363f), localAngles = new Vector3(338.0687f, 203.4751f, 190.9603f), localScale = new Vector3(0.0325f, 0.0325f, 0.0325f) } }); CreateItemDisplaySafe("Cutesy Bow", (Object)(object)Items.MysticsItems_LimitedArmor, Items.MysticsItems_LimitedArmor.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.09418f, 0.15947f, -0.0781f), localAngles = new Vector3(338.9618f, 39.27897f, 335.715f), localScale = new Vector3(0.0185f, 0.0185f, 0.0185f) } }); CreateItemDisplaySafe("Frayed Bow", (Object)(object)Items.MysticsItems_LimitedArmorBroken, Items.MysticsItems_LimitedArmorBroken.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.11299f, 0.16097f, -0.0017f), localAngles = new Vector3(326.3122f, 14.42879f, 259.8127f), localScale = new Vector3(0.0185f, 0.0185f, 0.0185f) } }); CreateItemDisplaySafe("Manuscript", (Object)(object)Items.MysticsItems_Manuscript, Items.MysticsItems_Manuscript.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.03873f, 0.56278f, 0.25028f), localAngles = new Vector3(4.01991f, 274.4059f, 86.43193f), localScale = new Vector3(0.14167f, 0.14167f, 0.14167f) } }); CreateItemDisplaySafe("Marwan's Ash", (Object)(object)Items.MysticsItems_MarwanAsh1, Items.MysticsItems_MarwanAsh1.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.01511f, -0.12932f, -0.00839f), localAngles = new Vector3(287.752f, 331.0445f, 90f), localScale = new Vector3(0.04512f, 0.06203f, 0.04512f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.01815f, -0.13272f, 0.00218f), localAngles = new Vector3(292.9388f, 22.67702f, 88.0043f), localScale = new Vector3(0.04512f, 0.06203f, 0.04512f) } }); CreateItemDisplaySafe("Marwan's Light", (Object)(object)Items.MysticsItems_MarwanAsh2, Items.MysticsItems_MarwanAsh2.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.0023f, -0.16461f, 0.00023f), localAngles = new Vector3(359.4034f, 170.7477f, 153.733f), localScale = new Vector3(0.05857f, 0.05857f, 0.05857f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.0023f, -0.16461f, 0.00023f), localAngles = new Vector3(359.4034f, 170.7477f, 153.733f), localScale = new Vector3(0.05857f, 0.05857f, 0.05857f) } }); CreateItemDisplaySafe("Marwan's Weapon", (Object)(object)Items.MysticsItems_MarwanAsh3, Items.MysticsItems_MarwanAsh3.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00051f, 1.08135f, -0.00251f), localAngles = new Vector3(358.7796f, 61.80539f, 334.4024f), localScale = new Vector3(0.43055f, 0.43055f, 0.43055f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00051f, 1.08135f, -0.00251f), localAngles = new Vector3(358.5728f, 107.2755f, 334.2944f), localScale = new Vector3(0.43055f, 0.43055f, 0.43055f) } }); CreateItemDisplaySafe("Moonglasses", (Object)(object)Items.MysticsItems_Moonglasses, Items.MysticsItems_Moonglasses.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00065f, 0.12612f, 0.07888f), localAngles = new Vector3(356.3289f, 182.5486f, 1.52223f), localScale = new Vector3(2.5f, 2.5f, 3.1929f) } }); CreateItemDisplaySafe("Mystic Sword", (Object)(object)Items.MysticsItems_MysticSword, Items.MysticsItems_MysticSword.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightShoulder", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.26303f, 0.08583f, 0.05139f), localAngles = new Vector3(342.7418f, 283.217f, 52.49315f), localScale = new Vector3(0.10726f, 0.10726f, 0.10726f) } }); CreateItemDisplaySafe("Inoperative Nanomachines", (Object)(object)Items.MysticsItems_Nanomachines, Items.MysticsItems_Nanomachines.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftFoot", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.00958f, -0.03751f, -0.02806f), localAngles = new Vector3(16.98653f, 358.1071f, 350.2007f), localScale = new Vector3(0.03976f, 0.03976f, 0.03976f) } }); CreateItemDisplaySafe("Puzzle of Chronos", (Object)(object)Items.MysticsItems_RegenAndDifficultySpeed, Items.MysticsItems_RegenAndDifficultySpeed.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(1E-05f, 1.03171f, -0.21516f), localAngles = new Vector3(337.0534f, 0f, 0f), localScale = new Vector3(0.297f, 0.297f, 0.297f) } }); CreateItemDisplaySafe("Metronome", (Object)(object)Items.MysticsItems_Rhythm, Items.MysticsItems_Rhythm.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.18491f, 0.07147f, -0.01156f), localAngles = new Vector3(13.24878f, 155.7282f, 174.0998f), localScale = new Vector3(0.08364f, 0.08364f, 0.08364f) } }); CreateItemDisplaySafe("Rift Lens", (Object)(object)Items.MysticsItems_RiftLens, Items.MysticsItems_RiftLens.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.42561f, -1E-05f), localAngles = new Vector3(0f, 56.53548f, 0f), localScale = new Vector3(0.02859f, 0.02859f, 0.02859f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.42561f, -1E-05f), localAngles = new Vector3(0f, 56.53548f, 0f), localScale = new Vector3(0.02859f, 0.02859f, 0.02859f) } }); CreateItemDisplaySafe("Scratch Ticket", (Object)(object)Items.MysticsItems_ScratchTicket, Items.MysticsItems_ScratchTicket.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.04227f, 1.02929f, -2E-05f), localAngles = new Vector3(358.2278f, 58.28888f, 271.0947f), localScale = new Vector3(0.15388f, 0.15388f, 0.15388f) } }); CreateItemDisplaySafe("Charger Upgrade Module", (Object)(object)Items.MysticsItems_ShieldUpgrade, Items.MysticsItems_ShieldUpgrade.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.09937f, 0.10858f, -0.08013f), localAngles = new Vector3(14.86242f, 347.202f, 179.61f), localScale = new Vector3(0.06695f, 0.06695f, 0.06695f) } }); CreateItemDisplaySafe("Snow Ring", (Object)(object)Items.MysticsItems_SnowRing, Items.MysticsItems_SnowRing.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, -0.12705f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.07124f, 0.07124f, 0.07124f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, -0.12705f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.07124f, 0.07124f, 0.07124f) } }); CreateItemDisplaySafe("Nuclear Accelerator", (Object)(object)Items.MysticsItems_SpeedGivesDamage, Items.MysticsItems_SpeedGivesDamage.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightThigh", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.10237f, 0.10412f, -0.06503f), localAngles = new Vector3(12.6909f, 320.7889f, 43.33162f), localScale = new Vector3(0.08141f, 0.08141f, 0.08141f) } }); CreateItemDisplaySafe("Faulty Spotter", (Object)(object)Items.MysticsItems_Spotter, Items.MysticsItems_Spotter.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LeftShoulder", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.03092f, 0.19884f, -0.02434f), localAngles = new Vector3(348.2902f, 55.7858f, 45.01831f), localScale = new Vector3(0.04116f, 0.04116f, 0.04116f) } }); CreateItemDisplaySafe("Stargazer's Records", (Object)(object)Items.MysticsItems_StarBook, Items.MysticsItems_StarBook.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape2", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.07542f, 0.02437f, -0.00242f), localAngles = new Vector3(352.1456f, 297.3678f, 29.15246f), localScale = new Vector3(0.02045f, 0.02045f, 0.02045f) } }); CreateItemDisplaySafe("Thought Processor", (Object)(object)Items.MysticsItems_ThoughtProcessor, Items.MysticsItems_ThoughtProcessor.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, 0.79483f, -0.12738f), localAngles = new Vector3(270.9502f, 0.00896f, 359.9909f), localScale = new Vector3(0.07494f, 0.11396f, 0.11396f) } }); CreateItemDisplaySafe("Time Dilator", (Object)(object)Items.MysticsItems_TimePiece, Items.MysticsItems_TimePiece.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(1E-05f, 1.551f, -1E-05f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.08943f, 0.08943f, 0.08943f) } }); CreateItemDisplaySafe("Treasure Map", (Object)(object)Items.MysticsItems_TreasureMap, Items.MysticsItems_TreasureMap.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Sheath", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.00286f, 1.28656f, 0.0687f), localAngles = new Vector3(358.6844f, 91.5603f, 49.67124f), localScale = new Vector3(0.12214f, 0.14222f, 0.04298f) } }); CreateItemDisplaySafe("Wireless Voltmeter", (Object)(object)Items.MysticsItems_Voltmeter, Items.MysticsItems_Voltmeter.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape1", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.10872f, 0.07273f, -0.0041f), localAngles = new Vector3(280.7457f, 252.9307f, 287.1874f), localScale = new Vector3(0.02706f, 0.02706f, 0.02706f) } }); CreateItemDisplaySafe("Ten Commandments of Vyrael", (Object)(object)Items.MysticsItems_VyraelCommandments, Items.MysticsItems_VyraelCommandments.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "LowerTorso", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.11832f, 0.23399f, 0.19596f), localAngles = new Vector3(349.98f, 69.81116f, 279.7041f), localScale = new Vector3(0.12755f, 0.12755f, 0.12755f) } }); CreateItemDisplaySafe("Legendary Mask", (Object)(object)Equipment.MysticsItems_ArchaicMask, Equipment.MysticsItems_ArchaicMask.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.01215f, 0.11159f, 0.00723f), localAngles = new Vector3(356.6186f, 278.9892f, 3.29275f), localScale = new Vector3(0.30874f, 0.11971f, 0.13057f) } }); CreateItemDisplaySafe("Regurgitator", (Object)(object)Equipment.MysticsItems_EquipmentEater, Equipment.MysticsItems_EquipmentEater.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightShoulder", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.05852f, 0.09331f, 0.15563f), localAngles = new Vector3(85.13981f, 0f, 0f), localScale = new Vector3(0.03835f, 0.03835f, 0.03835f) } }); CreateItemDisplaySafe("Fragile Mask", (Object)(object)Equipment.MysticsItems_FragileMask, Equipment.MysticsItems_FragileMask.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Head", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.01545f, 0.07788f, 0.12382f), localAngles = new Vector3(357.7659f, 0f, 0f), localScale = new Vector3(0.12201f, 0.09579f, 0.12201f) } }); CreateItemDisplaySafe("Gate Chalice", (Object)(object)Equipment.MysticsItems_GateChalice, Equipment.MysticsItems_GateChalice.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape2", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.07663f, 0.36184f, -0.03877f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.08711f, 0.08711f, 0.08711f) } }); CreateItemDisplaySafe("Machanical Arm", (Object)(object)Equipment.MysticsItems_MechanicalArm, Equipment.MysticsItems_MechanicalArm.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "RightShoulder", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0.06274f, 0.16835f, 0.09722f), localAngles = new Vector3(323.4677f, 55.56645f, 346.4366f), localScale = new Vector3(0.064f, 0.064f, 0.064f) } }); CreateItemDisplaySafe("Vintage Microphone", (Object)(object)Equipment.MysticsItems_Microphone, Equipment.MysticsItems_Microphone.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, -0.28619f, 0f), localAngles = new Vector3(0f, 0f, 180f), localScale = new Vector3(0.03595f, 0.03595f, 0.03595f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, -0.28619f, 0f), localAngles = new Vector3(0f, 0f, 180f), localScale = new Vector3(0.03595f, 0.03595f, 0.03595f) } }); CreateItemDisplaySafe("From Omar With Love", (Object)(object)Equipment.MysticsItems_OmarHackTool, Equipment.MysticsItems_OmarHackTool.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape1", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.06963f, 0.00147f, 0.0508f), localAngles = new Vector3(347.9183f, 104.9611f, 311.6432f), localScale = new Vector3(0.07069f, 0.07069f, 0.07069f) } }); CreateItemDisplaySafe("Wirehack Wrench", (Object)(object)Equipment.MysticsItems_PrinterHacker, Equipment.MysticsItems_PrinterHacker.pickupModelPrefab, new IDRPlacementInfo[1] { new IDRPlacementInfo { boneName = "Cape1", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(-0.07428f, -0.06546f, 0f), localAngles = new Vector3(328.9897f, 0f, 0f), localScale = new Vector3(0.05327f, 0.05327f, 0.05327f) } }); CreateItemDisplaySafe("Warning System", (Object)(object)Equipment.MysticsItems_SirenPole, Equipment.MysticsItems_SirenPole.pickupModelPrefab, new IDRPlacementInfo[2] { new IDRPlacementInfo { boneName = "LeftSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, -0.20905f, 0f), localAngles = new Vector3(0f, 17.23756f, 0f), localScale = new Vector3(0.09589f, 0.09589f, 0.09589f) }, new IDRPlacementInfo { boneName = "RightSword", ruleType = (ItemDisplayRuleType)0, localPos = new Vector3(0f, -0.20905f, 0f), localAngles = new Vector3(0f, 17.23756f, 0f), localScale = new Vector3(0.09589f, 0.09589f, 0.09589f) } }); } internal static void SetUpTinkersSatchelDisplays() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0091: 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_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00eb: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0106: Unknown result type (might be due to invalid IL or missing references) //IL_0139: Unknown result type (might be due to invalid IL or missing references) //IL_013e: 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_0159: Unknown result type (might be due to invalid IL or missing references) //IL_016f: Unknown result type (might be due to invalid IL or missing references) //IL_0174: 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_017a: Unknown result type (might be due to invalid IL or missing references) //IL_0184: Unknown result type (might be due to invalid IL or missing references) //IL_0185: Unknown result type (might be due to invalid IL or missing references) //IL_018a: Unknown result type (might be due to invalid IL or missing references) //IL_0198: Unknown result type (might be due to invalid IL or missing references) //IL_01b3: Unknown result type (might be due to invalid IL or missing references) //IL_01c5: Unknown result type (might be due to invalid IL or missing references) //IL_01ce: Unknown result type (might be due to invalid IL or missing references) //IL_0201: Unknown result type (might be due to invalid IL or missing references) //IL_0206: Unknown result type (might be due to invalid IL or missing references) //IL_021c: 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_0237: Unknown result type (might be due to invalid IL or missing references) //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_0242: Unknown result type (might be due to invalid IL or missing references) //IL_024c: Unknown result type (might be due to invalid IL or missing references) //IL_024d: Unknown result type (might be due to invalid IL or missing references) //IL_0252: Unknown result type (might be due to invalid IL or missing references) //IL_0260: Unknown result type (might be due to invalid IL or missing references) //IL_027b: Unknown result type (might be due to invalid IL or missing references) //IL_028d: Unknown result type (might be due to invalid IL or missing references) //IL_0296: Unknown result type (might be due to invalid IL or missing references) //IL_02c9: Unknown result type (might be due to invalid IL or missing references) //IL_02ce: Unknown result type (might be due to invalid IL or missing references) //IL_02e4: Unknown result type (might be due to invalid IL or missing references) //IL_02e9: Unknown result type (might be due to invalid IL or missing references) //IL_02ff: Unknown result type (might be due to invalid IL or missing references) //IL_0304: Unknown result type (might be due to invalid IL or missing references) //IL_0309: Unknown result type (might be due to invalid IL or missing references) //IL_030a: Unknown result type (might be due to invalid IL or missing references) //IL_0314: Unknown result type (might be due to invalid IL or missing references) //IL_0315: Unknown result type (might be due to invalid IL or missing references) //IL_031a: Unknown result type (might be due to invalid IL or missing references) //IL_0328: Unknown result type (might be due to invalid IL or missing references) //IL_0343: Unknown result type (might be due to invalid IL or missing references) //IL_0355: Unknown result type (might be due to invalid IL or missing references) //IL_035e: 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_0396: Unknown result type (might be due to invalid IL or missing references) //IL_03ac: Unknown result type (might be due to invalid IL or missing references) //IL_03b1: Unknown result type (might be due to invalid IL or missing references) //IL_03c7: Unknown result type (might be due to invalid IL or missing references) //IL_03cc: Unknown result type (might be due to invalid IL or missing references) //IL_03d1: Unknown result type (might be due to invalid IL or missing references) //IL_03d2: Unknown result type (might be due to invalid IL or missing references) //IL_03dc: Unknown result type (might be due to invalid IL or missing references) //IL_03dd: Unknown result type (might be due to invalid IL or missing references) //IL_03e2: Unknown result type (might be due to invalid IL or missing references) //IL_03f0: Unknown result type (might be due to invalid IL or missing references) //IL_040b: Unknown result type (might be due to invalid IL or missing references) //IL_041d: Unknown result type (might be due to invalid IL or missing references) //IL_0426: Unknown result type (might be due to invalid IL or missing references) //IL_0459: 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_0474: Unknown result type (might be due to invalid IL or missing references) //IL_0479: Unknown result type (might be due to invalid IL or missing references) //IL_048f: Unknown result type (might be due to invalid IL or missing references) //IL_0494: Unknown result type (might be due to invalid IL or missing references) //IL_0499: Unknown result type (might be due to invalid IL or missing references) //IL_049a: Unknown result type (might be due to invalid IL or missing references) //IL_04a4: Unknown result type (might be due to invalid IL or missing references) //IL_04a5: Unknown result type (might be due to invalid IL or missing references) //IL_04aa: Unknown result type (might be due to invalid IL or missing references) //IL_04b8: Unknown result type (might be due to invalid IL or missing references) //IL_04d3: Unknown result type (might be due to invalid IL or missing references) //IL_04e5: Unknown result type (might be due to invalid IL or missing references) //IL_04ee: Unknown result type (might be due to invalid IL or missing references) //IL_0521: Unknown result type (might be due to invalid IL or missing references) //IL_0526: Unknown result type (might be due to invalid IL or missing references) //IL_053c: Unknown result type (might be due to invalid IL or missing references) //IL_0541: Unknown result type (might be due to invalid IL or missing references) //IL_0557: Unknown result type (might be due to invalid IL or missing references) //IL_055c: Unknown result type (might be due to invalid IL or missing references) //IL_0561: Unknown result type (might be due to invalid IL or missing references) //IL_0562: Unknown result type (might be due to invalid IL or missing references) //IL_056c: Unknown result type (might be due to invalid IL or missing references) //IL_056d: Unknown result type (might be due to invalid IL or missing references) //IL_0572: Unknown result type (might be due to invalid IL or missing references) //IL_0580: Unknown result type (might be due to invalid IL or missing references) //IL_059b: Unknown result type (might be due to invalid IL or missing references) //IL_05ad: Unknown result type (might be due to invalid IL or missing references) //IL_05b6: Unknown result type (might be due to invalid IL or missing references) //IL_05e9: Unknown result type (might be due to invalid IL or missing references) //IL_05ee: Unknown result type (might be due to invalid IL or missing references) //IL_0604: Unknown result type (might be due to invalid IL or missing references) //IL_0609: Unknown result type (might be due to invalid IL or missing references) //IL_061f: Unknown result type (might be due to invalid IL or missing references) //IL_0624: Unknown result type (might be due to invalid IL or missing references) //IL_0629: Unknown result type (might be due to invalid IL or missing references) //IL_062a: 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_0635: Unknown result type (might be due to invalid IL or missing references) //IL_063a: Unknown result type (might be due to invalid IL or missing references) //IL_0648: Unknown result type (might be due to invalid IL or missing references) //IL_0663: 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_067e: Unknown result type (might be due to invalid IL or missing references) //IL_06b1: Unknown result type (might be due to invalid IL or missing references) //IL_06b6: Unknown result type (might be due to invalid IL or missing references) //IL_06cc: Unknown result type (might be due to invalid IL or missing references) //IL_06d1: Unknown result type (might be due to invalid IL or missing references) //IL_06e7: Unknown result type (might be due to invalid IL or missing references) //IL_06ec: Unknown result type (might be due to invalid IL or missing references) //IL_06f1: Unknown result type (might be due to invalid IL or missing references) //IL_06f2: Unknown result type (might be due to invalid IL or missing references) //IL_06fc: Unknown result type (might be due to invalid IL or missing references) //IL_06fd: Unknown result type (might be due to invalid IL or missing references) //IL_0702: Unknown result type (might be due to invalid IL or missing references) //IL_0710: Unknown result type (might be due to invalid IL or missing references) //IL_072b: Unknown result type (might be due to invalid IL or missing references) //IL_073d: Unknown result type (might be due to invalid IL or missing references) //IL_0746: Unknown result type (might be due to invalid IL or missing references) //IL_0779: Unknown result type (might be due to invalid IL or missing references) //IL_077e: Unknown result type (might be due to invalid IL or missing references) //IL_0794: Unknown result type (might be due to invalid IL or missing references) //IL_0799: Unknown result type (might be due to invalid IL or missing references) //IL_07af: Unknown result type (might be due to invalid IL or missing references) //IL_07b4: Unknown result type (might be due to invalid IL or missing references) //IL_07b9: 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_07c4: 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_07ca: Unknown result type (might be due to invalid IL or missing references) //IL_07d8: 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_0805: Unknown result type (might be due to invalid IL or missing references) //IL_080e: Unknown result type (might be due to invalid IL or missing references) //IL_0841: Unknown result type (might be due to invalid IL or missing references) //IL_0846: Unknown result type (might be due to invalid IL or missing references) //IL_085c: Unknown result type (might be due to invalid IL or missing references) //IL_0861: Unknown result type (might be due to invalid IL or missing references) //IL_0877: Unknown result type (might be due to invalid IL or missing references) //IL_087c: Unknown result type (might be due to invalid IL or missing references) //IL_0881: Unknown result type (might be due to invalid IL or missing references) //IL_0882: Unknown result type (might be due to invalid IL or missing references) //IL_088c: Unknown result type (might be due to invalid IL or missing references) //IL_088d: 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_08a0: Unknown result type (might be due to invalid IL or missing references) //IL_08bb: Unknown result type (might be due to invalid IL or missing references) //IL_08cd: Unknown result type (might be due to invalid IL or missing references) //IL_08d6: Unknown result type (might be due to invalid IL or missing references) //IL_0909: Unknown result type (might be due to invalid IL or missing references) //IL_090e: Unknown result type (might be due to invalid IL or missing references) //IL_0924: Unknown result type (might be due to invalid IL or missing references) //IL_0929: Unknown result type (might be due to invalid IL or missing references) //IL_093f: 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_0949: 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_0954: Unknown result type (might be due to invalid IL or missing references) //IL_0955: Unknown result type (might be due to invalid IL or missing references) //IL_095a: Unknown result type (might be due to invalid IL or missing references) //IL_0968: Unknown result type (might be due to invalid IL or missing references) //IL_0983: Unknown result type (might be due to invalid IL or missing references) //IL_0995: 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_09d1: Unknown result type (might be due to invalid IL or missing references) //IL_09d6: Unknown result type (might be due to invalid IL or missing references) //IL_09ec: Unknown result type (might be due to invalid IL or missing references) //IL_09f1: Unknown result type (might be due to invalid IL or missing references) //IL_0a07: Unknown result type (might be due to invalid IL or missing references) //IL_0a0c: Unknown result type (might be due to invalid IL or missing references) //IL_0a11: Unknown result type (might be due to invalid IL or missing references) //IL_0a12: Unknown result type (might be due to invalid IL or missing references) //IL_0a1c: 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_0a22: Unknown result type (might be due to invalid IL or missing references) //IL_0a30: Unknown result type (might be due to invalid IL or missing references) //IL_0a4b: 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_0a66: Unknown result type (might be due to invalid IL or missing references) //IL_0a99: Unknown result type (might be due to invalid IL or missing references) //IL_0a9e: Unknown result type (might be due to invalid IL or missing references) //IL_0ab4: Unknown result type (might be due to invalid IL or missing references) //IL_0ab9: 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_0ad4: Unknown result type (might be due to invalid IL or missing references) //IL_0ad9: Unknown result type (might be due to invalid IL or missing references) //IL_0ada: Unknown result type (might be due to invalid IL or missing references) //IL_0ae4: Unknown result type (might be due to invalid IL or missing references) //IL_0ae5: Unknown result type (might be due to invalid IL or missing references) //IL_0aea: Unknown result type (might be due to invalid IL or missing references) //IL_0af8: Unknown result type (might be due to invalid IL or missing references) //IL_0b13: Unknown result type (might be due to invalid IL or missing references) //IL_0b25: Unknown result type (might be due to invalid IL or missing references) //IL_0b2e: Unknown result type (might be due to invalid IL or missing references) //IL_0b61: Unknown result type (might be due to invalid IL or missing references) //IL_0b66: Unknown result type (might be due to invalid IL or missing references) //IL_0b7c: Unknown result type (might be due to invalid IL or missing references) //IL_0b81: Unknown result type (might be due to invalid IL or missing references) //IL_0b97: Unknown result type (might be due to invalid IL or missing references) //IL_0b9c: Unknown result type (might be due to invalid IL or missing references) //IL_0ba1: Unknown result type (might be due to invalid IL or missing references) //IL_0ba2: Unknown result type (might be due to invalid IL or missing references) //IL_0bac: Unknown result type (might be due to invalid IL or missing references) //IL_0bad: Unknown result type (might be due to invalid IL or missing references) //IL_0bb2: Unknown result type (might be due to invalid IL or missing references) //IL_0bc0: 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_0bed: Unknown result type (might be due to invalid IL or missing references) //IL_0bf6: Unknown result type (might be due to invalid IL or missing references) //IL_0c29: Unknown result type (might be due to invalid IL or missing references) //IL_0c2e: Unknown result type (might be due to invalid IL or missing references) //IL_0c44: Unknown result type (might be due to invalid IL or missing references) //IL_0c49: Unknown result type (might be due to invalid IL or missing references) //IL_0c5f: Unknown result type (might be due to invalid IL or missing references) //IL_0c64: Unknown result type (might be due to invalid IL or missing references) //IL_0c69: Unknown result type (might be due to invalid IL or missing references) //IL_0c6a: Unknown result type (might be due to invalid IL or missing references) //IL_0c74: Unknown result type (might be due to invalid IL or missing references) //IL_0c75: 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_0c88: Unknown result type (might be due to invalid IL or missing references) //IL_0ca3: Unknown result type (might be due to invalid IL or missing references) //IL_0cb5: Unknown result type (might be due to invalid IL or missing references) //IL_0cbe: Unknown result type (might be due to invalid IL or missing references) //IL_0cf1: Unknown result type (might be due to invalid IL or missing references) //IL_0cf6: 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_0d11: Unknown result type (might be due to invalid IL or missing references) //IL_0d27: Unknown result type (might be due to invalid IL or missing references) //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_0d32: Unknown result type (might be due to invalid IL or missing references) //IL_0d3c: Unknown result type (might be due to invalid IL or missing references) //IL_0d3d: Unknown result type (might be due to invalid IL or missing references) //IL_0d42: Unknown result type (might be due to invalid IL or missing references) //IL_0d50: Unknown result type (might be due to invalid IL or missing references) //IL_0d6b: Unknown result type (might be due to invalid IL or missing references) //IL_0d7d: Unknown result type (might be due to invalid IL or missing references) //IL_0d86: Unknown result type (might be due to invalid IL or missing references) //IL_0db9: Unknown result type (might be due to invalid IL or missing references) //IL_0dbe: Unknown result type (might be due to invalid IL or missing references) //IL_0dd4: Unknown result type (might be due to invalid IL or missing references) //IL_0dd9: Unknown result type (might be due to invalid IL or missing references) //IL_0def: Unknown result type (might be due to invalid IL or missing references) //IL_0df4: Unknown result type (might be due to invalid IL or missing references) //IL_0df9: Unknown result type (might be due to invalid IL or missing references) //IL_0dfa: Unknown result type (might be due to invalid IL or missing references) //IL_0e04: 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_0e0a: 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_0e33: Unknown result type (might be due to invalid IL or missing references) //IL_0e45: Unknown result type (might be due to invalid IL or missing references) //IL_0e4e: Unknown result type (might be due to invalid IL or missing references) //IL_0e81: Unknown result type (might be due to invalid IL or missing references) //IL_0e86: Unknown result type (might be due to invalid IL or missing references) //IL_0e9c: Unknown result type (might be due to invalid IL or missing references) //IL_0ea1: 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_0ebc: Unknown result type (might be due to invalid IL or missing references) //IL_0ec1: 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_0ecc: Unknown result type (might be due to invalid IL or missing references) //IL_0ecd: Unknown result type (might be due to invalid IL or missing references) //IL_0ed2: Unknown result type (might be due to invalid IL or missing references) //IL_0ee0: Unknown result type (might be due to invalid IL or missing references) //IL_0efb: Unknown result type (might be due to invalid IL or missing references) //IL_0f0d: Unknown result type (might be due to invalid IL or missing references) //IL_0f16: 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_0f4e: Unknown result type (might be due to invalid IL or missing references) //IL_0f64: Unknown result type (might be due to invalid IL or missing references) //IL_0f69: Unknown result type (might be due to invalid IL or missing references) //IL_0f7f: Unknown result type (might be due to invalid IL or missing references) //IL_0f84: Unknown result type (might be due to invalid IL or missing references) //IL_0f89: Unknown result type (might be due to invalid IL or missing references) //IL_0f8a: Unknown result type (might be due to invalid IL or missing references) //IL_0f94: Unknown result type (might be due to invalid IL or missing references) //IL_0f95: Unknown result type (might be due to invalid IL or missing references) //IL_0f9a: Unknown result type (might be due to invalid IL or missing references) //IL_0fa8: Unknown result type (might be due to invalid IL or missing references) //IL_0fc3: Unknown result type (might be due to invalid IL or missing references) //IL_0fd5: Unknown result type (might be due to invalid IL or missing references) //IL_0fde: Unknown result type (might be due to invalid IL or missing references) //IL_1011: Unknown result type (might be due to invalid IL or missing references) //IL_1016: Unknown result type (might be due to invalid IL or missing references) //IL_102c: Unknown result type (might be due to invalid IL or missing references) //IL_1031: 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_104c: Unknown result type (might be due to invalid IL or missing references) //IL_1051: Unknown result type (might be due to invalid IL or missing references) //IL_1052: Unknown result type (might be due to invalid IL or missing references) //IL_105c: Unknown result type (might be due to invalid IL or missing references) //IL_105d: Unknown result type (might be due to invalid IL or missing references) //IL_1062: Unknown result type (might be due to invalid IL or missing references) //IL_1070: Unknown result type (might be due to invalid IL or missing references) //IL_108b: Unknown result type (might be due to invalid IL or missing references) //IL_109d: 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_10d9: Unknown result type (might be due to invalid IL or missing references) //IL_10de: 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_10f9: Unknown result type (might be due to invalid IL or missing references) //IL_110f: 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_1119: Unknown result type (might be due to invalid IL or missing references) //IL_111a: Unknown result type (might be due to invalid IL or missing references) //IL_1124: Unknown result type (might be due to invalid IL or missing references) //IL_1125: Unknown result type (might be due to invalid IL or missing references) //IL_112a: Unknown result type (might be due to invalid IL or missing references) //IL_1138: Unknown result type (might be due to invalid IL or missing references) //IL_1153: 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_116e: Unknown result type (might be due to invalid IL or missing references) //IL_11a1: Unknown result type (might be due to invalid IL or missing references) //IL_11a6: Unknown result type (might be due to invalid IL or missing references) //IL_11bc: Unknown result type (might be due to invalid IL or missing references) //IL_11c1: Unknown result type (might be due to invalid IL or missing references) //IL_11d7: Unknown result type (might be due to invalid IL or missing references) //IL_11dc: Unknown result type (might be due to invalid IL or missing references) //IL_11e1: Unknown result type (might be due to invalid IL or missing references) //IL_11e2: Unknown result type (might be due to invalid IL or missing references) //IL_11ec: Unknown result type (might be due to invalid IL or missing references) //IL_11ed: Unknown result type (might be due to invalid IL or missing references) //IL_11f2: Unknown result type (might be due to invalid IL or missing references) //IL_1200: Unknown result type (might be due to invalid IL or missing references) //IL_121b: Unknown result type (might be due to invalid IL or missing references) //IL_122d: Unknown result type (might be due to invalid IL or missing references) //IL_1236: Unknown result type (might be due to invalid IL or missing references) //IL_1269: Unknown result type (might be due to invalid IL or missing references) //IL_126e: 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_1289: Unknown result type (might be due to invalid IL or missing references) //IL_129f: Unknown result type (might be due to invalid IL or missing references) //IL_12a4: Unknown result type (might be due to invalid IL or missing references) //IL_12a9: Unknown result type (might be due to invalid IL or missing references) //IL_12aa: Unknown result type (might be due to invalid IL or missing references) //IL_12b4: Unknown result type (might be due to invalid IL or missing references) //IL_12b5: Unknown result type (might be due to invalid IL or missing references) //IL_12ba: Unknown result type (might be due to invalid IL or missing references) //IL_12c8: 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_12f5: Unknown result type (might be due to invalid IL or missing references) //IL_12fe: 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_1336: Unknown result type (might be due to invalid IL or missing references) //IL_134c: 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_1367: Unknown result type (might be due to invalid IL or missing references) //IL_136c: Unknown result type (might be due to invalid IL or missing references) //IL_1371: Unknown result type (might be due to invalid IL or missing references) //IL_1372: Unknown result type (might be due to invalid IL or missing references) //IL_137c: Unknown result type (might be due to invalid IL or missing references) //IL_137d: Unknown result type (might be due to invalid IL or missing references) //IL_1382: Unknown result type (might be due to invalid IL or missing references) //IL_1390: Unknown result type (might be due to invalid IL or missing references) //IL_13ab: Unknown result type (might be due to invalid IL or missing references) //IL_13bd: Unknown result type (might be due to invalid IL or missing references) //IL_13c6: Unknown result type (might be due to invalid IL or missing references) //IL_13f9: Unknown result type (might be due to invalid IL or missing references) //IL_13fe: Unknown result type (might be due to invalid IL or missing references) //IL_1414: Unknown result type (might be due to invalid IL or missing references) //IL_1419: Unknown result type (might be due to invalid IL or missing references) //IL_142f: Unknown result type (might be due to invalid IL or missing references) //IL_1434: Unknown result type (might be due to invalid IL or missing references) //IL_1439: Unknown result type (might be due to invalid IL or missing references) //IL_143a: Unknown result type (might be due to invalid IL or missing references) //IL_1444: Unknown result type (might be due to invalid IL or missing references) //IL_1445: Unknown result type (might be due to invalid IL or missing references) //IL_144a: Unknown result type (might be due to invalid IL or missing references) //IL_1458: Unknown result type (might be due to invalid IL or missing references) //IL_1473: Unknown result type (might be due to invalid IL or missing references) //IL_1485: Unknown result type (might be due to invalid IL or missing references) //IL_148e: 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_14c6: Unknown result type (might be due to invalid IL or missing references) //IL_14dc: Unknown result type (might be due to invalid IL or missing references) //IL_14e1: Unknown result type (might be due to invalid IL or missing references) //IL_14f7: Unknown result type (might be due to invalid IL or missing references) //IL_14fc: Unknown result type (might be due to invalid IL or missing references) //IL_1501: Unknown result type (might be due to invalid IL or missing references) //IL_1502: Unknown result type (might be due to invalid IL or missing references) //IL_150c: Unknown result type (might be due to invalid IL or missing references) //IL_150d: Unknown result type (might be due to invalid IL or missing references) //IL_1512: 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_153b: Unknown result type (might be due to invalid IL or missing references) //IL_154d: Unknown result type (might be due to invalid IL or missing references) //IL_1556: Unknown result type (might be due to invalid IL or missing references) //IL_1589: 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_15a4: Unknown result type (might be due to invalid IL or missing references) //IL_15a9: Unknown result type (might be due to invalid IL or missing references) //IL_15bf: Unknown result type (might be due to invalid IL or missing references) //IL_15c4: Unknown result type (might be due to invalid IL or missing references) //IL_15c9: Unknown result type (might be due to invalid IL or missing references) //IL_15ca: Unknown result type (might be due to invalid IL or missing references) //IL_15d4: Unknown result type (might be due to invalid IL or missing references) //IL_15d5: Unknown result type (might be due to invalid IL or missing references) //IL_15da: Unknown result type (might be due to invalid IL or missing references) //IL_15e8: Unknown result type (might be due to invalid IL or missing references) //IL_1603: Unknown result type (might be due to invalid IL or missing references) //IL_1615: Unknown result type (might be due to invalid IL or missing references) //IL_161e: Unknown result type (might be due to invalid IL or missing references) //IL_1651: Unknown result type (might be due to invalid IL or missing references) //IL_1656: Unknown result type (might be due to invalid IL or missing references) //IL_166c: Unknown result type (might be due to invalid IL or missing references) //IL_1671: Unknown result type (might be due to invalid IL or missing references) //IL_1687: Unknown result type (might be due to invalid IL or missing references) //IL_168c: Unknown result type (might be due to invalid IL or missing references) //IL_1691: Unknown result type (might be due to invalid IL or missing references) //IL_1692: Unknown result type (might be due to invalid IL or missing references) //IL_169c: Unknown result type (might be due to invalid IL or missing references) //IL_169d: Unknown result type (might be due to invalid IL or missing references) //IL_16a2: Unknown result type (might be due to invalid IL or missing references) //IL_16b0: Unknown result type (might be due to invalid IL or missing references) //IL_16cb: Unknown result type (might be due to invalid IL or missing references) //IL_16dd: Unknown result type (might be due to invalid IL or missing references) //IL_16e6: Unknown result type (might be due to invalid IL or missing references) //IL_1719: Unknown result type (might be due to invalid IL or missing references) //IL_171e: Unknown result type (might be due to invalid IL or missing references) //IL_1734: Unknown result type (might be due to invalid IL or missing references) //IL_1739: Unknown result type (might be due to invalid IL or missing references) //IL_174f: Unknown result type (might be due to invalid IL or missing references) //IL_1754: Unknown result type (might be due to invalid IL or missing references) //IL_1759: Unknown result type (might be due to invalid IL or missing references) //IL_175a: Unknown result type (might be due to invalid IL or missing references) //IL_1764: 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_176a: Unknown result type (might be due to invalid IL or missing references) //IL_1778: Unknown result type (might be due to invalid IL or missing references) //IL_1793: Unknown result type (might be due to invalid IL or missing references) //IL_17a5: Unknown result type (might be due to invalid IL or missing references) //IL_17ae: Unknown result type (might be due to invalid IL or missing references) //IL_17e1: Unknown result type (might be due to invalid IL or missing references) //IL_17e6: Unknown result type (might be due to invalid IL or missing references) //IL_17fc: Unknown result type (might be due to invalid IL or missing references) //IL_1801: Unknown result type (might be due to invalid IL or missing references) //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_1821: Unknown result type (might be due to invalid IL or missing references) //IL_1822: Unknown result type (might be due to invalid IL or missing references) //IL_182c: Unknown result type (might be due to invalid IL or missing references) //IL_182d: Unknown result type (might be due to invalid IL or missing references) //IL_1832: Unknown result type (might be due to invalid IL or missing references) //IL_1840: Unknown result type (might be due to invalid IL or missing references) //IL_185b: Unknown result type (might be due to invalid IL or missing references) //IL_186d: Unknown result type (might be due to invalid IL or missing references) //IL_1876: Unknown result type (might be due to invalid IL or missing references) //IL_18a9: Unknown result type (might be due to invalid IL or missing references) //IL_18ae: Unknown result type (might be due to invalid IL or missing references) //IL_18c4: Unknown result type (might be due to invalid IL or missing references) //IL_18c9: Unknown result type (might be due to invalid IL or missing references) //IL_18df: Unknown result type (might be due to invalid IL or missing references) //IL_18e4: Unknown result type (might be due to invalid IL or missing references) //IL_18e9: Unknown result type (might be due to invalid IL or missing references) //IL_18ea: Unknown result type (might be due to invalid IL or missing references) //IL_18f4: 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_18fa: Unknown result type (might be due to invalid IL or missing references) //IL_1908: Unknown result type (might be due to invalid IL or missing references) //IL_1923: Unknown result type (might be due to invalid IL or missing references) //IL_1935: Unknown result type (might be due to invalid IL or missing references) //IL_193e: Unknown result type (might be due to invalid IL or missing references) //IL_1971: Unknown result type (might be due to invalid IL or missing references) //IL_1976: Unknown result type (might be due to invalid IL or missing references) //IL_198c: Unknown result type (might be due to invalid IL or missing references) //IL_1991: Unknown result type (might be due to invalid IL or missing references) //IL_19a7: Unknown result type (might be due to invalid IL or missing references) //IL_19ac: Unknown result type (might be due to invalid IL or missing references) //IL_19b1: Unknown result type (might be due to invalid IL or missing references) //IL_19b2: Unknown result type (might be due to invalid IL or missing references) //IL_19bc: Unknown result type (might be due to invalid IL or missing references) //IL_19bd: 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_19d0: Unknown result type (might be due to invalid IL or missing references) //IL_19eb: Unknown result type (might be due to invalid IL or missing references) //IL_19fd: Unknown result type (might be due to invalid IL or missing references) //IL_1a06: Unknown result type (might be due to invalid IL or missing references) //IL_1a39: Unknown result type (might be due to invalid IL or missing references) //IL_1a3e: Unknown result type (might be due to invalid IL or missing references) //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_1a6f: Unknown result type (might be due to invalid IL or missing references) //IL_1a74: Unknown result type (might be due to invalid IL or missing references) //IL_1a79: 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_1a84: Unknown result type (might be due to invalid IL or missing references) //IL_1a85: Unknown result type (might be due to invalid IL or missing references) //IL_1a8a: Unknown result type (might be due to invalid IL or missing references) itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "RightThigh", localPos = new Vector3(0.01953f, 0.20549f, -0.10041f), localAngles = new Vector3(307.4173f, 310.3948f, 187.831f), localScale = new Vector3(0.15197f, 0.15197f, 0.15197f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "UpperTorso", localPos = new Vector3(-0.16987f, 0.05199f, 0.06311f), localAngles = new Vector3(354.1239f, 65.74509f, 30.69423f), localScale = new Vector3(0.18394f, 0.18394f, 0.18394f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "UpperTorso", localPos = new Vector3(-0.11119f, 0.10727f, 0.16132f), localAngles = new Vector3(64.23367f, 104.4532f, 126.5788f), localScale = new Vector3(0.17124f, 0.17124f, 0.17124f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "LeftSword", localPos = new Vector3(-0.08357f, 0.08722f, 0.05056f), localAngles = new Vector3(0f, 121.1844f, 0f), localScale = new Vector3(0.27793f, 0.27793f, 0.27793f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "RightForearm", localPos = new Vector3(-0.02342f, 0.15058f, 0.03597f), localAngles = new Vector3(10.17045f, 153.5239f, 275.3278f), localScale = new Vector3(0.12459f, 0.12459f, 0.12459f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Head", localPos = new Vector3(0.00115f, 0.01253f, 0.11094f), localAngles = new Vector3(25.38899f, 251.7829f, 324.5564f), localScale = new Vector3(0.17902f, 0.17902f, 0.17902f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Cape2", localPos = new Vector3(-0.06308f, 0.47264f, -0.00282f), localAngles = new Vector3(333.7999f, 97.61135f, 73.16062f), localScale = new Vector3(0.24731f, 0.24731f, 0.24731f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Cape1", localPos = new Vector3(-0.06651f, 0.04402f, 0.04475f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.40341f, 0.40341f, 0.40341f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Cape1", localPos = new Vector3(-0.04576f, -0.08573f, 0.05467f), localAngles = new Vector3(1.74656f, 171.7628f, 307.056f), localScale = new Vector3(0.13442f, 0.13442f, 0.13442f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "LeftForearm", localPos = new Vector3(0.0062f, 0.19477f, -0.00377f), localAngles = new Vector3(0f, 296.2772f, 4.91035f), localScale = new Vector3(0.15973f, 0.15973f, 0.15973f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Cape2", localPos = new Vector3(-91f / (345f * MathF.PI), 0.25295f, -0.03697f), localAngles = new Vector3(23.43681f, 180f, 191.0404f), localScale = new Vector3(0.33652f, 0.33652f, 0.33652f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Cape2", localPos = new Vector3(-0.06237f, 0.1223f, -0.16492f), localAngles = new Vector3(357.2826f, 310.7741f, 227.2794f), localScale = new Vector3(0.30409f, 0.30409f, 0.30409f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "LeftSword", localPos = new Vector3(0.05989f, 0.34818f, -0.09383f), localAngles = new Vector3(332.183f, 333.2689f, 44.95521f), localScale = new Vector3(0.24025f, 0.24025f, 0.24025f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Sheath", localPos = new Vector3(0.02284f, 0.49791f, 0.01368f), localAngles = new Vector3(319.063f, 282.2221f, 93.52068f), localScale = new Vector3(0.31958f, 0.31958f, 0.31958f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Sheath", localPos = new Vector3(0.00916f, 0.67668f, -0.15913f), localAngles = new Vector3(347.1155f, 247.1768f, 125.4049f), localScale = new Vector3(0.23327f, 0.23327f, 0.23327f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Cape1", localPos = new Vector3(-0.13183f, 0.17776f, -0.05906f), localAngles = new Vector3(29.44517f, 180f, 180f), localScale = new Vector3(0.5f, 0.5f, 0.5f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "LowerTorso", localPos = new Vector3(0.19337f, 0.07491f, -0.01759f), localAngles = new Vector3(9.67832f, 105.5589f, 296.8827f), localScale = new Vector3(0.21902f, 0.21902f, 0.21902f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Cape2", localPos = new Vector3(-0.09193f, 0.04307f, 0.00151f), localAngles = new Vector3(312.1291f, 9.01092f, 353.2924f), localScale = new Vector3(0.31537f, 0.31537f, 0.31537f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "LeftHand", localPos = new Vector3(0.01355f, 0.08345f, -0.0045f), localAngles = new Vector3(5.20173f, 211.3148f, 52.23175f), localScale = new Vector3(0.16371f, 0.16371f, 0.16371f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "RightHand", localPos = new Vector3(-0.00807f, 0.0626f, -0.00122f), localAngles = new Vector3(311.4464f, 326.9598f, 108.3088f), localScale = new Vector3(0.13491f, 0.25437f, 0.13491f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Cape2", localPos = new Vector3(-0.03186f, 0.47879f, 0.00531f), localAngles = new Vector3(33.12899f, 212.8639f, 199.4469f), localScale = new Vector3(0.29126f, 0.29126f, 0.29126f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Head", localPos = new Vector3(0f, 0.02029f, 0.10485f), localAngles = new Vector3(12.98315f, 0f, 0f), localScale = new Vector3(0.26257f, 0.26257f, 0.26257f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "LeftForearm", localPos = new Vector3(0.0054f, 0.17447f, -0.00173f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.15478f, 0.15478f, 0.15478f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "RightThigh", localPos = new Vector3(0.11283f, 0.075f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.20931f, 0.20931f, 0.20931f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "LowerTorso", localPos = new Vector3(0.17316f, 0.09825f, -0.00709f), localAngles = new Vector3(18.21682f, 101.9364f, 288.9913f), localScale = new Vector3(0.23894f, 0.23894f, 0.23894f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Item)Item.instance).itemDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Item.instance.idrPrefab, childName = "Sheath", localPos = new Vector3(-0.04987f, 0.28587f, -0.00216f), localAngles = new Vector3(17.25902f, 354.7467f, 306.4631f), localScale = new Vector3(0.20124f, 0.15289f, 0.20124f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Equipment)Equipment.instance).equipmentDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Equipment.instance.idrPrefab, childName = "LeftSword", localPos = new Vector3(3E-05f, 0.78314f, -8E-05f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.31125f, 0.72385f, 0.31125f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Equipment)Equipment.instance).equipmentDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Equipment.instance.idrPrefab, childName = "LeftShoulder", localPos = new Vector3(0.02423f, 0.11454f, 0.07529f), localAngles = new Vector3(20.07722f, 189.3485f, 353.1573f), localScale = new Vector3(0.25208f, 0.33029f, 0.23353f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Equipment)Equipment.instance).equipmentDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Equipment.instance.idrPrefab, childName = "LowerTorso", localPos = new Vector3(0.14623f, 0.14237f, 0.12298f), localAngles = new Vector3(14.81835f, 112.0596f, 180f), localScale = new Vector3(0.29421f, 0.29421f, 0.29421f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Equipment)Equipment.instance).equipmentDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Equipment.instance.idrPrefab, childName = "Sheath", localPos = new Vector3(-0.08501f, 1.03468f, 0.04321f), localAngles = new Vector3(337.1259f, 6.33428f, 129.1697f), localScale = new Vector3(0.36282f, 0.36282f, 0.36282f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Equipment)Equipment.instance).equipmentDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Equipment.instance.idrPrefab, childName = "LeftSword", localPos = new Vector3(-0.04925f, 0.26749f, -0.02459f), localAngles = new Vector3(0f, 243.4869f, 0f), localScale = new Vector3(0.20668f, 0.20668f, 0.20668f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Equipment)Equipment.instance).equipmentDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Equipment.instance.idrPrefab, childName = "Sheath", localPos = new Vector3(-0.05871f, 0.11772f, -0.05591f), localAngles = new Vector3(280.8838f, 210.5736f, 238.9689f), localScale = new Vector3(0.25835f, 0.25835f, 0.25835f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Equipment)Equipment.instance).equipmentDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Equipment.instance.idrPrefab, childName = "LeftShoulder", localPos = new Vector3(-0.041f, 0.08319f, -0.00575f), localAngles = new Vector3(21.6492f, 16.48524f, 14.11087f), localScale = new Vector3(0.42251f, 0.42251f, 0.42251f) } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)((Equipment)Equipment.instance).equipmentDef, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = Equipment.instance.idrPrefab, childName = "Sheath", localPos = new Vector3(-0.1743f, 0.76979f, 0.03007f), localAngles = new Vector3(273.7984f, 270.8003f, 184.6009f), localScale = new Vector3(0.2463f, 0.63854f, 0.92527f) } } } }); } private static RendererInfo[] SkinRendererInfos(RendererInfo[] defaultRenderers, Material[] materials) { RendererInfo[] array = (RendererInfo[])(object)new RendererInfo[defaultRenderers.Length]; defaultRenderers.CopyTo(array, 0); for (int i = 0; i < materials.Length; i++) { array[i].defaultMaterial = materials[i]; } return array; } private static void CreateItemDisplaySafe(string name, Object itemDef, GameObject itemPrefab, IDRPlacementInfo[] placementInfos) { //IL_007c: Unknown result type (might be due to invalid IL or missing references) //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_0101: Unknown result type (might be due to invalid IL or missing references) //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_0121: Unknown result type (might be due to invalid IL or missing references) //IL_0123: Unknown result type (might be due to invalid IL or missing references) //IL_0128: Unknown result type (might be due to invalid IL or missing references) try { if (itemDef == (Object)null) { Debug.LogError((object)("[Myst Error] the given itemDef for ['" + name + "'] was null")); return; } if ((Object)(object)itemPrefab == (Object)null) { Debug.LogError((object)("[Myst Error] the given prefab for ['" + name + "'] was null")); return; } ItemDisplayRule[] array = (ItemDisplayRule[])(object)new ItemDisplayRule[placementInfos.Length]; for (int i = 0; i < array.Length; i++) { array[i].followerPrefab = itemPrefab; array[i].ruleType = placementInfos[i].ruleType; array[i].childName = placementInfos[i].boneName; array[i].localPos = placementInfos[i].localPos; array[i].localAngles = placementInfos[i].localAngles; array[i].localScale = placementInfos[i].localScale; } itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = itemDef, displayRuleGroup = new DisplayRuleGroup { rules = array } }); } catch (ArgumentException ex) { Debug.LogError((object)("[Myst Error] Something went wrong when setting IDRs for ['" + name + "']")); throw ex; } } private static void CreateAI(GameObject bodyPrefab) { //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0079: 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_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00e8: Unknown result type (might be due to invalid IL or missing references) //IL_00ef: Unknown result type (might be due to invalid IL or missing references) //IL_00f6: Unknown result type (might be due to invalid IL or missing references) //IL_0121: Unknown result type (might be due to invalid IL or missing references) //IL_0157: Unknown result type (might be due to invalid IL or missing references) //IL_015e: Unknown result type (might be due to invalid IL or missing references) //IL_0165: Unknown result type (might be due to invalid IL or missing references) //IL_016c: 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_01c5: 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_01d5: Unknown result type (might be due to invalid IL or missing references) //IL_01dd: Unknown result type (might be due to invalid IL or missing references) //IL_0209: Unknown result type (might be due to invalid IL or missing references) //IL_0211: Unknown result type (might be due to invalid IL or missing references) //IL_0219: 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_0263: Unknown result type (might be due to invalid IL or missing references) //IL_026b: Unknown result type (might be due to invalid IL or missing references) //IL_0273: Unknown result type (might be due to invalid IL or missing references) //IL_027b: 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) GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/CharacterMasters/LoaderMonsterMaster"), "MystMonsterMaster", true); val.GetComponent().bodyPrefab = bodyPrefab; AISkillDriver[] components = val.GetComponents(); foreach (AISkillDriver val2 in components) { Object.DestroyImmediate((Object)(object)val2); } AISkillDriver val3 = val.AddComponent(); val3.customName = "MystMagicDriver"; val3.skillSlot = (SkillSlot)2; val3.moveTargetType = (TargetType)0; val3.movementType = (MovementType)3; val3.aimType = (AimType)2; val3.activationRequiresAimTargetLoS = true; val3.maxUserHealthFraction = 0.3f; val3.minUserHealthFraction = 0f; val3.shouldSprint = false; val3.noRepeat = true; val3.maxDistance = 79f; val3.minDistance = 41f; val3.buttonPressType = (ButtonPressType)0; val3.ignoreNodeGraph = false; AISkillDriver val4 = val.AddComponent(); val4.customName = "MystDashDriver"; val4.skillSlot = (SkillSlot)0; val4.moveTargetType = (TargetType)0; val4.movementType = (MovementType)1; val4.aimType = (AimType)2; val4.activationRequiresAimTargetLoS = true; val4.maxUserHealthFraction = 1f; val4.minUserHealthFraction = 0.3f; val4.shouldSprint = true; val4.buttonPressType = (ButtonPressType)2; val4.maxDistance = 37f; val4.minDistance = 10f; val4.ignoreNodeGraph = true; AISkillDriver val5 = val.AddComponent(); val5.customName = "MystMeleeComboDriver"; val5.skillSlot = (SkillSlot)0; val5.moveTargetType = (TargetType)0; val5.movementType = (MovementType)1; val5.aimType = (AimType)2; val5.activationRequiresAimTargetLoS = true; val5.maxUserHealthFraction = 1f; val5.minUserHealthFraction = 0.3f; val5.shouldSprint = true; val5.buttonPressType = (ButtonPressType)0; val5.maxDistance = 5f; val5.ignoreNodeGraph = true; AISkillDriver val6 = val.AddComponent(); val6.customName = "MystChaseDriver"; val6.skillSlot = (SkillSlot)(-1); val6.moveTargetType = (TargetType)0; val6.movementType = (MovementType)3; val6.aimType = (AimType)1; val6.shouldSprint = true; val6.ignoreNodeGraph = false; AISkillDriver val7 = val.AddComponent(); val7.customName = "MystFleeDriver"; val7.skillSlot = (SkillSlot)(-1); val7.moveTargetType = (TargetType)0; val7.movementType = (MovementType)1; val7.aimType = (AimType)1; val3.maxUserHealthFraction = 0.3f; val3.minUserHealthFraction = 0f; val7.shouldSprint = true; val7.ignoreNodeGraph = false; AISkillDriver val8 = val.AddComponent(); val8.customName = "MystMagicFireballDriver"; val8.skillSlot = (SkillSlot)0; val8.moveTargetType = (TargetType)0; val8.movementType = (MovementType)2; val8.aimType = (AimType)2; val8.activationRequiresAimTargetLoS = true; val8.shouldSprint = false; val8.buttonPressType = (ButtonPressType)2; val8.noRepeat = true; val3.nextHighPriorityOverride = val8; Prefabs.masterPrefabs.Add(val); } } public struct IDRPlacementInfo { public string boneName; public ItemDisplayRuleType ruleType; public Vector3 localPos; public Vector3 localAngles; public Vector3 localScale; } } namespace MystMod.Modules.Misc { internal static class ExtraInputs { internal static void AddActionsToInputCatalog() { } internal static InputAction CreateInputAction(int id, string name, InputActionType type = 1) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Expected O, but got Unknown //IL_0027: Unknown result type (might be due to invalid IL or missing references) InputAction val = new InputAction(); Reflection.SetFieldValue((object)val, "_id", id); Reflection.SetFieldValue((object)val, "_name", name); Reflection.SetFieldValue((object)val, "_type", type); Reflection.SetFieldValue((object)val, "_descriptiveName", name); Reflection.SetFieldValue((object)val, "_behaviorId", 0); Reflection.SetFieldValue((object)val, "_userAssignable", true); Reflection.SetFieldValue((object)val, "_categoryId", 0); return val; } } public struct ExtraSkill { public int Value { get; } private ExtraSkill(int value) { Value = value; } public static implicit operator SkillSlot(ExtraSkill extraSkillSlot) { //IL_0009: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) return (SkillSlot)(sbyte)extraSkillSlot.Value; } public static implicit operator ExtraSkill(SkillSlot skillSlot) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Expected I4, but got Unknown return new ExtraSkill((int)skillSlot); } } public class ItemInteracrionPopupManager : MonoBehaviour { private static Dictionary SpecialItemInteractionList; private static bool hasInit; private static GameObject InfoBox; private static Animation animation; private static Image icon; private static Text text; public static void Init() { //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_005a: 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_008e: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_0101: Unknown result type (might be due to invalid IL or missing references) //IL_011b: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Unknown result type (might be due to invalid IL or missing references) hasInit = true; SpecialItemInteractionList = new Dictionary(); Debug.Log((object)"[=-=]"); SpecialItemInteractionList.Add(Items.KillEliteFrenzy.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_BRAINSTALKS"); SpecialItemInteractionList.Add(Items.AlienHead.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_ALIENHEAD"); SpecialItemInteractionList.Add(Items.UtilitySkillMagazine.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_AFTERBURNER"); SpecialItemInteractionList.Add(Items.SecondarySkillMagazine.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_BACKUPMAG"); SpecialItemInteractionList.Add(Items.Bandolier.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_BANDOLIER"); SpecialItemInteractionList.Add(Items.LunarBadLuck.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_PURITY"); SpecialItemInteractionList.Add(Items.TreasureCache.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_RUSTKEY"); Debug.Log((object)"[=--=]"); SpecialItemInteractionList.Add(Items.TreasureCacheVoid.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_VOIDKEY"); SpecialItemInteractionList.Add(Items.HalfAttackSpeedHalfCooldowns.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_LIGHTFLUX"); SpecialItemInteractionList.Add(Items.EquipmentMagazineVoid.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_LYSATE"); Debug.Log((object)"[=---=]"); SpecialItemInteractionList.Add(Items.IncreasePrimaryDamage.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_LUMINOUSSHOT"); if (MystPlugin.scepterInstalled) { InitScepter(); } if (MystPlugin.SS2Installed) { InitSS2(); } if (MystPlugin.MysticsItemsInstalled) { InitMystics(); } } private static void InitScepter() { //IL_0010: Unknown result type (might be due to invalid IL or missing references) SpecialItemInteractionList.Add(((ItemBase)ItemBase.instance).ItemDef._itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_SCEPTER"); } private static void InitSS2() { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) SpecialItemInteractionList.Add(Items.X4.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_X4"); SpecialItemInteractionList.Add(Items.RelicOfForce.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_RELICOFFORCE"); } private static void InitMystics() { //IL_000b: Unknown result type (might be due to invalid IL or missing references) SpecialItemInteractionList.Add(Items.MysticsItems_Backpack.itemIndex, "JAVANGLE_MYST_BODY_ITEMNOTIFICATION_HIKERBACKPACK"); } public static void CheckItemPickup(ItemIndex itemIndex) { //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) if (!hasInit) { Init(); } if (Object.op_Implicit((Object)(object)InfoBox) && SpecialItemInteractionList.TryGetValue(itemIndex, out var value)) { text.text = Language.GetString(value); icon.sprite = ItemCatalog.GetItemDef(itemIndex).pickupIconSprite; animation.Play("ItemAlert"); } } public static void MystItemInteractionPopupManagerHookMethod(orig_Awake orig, HUD self) { //IL_004b: 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_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) orig.Invoke(self); InfoBox = Object.Instantiate(Assets.MystItemInfoBox); InfoBox.transform.SetParent(self.mainContainer.transform); RectTransform component = InfoBox.GetComponent(); component.anchorMin = new Vector2(0.5f, 0f); component.anchorMax = new Vector2(0.5f, 0f); component.sizeDelta = Vector2.zero; ((Transform)component).localScale = Vector2.op_Implicit(Vector2.one); component.anchoredPosition = new Vector2(0f, 230f); ChildLocator component2 = InfoBox.GetComponent(); animation = InfoBox.GetComponent(); icon = ((Component)component2.FindChild("ItemIcon")).GetComponent(); text = ((Component)component2.FindChild("InfoText")).GetComponent(); } } public static class RewiredActions { public const int WeaponSwapSkill = 100; } } namespace MystMod.Modules.Components { public class CustomInputBank : MonoBehaviour { public ButtonState weaponSwapSkill; internal static bool CheckAnyButtonDownOverrideHook(orig_CheckAnyButtonDown orig, InputBankTest self) { if (orig.Invoke(self)) { return true; } CustomInputBank component = ((Component)self).GetComponent(); if (Object.op_Implicit((Object)(object)component)) { return component.weaponSwapSkill.down; } return false; } } internal class CustomParticleEnd : MonoBehaviour { public float ParticleDuration = 99999f; public float ParticleFadeTime = 99999f; private ParticleSystem[] particles; private float Stopwatch = 0f; private bool Fired = false; private void Awake() { particles = ((Component)this).GetComponentsInChildren(); } private void FixedUpdate() { Stopwatch += Time.fixedDeltaTime; if (!Fired && Stopwatch >= ParticleDuration) { Fired = true; EndEffect(ParticleFadeTime); } } public void EndEffect(float duration) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) ParticleSystem[] array = particles; foreach (ParticleSystem val in array) { EmissionModule emission = val.emission; ((EmissionModule)(ref emission)).rateOverTime = MinMaxCurve.op_Implicit(0f); ((Component)val).gameObject.AddComponent().duration = duration; } } } public class DetachOnDestroy : MonoBehaviour { private ParticleSystem main; private GameObject root; private bool destroying; private void Awake() { main = ((Component)this).GetComponent(); root = ((Component)((Component)this).transform.root).gameObject; ((Component)this).transform.parent = null; } private void FixedUpdate() { //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)root)) { ((Component)this).transform.position = root.transform.position; ((Component)this).transform.rotation = root.transform.rotation; } else if (!destroying) { destroying = true; Object.Destroy((Object)(object)((Component)this).gameObject, 8f); main.Stop(); } } } public class MystController : MonoBehaviour { public bool hasBazookaReady; private CharacterBody characterBody; private CharacterModel model; private ChildLocator childLocator; private MystTracker tracker; private Animator modelAnimator; private void Awake() { characterBody = ((Component)this).gameObject.GetComponent(); childLocator = ((Component)this).gameObject.GetComponentInChildren(); model = ((Component)this).gameObject.GetComponentInChildren(); tracker = ((Component)this).gameObject.GetComponent(); modelAnimator = ((Component)this).gameObject.GetComponentInChildren(); hasBazookaReady = false; } private void CheckWeapon() { } public void UpdateCrosshair() { } } internal class MystMenuSound : MonoBehaviour { private uint SoundID; private void Start() { SoundID = Util.PlaySound("Misc_CSS", ((Component)this).gameObject); } private void OnDestroy() { AkSoundEngine.StopPlayingID(SoundID); } } internal class MystStasisHandler : MonoBehaviour { public static MystStasisHandler instance; private float StartUpTimer = 5f; private GameObject VFX; private uint SFX; private static float pulseInterval = 2f; private float pulsetimer; private int CurrentPulse = 0; private void Awake() { instance = this; pulsetimer = pulseInterval; VFX = Object.Instantiate(Assets.MystStasis, ((Component)this).transform, false); SFX = Util.PlaySound("Misc_Stasis", VFX); } private void OnDestroy() { AkSoundEngine.StopPlayingID(SFX, 1, (AkCurveInterpolation)4); } private void FixedUpdate() { //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Unknown result type (might be due to invalid IL or missing references) //IL_0110: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_012f: Unknown result type (might be due to invalid IL or missing references) //IL_0136: Unknown result type (might be due to invalid IL or missing references) //IL_013b: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Unknown result type (might be due to invalid IL or missing references) //IL_0151: Expected O, but got Unknown StartUpTimer -= Time.fixedDeltaTime; bool flag = true; if (StartUpTimer <= 0f) { pulsetimer -= Time.fixedDeltaTime; if (pulsetimer <= 0f) { pulsetimer = pulseInterval; ReadOnlyCollection teamMembers = TeamComponent.GetTeamMembers((TeamIndex)1); foreach (TeamComponent item in teamMembers) { CharacterBody component = ((Component)item).gameObject.GetComponent(); if (component.isPlayerControlled && Vector3.Distance(component.transform.position, ((Component)this).transform.position) > 50f) { flag = false; } } if (!flag) { CurrentPulse++; if (NetworkServer.active) { EffectManager.SpawnEffect(Assets.MystStasisPulse, new EffectData { origin = ((Component)this).transform.position, rootObject = ((Component)this).gameObject, rotation = ((Component)this).transform.rotation, scale = 1f }, true); } } else { CurrentPulse = 0; } } } if (CurrentPulse >= 4) { if (Object.op_Implicit((Object)(object)VFX) && !Object.op_Implicit((Object)(object)VFX.GetComponent())) { CustomParticleEnd customParticleEnd = VFX.AddComponent(); customParticleEnd.ParticleDuration = 0f; customParticleEnd.ParticleFadeTime = 10f; } Object.Destroy((Object)(object)this); } else if (((NetworkBehaviour)Run.instance).isServer) { Run.instance.SetRunStopwatchPaused(true); } } } public class MystTracker : MonoBehaviour { public static float maxAttackDashDistance = 40f; public float maxTrackingDistance = 80f; public float maxTrackingAngle = 45f; public float trackerUpdateFrequency = 10f; private HurtBox trackingTarget; private HurtBox[] trackingTargets; private HurtBox trackingTargetAlly; private HurtBox[] trackingTargetsAlly; private CharacterBody characterBody; private TeamComponent teamComponent; private InputBankTest inputBank; private float trackerUpdateStopwatch; private Indicator indicatorMainTarget; private Indicator[] indicatorSubTargets = (Indicator[])(object)new Indicator[5]; private Indicator indicatorAllyTarget; private readonly BullseyeSearch search = new BullseyeSearch(); private readonly BullseyeSearch searchAlly = new BullseyeSearch(); private TeamMask allyTeamMask; private SpriteRenderer TargeterAttack; private void Awake() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Expected O, but got Unknown //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Expected O, but got Unknown indicatorMainTarget = new Indicator(((Component)this).gameObject, Assets.trackerPrefab); for (int i = 0; i < 5; i++) { indicatorSubTargets[i] = new Indicator(((Component)this).gameObject, Assets.trackerSubPrefab); } indicatorAllyTarget = new Indicator(((Component)this).gameObject, Assets.trackerAllyPrefab); } private void Start() { //IL_0031: Unknown result type (might be due to invalid IL or missing references) characterBody = ((Component)this).GetComponent(); inputBank = ((Component)this).GetComponent(); teamComponent = ((Component)this).GetComponent(); ((TeamMask)(ref allyTeamMask)).AddTeam(teamComponent.teamIndex); } public HurtBox GetTrackingTarget() { return trackingTarget; } public HurtBox[] GetSecondaryTargets() { return trackingTargets; } public HurtBox GetAllyTarget() { return trackingTargetAlly; } public HurtBox[] GetAllyTargets() { return trackingTargetsAlly; } private void OnEnable() { indicatorMainTarget.active = true; for (int i = 0; i < 5; i++) { indicatorSubTargets[i].active = true; } indicatorAllyTarget.active = true; } private void OnDisable() { indicatorMainTarget.active = false; for (int i = 0; i < 5; i++) { indicatorSubTargets[i].active = false; } indicatorAllyTarget.active = false; } private void OnDestroy() { indicatorMainTarget.active = false; for (int i = 0; i < 5; i++) { indicatorSubTargets[i].active = false; } indicatorAllyTarget.active = false; } private void FixedUpdate() { //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_0173: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Unknown result type (might be due to invalid IL or missing references) trackerUpdateStopwatch += Time.fixedDeltaTime; if (!Object.op_Implicit((Object)(object)TargeterAttack)) { GetAttackIndicator(); } if (trackerUpdateStopwatch >= 1f / trackerUpdateFrequency) { trackerUpdateStopwatch -= 1f / trackerUpdateFrequency; Ray aimRay = default(Ray); ((Ray)(ref aimRay))..ctor(inputBank.aimOrigin, inputBank.aimDirection); SearchForTarget(aimRay); indicatorMainTarget.targetTransform = (Object.op_Implicit((Object)(object)trackingTarget) ? ((Component)trackingTarget).transform : null); for (int i = 0; i < 5; i++) { if (trackingTargets.Length >= i + 2) { indicatorSubTargets[i].targetTransform = (Object.op_Implicit((Object)(object)trackingTargets[i + 1]) ? ((Component)trackingTargets[i + 1]).transform : null); } else { indicatorSubTargets[i].targetTransform = null; } } indicatorAllyTarget.targetTransform = (Object.op_Implicit((Object)(object)trackingTargetAlly) ? ((Component)trackingTargetAlly).transform : null); } if (Object.op_Implicit((Object)(object)TargeterAttack) && Object.op_Implicit((Object)(object)trackingTarget)) { if (Vector3.Distance(characterBody.transform.position, ((Component)trackingTarget).transform.position) < maxAttackDashDistance) { ((Renderer)TargeterAttack).enabled = true; } else { ((Renderer)TargeterAttack).enabled = false; } } } private void SearchForTarget(Ray aimRay) { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0035: 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_0047: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) search.teamMaskFilter = TeamMask.GetUnprotectedTeams(teamComponent.teamIndex); search.filterByLoS = true; search.searchOrigin = ((Ray)(ref aimRay)).origin; search.searchDirection = ((Ray)(ref aimRay)).direction; search.sortMode = (SortMode)2; search.maxDistanceFilter = maxTrackingDistance; search.maxAngleFilter = maxTrackingAngle; search.RefreshCandidates(); search.FilterOutGameObject(((Component)this).gameObject); searchAlly.teamMaskFilter = allyTeamMask; searchAlly.filterByLoS = true; searchAlly.searchOrigin = ((Ray)(ref aimRay)).origin; searchAlly.searchDirection = ((Ray)(ref aimRay)).direction; searchAlly.sortMode = (SortMode)2; searchAlly.maxDistanceFilter = maxTrackingDistance; searchAlly.maxAngleFilter = maxTrackingAngle; searchAlly.RefreshCandidates(); searchAlly.FilterOutGameObject(((Component)this).gameObject); trackingTarget = search.GetResults().FirstOrDefault(); trackingTargets = search.GetResults().ToArray(); trackingTargetAlly = searchAlly.GetResults().FirstOrDefault(); trackingTargetsAlly = searchAlly.GetResults().ToArray(); } private void GetAttackIndicator() { if (Object.op_Implicit((Object)(object)indicatorMainTarget.visualizerTransform)) { TargeterAttack = ((Component)((Component)indicatorMainTarget.visualizerTransform).transform.Find("Frame, Attack")).GetComponent(); } } } internal class TooltipComponent : MonoBehaviour { public string tooltipName = "Test Name"; public string tooltipDescription = "Test Description"; public Color tooltipColor = Color.white; private void Awake() { //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Expected O, but got Unknown //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: 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_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_00e8: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) bool flag = true; GraphicRaycaster component = ((Component)((Component)this).transform.parent.parent).GetComponent(); if ((Object)(object)component == (Object)null) { } ((Component)this).gameObject.AddComponent(); GameObject val = new GameObject("TimerText"); RectTransform val2 = val.AddComponent(); HGTextMeshProUGUI val3 = val.AddComponent(); val.transform.SetParent(((Component)this).transform); ((TMP_Text)val3).enableWordWrapping = false; ((TMP_Text)val3).alignment = (TextAlignmentOptions)514; ((TMP_Text)val3).fontSize = 5f; ((TMP_Text)val3).faceColor = Color32.op_Implicit(Color.white); ((TMP_Text)val3).text = ""; ((Transform)val2).localPosition = Vector3.zero; val2.anchorMin = new Vector2(1f, 0f); val2.anchorMax = new Vector2(1f, 0f); ((Transform)val2).localScale = Vector3.one; val2.sizeDelta = Vector2.op_Implicit(Vector3.one); val2.anchoredPosition = Vector2.op_Implicit(Vector3.one); } public void UpdateTooltip() { //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Unknown result type (might be due to invalid IL or missing references) TooltipProvider component = ((Component)this).GetComponent(); component.overrideTitleText = Language.GetString(tooltipName); component.overrideBodyText = Language.GetString(tooltipDescription); component.titleColor = tooltipColor; } } } namespace System.Runtime.CompilerServices { [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] internal sealed class IgnoresAccessChecksToAttribute : Attribute { internal IgnoresAccessChecksToAttribute(string assemblyName) { } } }