Decompiled source of Oldunitsstrengthened v1.0.4

THEMOD.dll

Decompiled 4 days ago
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Xml;
using BepInEx;
using DM;
using Landfall.TABS;
using Landfall.TABS.AI.Components.Modifiers;
using Landfall.TABS.AI.Systems;
using Landfall.TABS.GameMode;
using Landfall.TABS.GameState;
using Landfall.TABS.UnitEditor;
using ModdingForDummies.AssetManagement;
using ModdingForDummies.TABSSimp;
using SLMA;
using Sirenix.Serialization;
using TFBGames;
using THEMOD;
using Unity.Entities;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("ModdingForDummies")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ModdingForDummies")]
[assembly: AssemblyCopyright("Copyright ©  2021")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("1619c49c-bc45-486c-bbca-6b52cef4f478")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace ModdingForDummies
{
	[BepInPlugin("THEMOD", "THEMOD", "1.0.0")]
	public class Launcher : BaseUnityPlugin
	{
		public Launcher()
		{
			Debug.Log((object)"Starting My First Mod!");
			AssetImporter.Initialize();
			new Main();
		}
	}
	public class Main : Mod
	{
		private string comment;

		public Main()
		{
			//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_00d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e8: Expected O, but got Unknown
			//IL_0207: Unknown result type (might be due to invalid IL or missing references)
			//IL_020c: 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_021b: Expected O, but got Unknown
			//IL_0397: Unknown result type (might be due to invalid IL or missing references)
			//IL_039c: Unknown result type (might be due to invalid IL or missing references)
			//IL_03ad: 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_03b7: Unknown result type (might be due to invalid IL or missing references)
			//IL_03c1: Expected O, but got Unknown
			//IL_0b4a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b4f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b60: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b65: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b76: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b7b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b80: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b8a: Expected O, but got Unknown
			//IL_0d77: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d8b: Expected O, but got Unknown
			//IL_0dae: Unknown result type (might be due to invalid IL or missing references)
			//IL_0db5: Expected O, but got Unknown
			//IL_0dd8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dec: Expected O, but got Unknown
			//IL_0e07: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e0c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fed: 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_1003: Unknown result type (might be due to invalid IL or missing references)
			//IL_1008: Unknown result type (might be due to invalid IL or missing references)
			//IL_1019: 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_1023: Unknown result type (might be due to invalid IL or missing references)
			//IL_102d: Expected O, but got Unknown
			//IL_1199: Unknown result type (might be due to invalid IL or missing references)
			//IL_11ad: Expected O, but got Unknown
			//IL_11da: Unknown result type (might be due to invalid IL or missing references)
			//IL_11df: 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_11ee: Expected O, but got Unknown
			//IL_1278: Unknown result type (might be due to invalid IL or missing references)
			//IL_127d: Unknown result type (might be due to invalid IL or missing references)
			//IL_12f7: Unknown result type (might be due to invalid IL or missing references)
			//IL_130b: Expected O, but got Unknown
			//IL_136a: 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_137e: Expected O, but got Unknown
			//IL_13e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_13eb: Expected O, but got Unknown
			//IL_1432: Unknown result type (might be due to invalid IL or missing references)
			//IL_1446: Expected O, but got Unknown
			//IL_14ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_14c0: Expected O, but got Unknown
			//IL_14db: 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_14f1: Unknown result type (might be due to invalid IL or missing references)
			//IL_14f6: 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_1505: Expected O, but got Unknown
			//IL_1561: 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_15be: Expected O, but got Unknown
			//IL_15d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_15df: Expected O, but got Unknown
			//IL_15fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_1600: Expected O, but got Unknown
			//IL_161b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1621: Expected O, but got Unknown
			//IL_163c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1642: Expected O, but got Unknown
			//IL_165d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1663: Expected O, but got Unknown
			//IL_167e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1684: Expected O, but got Unknown
			//IL_169f: Unknown result type (might be due to invalid IL or missing references)
			//IL_16a5: Expected O, but got Unknown
			//IL_16c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_16c6: Expected O, but got Unknown
			//IL_16e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_16e8: Expected O, but got Unknown
			//IL_1704: Unknown result type (might be due to invalid IL or missing references)
			//IL_170a: Expected O, but got Unknown
			//IL_1726: Unknown result type (might be due to invalid IL or missing references)
			//IL_172c: Expected O, but got Unknown
			//IL_1748: Unknown result type (might be due to invalid IL or missing references)
			//IL_174e: Expected O, but got Unknown
			//IL_176a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1770: Expected O, but got Unknown
			//IL_178c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1792: Expected O, but got Unknown
			//IL_17ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_17b4: Expected O, but got Unknown
			//IL_17fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_180e: Expected O, but got Unknown
			//IL_1830: Unknown result type (might be due to invalid IL or missing references)
			//IL_183a: Unknown result type (might be due to invalid IL or missing references)
			//IL_183f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1864: 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_1922: Expected O, but got Unknown
			//IL_197a: Unknown result type (might be due to invalid IL or missing references)
			//IL_198e: Expected O, but got Unknown
			//IL_19c2: 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_1a14: Unknown result type (might be due to invalid IL or missing references)
			//IL_1a3d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1a66: 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_1ac9: 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_1b1b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1b44: 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_1b96: Unknown result type (might be due to invalid IL or missing references)
			//IL_1bbf: Unknown result type (might be due to invalid IL or missing references)
			//IL_1be8: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c11: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c18: Expected O, but got Unknown
			//IL_1c45: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c4c: Expected O, but got Unknown
			//IL_1c67: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c71: Expected O, but got Unknown
			//IL_1c88: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c8e: 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_1ceb: Expected O, but got Unknown
			//IL_1d0d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d17: Expected O, but got Unknown
			//IL_1d37: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d41: Expected O, but got Unknown
			//IL_1d61: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d6b: Expected O, but got Unknown
			//IL_1d84: Unknown result type (might be due to invalid IL or missing references)
			//IL_1da6: Expected O, but got Unknown
			//IL_1dc5: Unknown result type (might be due to invalid IL or missing references)
			//IL_1dd9: Unknown result type (might be due to invalid IL or missing references)
			//IL_1df7: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e01: Expected O, but got Unknown
			//IL_1e01: Expected O, but got Unknown
			//IL_1e01: Expected O, but got Unknown
			//IL_1e48: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e5c: Expected O, but got Unknown
			//IL_1e77: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e7c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e81: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e8b: Expected O, but got Unknown
			//IL_1ef0: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f04: Expected O, but got Unknown
			//IL_1f7a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f80: Expected O, but got Unknown
			//IL_1f9b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1fa1: Expected O, but got Unknown
			//IL_1fbc: Unknown result type (might be due to invalid IL or missing references)
			//IL_1fc2: Expected O, but got Unknown
			//IL_1fdd: Unknown result type (might be due to invalid IL or missing references)
			//IL_1fe3: Expected O, but got Unknown
			//IL_1ffe: Unknown result type (might be due to invalid IL or missing references)
			//IL_2004: Expected O, but got Unknown
			//IL_201f: Unknown result type (might be due to invalid IL or missing references)
			//IL_2025: Expected O, but got Unknown
			//IL_2040: Unknown result type (might be due to invalid IL or missing references)
			//IL_2046: Expected O, but got Unknown
			//IL_2061: Unknown result type (might be due to invalid IL or missing references)
			//IL_2067: Expected O, but got Unknown
			//IL_2082: Unknown result type (might be due to invalid IL or missing references)
			//IL_2088: Expected O, but got Unknown
			//IL_20a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_20aa: Expected O, but got Unknown
			//IL_20c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_20cc: Expected O, but got Unknown
			//IL_20e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_20ee: Expected O, but got Unknown
			//IL_210a: Unknown result type (might be due to invalid IL or missing references)
			//IL_2110: Expected O, but got Unknown
			//IL_212c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2132: Expected O, but got Unknown
			//IL_214e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2154: Expected O, but got Unknown
			//IL_2170: Unknown result type (might be due to invalid IL or missing references)
			//IL_2176: Expected O, but got Unknown
			//IL_222e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2242: Expected O, but got Unknown
			//IL_2264: Unknown result type (might be due to invalid IL or missing references)
			//IL_226e: Expected O, but got Unknown
			//IL_2277: Unknown result type (might be due to invalid IL or missing references)
			//IL_2281: Expected O, but got Unknown
			//IL_2297: Unknown result type (might be due to invalid IL or missing references)
			//IL_22b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_230b: Unknown result type (might be due to invalid IL or missing references)
			//IL_2311: Expected O, but got Unknown
			//IL_234d: Unknown result type (might be due to invalid IL or missing references)
			//IL_2361: Expected O, but got Unknown
			//IL_23ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_23b3: Expected O, but got Unknown
			//IL_23f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_240a: Expected O, but got Unknown
			//IL_2425: Unknown result type (might be due to invalid IL or missing references)
			//IL_242a: Unknown result type (might be due to invalid IL or missing references)
			//IL_243b: Unknown result type (might be due to invalid IL or missing references)
			//IL_2440: Unknown result type (might be due to invalid IL or missing references)
			//IL_2445: Unknown result type (might be due to invalid IL or missing references)
			//IL_244f: Expected O, but got Unknown
			//IL_248a: Unknown result type (might be due to invalid IL or missing references)
			//IL_2491: Expected O, but got Unknown
			//IL_24d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_24ea: Expected O, but got Unknown
			//IL_25ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_25f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_2603: Unknown result type (might be due to invalid IL or missing references)
			//IL_2608: Unknown result type (might be due to invalid IL or missing references)
			//IL_260d: Unknown result type (might be due to invalid IL or missing references)
			//IL_2617: Expected O, but got Unknown
			//IL_2641: Unknown result type (might be due to invalid IL or missing references)
			//IL_266c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2672: Expected O, but got Unknown
			//IL_2677: Expected O, but got Unknown
			//IL_2691: Unknown result type (might be due to invalid IL or missing references)
			//IL_26b7: Unknown result type (might be due to invalid IL or missing references)
			//IL_26bd: Expected O, but got Unknown
			//IL_26d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_26de: Expected O, but got Unknown
			//IL_26f9: Unknown result type (might be due to invalid IL or missing references)
			//IL_26ff: Expected O, but got Unknown
			//IL_2704: Expected O, but got Unknown
			//IL_271e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2723: Unknown result type (might be due to invalid IL or missing references)
			//IL_274d: Unknown result type (might be due to invalid IL or missing references)
			//IL_277f: Unknown result type (might be due to invalid IL or missing references)
			//IL_2793: Expected O, but got Unknown
			//IL_27c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_27cd: Unknown result type (might be due to invalid IL or missing references)
			//IL_27de: Unknown result type (might be due to invalid IL or missing references)
			//IL_27e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_27e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_27f2: Expected O, but got Unknown
			//IL_281c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2842: Unknown result type (might be due to invalid IL or missing references)
			//IL_2872: Unknown result type (might be due to invalid IL or missing references)
			//IL_2886: Expected O, but got Unknown
			//IL_28b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_28bf: Expected O, but got Unknown
			//IL_28fb: 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_292a: Unknown result type (might be due to invalid IL or missing references)
			//IL_2948: Unknown result type (might be due to invalid IL or missing references)
			//IL_2976: Unknown result type (might be due to invalid IL or missing references)
			//IL_298a: Expected O, but got Unknown
			//IL_252f: Unknown result type (might be due to invalid IL or missing references)
			//IL_2534: Unknown result type (might be due to invalid IL or missing references)
			//IL_2536: Unknown result type (might be due to invalid IL or missing references)
			//IL_2539: Invalid comparison between Unknown and I4
			//IL_2542: Unknown result type (might be due to invalid IL or missing references)
			//IL_2545: Invalid comparison between Unknown and I4
			//IL_2b2a: 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_2b7f: Unknown result type (might be due to invalid IL or missing references)
			//IL_2b84: Unknown result type (might be due to invalid IL or missing references)
			//IL_2baf: Unknown result type (might be due to invalid IL or missing references)
			//IL_2bb6: Expected O, but got Unknown
			//IL_2bd9: Unknown result type (might be due to invalid IL or missing references)
			//IL_2bed: Expected O, but got Unknown
			//IL_2c08: Unknown result type (might be due to invalid IL or missing references)
			//IL_2c0d: Unknown result type (might be due to invalid IL or missing references)
			//IL_2c1e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2c23: Unknown result type (might be due to invalid IL or missing references)
			//IL_2c28: Unknown result type (might be due to invalid IL or missing references)
			//IL_2c32: Expected O, but got Unknown
			//IL_2c7c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2c86: Expected O, but got Unknown
			//IL_2c9f: Unknown result type (might be due to invalid IL or missing references)
			//IL_2cbd: Unknown result type (might be due to invalid IL or missing references)
			//IL_2cdd: Unknown result type (might be due to invalid IL or missing references)
			//IL_2cfb: Unknown result type (might be due to invalid IL or missing references)
			//IL_2d05: Expected O, but got Unknown
			//IL_2d05: Expected O, but got Unknown
			//IL_2d3e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2d44: Expected O, but got Unknown
			//IL_2d85: Unknown result type (might be due to invalid IL or missing references)
			//IL_2d95: Expected O, but got Unknown
			//IL_2550: Unknown result type (might be due to invalid IL or missing references)
			//IL_2556: Invalid comparison between Unknown and I4
			//IL_2587: Unknown result type (might be due to invalid IL or missing references)
			//IL_2dcc: Unknown result type (might be due to invalid IL or missing references)
			//IL_2dd6: Expected O, but got Unknown
			//IL_2dd1: Unknown result type (might be due to invalid IL or missing references)
			//IL_2dd6: Unknown result type (might be due to invalid IL or missing references)
			//IL_2dd7: Unknown result type (might be due to invalid IL or missing references)
			//IL_2de3: Expected O, but got Unknown
			//IL_2dfe: Unknown result type (might be due to invalid IL or missing references)
			//IL_2e08: Expected O, but got Unknown
			//IL_2e03: Unknown result type (might be due to invalid IL or missing references)
			//IL_2e08: Unknown result type (might be due to invalid IL or missing references)
			//IL_2e09: Unknown result type (might be due to invalid IL or missing references)
			//IL_2e15: Expected O, but got Unknown
			//IL_2e56: Unknown result type (might be due to invalid IL or missing references)
			//IL_2e66: Expected O, but got Unknown
			//IL_2e76: Unknown result type (might be due to invalid IL or missing references)
			//IL_2ea4: Unknown result type (might be due to invalid IL or missing references)
			//IL_2eb4: Expected O, but got Unknown
			//IL_2ed6: Unknown result type (might be due to invalid IL or missing references)
			//IL_2ee0: Expected O, but got Unknown
			//IL_2ee9: Unknown result type (might be due to invalid IL or missing references)
			//IL_2ef3: Expected O, but got Unknown
			//IL_2efa: Unknown result type (might be due to invalid IL or missing references)
			//IL_2f0c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2f49: Unknown result type (might be due to invalid IL or missing references)
			//IL_2f59: Expected O, but got Unknown
			//IL_2f69: 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_2fa7: Expected O, but got Unknown
			//IL_2fc9: Unknown result type (might be due to invalid IL or missing references)
			//IL_2fd3: Expected O, but got Unknown
			//IL_2fdc: Unknown result type (might be due to invalid IL or missing references)
			//IL_2fe6: Expected O, but got Unknown
			//IL_2fed: Unknown result type (might be due to invalid IL or missing references)
			//IL_2fff: Unknown result type (might be due to invalid IL or missing references)
			//IL_3041: Unknown result type (might be due to invalid IL or missing references)
			//IL_3047: Expected O, but got Unknown
			//IL_30c7: 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_3109: Expected O, but got Unknown
			//IL_3128: Unknown result type (might be due to invalid IL or missing references)
			//IL_3146: Unknown result type (might be due to invalid IL or missing references)
			//IL_3150: Expected O, but got Unknown
			//IL_3150: Expected O, but got Unknown
			//IL_3175: Unknown result type (might be due to invalid IL or missing references)
			//IL_3189: Expected O, but got Unknown
			//IL_31c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_31da: Expected O, but got Unknown
			//IL_3239: Unknown result type (might be due to invalid IL or missing references)
			//IL_324d: Expected O, but got Unknown
			//IL_328e: Unknown result type (might be due to invalid IL or missing references)
			//IL_3295: Expected O, but got Unknown
			//IL_32a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_32c1: 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_3302: Unknown result type (might be due to invalid IL or missing references)
			//IL_3352: Unknown result type (might be due to invalid IL or missing references)
			//IL_3358: Expected O, but got Unknown
			//IL_3373: Unknown result type (might be due to invalid IL or missing references)
			//IL_3379: Expected O, but got Unknown
			//IL_3394: Unknown result type (might be due to invalid IL or missing references)
			//IL_339a: Expected O, but got Unknown
			//IL_33c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_33dc: Expected O, but got Unknown
			//IL_3412: Unknown result type (might be due to invalid IL or missing references)
			//IL_3426: Expected O, but got Unknown
			//IL_3453: Unknown result type (might be due to invalid IL or missing references)
			//IL_3467: Expected O, but got Unknown
			//IL_34a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_34b0: Expected O, but got Unknown
			//IL_34df: Unknown result type (might be due to invalid IL or missing references)
			//IL_34f3: Expected O, but got Unknown
			//IL_3622: Unknown result type (might be due to invalid IL or missing references)
			//IL_364a: Unknown result type (might be due to invalid IL or missing references)
			//IL_3670: Unknown result type (might be due to invalid IL or missing references)
			//IL_36a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_36b4: Expected O, but got Unknown
			//IL_36e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_36ef: Expected O, but got Unknown
			//IL_36ea: Unknown result type (might be due to invalid IL or missing references)
			//IL_36ef: Unknown result type (might be due to invalid IL or missing references)
			//IL_3704: Unknown result type (might be due to invalid IL or missing references)
			//IL_3714: Expected O, but got Unknown
			//IL_3733: Unknown result type (might be due to invalid IL or missing references)
			//IL_373d: Expected O, but got Unknown
			//IL_3738: Unknown result type (might be due to invalid IL or missing references)
			//IL_373d: Unknown result type (might be due to invalid IL or missing references)
			//IL_3752: Unknown result type (might be due to invalid IL or missing references)
			//IL_3762: Expected O, but got Unknown
			//IL_376e: Unknown result type (might be due to invalid IL or missing references)
			//IL_3778: Unknown result type (might be due to invalid IL or missing references)
			//IL_378d: Unknown result type (might be due to invalid IL or missing references)
			//IL_3797: Unknown result type (might be due to invalid IL or missing references)
			//IL_37f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_3824: Unknown result type (might be due to invalid IL or missing references)
			//IL_3838: Expected O, but got Unknown
			//IL_3867: Unknown result type (might be due to invalid IL or missing references)
			//IL_3871: Expected O, but got Unknown
			//IL_386c: Unknown result type (might be due to invalid IL or missing references)
			//IL_3871: 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_3896: Expected O, but got Unknown
			//IL_38a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_38ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_390d: Unknown result type (might be due to invalid IL or missing references)
			//IL_3914: Expected O, but got Unknown
			//IL_3937: Unknown result type (might be due to invalid IL or missing references)
			//IL_394b: Expected O, but got Unknown
			//IL_396b: Unknown result type (might be due to invalid IL or missing references)
			//IL_3977: Expected O, but got Unknown
			//IL_399c: Unknown result type (might be due to invalid IL or missing references)
			//IL_39b0: Expected O, but got Unknown
			//IL_39e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_39ee: Expected O, but got Unknown
			//IL_3a2a: Unknown result type (might be due to invalid IL or missing references)
			//IL_3a30: Expected O, but got Unknown
			//IL_3a5d: Unknown result type (might be due to invalid IL or missing references)
			//IL_3a64: Expected O, but got Unknown
			//IL_3a87: Unknown result type (might be due to invalid IL or missing references)
			//IL_3a9b: Expected O, but got Unknown
			//IL_3acc: Unknown result type (might be due to invalid IL or missing references)
			//IL_3ad6: Expected O, but got Unknown
			//IL_3ad1: Unknown result type (might be due to invalid IL or missing references)
			//IL_3ad6: Unknown result type (might be due to invalid IL or missing references)
			//IL_3aeb: Unknown result type (might be due to invalid IL or missing references)
			//IL_3afb: Expected O, but got Unknown
			//IL_3b1a: Unknown result type (might be due to invalid IL or missing references)
			//IL_3b24: Expected O, but got Unknown
			//IL_3b1f: Unknown result type (might be due to invalid IL or missing references)
			//IL_3b24: Unknown result type (might be due to invalid IL or missing references)
			//IL_3b39: Unknown result type (might be due to invalid IL or missing references)
			//IL_3b49: Expected O, but got Unknown
			//IL_3b55: Unknown result type (might be due to invalid IL or missing references)
			//IL_3b5f: Unknown result type (might be due to invalid IL or missing references)
			//IL_3ba2: Unknown result type (might be due to invalid IL or missing references)
			//IL_3bd4: Unknown result type (might be due to invalid IL or missing references)
			//IL_3be8: Expected O, but got Unknown
			//IL_3bf9: Unknown result type (might be due to invalid IL or missing references)
			//IL_3bfe: Unknown result type (might be due to invalid IL or missing references)
			//IL_3c07: Expected O, but got Unknown
			//IL_3c2f: Unknown result type (might be due to invalid IL or missing references)
			//IL_3c43: Expected O, but got Unknown
			//IL_3c7d: 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_3ca5: Expected O, but got Unknown
			//IL_3ca5: Expected O, but got Unknown
			//IL_3cca: Unknown result type (might be due to invalid IL or missing references)
			//IL_3cde: Expected O, but got Unknown
			//IL_3d26: Unknown result type (might be due to invalid IL or missing references)
			//IL_3d3a: Expected O, but got Unknown
			//IL_3d71: Unknown result type (might be due to invalid IL or missing references)
			//IL_3d7b: Expected O, but got Unknown
			//IL_3d76: Unknown result type (might be due to invalid IL or missing references)
			//IL_3d7b: Unknown result type (might be due to invalid IL or missing references)
			//IL_3d90: Unknown result type (might be due to invalid IL or missing references)
			//IL_3da0: Expected O, but got Unknown
			//IL_3dbb: Unknown result type (might be due to invalid IL or missing references)
			//IL_3dc5: Expected O, but got Unknown
			//IL_3dc0: Unknown result type (might be due to invalid IL or missing references)
			//IL_3dc5: Unknown result type (might be due to invalid IL or missing references)
			//IL_3dda: Unknown result type (might be due to invalid IL or missing references)
			//IL_3dea: Expected O, but got Unknown
			//IL_3e1f: Unknown result type (might be due to invalid IL or missing references)
			//IL_3e33: Expected O, but got Unknown
			//IL_3ead: Unknown result type (might be due to invalid IL or missing references)
			//IL_3ec1: Expected O, but got Unknown
			//IL_3ef0: Unknown result type (might be due to invalid IL or missing references)
			//IL_3efa: Expected O, but got Unknown
			//IL_3ef5: Unknown result type (might be due to invalid IL or missing references)
			//IL_3efa: Unknown result type (might be due to invalid IL or missing references)
			//IL_3f0f: Unknown result type (might be due to invalid IL or missing references)
			//IL_3f1f: Expected O, but got Unknown
			//IL_3f2b: Unknown result type (might be due to invalid IL or missing references)
			//IL_3f35: Unknown result type (might be due to invalid IL or missing references)
			//IL_3fb7: Unknown result type (might be due to invalid IL or missing references)
			//IL_3fcb: Expected O, but got Unknown
			//IL_3ffd: Unknown result type (might be due to invalid IL or missing references)
			//IL_4007: Expected O, but got Unknown
			//IL_4002: Unknown result type (might be due to invalid IL or missing references)
			//IL_4007: 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_402c: Expected O, but got Unknown
			//IL_404a: Unknown result type (might be due to invalid IL or missing references)
			//IL_4054: Expected O, but got Unknown
			//IL_404f: Unknown result type (might be due to invalid IL or missing references)
			//IL_4054: Unknown result type (might be due to invalid IL or missing references)
			//IL_4069: Unknown result type (might be due to invalid IL or missing references)
			//IL_4079: Expected O, but got Unknown
			//IL_4085: Unknown result type (might be due to invalid IL or missing references)
			//IL_408f: Unknown result type (might be due to invalid IL or missing references)
			//IL_40a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_40ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_4122: Unknown result type (might be due to invalid IL or missing references)
			//IL_4136: Expected O, but got Unknown
			//IL_4153: Unknown result type (might be due to invalid IL or missing references)
			//IL_4198: Unknown result type (might be due to invalid IL or missing references)
			//IL_41d6: 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_41f7: Unknown result type (might be due to invalid IL or missing references)
			//IL_4234: Unknown result type (might be due to invalid IL or missing references)
			//IL_4248: Expected O, but got Unknown
			//IL_4260: 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_42bb: Unknown result type (might be due to invalid IL or missing references)
			//IL_42cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_42d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_4312: Unknown result type (might be due to invalid IL or missing references)
			//IL_4317: Unknown result type (might be due to invalid IL or missing references)
			//IL_4333: 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_4384: Expected O, but got Unknown
			//IL_43a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_43f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_43fb: Unknown result type (might be due to invalid IL or missing references)
			//IL_440d: Unknown result type (might be due to invalid IL or missing references)
			//IL_441f: Unknown result type (might be due to invalid IL or missing references)
			//IL_4431: Unknown result type (might be due to invalid IL or missing references)
			//IL_446f: Unknown result type (might be due to invalid IL or missing references)
			//IL_4474: Unknown result type (might be due to invalid IL or missing references)
			//IL_4490: Unknown result type (might be due to invalid IL or missing references)
			//IL_450f: Unknown result type (might be due to invalid IL or missing references)
			//IL_4523: Expected O, but got Unknown
			//IL_4555: Unknown result type (might be due to invalid IL or missing references)
			//IL_455f: Expected O, but got Unknown
			//IL_455a: Unknown result type (might be due to invalid IL or missing references)
			//IL_455f: Unknown result type (might be due to invalid IL or missing references)
			//IL_4574: Unknown result type (might be due to invalid IL or missing references)
			//IL_4584: Expected O, but got Unknown
			//IL_45a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_45ac: Expected O, but got Unknown
			//IL_45a7: Unknown result type (might be due to invalid IL or missing references)
			//IL_45ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_45c1: Unknown result type (might be due to invalid IL or missing references)
			//IL_45d1: Expected O, but got Unknown
			//IL_45eb: Unknown result type (might be due to invalid IL or missing references)
			//IL_4600: Unknown result type (might be due to invalid IL or missing references)
			//IL_460a: Unknown result type (might be due to invalid IL or missing references)
			//IL_4684: Unknown result type (might be due to invalid IL or missing references)
			//IL_4698: Expected O, but got Unknown
			//IL_46c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_46d1: Expected O, but got Unknown
			//IL_46cc: 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_46e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_46f6: Expected O, but got Unknown
			//IL_475f: Unknown result type (might be due to invalid IL or missing references)
			//IL_4769: Unknown result type (might be due to invalid IL or missing references)
			//IL_4797: Unknown result type (might be due to invalid IL or missing references)
			//IL_47ab: Expected O, but got Unknown
			//IL_47dd: Unknown result type (might be due to invalid IL or missing references)
			//IL_47e7: Expected O, but got Unknown
			//IL_47e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_47e7: Unknown result type (might be due to invalid IL or missing references)
			//IL_47fc: Unknown result type (might be due to invalid IL or missing references)
			//IL_480c: Expected O, but got Unknown
			//IL_482a: Unknown result type (might be due to invalid IL or missing references)
			//IL_4834: Expected O, but got Unknown
			//IL_482f: Unknown result type (might be due to invalid IL or missing references)
			//IL_4834: Unknown result type (might be due to invalid IL or missing references)
			//IL_4849: Unknown result type (might be due to invalid IL or missing references)
			//IL_4859: Expected O, but got Unknown
			//IL_4865: Unknown result type (might be due to invalid IL or missing references)
			//IL_486f: Unknown result type (might be due to invalid IL or missing references)
			//IL_48a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_48a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_48af: Expected O, but got Unknown
			//IL_48b1: Unknown result type (might be due to invalid IL or missing references)
			//IL_48b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_48bf: Expected O, but got Unknown
			//IL_48e7: Unknown result type (might be due to invalid IL or missing references)
			//IL_48fb: Expected O, but got Unknown
			//IL_492d: Unknown result type (might be due to invalid IL or missing references)
			//IL_4937: Expected O, but got Unknown
			//IL_4932: Unknown result type (might be due to invalid IL or missing references)
			//IL_4937: Unknown result type (might be due to invalid IL or missing references)
			//IL_494c: Unknown result type (might be due to invalid IL or missing references)
			//IL_495c: Expected O, but got Unknown
			//IL_497a: Unknown result type (might be due to invalid IL or missing references)
			//IL_4984: Expected O, but got Unknown
			//IL_497f: Unknown result type (might be due to invalid IL or missing references)
			//IL_4984: Unknown result type (might be due to invalid IL or missing references)
			//IL_4999: Unknown result type (might be due to invalid IL or missing references)
			//IL_49a9: Expected O, but got Unknown
			//IL_49b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_49bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_4a05: Unknown result type (might be due to invalid IL or missing references)
			//IL_4a19: Expected O, but got Unknown
			//IL_4a4b: Unknown result type (might be due to invalid IL or missing references)
			//IL_4a55: Expected O, but got Unknown
			//IL_4a50: Unknown result type (might be due to invalid IL or missing references)
			//IL_4a55: Unknown result type (might be due to invalid IL or missing references)
			//IL_4a6a: Unknown result type (might be due to invalid IL or missing references)
			//IL_4a7a: Expected O, but got Unknown
			//IL_4a98: Unknown result type (might be due to invalid IL or missing references)
			//IL_4aa2: Expected O, but got Unknown
			//IL_4a9d: Unknown result type (might be due to invalid IL or missing references)
			//IL_4aa2: Unknown result type (might be due to invalid IL or missing references)
			//IL_4ab7: Unknown result type (might be due to invalid IL or missing references)
			//IL_4ac7: Expected O, but got Unknown
			//IL_4ad3: Unknown result type (might be due to invalid IL or missing references)
			//IL_4add: Unknown result type (might be due to invalid IL or missing references)
			//IL_4af2: Unknown result type (might be due to invalid IL or missing references)
			//IL_4afc: Unknown result type (might be due to invalid IL or missing references)
			//IL_4b6b: Unknown result type (might be due to invalid IL or missing references)
			//IL_4b7f: Expected O, but got Unknown
			//IL_4bae: Unknown result type (might be due to invalid IL or missing references)
			//IL_4bb8: Expected O, but got Unknown
			//IL_4bb3: Unknown result type (might be due to invalid IL or missing references)
			//IL_4bb8: Unknown result type (might be due to invalid IL or missing references)
			//IL_4bcd: Unknown result type (might be due to invalid IL or missing references)
			//IL_4bdd: Expected O, but got Unknown
			//IL_4be9: Unknown result type (might be due to invalid IL or missing references)
			//IL_4bf3: Unknown result type (might be due to invalid IL or missing references)
			//IL_4c39: Unknown result type (might be due to invalid IL or missing references)
			//IL_4c4d: Expected O, but got Unknown
			//IL_4c91: Unknown result type (might be due to invalid IL or missing references)
			//IL_4caf: Unknown result type (might be due to invalid IL or missing references)
			//IL_4cb9: Expected O, but got Unknown
			//IL_4cb9: Expected O, but got Unknown
			//IL_4cde: Unknown result type (might be due to invalid IL or missing references)
			//IL_4cf2: Expected O, but got Unknown
			//IL_4d4b: Unknown result type (might be due to invalid IL or missing references)
			//IL_4d5f: Expected O, but got Unknown
			//IL_4d8e: Unknown result type (might be due to invalid IL or missing references)
			//IL_4d98: Expected O, but got Unknown
			//IL_4d93: Unknown result type (might be due to invalid IL or missing references)
			//IL_4d98: 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_4dbd: Expected O, but got Unknown
			//IL_4dc9: Unknown result type (might be due to invalid IL or missing references)
			//IL_4dd3: Unknown result type (might be due to invalid IL or missing references)
			//IL_4e19: Unknown result type (might be due to invalid IL or missing references)
			//IL_4e2d: Expected O, but got Unknown
			//IL_4e7c: Unknown result type (might be due to invalid IL or missing references)
			//IL_4e9a: Unknown result type (might be due to invalid IL or missing references)
			//IL_4ea4: Expected O, but got Unknown
			//IL_4ea4: Expected O, but got Unknown
			//IL_4ed5: Unknown result type (might be due to invalid IL or missing references)
			//IL_4ee9: Expected O, but got Unknown
			//IL_4f18: Unknown result type (might be due to invalid IL or missing references)
			//IL_4f22: Expected O, but got Unknown
			//IL_4f1d: 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_4f37: Unknown result type (might be due to invalid IL or missing references)
			//IL_4f47: Expected O, but got Unknown
			//IL_4f53: Unknown result type (might be due to invalid IL or missing references)
			//IL_4f5d: Unknown result type (might be due to invalid IL or missing references)
			//IL_4fcc: Unknown result type (might be due to invalid IL or missing references)
			//IL_4fe0: Expected O, but got Unknown
			//IL_5046: Unknown result type (might be due to invalid IL or missing references)
			//IL_505a: Expected O, but got Unknown
			//IL_5072: Unknown result type (might be due to invalid IL or missing references)
			//IL_50aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_50b4: Expected O, but got Unknown
			//IL_50af: Unknown result type (might be due to invalid IL or missing references)
			//IL_50b4: Unknown result type (might be due to invalid IL or missing references)
			//IL_50c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_50d9: Expected O, but got Unknown
			//IL_5112: Unknown result type (might be due to invalid IL or missing references)
			//IL_5126: Expected O, but got Unknown
			//IL_5158: Unknown result type (might be due to invalid IL or missing references)
			//IL_5162: Expected O, but got Unknown
			//IL_515d: Unknown result type (might be due to invalid IL or missing references)
			//IL_5162: Unknown result type (might be due to invalid IL or missing references)
			//IL_5177: Unknown result type (might be due to invalid IL or missing references)
			//IL_5187: Expected O, but got Unknown
			//IL_51a5: Unknown result type (might be due to invalid IL or missing references)
			//IL_51af: Expected O, but got Unknown
			//IL_51aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_51af: 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_51d4: Expected O, but got Unknown
			//IL_51e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_51ea: Unknown result type (might be due to invalid IL or missing references)
			//IL_5238: Unknown result type (might be due to invalid IL or missing references)
			//IL_524c: Expected O, but got Unknown
			//IL_528e: Unknown result type (might be due to invalid IL or missing references)
			//IL_5294: Expected O, but got Unknown
			//IL_52af: Unknown result type (might be due to invalid IL or missing references)
			//IL_52b5: Expected O, but got Unknown
			//IL_52d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_52d6: Expected O, but got Unknown
			//IL_52f1: Unknown result type (might be due to invalid IL or missing references)
			//IL_52f7: Expected O, but got Unknown
			//IL_5312: Unknown result type (might be due to invalid IL or missing references)
			//IL_5318: Expected O, but got Unknown
			//IL_5333: Unknown result type (might be due to invalid IL or missing references)
			//IL_5339: Expected O, but got Unknown
			//IL_5354: Unknown result type (might be due to invalid IL or missing references)
			//IL_535a: Expected O, but got Unknown
			//IL_5375: Unknown result type (might be due to invalid IL or missing references)
			//IL_537b: Expected O, but got Unknown
			//IL_5396: Unknown result type (might be due to invalid IL or missing references)
			//IL_539c: Expected O, but got Unknown
			//IL_53b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_53be: Expected O, but got Unknown
			//IL_53da: Unknown result type (might be due to invalid IL or missing references)
			//IL_53e0: Expected O, but got Unknown
			//IL_53fc: Unknown result type (might be due to invalid IL or missing references)
			//IL_5402: Expected O, but got Unknown
			//IL_541e: Unknown result type (might be due to invalid IL or missing references)
			//IL_5424: Expected O, but got Unknown
			//IL_5440: Unknown result type (might be due to invalid IL or missing references)
			//IL_5446: Expected O, but got Unknown
			//IL_5462: Unknown result type (might be due to invalid IL or missing references)
			//IL_5468: Expected O, but got Unknown
			//IL_5484: Unknown result type (might be due to invalid IL or missing references)
			//IL_548a: Expected O, but got Unknown
			//IL_54a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_54ac: Expected O, but got Unknown
			//IL_54c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_54ce: Expected O, but got Unknown
			//IL_54ea: Unknown result type (might be due to invalid IL or missing references)
			//IL_54f0: Expected O, but got Unknown
			//IL_550c: Unknown result type (might be due to invalid IL or missing references)
			//IL_5512: Expected O, but got Unknown
			//IL_552e: Unknown result type (might be due to invalid IL or missing references)
			//IL_5534: Expected O, but got Unknown
			//IL_5550: Unknown result type (might be due to invalid IL or missing references)
			//IL_5556: Expected O, but got Unknown
			comment = "YES";
			Mod.DEV_MODE = false;
			ModUnit unit = Mod.GetUnit("Spear Thrower");
			unit.RightWeapon.internalObject.GetComponentInChildren<RangeWeapon>().spawnPosition = Mod.GetWeapon("Tempest Lich Staff").internalObject.GetComponentInChildren<RangeWeapon>().spawnPosition;
			unit.RightWeapon.internalObject.GetComponentInChildren<RangeWeapon>().randomPosition = 10f;
			unit.RightWeapon.internalObject.GetComponentInChildren<RangeWeapon>().spread = 0f;
			unit.RightWeapon.internalObject.GetComponentInChildren<RangeWeapon>().numberOfObjects = 1;
			unit.RightWeapon.Cooldown = 1f;
			unit.Cost = 800;
			SLMATool.CreateFaction("点击输入文字", (UnitBlueprint[])null, (Sprite)SLMALoader.SDic["sprites"]["CP_Viking_IceGiant_Belt001"], 5621098);
			ModUnit unit2 = Mod.GetUnit("Stoner");
			unit2.TwoHanded = false;
			unit2.RightWeapon.Size *= 0.5f;
			unit2.RightWeapon.Ranged.Projectile.Size *= 0.5f;
			unit2.RightWeapon.Cooldown = 1f;
			ModUnit unit3 = Mod.GetUnit("Bone Mage");
			unit3.RightWeapon.Cooldown = 2f;
			ModExplosion modExplosion = Mod.CreateExplosion("gufa", "ExplosionTreeGiant");
			modExplosion.internalObject.GetComponentInChildren<Explosion>().ignoreRoot = true;
			modExplosion.internalObject.GetComponentInChildren<Explosion>().ignoreTeamMates = true;
			modExplosion.Damage = 10f;
			unit3.RightWeapon.internalObject.AddComponent<骨法师>().explosion1 = modExplosion.internalObject;
			unit3.TwoHanded = true;
			ModUnit unit4 = Mod.GetUnit("Chieftain");
			unit4.Health *= 5f;
			unit4.RightWeapon.internalObject.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[1]
			{
				new Keyframe(0.2f, 0.8f)
			});
			unit4.RightWeapon.Cooldown = 0.3f;
			unit4.RightWeapon.Damage *= 0.7f;
			unit4.TurnSpeed *= 10000f;
			ModUnit unit5 = Mod.GetUnit("Mammoth");
			unit5.Health = 8500f;
			unit5.Cost = 3500;
			ModUnit unit6 = Mod.GetUnit("Scarecrow");
			unit6.RightWeapon.Ranged.ProjectileAmount = 1;
			unit6.RightWeapon.Cooldown = 3f;
			unit6.RightWeapon.AttackRange *= 1.5f;
			Mod.GetUnit("Hay Baler").Health *= 3f;
			ModUnit unit7 = Mod.GetUnit("Wheelbarrow");
			unit7.Speed *= 2f;
			unit7.Health *= 2f;
			ModUnit unit8 = Mod.GetUnit("The King");
			unit8.Health *= 1.6f;
			unit8.RightWeapon.internalObject.GetComponentInChildren<CollisionWeapon>().onImpactForce = 5E+12f;
			unit8.RightWeapon.internalObject.GetComponentInChildren<CollisionWeapon>().massCap = 6E+11f;
			unit8.RightWeapon.internalObject.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[2]
			{
				new Keyframe(0.3f, -0.5f),
				new Keyframe(0.5f, 5f)
			});
			unit8.RightWeapon.Cooldown = 1f;
			CollisionWeapon componentInChildren = unit8.RightWeapon.internalObject.GetComponentInChildren<CollisionWeapon>();
			componentInChildren.damage *= 2.27f;
			Rigidbody componentInChildren2 = unit8.RightWeapon.internalObject.GetComponentInChildren<Rigidbody>();
			componentInChildren2.mass *= 0.3f;
			unit8.RightWeapon.AttackRange *= 0.8f;
			ModUnit unit9 = Mod.GetUnit("Healer");
			unit9.RightWeapon.AttackRange *= 1234567f;
			ModUnit unit10 = Mod.GetUnit("Archer");
			unit10.RightWeapon.Cooldown = 2f;
			ModUnit unit11 = Mod.GetUnit("Squire");
			unit11.RightWeapon.Cooldown = 2f;
			unit11.Health *= 1.4f;
			ModUnit unit12 = Mod.GetUnit("Catapult");
			unit12.RightWeapon.Cooldown *= 2f;
			ModUnit unit13 = Mod.GetUnit("Zeus");
			unit13.RightWeapon.AttackSpeed *= 1.5f;
			unit13.RightWeapon.Damage = 140f;
			unit13.RightWeapon.Explosion = Mod.GetExplosion("Zeus");
			ModUnit unit14 = Mod.GetUnit("Ballista");
			unit14.RightWeapon.Explosion = Mod.GetExplosion("ExplosionSamuraiGiantStomp");
			unit14.RightWeapon.Damage = 3000f;
			ModUnit unit15 = Mod.GetUnit("Minotaur");
			unit15.Health *= 2f;
			unit15.RightWeapon.Force *= 3f;
			unit15.RightWeapon.Explosion = Mod.GetExplosion("BallAndChain");
			Mod.GetUnit("Jarl").Health *= 2f;
			ModUnit unit16 = Mod.GetUnit("Ice Archer");
			unit16.RightWeapon.AttackSpeed *= 2f;
			unit16.RightWeapon.Ranged.Projectile = Mod.GetProjectile("Regular Arrow");
			ModUnit unit17 = Mod.GetUnit("Hwacha");
			unit17.RightWeapon.AttackSpeed *= 1.5f;
			unit17.RightWeapon.AttackRange *= 1.1f;
			ModUnit unit18 = Mod.GetUnit("Dragon");
			unit18.Moves.Add("Ice Breath 2", "Fire Breath");
			ModUnit unit19 = Mod.GetUnit("Quick Draw");
			unit19.RightWeapon.Ranged.Ammo = 0;
			unit19.RightWeapon.AttackSpeed *= 1f;
			ModUnit unit20 = Mod.GetUnit("Deadeye");
			unit20.RightWeapon.AttackSpeed *= 1.2f;
			ModUnit unit21 = Mod.GetUnit("Gunslinger");
			unit21.RightWeapon.Cooldown = 3f;
			ModUnit unit22 = Mod.GetUnit("Gatling Gun");
			unit22.RightWeapon.AttackSpeed *= 2f;
			unit22.RightWeapon.Ranged.Recoil = 0f;
			unit22.RightWeapon.Damage *= 0.8f;
			unit22.RightWeapon.Ranged.Projectile.Force *= 0.5f;
			ModExplosion modExplosion2 = Mod.CreateExplosion("Wanbom1", "Explosion_Fire_Balloon");
			modExplosion2.internalObject.GetComponentInChildren<Explosion>().ignoreRoot = true;
			modExplosion2.internalObject.GetComponentInChildren<Explosion>().ignoreTeamMates = true;
			modExplosion2.Effect = Mod.GetEffect("FireEffect");
			ModUnit unit23 = Mod.GetUnit("Reaper");
			unit23.Health = 2000f;
			ModUnit unit24 = Mod.GetUnit("Skeleton Archer");
			unit24.RightWeapon.Explosion = modExplosion2;
			unit24.Cost = 900;
			ModUnit unit25 = Mod.GetUnit("Skeleton Giant");
			unit25.Health *= 1.5f;
			unit25.RightWeapon.Explosion = Mod.GetExplosion("ExplosionSamuraiGiant");
			unit25.RightWeapon.Damage = 250f;
			unit25.LeftWeapon.Explosion = Mod.GetExplosion("ExplosionSamuraiGiantStomp");
			ModUnit unit26 = Mod.GetUnit("Pirate Queen");
			unit26.Health *= 1.5f;
			unit26.Moves.Add("Bomb Spin", "Bomb Spin", "Bomb Spin");
			unit26.Cost = 3500;
			ModUnit unit27 = Mod.GetUnit("Captain");
			unit27.LeftWeapon.Force *= 3f;
			unit27.LeftWeapon.Ranged.Recoil *= 2f;
			unit27.Health *= 2f;
			ModUnit unit28 = Mod.GetUnit("Cannon");
			unit28.RightWeapon.Ranged.Projectile.Force *= 2f;
			unit28.RightWeapon.Cooldown = 3.5f;
			unit28.RightWeapon.Ranged.Projectile.Size *= 1.5f;
			ModUnit unit29 = Mod.GetUnit("Tank");
			unit29.Health = 7500f;
			unit29.RightWeapon.AttackSpeed *= 0.5f;
			unit29.Speed *= 1.5f;
			ModUnit unit30 = Mod.GetUnit("Pike");
			unit30.RightWeapon.Damage *= 2f;
			unit30.RightWeapon.Explosion = Mod.GetExplosion("ExplosionSamuraiGiant");
			ModUnit unit31 = Mod.GetUnit("Blowdarter");
			unit31.RightWeapon.Effect = Mod.GetEffect("Witch_HitEffect");
			ModUnit unit32 = Mod.GetUnit("Thor");
			ModExplosion modExplosion3 = Mod.CreateExplosion("Leishen", "BallAndChain");
			modExplosion3.Force = 0f;
			modExplosion3.Radius *= 4f;
			modExplosion3.Effect = Mod.GetEffect("Wizard_Zap");
			unit32.RightWeapon.Explosion = modExplosion3;
			unit32.Health *= 1.7f;
			UnitBlueprint internalObject = unit32.internalObject;
			internalObject.attackSpeedMultiplier *= 1.5f;
			unit32.Cost = 2000;
			ModUnit unit33 = Mod.GetUnit("Dark Peasant");
			unit33.Health = float.PositiveInfinity;
			unit33.RightWeapon.Cooldown = 1f;
			unit33.RightWeapon.Damage = 9999999f;
			unit33.Mass *= 10f;
			ModUnit unit34 = Mod.GetUnit("Super Peasant");
			unit34.Health = float.PositiveInfinity;
			unit34.RightWeapon.Damage *= 12f;
			ModWeapon modWeapon = Mod.CreateWeapon("Lag9", "Boxer's Glove");
			modWeapon.internalObject.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[3]
			{
				new Keyframe(0.15f, 0f),
				new Keyframe(0.25f, -0.35f),
				new Keyframe(0.45f, 2f)
			});
			CollisionWeapon componentInChildren3 = modWeapon.internalObject.GetComponentInChildren<CollisionWeapon>();
			componentInChildren3.onImpactForce *= 5f;
			modWeapon.internalObject.GetComponentInChildren<CollisionWeapon>().damage = 120f;
			modWeapon.internalObject.AddComponent<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			modWeapon.internalObject.GetComponentInChildren<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			modWeapon.Cooldown = 0.5f;
			ModUnit unit35 = Mod.GetUnit("Boxer");
			unit35.Health = 1000f;
			unit35.RightWeapon = modWeapon;
			unit35.LeftWeapon = modWeapon;
			unit35.Cost = 800;
			unit35.Balance *= 800f;
			unit35.Moves.Add("Quickdraw Projectile Dodge", "Melee Dodge");
			ModWeapon modWeapon2 = Mod.CreateWeapon("Daaaa", "Ak-47");
			modWeapon2.Ranged.Ammo = 0;
			modWeapon2.Ranged.Projectile = Mod.GetProjectile("Cannonball 3");
			modWeapon2.AttackSpeed /= 2f;
			ModUnit unit36 = Mod.GetUnit("Da Vinci Tank");
			unit36.Size /= 2f;
			unit36.RightWeapon.AttackSpeed *= 2f;
			unit36.RightWeapon.Ranged.Recoil = 0f;
			unit36.Speed *= 3f;
			unit36.Health = 10500f;
			unit36.Cost = 5000;
			ModUnit unit37 = Mod.GetUnit("Da Vinci");
			unit37.Health = 4000f;
			unit37.Size /= 2f;
			GameObject val = UPool.MyPool.AddObject("KILLH", (GameObject)SLMALoader.SDic["effects"]["E_Ballooner_Effect"], true, (HideFlags)52, (Sprite)null, 1702092, true);
			val.AddComponent<Effectkillunit>();
			UnitBlueprint val2 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_LEGACY_LEG_SUPERBOXER"];
			GameObject val3 = UPool.MyPool.AddObject("MIANYI", (GameObject)SLMALoader.SDic["moves"]["Head_up"], true, (HideFlags)52, (Sprite)null, 301823, true);
			UnitBlueprint val4 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_LEGACY_LEG_SUPERBOXER"];
			val4.massMultiplier *= 5f;
			ModEffect modEffect = Mod.CreateEffect("NB611", "Ballooner_Effect");
			((Component)modEffect.internalObject).gameObject.AddComponent<Effectkillunit>();
			ModExplosion modExplosion4 = Mod.CreateExplosion("Nb666", "BallAndChain");
			modExplosion4.Radius = 99999f;
			modExplosion4.Damage = 2.1474836E+09f;
			modExplosion4.Effect = modEffect;
			ModUnit unit38 = Mod.GetUnit("Shogun");
			unit38.Health = 1100f;
			unit38.RightWeapon.Damage *= 1.5f;
			ModExplosion modExplosion5 = Mod.CreateExplosion("JiangJun", "ExplosionSamuraiGiant");
			modExplosion5.Force *= 2f;
			modExplosion5.Damage = 140f;
			modExplosion5.Radius *= 2f;
			modExplosion5.internalObject.GetComponentInChildren<Explosion>().ignoreRoot = true;
			modExplosion5.internalObject.GetComponentInChildren<Explosion>().ignoreTeamMates = true;
			ModEffect modEffect2 = Mod.CreateEffect("BBB5", "Ballooner_Effect");
			((Component)modEffect2.internalObject).gameObject.AddComponent<Effectggh>();
			modExplosion5.Effect = modEffect2;
			unit38.RightWeapon.Explosion = modExplosion5;
			unit38.RightWeapon.Effect = modEffect2;
			Rigidbody componentInChildren4 = unit38.RightWeapon.internalObject.GetComponentInChildren<Rigidbody>();
			componentInChildren4.mass *= 1f;
			unit38.Mass *= 5f;
			unit38.TwoHanded = false;
			unit38.RightWeapon.internalObject.AddComponent<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			unit38.RightWeapon.internalObject.GetComponentInChildren<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			unit38.RightWeapon.internalObject.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[3]
			{
				new Keyframe(0.25f, 0f),
				new Keyframe(0.35f, -0.5f),
				new Keyframe(0.45f, 5f)
			});
			unit38.RightWeapon.internalObject.GetComponentInChildren<CollisionWeapon>().onImpactForce = 5E+12f;
			unit38.RightWeapon.internalObject.GetComponentInChildren<CollisionWeapon>().massCap = 8E+11f;
			unit38.RightWeapon.Cooldown = 0.8f;
			unit38.Moves.Add("Quickdraw Projectile Dodge", "Shogun Dodge", "Hurricane Slash");
			unit38.Balance *= 40f;
			ModExplosion modExplosion6 = Mod.CreateExplosion("exp1", "BallAndChain");
			modExplosion6.Radius *= 3f;
			modExplosion6.Effect = modEffect;
			modExplosion6.Force = 0f;
			modExplosion6.Damage = 0f;
			modExplosion6.internalObject.GetComponentInChildren<AddScreensShake>().amount = 0f;
			ModProjectile modProjectile = Mod.CreateProjectile("ZDDD", "Ak-47 Bullet");
			modProjectile.Speed *= 1.2f;
			modProjectile.Effect = modEffect;
			modProjectile.Explosion = modExplosion6;
			modProjectile.Size *= 2f;
			modProjectile.internalObject.GetComponentInChildren<MoveTransform>().gravity = 0f;
			GameObject val5 = UPool.MyPool.AddObject("肾虚者短剑", (GameObject)SLMALoader.SDic["weapons"]["Darkkingonehand"], true, (HideFlags)52, (Sprite)null, 3890979, true);
			ChineseLibrary.近战武器(val5, 1f, 5f);
			val5.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[1]
			{
				new Keyframe(4f, 5f)
			});
			ModWeapon modWeapon3 = Mod.CreateWeapon("Jtl", "Minigun");
			modWeapon3.Ranged.Ammo = 0;
			modWeapon3.Ranged.Recoil = 0f;
			modWeapon3.Ranged.Projectile = modProjectile;
			modWeapon3.internalObject.GetComponentInChildren<RangeWeapon>().shootHelpAngleCurve = Mod.GetWeapon("Tempest Lich Staff").internalObject.GetComponentInChildren<RangeWeapon>().shootHelpAngleCurve;
			modWeapon3.internalObject.GetComponentInChildren<RangeWeapon>().spawnPosition = Mod.GetWeapon("Tempest Lich Staff").internalObject.GetComponentInChildren<RangeWeapon>().spawnPosition;
			modWeapon3.internalObject.GetComponentInChildren<RangeWeapon>().randomPosition = 30f;
			modWeapon3.internalObject.GetComponentInChildren<RangeWeapon>().spread = 0f;
			modWeapon3.internalObject.GetComponentInChildren<RangeWeapon>().numberOfObjects = 1;
			modWeapon3.AttackRange *= 999999f;
			GameObject val6 = UPool.MyPool.AddObject("tuntun", (GameObject)SLMALoader.SDic["weapons"]["Club"], true, (HideFlags)52, (Sprite)null, 8758768, true);
			val6.GetComponentInChildren<CollisionWeapon>().onImpactForce = 5E+12f;
			val6.GetComponentInChildren<CollisionWeapon>().massCap = 6E+11f;
			val6.GetComponentInChildren<CollisionWeapon>().damage = 1200f;
			val6.GetComponentInChildren<CollisionWeapon>().teamDamage = 4f;
			val6.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[1]
			{
				new Keyframe(0.2f, 5f)
			});
			ChineseLibrary.近战武器(val6, 1f, 0.8f);
			MeleeWeapon componentInChildren5 = val6.GetComponentInChildren<MeleeWeapon>();
			((Weapon)componentInChildren5).maxRange = ((Weapon)componentInChildren5).maxRange * 2f;
			val6.AddComponent<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			val6.GetComponentInChildren<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			ChineseLibrary.近战武器效果(val6, (GameObject[])(object)new GameObject[1] { (GameObject)SLMALoader.SDic["explosions"]["E_Blackbeardslam"] }, 0.1f);
			Rigidbody componentInChildren6 = val6.GetComponentInChildren<Rigidbody>();
			componentInChildren6.mass *= 0.3f;
			GameObject val7 = UPool.MyPool.AddObject("mp509k", (GameObject)SLMALoader.SDic["weapons"]["Mp5k"], true, (HideFlags)52, (Sprite)null, 1090876, true);
			val7.GetComponentInChildren<RangeWeapon>().reloadTime = 0f;
			RangeWeapon componentInChildren7 = val7.GetComponentInChildren<RangeWeapon>();
			((Weapon)componentInChildren7).maxRange = ((Weapon)componentInChildren7).maxRange * 3f;
			RangeWeapon componentInChildren8 = val7.GetComponentInChildren<RangeWeapon>();
			((Weapon)componentInChildren8).attackSpeedM = ((Weapon)componentInChildren8).attackSpeedM * 0.5f;
			GameObject val8 = UPool.MyPool.AddObject("冰巨人拳狂暴版", (GameObject)SLMALoader.SDic["weapons"]["GiantPunch"], true, (HideFlags)52, (Sprite)null, 675832, true);
			val8.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[2]
			{
				new Keyframe(0.3f, -0.2f),
				new Keyframe(0.5f, 6f)
			});
			val8.GetComponentInChildren<CollisionWeapon>().onImpactForce = 5E+12f;
			val8.GetComponentInChildren<CollisionWeapon>().massCap = 3E+11f;
			val8.AddComponent<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			val8.GetComponentInChildren<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			s.DeepCopyOf<WeaponForceAnimation>(val8.GetComponentInChildren<WeaponForceAnimation>(), ((GameObject)SLMALoader.SDic["weapons"]["shogunSword"]).GetComponentInChildren<WeaponForceAnimation>());
			ChineseLibrary.近战武器(val8, 1f, 1f);
			val8.GetComponentInChildren<CollisionWeapon>().cooldown = 0.1f;
			ChineseLibrary.近战武器效果(val8, (GameObject[])(object)new GameObject[16]
			{
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"]
			}, 0.1f);
			MeleeWeapon componentInChildren9 = val8.GetComponentInChildren<MeleeWeapon>();
			((Weapon)componentInChildren9).maxRange = ((Weapon)componentInChildren9).maxRange * 1.5f;
			GameObject val9 = UPool.MyPool.AddObject("大慈大悲", (GameObject)SLMALoader.SDic["weapons"]["Minigun"], true, (HideFlags)52, (Sprite)null, 102531, true);
			val9.GetComponentInChildren<RangeWeapon>().spawnPosition = ((GameObject)SLMALoader.SDic["weapons"]["PriestStaff_Storm"]).GetComponentInChildren<RangeWeapon>().spawnPosition;
			val9.GetComponentInChildren<RangeWeapon>().shootHelpAngleCurve = ((GameObject)SLMALoader.SDic["weapons"]["PriestStaff_Storm"]).GetComponentInChildren<RangeWeapon>().shootHelpAngleCurve;
			val9.GetComponentInChildren<RangeWeapon>().randomPosition = 10f;
			val9.GetComponentInChildren<RangeWeapon>().spread = 0f;
			val9.GetComponentInChildren<RangeWeapon>().numberOfObjects = 1;
			val9.GetComponentInChildren<RangeWeapon>().shootRecoil = 0f;
			val9.GetComponentInChildren<RangeWeapon>().torsoRecoil = 0f;
			val9.GetComponentInChildren<RangeWeapon>().reloadTime = 0f;
			((Weapon)val9.GetComponentInChildren<RangeWeapon>()).maxRange = 100000000f;
			GameObject val10 = UPool.MyPool.AddObject("霓虹子弹", (GameObject)SLMALoader.SDic["projectiles"]["P_GatlingGunNeon"], true, (HideFlags)52, (Sprite)null, 1702961, true);
			val10.GetComponentInChildren<MoveTransform>().gravity = 0f;
			val10.GetComponentInChildren<ProjectileHit>().blockPoweredNeeded = 99999f;
			val10.GetComponentInChildren<ProjectileHit>().allowedHits = 999999;
			GameObject val11 = UPool.MyPool.AddObject("霓虹炮弹", (GameObject)SLMALoader.SDic["projectiles"]["P_Cannon"], true, (HideFlags)52, (Sprite)null, 1097501, true);
			val11.AddComponent<BOMMA>();
			val11.GetComponentInChildren<ProjectileHit>().damage = 1000f;
			((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionTreeGiant"]).GetComponentInChildren<Explosion>().ignoreRoot = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionTreeGiant"]).GetComponentInChildren<Explosion>().ignoreTeamMates = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionDarkP"]).GetComponentInChildren<Explosion>().ignoreRoot = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionDarkP"]).GetComponentInChildren<Explosion>().ignoreTeamMates = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionDarkP"]).AddComponent<ExplosionAddEffect>().EffectPrefab = val.GetComponentInChildren<UnitEffectBase>();
			Explosion componentInChildren10 = ((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionDarkP"]).GetComponentInChildren<Explosion>();
			componentInChildren10.radius *= 3f;
			((GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"]).GetComponentInChildren<Explosion>().ignoreRoot = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"]).GetComponentInChildren<Explosion>().ignoreTeamMates = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"]).GetComponentInChildren<Explosion>().ignoreRoot = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"]).GetComponentInChildren<Explosion>().ignoreTeamMates = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_Leg_TankExplo"]).GetComponentInChildren<Explosion>().ignoreRoot = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_Leg_TankExplo"]).GetComponentInChildren<Explosion>().ignoreTeamMates = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionSamuraiGiantStomp"]).GetComponentInChildren<Explosion>().ignoreRoot = true;
			((GameObject)SLMALoader.SDic["explosions"]["E_ExplosionSamuraiGiantStomp"]).GetComponentInChildren<Explosion>().ignoreTeamMates = true;
			UnitBlueprint val12 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_SECRET_BOMBCANNON"];
			val12.RightWeapon.GetComponentInChildren<RangeWeapon>().ObjectToSpawn = val11;
			UnitBlueprint val13 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_PIRATE_FLINTLOCK"];
			val13.LeftWeapon = (GameObject)SLMALoader.SDic["weapons"]["Piratesabre"];
			val13.health = 120f;
			val13.MovementComponents = new List<IMovementComponent> { (IMovementComponent)(object)default(NeverStopRunning) };
			val13.damageMultiplier *= 2f;
			GameObject val14 = UPool.MyPool.AddObject("GUOWANG", (GameObject)SLMALoader.SDic["moves"]["Head_up"], true, (HideFlags)52, (Sprite)null, 109101, true);
			val14.AddComponent<SUMMON1>().unitSpawn = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_MEDIEVAL_SQUIRE"];
			val14.GetComponentInChildren<SUMMON1>().unitSpawnA = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_MEDIEVAL_ARCHER"];
			val14.GetComponentInChildren<SUMMON1>().unitSpawnB = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_MEDIEVAL_KNIGHT"];
			ChineseLibrary.技能设置((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_MEDIEVAL_THEKING"], (GameObject[])(object)new GameObject[1] { UPool.MyPool.GetObject("GUOWANG") });
			UnitBlueprint val15 = SLMATool.CreateUnit("unitBlueprintONE", (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_SECRET_ICEGIANT"], (Faction)SLMATool.SLMADic["点击输入文字"], (Sprite)SLMALoader.SDic["sprites"]["CP_Viking_IceGiant_Belt001"]);
			val15.RightWeapon = val8;
			val15.LeftWeapon = val8;
			ChineseLibrary.技能设置(val15, (GameObject[])(object)new GameObject[0]);
			GameObject val16 = UPool.MyPool.AddObject("一拳超人", (GameObject)SLMALoader.SDic["weapons"]["GiantPunch"], true, (HideFlags)52, (Sprite)null, 110921, true);
			val16.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[1]
			{
				new Keyframe(0.2f, 1f)
			});
			MeleeWeapon componentInChildren11 = val16.GetComponentInChildren<MeleeWeapon>();
			((Weapon)componentInChildren11).attackSpeedM = ((Weapon)componentInChildren11).attackSpeedM * 5f;
			((Component)val16.GetComponentInChildren<CollisionWeapon>()).gameObject.AddComponent<MeleeWeaponAddEffect>().EffectPrefab = UPool.MyPool.GetObject("KILLH").GetComponentInChildren<UnitEffectBase>();
			GameObject val17 = UPool.MyPool.AddObject("KILLq", (GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"], true, (HideFlags)52, (Sprite)null, 9204712, true);
			val17.AddComponent<ExplosionAddEffect>().EffectPrefab = UPool.MyPool.GetObject("KILLH").GetComponentInChildren<UnitEffectBase>();
			Explosion componentInChildren12 = val17.GetComponentInChildren<Explosion>();
			componentInChildren12.radius *= 1f;
			Explosion componentInChildren13 = val17.GetComponentInChildren<Explosion>();
			componentInChildren13.force *= 8f;
			ChineseLibrary.近战武器效果(val16, (GameObject[])(object)new GameObject[17]
			{
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				UPool.MyPool.GetObject("KILLq")
			}, 0.1f);
			val16.GetComponentInChildren<CollisionWeapon>().onImpactForce = 5E+12f;
			val16.GetComponentInChildren<CollisionWeapon>().massCap = 2E+11f;
			val16.GetComponentInChildren<CollisionWeapon>().damage = 1E+10f;
			val16.AddComponent<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			val16.GetComponentInChildren<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			((Weapon)val16.GetComponentInChildren<MeleeWeapon>()).maxRange = 1E+09f;
			val16.AddComponent<BlinkDagger>();
			((Weapon)val16.GetComponentInChildren<MeleeWeapon>()).internalCooldown = 0.5f;
			GameObject val18 = UPool.MyPool.AddObject("Marina_Base", (GameObject)SLMALoader.SDic["bases"]["IceGiant"], true, (HideFlags)52, (Sprite)null, 45763212, true);
			TeamColor[] componentsInChildren = val18.GetComponentsInChildren<TeamColor>();
			foreach (TeamColor val19 in componentsInChildren)
			{
				val19.redMaterial = new Material(val19.redMaterial);
				val19.blueMaterial = new Material(val19.blueMaterial);
				val19.redMaterial.color = new Color(3f, 0.7f, 0.7f);
				val19.blueMaterial.color = new Color(3f, 0.7f, 0.7f);
			}
			val15.UnitBase = val18;
			val15.health = 30000f;
			ChineseLibrary.技能设置(val15, (GameObject[])(object)new GameObject[1] { (GameObject)SLMALoader.SDic["moves"]["BlockAlways"] });
			val15.movementSpeedMuiltiplier *= 1.5f;
			GameObject val20 = UPool.MyPool.AddObject("忍者大师的手里剑", (GameObject)SLMALoader.SDic["weapons"]["Sensei_Throw_Shuriken"], true, (HideFlags)52, (Sprite)null, 1213451, true);
			val20.GetComponentInChildren<RangeWeapon>().randomPosition = 0.8f;
			val20.GetComponentInChildren<RangeWeapon>().spread = 50f;
			val20.GetComponentInChildren<RangeWeapon>().numberOfObjects = 12;
			UnitBlueprint val21 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_SECRET_SENSEI"];
			val21.RightWeapon = val20;
			val21.LeftWeapon = val20;
			val21.health = 100f;
			GameObject val22 = UPool.MyPool.AddObject("梁红玉的刀", (GameObject)SLMALoader.SDic["weapons"]["Guandao_RedJade"], true, (HideFlags)52, (Sprite)null, 346223445, true);
			val22.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[2]
			{
				new Keyframe(0.1f, -0.2f),
				new Keyframe(0.6f, 3f)
			});
			((Weapon)val22.GetComponentInChildren<MeleeWeapon>()).internalCooldown = 0.8f;
			val22.GetComponentInChildren<CollisionWeapon>().damage = 430f;
			UnitBlueprint val23 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_SECRET_REDJADE"];
			val23.RightWeapon = val22;
			val23.health = 1300f;
			val23.forceCost = 2500u;
			GameObject val24 = UPool.MyPool.AddObject("牛头人冲刺plas", (GameObject)SLMALoader.SDic["moves"]["MinotaurCharge"], true, (HideFlags)52, (Sprite)null, 454342, true);
			ConditionalEvent[] componentsInChildren2 = val24.GetComponentsInChildren<ConditionalEvent>();
			for (int j = 0; j < componentsInChildren2.Length; j++)
			{
				ConditionalEventInstance[] events = componentsInChildren2[j].events;
				for (int k = 0; k < events.Length; k++)
				{
					EventCondition[] conditions = events[k].conditions;
					foreach (EventCondition val25 in conditions)
					{
						ConditionType conditionType = val25.conditionType;
						if ((int)conditionType > 0 && (int)conditionType == 1)
						{
							if ((int)val25.valueType == 1)
							{
								val25.value = 50f;
							}
							val25.cooldownRange = 10f;
							val25.extraRandomCooldown = 0f;
							val25.rangeType = (RangeType)0;
						}
					}
				}
			}
			val24.GetComponentInChildren<DodgeMove>().moves[0].forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[2]
			{
				new Keyframe(0.5f, -2f),
				new Keyframe(1.5f, 60f)
			});
			val24.GetComponentInChildren<Explosion>().damage = 800f;
			ChineseLibrary.技能设置((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_ANCIENT_MINOTAUR"], (GameObject[])(object)new GameObject[2]
			{
				val24,
				(GameObject)SLMALoader.SDic["moves"]["Minotaur_headbutt"]
			});
			ChineseLibrary.技能设置((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_FANTASYEVIL_DARKKINGTRANSFORMED"], (GameObject[])(object)new GameObject[3]
			{
				(GameObject)SLMALoader.SDic["moves"]["DarkKingDodgeBig"],
				(GameObject)SLMALoader.SDic["moves"]["DarkKingDodgeBig"],
				(GameObject)SLMALoader.SDic["moves"]["DarkKingDodgeBig"]
			});
			UnitBlueprint val26 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_FANTASYEVIL_DARKKINGTRANSFORMED"];
			val26.health *= 1.5f;
			((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_FANTASYEVIL_DARKKING"]).health = 1111f;
			GameObject val27 = UPool.MyPool.AddObject("死亡使者刀刃", (GameObject)SLMALoader.SDic["weapons"]["WarGlaivecurved"], true, (HideFlags)52, (Sprite)null, 346729, true);
			val27.AddComponent<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			val27.GetComponentInChildren<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			val27.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[2]
			{
				new Keyframe(0.1f, 0f),
				new Keyframe(0.3f, 4f)
			});
			((Weapon)val27.GetComponentInChildren<MeleeWeapon>()).internalCooldown = 0.4f;
			((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_FANTASYEVIL_WARGLAIVE"]).RightWeapon = val27;
			((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_FANTASYEVIL_WARGLAIVE"]).LeftWeapon = val27;
			GameObject val28 = UPool.MyPool.AddObject("黑暗农民无特效", (GameObject)SLMALoader.SDic["weapons"]["Leg_DarkP_W"], true, (HideFlags)52, (Sprite)null, 5461223, true);
			Object.Destroy((Object)(object)val28.GetComponentInChildren<ParticleSystemRenderer>());
			val28.GetComponentInChildren<RangeWeapon>().ObjectToSpawn = (GameObject)SLMALoader.SDic["projectiles"]["P_TimeNinja-"];
			((Weapon)val28.GetComponentInChildren<RangeWeapon>()).internalCooldown = 17f;
			val28.GetComponentInChildren<RangeWeapon>().randomPosition = 8f;
			UnitBlueprint val29 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_FANTASYGOOD_TIMENINJATRANSFORMED"];
			val29.health *= 1.5f;
			((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_FANTASYGOOD_GOOD_CLERIC"]).LeftWeapon.transform.localScale = new Vector3(1f, 2f, 1f);
			GameObject val30 = UPool.MyPool.AddObject("无友伤猛犸", (GameObject)SLMALoader.SDic["bases"]["Mammoth"], true, (HideFlags)52, (Sprite)null, 3454346, true);
			Transform val31 = ((Component)val30.transform.Find("Scaler")).transform.Find("Rigidbodies");
			Transform val32 = ((Component)val31).transform.Find("Knee_Left");
			Transform val33 = ((Component)val31).transform.Find("Knee_Right");
			Transform val34 = ((Component)val31).transform.Find("Knee_Right_Back");
			Transform val35 = ((Component)val31).transform.Find("Knee_Left_Back");
			Object val36 = (Object)(object)((Component)((Component)val31).transform.Find("Head")).transform.Find("Explosion");
			if ((Object)(object)val32 != (Object)null)
			{
				Explosion component = ((Component)val32).GetComponent<Explosion>();
				if ((Object)(object)component != (Object)null)
				{
					component.ignoreTeamMates = true;
				}
			}
			if ((Object)(object)val33 != (Object)null)
			{
				Explosion component2 = ((Component)val33).GetComponent<Explosion>();
				if ((Object)(object)component2 != (Object)null)
				{
					component2.ignoreTeamMates = true;
				}
			}
			if ((Object)(object)val34 != (Object)null)
			{
				Explosion component3 = ((Component)val34).GetComponent<Explosion>();
				if ((Object)(object)component3 != (Object)null)
				{
					component3.ignoreTeamMates = true;
				}
			}
			if ((Object)(object)val35 != (Object)null)
			{
				Explosion component4 = ((Component)val35).GetComponent<Explosion>();
				if ((Object)(object)component4 != (Object)null)
				{
					component4.ignoreTeamMates = true;
				}
			}
			if (val36 != (Object)null)
			{
				Explosion component5 = ((Component)val32).GetComponent<Explosion>();
				if ((Object)(object)component5 != (Object)null)
				{
					component5.ignoreTeamMates = true;
				}
			}
			((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_TRIBAL_MAMMOTH"]).UnitBase = val30;
			UnitBlueprint val37 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_ASIA_MONKEY_KING"];
			val37.health *= 1.6f;
			UnitBlueprint val38 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_LEGACY_POACHER"];
			val38.attackSpeedMultiplier *= 7f;
			GameObject val39 = (GameObject)SLMALoader.SDic["moves"]["MinotaurCharge"];
			GameObject val40 = UPool.MyPool.AddObject("奥拉夫的斧子", (GameObject)SLMALoader.SDic["weapons"]["Berserker_axe"], true, (HideFlags)52, (Sprite)null, 4307103, true);
			val40.GetComponentInChildren<MeleeWeapon>().forceCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[2]
			{
				new Keyframe(0.1f, -0.2f),
				new Keyframe(0.3f, 1f)
			});
			val40.AddComponent<yizhiattack>();
			((Weapon)val40.GetComponentInChildren<MeleeWeapon>()).internalCooldown = 0.4f;
			((Weapon)val40.GetComponentInChildren<MeleeWeapon>()).maxRange = 999999f;
			val40.AddComponent<MeleeWeaponSpawn>().objectToSpawn = (GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"];
			((Component)((GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"]).GetComponentInChildren<Explosion>()).transform.localScale = new Vector3(1.5f, 1.5f, 1.5f);
			UnitBlueprint val41 = SLMATool.CreateUnit("一拳超人", (UnitBlueprint)null, (Faction)SLMATool.SLMADic["点击输入文字"], (Sprite)SLMALoader.SDic["sprites"]["CP_Viking_IceGiant_Belt001"]);
			val41.RightWeapon = val16;
			val41.LeftWeapon = val16;
			ChineseLibrary.技能设置(val41, (GameObject[])(object)new GameObject[1] { (GameObject)SLMALoader.SDic["moves"]["Wings_Leg_SuperP"] });
			val41.health = float.PositiveInfinity;
			val41.sizeMultiplier = 1.3f;
			GameObject val42 = UPool.MyPool.AddObject("一拳超人1", (GameObject)SLMALoader.SDic["clothes"]["SkeletonSuit001"], true, (HideFlags)52, (Sprite)null, 0, true);
			Renderer[] componentsInChildren3 = val42.GetComponentsInChildren<Renderer>();
			for (int m = 0; m < componentsInChildren3.Length; m++)
			{
				componentsInChildren3[m].materials = (Material[])(object)new Material[2]
				{
					new Material((Material)SLMALoader.SDic["materials"]["M_BrowningM2_Metal004"])
					{
						color = Color.yellow
					},
					new Material((Material)SLMALoader.SDic["materials"]["M_BrowningM2_Metal004"])
					{
						color = Color.yellow
					}
				};
			}
			GameObject val43 = UPool.MyPool.AddObject("一拳超人2", (GameObject)SLMALoader.SDic["clothes"]["good_gauntlet_glove001"], true, (HideFlags)52, (Sprite)null, 0, true);
			val43.GetComponentsInChildren<Renderer>()[0].material.color = Color.red;
			GameObject val44 = UPool.MyPool.AddObject("一拳超人3", (GameObject)SLMALoader.SDic["clothes"]["Western_gloves001"], true, (HideFlags)52, (Sprite)null, 0, true);
			TeamColor[] componentsInChildren4 = val44.GetComponentsInChildren<TeamColor>();
			foreach (TeamColor val45 in componentsInChildren4)
			{
				val45.redMaterial = new Material(val45.redMaterial);
				val45.blueMaterial = new Material(val45.blueMaterial);
				val45.redMaterial.color = Color.red;
				val45.blueMaterial.color = Color.red;
			}
			GameObject val46 = UPool.MyPool.AddObject("一拳超人4", (GameObject)SLMALoader.SDic["clothes"]["Evil_DarkKingShoes001"], true, (HideFlags)52, (Sprite)null, 0, true);
			val46.GetComponentsInChildren<Renderer>()[0].material.color = Color.red;
			GameObject val47 = UPool.MyPool.AddObject("一拳超人5", (GameObject)SLMALoader.SDic["clothes"]["Medieval_Cape002"], true, (HideFlags)52, (Sprite)null, 0, true);
			TeamColor[] componentsInChildren5 = val47.GetComponentsInChildren<TeamColor>();
			foreach (TeamColor val48 in componentsInChildren5)
			{
				val48.redMaterial = new Material(val48.redMaterial);
				val48.blueMaterial = new Material(val48.blueMaterial);
				val48.redMaterial.color = Color.white;
				val48.blueMaterial.color = Color.white;
			}
			val41.m_props = (GameObject[])(object)new GameObject[6]
			{
				val42,
				(GameObject)SLMALoader.SDic["clothes"]["Viking_Belt001"],
				val43,
				val44,
				val47,
				val46
			};
			ModExplosion modExplosion7 = Mod.CreateExplosion("DAYUN", "ExplosionSamuraiGiantStomp");
			modExplosion7.Force *= 8f;
			modExplosion7.Radius *= 4f;
			modExplosion7.Damage = 4000f;
			((Component)modExplosion7.internalObject.GetComponentInChildren<Explosion>()).transform.localScale = new Vector3(1f, 3f, 1f);
			GameObject val49 = UPool.MyPool.AddObject("跳关内部66", (GameObject)SLMALoader.SDic["moves"]["Head_up"], true, (HideFlags)52, (Sprite)null, 2311348, true);
			val49.AddComponent<gongji>();
			UnitBlueprint val50 = SLMATool.CreateUnit("武器测试", (UnitBlueprint)null, (Faction)SLMATool.SLMADic["点击输入文字"], (Sprite)SLMALoader.SDic["sprites"]["CP_Viking_IceGiant_Belt001"]);
			GameObject val51 = UPool.MyPool.AddObject("何来露的拳头", (GameObject)SLMALoader.SDic["weapons"]["GiantPunch"], true, (HideFlags)52, (Sprite)null, 109532, true);
			MeleeWeapon componentInChildren14 = val51.GetComponentInChildren<MeleeWeapon>();
			componentInChildren14.curveForce *= 2f;
			GameObject val52 = UPool.MyPool.AddObject("何来露爆炸", (GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"], true, (HideFlags)52, (Sprite)null, 1099323, true);
			val52.GetComponentInChildren<Explosion>().radius = 50f;
			val52.GetComponentInChildren<Explosion>().damage = 10f;
			Explosion componentInChildren15 = val52.GetComponentInChildren<Explosion>();
			componentInChildren15.force *= 2f;
			GameObject val53 = UPool.MyPool.AddObject("飞起来", (GameObject)SLMALoader.SDic["effects"]["1_E_Heal"], true, (HideFlags)52, (Sprite)null, 1202093, true);
			val53.AddComponent<飞起来>();
			val53.GetComponentInChildren<DamageOverTimeEffect>().damagePerStack = 0f;
			((UnitEffectBase)val53.GetComponentInChildren<DamageOverTimeEffect>()).damageMultiplier = 0f;
			((UnitEffectBase)val53.GetComponentInChildren<DamageOverTimeEffect>()).ShouldSkipDeadTests = false;
			DamageOverTimeEffect componentInChildren16 = val53.GetComponentInChildren<DamageOverTimeEffect>();
			AnimationCurve val54 = new AnimationCurve();
			Keyframe[] array = new Keyframe[1];
			Keyframe val55 = default(Keyframe);
			((Keyframe)(ref val55)).time = 0f;
			((Keyframe)(ref val55)).value = 0f;
			array[0] = val55;
			val54.keys = (Keyframe[])(object)array;
			val54.postWrapMode = (WrapMode)0;
			val54.preWrapMode = (WrapMode)0;
			componentInChildren16.colorCurve = val54;
			((Component)val52.GetComponentInChildren<Explosion>()).transform.localScale = new Vector3(20f, 0.5f, 20f);
			val52.AddComponent<ExplosionAddEffect>().EffectPrefab = val53.GetComponentInChildren<UnitEffectBase>();
			ChineseLibrary.近战武器效果(val51, (GameObject[])(object)new GameObject[6]
			{
				val52,
				val52,
				val52,
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"],
				(GameObject)SLMALoader.SDic["explosions"]["E_ExplosionIceGiant"]
			}, 0.1f);
			GameObject val56 = UPool.MyPool.AddObject("血量10秒翻倍一次", (GameObject)SLMALoader.SDic["moves"]["Head_up"], true, (HideFlags)52, (Sprite)null, 54713424, true);
			val56.AddComponent<翻倍加血>().翻倍血量时间 = 12f;
			GameObject val57 = UPool.MyPool.AddObject("锁血", (GameObject)SLMALoader.SDic["moves"]["Head_up"], true, (HideFlags)52, (Sprite)null, 54713425, true);
			val57.AddComponent<锁血>();
			GameObject val58 = UPool.MyPool.AddObject("scwt", (GameObject)SLMALoader.SDic["moves"]["Head_up"], true, (HideFlags)52, (Sprite)null, 54713427, true);
			val58.AddComponent<Pengzhuang>();
			val50.health = 999999f;
			ChineseLibrary.技能设置(val50, (GameObject[])(object)new GameObject[1] { val58 });
			GameObject val59 = (GameObject)SLMALoader.SDic["weapons"]["Leg_SuperP_W"];
			val50.forceCost = 2147483647u;
			GameObject val60 = UPool.MyPool.AddObject("超级拳击", (GameObject)SLMALoader.SDic["weapons"]["Leg_SuperBoxer_W"], true, (HideFlags)52, (Sprite)null, 54713428, true);
			Weapon componentInChildren17 = val60.GetComponentInChildren<Weapon>();
			componentInChildren17.maxRange *= 10f;
			MeleeWeapon componentInChildren18 = val60.GetComponentInChildren<MeleeWeapon>();
			componentInChildren18.curveForce *= 1f;
			ModUnit unit39 = Mod.GetUnit("Super Boxer");
			unit39.Health = 3300f;
			unit39.Speed *= 1.7f;
			val60.GetComponentInChildren<CollisionWeapon>().damage = 250f;
			((Weapon)val60.GetComponentInChildren<MeleeWeapon>()).internalCooldown = 0.2f;
			val60.AddComponent<超级拳击手>();
			val60.AddComponent<WeaponForceAnimation>().animations = Mod.GetWeapon("Death Bringer Warglaive").internalObject.GetComponentInChildren<WeaponForceAnimation>().animations;
			val60.AddComponent<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			val60.GetComponentInChildren<MeleeWeapon>().canDealDamageOutSideOfSwing = true;
			val60.GetComponentInChildren<CollisionWeapon>().onImpactForce = 5E+12f;
			val60.GetComponentInChildren<CollisionWeapon>().massCap = 1.4E+12f;
			val60.GetComponentInChildren<Holdable>().jointData.angularDrive = 0f;
			val60.GetComponentInChildren<Holdable>().jointData.limit = 0f;
			((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_LEGACY_LEG_SUPERBOXER"]).forceCost = 12000u;
			((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_LEGACY_LEG_SUPERBOXER"]).RightWeapon = val60;
			((UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_LEGACY_LEG_SUPERBOXER"]).LeftWeapon = val60;
			GameObject val61 = UPool.MyPool.AddObject("乌鸦爆炸(大)", (GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"], true, (HideFlags)52, (Sprite)null, 1029324, true);
			ParticleSystemRenderer[] componentsInChildren6 = val61.GetComponentsInChildren<ParticleSystemRenderer>();
			for (int num2 = 1; num2 < componentsInChildren6.Length; num2++)
			{
				((Renderer)componentsInChildren6[0]).material = new Material((Material)SLMALoader.SDic["materials"]["M_viking_ice_Transparent"])
				{
					color = new Color(0.8f, 0.4f, 0.8f, 0.1f)
				};
				((Renderer)componentsInChildren6[num2]).material = new Material((Material)SLMALoader.SDic["materials"]["M_viking_ice_Transparent"])
				{
					color = new Color(0f, 0f, 0f, 0.7f)
				};
				Transform transform = ((Component)componentsInChildren6[num2]).transform;
				transform.localScale *= 2f;
				Transform transform2 = ((Component)componentsInChildren6[0]).transform;
				transform2.localScale *= 2f;
			}
			Explosion componentInChildren19 = val61.GetComponentInChildren<Explosion>();
			componentInChildren19.radius *= 2f;
			val61.AddComponent<ExplosionAddEffect>().EffectPrefab = ((GameObject)SLMALoader.SDic["effects"]["E_Fear"]).GetComponentInChildren<UnitEffectBase>();
			GameObject val62 = UPool.MyPool.AddObject("乌鸦爆炸(小)", (GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"], true, (HideFlags)52, (Sprite)null, 1029324, true);
			ParticleSystemRenderer[] componentsInChildren7 = val62.GetComponentsInChildren<ParticleSystemRenderer>();
			for (int num3 = 0; num3 < componentsInChildren7.Length; num3++)
			{
				((Renderer)componentsInChildren7[num3]).material = new Material((Material)SLMALoader.SDic["materials"]["M_viking_ice_Transparent"])
				{
					color = new Color(1f, 0.4f, 1f, 0.5f)
				};
				Transform transform3 = ((Component)componentsInChildren7[num3]).transform;
				transform3.localScale *= 0.6f;
			}
			Explosion componentInChildren20 = val62.GetComponentInChildren<Explosion>();
			componentInChildren20.radius *= 0.5f;
			val62.GetComponentInChildren<Explosion>().ignoreRoot = false;
			UnitBlueprint val63 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_FARMER_SCARECROW"];
			GameObject val64 = UPool.MyPool.AddObject("死亡后释放乌鸦", (GameObject)SLMALoader.SDic["moves"]["Head_up"], true, (HideFlags)52, (Sprite)null, 34713428, true);
			UnitBlueprint val65 = SLMATool.CreateUnit("爆破乌鸦", (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_SUBUNITS_CROW"], (Faction)null, (Sprite)null);
			GameObject val66 = UPool.MyPool.AddObject("乌鸦boom", (GameObject)SLMALoader.SDic["moves"]["Head_up"], true, (HideFlags)52, (Sprite)null, 34713129, true);
			val66.AddComponent<死后乌鸦爆炸>().explosion1 = val62;
			ChineseLibrary.技能设置(val65, (GameObject[])(object)new GameObject[2]
			{
				val66,
				(GameObject)SLMALoader.SDic["moves"]["CrowWings"]
			});
			val64.AddComponent<死后生成乌鸦>().unitSpawn = val65;
			ChineseLibrary.技能设置(val63, (GameObject[])(object)new GameObject[2]
			{
				val64,
				(GameObject)SLMALoader.SDic["moves"]["CrowWingsBig"]
			});
			val64.GetComponentInChildren<死后生成乌鸦>().explosion1 = val61;
			UnitBlueprint val67 = (UnitBlueprint)SLMALoader.SDic["blueprints"]["UNIT_SECRET_ULLR"];
			GameObject val68 = UPool.MyPool.AddObject("呜勒尔boom", (GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"], true, (HideFlags)52, (Sprite)null, 34713130, true);
			ParticleSystemRenderer[] componentsInChildren8 = val68.GetComponentsInChildren<ParticleSystemRenderer>();
			for (int num4 = 1; num4 < componentsInChildren7.Length; num4++)
			{
				((Renderer)componentsInChildren8[0]).material = new Material((Material)SLMALoader.SDic["materials"]["M_viking_ice_Transparent"])
				{
					color = new Color(0f, 0f, 0f, 0f)
				};
				((Renderer)componentsInChildren8[num4]).material = new Material((Material)SLMALoader.SDic["materials"]["M_viking_ice_Transparent"])
				{
					color = new Color(0.4f, 1.4f, 1.3f, 0.5f)
				};
				Transform transform4 = ((Component)componentsInChildren8[num4]).transform;
				transform4.localScale *= 2f;
			}
			val68.AddComponent<ExplosionAddEffect>().EffectPrefab = ((GameObject)SLMALoader.SDic["effects"]["E_IceUllrEffect"]).GetComponentInChildren<UnitEffectBase>();
			GameObject val69 = UPool.MyPool.AddObject("呜勒尔飞斧加强版", (GameObject)SLMALoader.SDic["projectiles"]["P_AxeUllr"], true, (HideFlags)52, (Sprite)null, 34713131, true);
			val69.GetComponentInChildren<ProjectileHit>().objectsToSpawn = (ObjectToSpawn[])(object)new ObjectToSpawn[1]
			{
				new ObjectToSpawn
				{
					objectToSpawn = val68
				}
			};
			GameObject val70 = UPool.MyPool.AddObject("呜勒尔飞斧加强版(weapon)", (GameObject)SLMALoader.SDic["weapons"]["Thrown_UllrAxe"], true, (HideFlags)52, (Sprite)null, 34713132, true);
			val70.GetComponentInChildren<RangeWeapon>().ObjectToSpawn = val69;
			val67.RightWeapon = val70;
			val67.LeftWeapon = val70;
			UnitBlueprint val71 = SLMATool.CreateUnit("内阁农民", (UnitBlueprint)null, (Faction)SLMATool.SLMADic["点击输入文字"], (Sprite)SLMALoader.SDic["sprites"]["CP_Viking_IceGiant_Belt001"]);
			GameObject val72 = UPool.MyPool.AddObject("假死亡", (GameObject)SLMALoader.SDic["moves"]["Head_up"], true, (HideFlags)52, (Sprite)null, 123091, true);
			val72.AddComponent<假死>();
			UnitBlueprint val73 = SLMATool.CreateUnit("12121", (UnitBlueprint)null, (Faction)null, (Sprite)null);
			val73.health = 100000000f;
			GameObject val74 = UPool.MyPool.AddObject("ec12", (GameObject)SLMALoader.SDic["bases"]["Humanoid"], true, (HideFlags)52, (Sprite)null, 123093, true);
			TeamColor[] componentsInChildren9 = val74.GetComponentsInChildren<TeamColor>();
			foreach (TeamColor val75 in componentsInChildren9)
			{
				val75.redMaterial = new Material((Material)SLMALoader.SDic["materials"]["M_viking_ice_Transparent"])
				{
					color = new Color(0f, 0f, 0f, 0f)
				};
				val75.blueMaterial = new Material((Material)SLMALoader.SDic["materials"]["M_viking_ice_Transparent"])
				{
					color = new Color(0f, 0f, 0f, 0f)
				};
			}
			GameObject val76 = UPool.MyPool.AddObject("测试poj", (GameObject)SLMALoader.SDic["effects"]["E_IceUllrEffect"], true, (HideFlags)52, (Sprite)null, 34713133, true);
			val76.GetComponentInChildren<Effect_IceArrow>().amount = 0f;
			val76.GetComponentInChildren<Effect_IceArrow>().effectAmount = 0f;
			val76.AddComponent<假死效果>();
			val73.UnitBase = val74;
			val73.sizeMultiplier *= 0.1f;
			val72.AddComponent<杀人牢求>().诱导游戏更新单位 = val73;
			GameObject val77 = UPool.MyPool.AddObject("死亡领域", (GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"], true, (HideFlags)52, (Sprite)null, 2102531, true);
			ParticleSystemRenderer[] componentsInChildren10 = val77.GetComponentsInChildren<ParticleSystemRenderer>();
			for (int num6 = 0; num6 < componentsInChildren10.Length; num6++)
			{
				((Renderer)componentsInChildren10[num6]).material = new Material((Material)SLMALoader.SDic["materials"]["M_viking_ice_Transparent"])
				{
					color = new Color(0f, 0f, 0f, 0f)
				};
				Transform transform5 = ((Component)componentsInChildren10[num6]).transform;
				transform5.localScale *= 0f;
			}
			Explosion componentInChildren21 = val77.GetComponentInChildren<Explosion>();
			componentInChildren21.radius *= 1.4f;
			val77.GetComponentInChildren<Explosion>().damage = 0f;
			val77.AddComponent<ExplosionAddEffect>().EffectPrefab = val76.GetComponentInChildren<UnitEffectBase>();
			GameObject val78 = UPool.MyPool.AddObject("死亡领域2", (GameObject)SLMALoader.SDic["explosions"]["E_Explosion_Fire_Balloon"], true, (HideFlags)52, (Sprite)null, 2102532, true);
			ParticleSystemRenderer[] componentsInChildren11 = val78.GetComponentsInChildren<ParticleSystemRenderer>();
			for (int num7 = 1; num7 < componentsInChildren11.Length; num7++)
			{
				((Renderer)compone