Decompiled source of The Hex Expansion Part III v1.1.0

plugins/TheHexExpansion.dll

Decompiled 4 months ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Bootstrap;
using DiskCardGame;
using HarmonyLib;
using Infiniscryption.PackManagement;
using InscryptionAPI.Card;
using InscryptionAPI.Guid;
using InscryptionAPI.Helpers;
using Microsoft.CodeAnalysis;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("TheHexExpansion")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyDescription("Thwe e Hex Expansion Part 3")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyInformationalVersion("1.1.0+421afa441e966daa451a5372a31538e950db207e")]
[assembly: AssemblyProduct("TheHexExpansion")]
[assembly: AssemblyTitle("TheHexExpansion")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.1.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace The_Hex_Expansion
{
	public class CardsRegistration
	{
		public static Ability GetAbility(string GUID, string name)
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			return GuidManager.GetEnumValue<Ability>(GUID, name);
		}

		public static string Awake(int CardCount = 0)
		{
			//IL_0047: Unknown result type (might be due to invalid IL or missing references)
			//IL_004d: Expected I4, but got Unknown
			//IL_005a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0060: Expected I4, but got Unknown
			//IL_0081: Unknown result type (might be due to invalid IL or missing references)
			//IL_0087: Expected I4, but got Unknown
			//IL_0089: Unknown result type (might be due to invalid IL or missing references)
			//IL_008f: Expected I4, but got Unknown
			//IL_00ff: Unknown result type (might be due to invalid IL or missing references)
			//IL_0105: Expected I4, but got Unknown
			//IL_0112: Unknown result type (might be due to invalid IL or missing references)
			//IL_0118: Expected I4, but got Unknown
			//IL_0139: Unknown result type (might be due to invalid IL or missing references)
			//IL_013f: Expected I4, but got Unknown
			//IL_0141: Unknown result type (might be due to invalid IL or missing references)
			//IL_0147: Expected I4, but got Unknown
			//IL_01c3: Unknown result type (might be due to invalid IL or missing references)
			//IL_01c9: Expected I4, but got Unknown
			//IL_01d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_01dc: Expected I4, but got Unknown
			//IL_01fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0203: Expected I4, but got Unknown
			//IL_0205: Unknown result type (might be due to invalid IL or missing references)
			//IL_020b: Expected I4, but got Unknown
			//IL_0281: Unknown result type (might be due to invalid IL or missing references)
			//IL_0287: Expected I4, but got Unknown
			//IL_02a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_02ae: Expected I4, but got Unknown
			//IL_032c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0332: Expected I4, but got Unknown
			//IL_0344: Unknown result type (might be due to invalid IL or missing references)
			//IL_034a: Expected I4, but got Unknown
			//IL_036b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0371: Expected I4, but got Unknown
			//IL_0373: Unknown result type (might be due to invalid IL or missing references)
			//IL_0379: Expected I4, but got Unknown
			//IL_03f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_03fc: Expected I4, but got Unknown
			//IL_040e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0414: Expected I4, but got Unknown
			//IL_0435: Unknown result type (might be due to invalid IL or missing references)
			//IL_043b: Expected I4, but got Unknown
			//IL_04aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_04b0: Expected I4, but got Unknown
			//IL_04bc: Unknown result type (might be due to invalid IL or missing references)
			//IL_04c2: Expected I4, but got Unknown
			//IL_04ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_04d4: Expected I4, but got Unknown
			//IL_04e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_04ec: Expected I4, but got Unknown
			//IL_050d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0513: Expected I4, but got Unknown
			//IL_0582: Unknown result type (might be due to invalid IL or missing references)
			//IL_0588: Expected I4, but got Unknown
			//IL_0594: Unknown result type (might be due to invalid IL or missing references)
			//IL_059a: Expected I4, but got Unknown
			//IL_05a7: Unknown result type (might be due to invalid IL or missing references)
			//IL_05ad: Expected I4, but got Unknown
			//IL_05ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_05d4: Expected I4, but got Unknown
			//IL_0643: Unknown result type (might be due to invalid IL or missing references)
			//IL_0649: Expected I4, but got Unknown
			//IL_0655: Unknown result type (might be due to invalid IL or missing references)
			//IL_065b: Expected I4, but got Unknown
			//IL_0668: Unknown result type (might be due to invalid IL or missing references)
			//IL_066e: Expected I4, but got Unknown
			//IL_068f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0695: Expected I4, but got Unknown
			//IL_0704: Unknown result type (might be due to invalid IL or missing references)
			//IL_070a: Expected I4, but got Unknown
			//IL_071c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0722: Expected I4, but got Unknown
			//IL_0743: Unknown result type (might be due to invalid IL or missing references)
			//IL_0749: Expected I4, but got Unknown
			//IL_07b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_07be: Expected I4, but got Unknown
			//IL_07ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_07d0: Expected I4, but got Unknown
			//IL_07dc: Unknown result type (might be due to invalid IL or missing references)
			//IL_07e2: Expected I4, but got Unknown
			//IL_07ef: Unknown result type (might be due to invalid IL or missing references)
			//IL_07f5: Expected I4, but got Unknown
			//IL_0816: Unknown result type (might be due to invalid IL or missing references)
			//IL_081c: Expected I4, but got Unknown
			//IL_088b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0891: Expected I4, but got Unknown
			//IL_089e: Unknown result type (might be due to invalid IL or missing references)
			//IL_08a4: Expected I4, but got Unknown
			//IL_08c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_08cb: Expected I4, but got Unknown
			//IL_093e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0944: Expected I4, but got Unknown
			//IL_0950: Unknown result type (might be due to invalid IL or missing references)
			//IL_0956: Expected I4, but got Unknown
			//IL_0968: Unknown result type (might be due to invalid IL or missing references)
			//IL_096e: Expected I4, but got Unknown
			//IL_098f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0995: Expected I4, but got Unknown
			//IL_0a04: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a0a: Expected I4, but got Unknown
			//IL_0a16: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a1c: Expected I4, but got Unknown
			//IL_0a29: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a2f: Expected I4, but got Unknown
			//IL_0a50: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a56: Expected I4, but got Unknown
			//IL_0ac5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0acb: Expected I4, but got Unknown
			//IL_0adc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ae2: Expected I4, but got Unknown
			//IL_0b03: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b09: Expected I4, but got Unknown
			//IL_0b78: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b7e: Expected I4, but got Unknown
			//IL_0b8b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b91: Expected I4, but got Unknown
			//IL_0bb2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bb8: Expected I4, but got Unknown
			//IL_0c27: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c2d: Expected I4, but got Unknown
			//IL_0c39: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c3f: Expected I4, but got Unknown
			//IL_0c4c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c52: Expected I4, but got Unknown
			//IL_0c73: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c79: Expected I4, but got Unknown
			//IL_0ce8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cee: Expected I4, but got Unknown
			//IL_0cff: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d05: Expected I4, but got Unknown
			//IL_0d26: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d2c: Expected I4, but got Unknown
			//IL_0d9b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0da1: Expected I4, but got Unknown
			//IL_0dae: Unknown result type (might be due to invalid IL or missing references)
			//IL_0db4: Expected I4, but got Unknown
			//IL_0dd5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ddb: Expected I4, but got Unknown
			//IL_0e4a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e50: Expected I4, but got Unknown
			//IL_0e5c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e62: Expected I4, but got Unknown
			//IL_0e6f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e75: Expected I4, but got Unknown
			//IL_0e96: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e9c: Expected I4, but got Unknown
			//IL_0f0b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f11: Expected I4, but got Unknown
			//IL_0f1d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f23: Expected I4, but got Unknown
			//IL_0f2f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f35: Expected I4, but got Unknown
			//IL_0f42: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f48: Expected I4, but got Unknown
			//IL_0f69: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f6f: Expected I4, but got Unknown
			//IL_0fe4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fea: Expected I4, but got Unknown
			//IL_100b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1011: Expected I4, but got Unknown
			//IL_1013: Unknown result type (might be due to invalid IL or missing references)
			//IL_1019: Expected I4, but got Unknown
			//IL_101b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1021: Expected I4, but got Unknown
			//IL_1023: Unknown result type (might be due to invalid IL or missing references)
			//IL_1029: Expected I4, but got Unknown
			//IL_10a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_10ae: Expected I4, but got Unknown
			//IL_10bb: Unknown result type (might be due to invalid IL or missing references)
			//IL_10c1: Expected I4, but got Unknown
			//IL_10e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_10e8: Expected I4, but got Unknown
			//IL_115f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1165: Expected I4, but got Unknown
			//IL_1186: Unknown result type (might be due to invalid IL or missing references)
			//IL_118c: Expected I4, but got Unknown
			//IL_1206: Unknown result type (might be due to invalid IL or missing references)
			//IL_120c: Expected I4, but got Unknown
			//IL_1219: Unknown result type (might be due to invalid IL or missing references)
			//IL_121f: Expected I4, but got Unknown
			//IL_1240: Unknown result type (might be due to invalid IL or missing references)
			//IL_1246: Expected I4, but got Unknown
			//IL_12b1: Unknown result type (might be due to invalid IL or missing references)
			//IL_12b7: Expected I4, but got Unknown
			//IL_12d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_12de: Expected I4, but got Unknown
			//IL_1352: Unknown result type (might be due to invalid IL or missing references)
			//IL_1358: Expected I4, but got Unknown
			//IL_1365: Unknown result type (might be due to invalid IL or missing references)
			//IL_136b: Expected I4, but got Unknown
			//IL_138c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1392: Expected I4, but got Unknown
			//IL_13fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_1403: Expected I4, but got Unknown
			//IL_1410: Unknown result type (might be due to invalid IL or missing references)
			//IL_1416: Expected I4, but got Unknown
			//IL_1437: Unknown result type (might be due to invalid IL or missing references)
			//IL_143d: Expected I4, but got Unknown
			CardInfo val = CardManager.New("THE_ALMIGHTY_HEXAGON", "Super_Weasel_Kid", "Super Weasel Kid", 2, 3, "Here you can Run, Jump, and maybe even soar amoung the clouds.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[1] { (Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Flighty") }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Super_Weasel_Kid.png"), "Super_Weasel_Kid_e.png"), (Tribe[])(object)new Tribe[2]
			{
				(Tribe)(int)TheHexExpansion.SuperWeaselKid,
				(Tribe)(int)TheHexExpansion.ViciousGalaxy
			}), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)1,
				default(CardMetaCategory)
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val);
			CardCount++;
			CardInfo val2 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Mr_Shrewd", "Mr. Shrewd", 2, 2, "I'll be looking out for you kid.");
			CardExtensions.SetExtendedProperty(CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val2, (int?)1, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)8,
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Doomed")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Mr.Shrewd.png"), "Mr.Shrewd_e.png"), (Tribe[])(object)new Tribe[2]
			{
				(Tribe)(int)TheHexExpansion.SuperWeaselKid,
				(Tribe)(int)TheHexExpansion.TheWalk
			}), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)1,
				default(CardMetaCategory)
			}), "CustomDoomedDuration", (object)3);
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val2);
			CardCount++;
			CardInfo val3 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Mr_Squarrel", "Mr. Squarrel", 1, 4, "I'll be looking out for you kid.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val3, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[1] { (Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Tempting Target") }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Mr.Squarrel.png"), "Mr.Squarrel_e.png"), (Tribe[])(object)new Tribe[2]
			{
				(Tribe)(int)TheHexExpansion.SuperWeaselKid,
				(Tribe)(int)TheHexExpansion.SecretsOfLegendaria
			}), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)1,
				default(CardMetaCategory)
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val3);
			CardCount++;
			CardInfo val4 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Groonda_", "Groonda", 1, 3, "A wild groonda appears, jump on it to get rid of it! But be careful, these critters can move.");
			CardExtensions.SetTraits(CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val4, (int?)1, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)3,
				(Ability)15
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Groonda.png"), "Groonda_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.SuperWeaselKid }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)1,
				default(CardMetaCategory)
			}), (Trait[])(object)new Trait[1] { (Trait)19 });
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val4);
			CardCount++;
			CardInfo val5 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Catarina_", "Catarina", 2, 2, "Bring me 50, and to you a secret I will reveal.");
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val5, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Downdraft"),
				(Ability)19
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Catarina.png"), "Catarina_e.png"), (Tribe[])(object)new Tribe[2]
			{
				(Tribe)(int)TheHexExpansion.SuperWeaselKid,
				(Tribe)(int)TheHexExpansion.TheWalk
			}), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)1,
				default(CardMetaCategory)
			}), "This game was built on the ashes of another.");
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val5);
			CardCount++;
			CardInfo val6 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Cloud_", "Cloud", 1, 2, "A giggling cloud I don't know why it's around, maybe it can be used as a stepping stone?");
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val6, (int?)0, (int?)0, num, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Obedient"),
				(Ability)19
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Cloud.png"), "Cloud_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.SuperWeaselKid }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)1,
				default(CardMetaCategory)
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val6);
			CardCount++;
			CardInfo val7 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Death_", "Death", 1, 3, "Be careful, one wrong move and it will obliterate everything.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val7, (int?)1, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[4]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Annihilation"),
				(Ability)(int)GetAbility("creator.TooManySigils", "Rotting"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Vampiric"),
				(Ability)104
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Death.png"), "Death_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.SuperWeaselKid }), (CardMetaCategory[])(object)new CardMetaCategory[1] { (CardMetaCategory)3 });
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val7);
			CardCount++;
			CardInfo val8 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Hill_", "Hill", 0, 5, "A hill cursed to bleed for eternity, due to the purcha- No, due to Lou Natas.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val8, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Twin Bond"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Tempting Target")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Hill.png"), "Hill_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.SuperWeaselKid }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)1,
				default(CardMetaCategory)
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val8);
			CardCount++;
			CardInfo val9 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Bryce_", "Bryce", 1, 2, "This is ridiculous, I'm from a cooking game.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val9, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Bandage Weaver"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Chaos Strike")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Bryce.png"), "Bryce_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)1,
				default(CardMetaCategory)
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val9);
			CardCount++;
			CardInfo val10 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Bhakto_", "Bhakto", 1, 2, "You have heard of Bhakto, No? He is a decendant of the great Mi Singh.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val10, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Double Tap"),
				(Ability)53
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Bhakto.png"), "Bhakto_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)1,
				default(CardMetaCategory)
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val10);
			CardCount++;
			CardInfo val11 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Mi_Singh", "Mi Singh", 2, 3, "Match my fists young one.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val11, (int?)2, (int?)3, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[3]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Commander"),
				(Ability)(int)GetAbility("creator.TooManySigils", "Rotting"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Herald")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Mi_Singh.png"), "Mi_Singh_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[1] { (CardMetaCategory)3 });
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val11);
			CardCount++;
			CardInfo val12 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Alley_Gator", "Alley Gator", 2, 2, "What next a crocadil- What u $%^@ say m8? I'm a %^*# alligator m8, say it.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val12, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[1] { (Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Ravenous") }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Alley_Gator.png"), "Alley_Gator_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				default(CardMetaCategory),
				(CardMetaCategory)1
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val12);
			CardCount++;
			CardInfo val13 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Steamboat_Willy", "Steamboat Willy", 2, 2, "ACTIVATING STEAM PROTOCALS. PREPARE FOR COMBAT NON-BOAT CREATURE. GETTING STEAMY ULTIMATE ABILITY PREPARED.");
			num = 6;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val13, (int?)0, (int?)0, num, (List<GemType>)null), (Ability[])(object)new Ability[3]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Trampler"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Mauler"),
				(Ability)54
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Steamboat_Willy.png"), "Steamboat_Willy_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				default(CardMetaCategory),
				(CardMetaCategory)1
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val13);
			CardCount++;
			CardInfo val14 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Granny_", "Granny", 0, 3, "An excellent idea Bryce, You still remember how to bake my pies right?");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val14, (int?)1, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Medicinal"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Bandage Weaver")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Granny.png"), "Granny_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				default(CardMetaCategory),
				(CardMetaCategory)1
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val14);
			CardCount++;
			CardInfo val15 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Shinobi_", "Shinobi", 1, 3, "This shinobi leaps rooftop to rooftop, looking for something no one knows why. Anyone who gets in their way is executed.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val15, (int?)1, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Morph Mover"),
				(Ability)4
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Shinobi.png"), "Shinobi_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[1] { (CardMetaCategory)3 });
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val15);
			CardCount++;
			CardInfo val16 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Maniacus_", "Maniacus", 3, 2, "Maniacus, the hellbent striker, always striking opposite directions after he attacks, to ensure his victims aren't able to predict his moves.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val16, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[1] { (Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Wavering Strike") }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Maniacus.png"), "Maniacus_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				default(CardMetaCategory),
				(CardMetaCategory)1
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val16);
			CardCount++;
			CardInfo val17 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Theodore_", "Theodore", 2, 3, "The crusader has arrived, trying to prevent the spread of fighting by fighting.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val17, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Wavering Strike"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Return Strike")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Theodore.png"), "Theodore_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[1] { (CardMetaCategory)3 });
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val17);
			CardCount++;
			CardInfo val18 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Flinton_", "Flinton", 1, 2, "An alien has come down to earth to beat some people's faces up and blast a ruby ray through their skulls.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val18, (int?)1, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Wavering Strike"),
				(Ability)4
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Flinton.png"), "Flinton_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				default(CardMetaCategory),
				(CardMetaCategory)1
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val18);
			CardCount++;
			CardInfo val19 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Magnus_", "Magnus", 3, 1, "Crunches through the bones of weak foes, If I were you I would stay out of his way!");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val19, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[1] { (Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Bully") }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Magnus.png"), "Magnus_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				default(CardMetaCategory),
				(CardMetaCategory)1
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val19);
			CardCount++;
			CardInfo val20 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Astrid_", "Astrid", 1, 2, "An heir of the sky, a kin of the almighty Zeus, they are in charge of keeping life's balance proper.");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val20, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Preemptive Strike"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Swooping Strike")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Astrid.png"), "Astrid_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				default(CardMetaCategory),
				(CardMetaCategory)1
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val20);
			CardCount++;
			CardInfo val21 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Irving_", "Irving", 2, 2, "The unfair judge, enforcer, and lawmaker of the universe. One wrong move and your out!");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val21, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[3]
			{
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Bully"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Bloodrunner"),
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Trophy Hunter")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Irving.png"), "Irving_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[1] { (CardMetaCategory)3 });
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val21);
			CardCount++;
			CardInfo val22 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Sado_Dummy", "Sado", 0, 2, "A glitch in the system, tough to get rid of...");
			CardExtensions.SetIceCube(CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val22, (int?)3, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[1] { (Ability)26 }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Sado_Dummy.png"), "Sado_Dummy_e.png"), (Tribe[])(object)new Tribe[4]
			{
				(Tribe)(int)TheHexExpansion.CombatArenaX,
				(Tribe)(int)TheHexExpansion.ViciousGalaxy,
				(Tribe)(int)TheHexExpansion.TheWalk,
				(Tribe)(int)TheHexExpansion.WasteWorld
			}), (CardMetaCategory[])(object)new CardMetaCategory[1] { (CardMetaCategory)3 }), "THE_ALMIGHTY_HEXAGON_Sado_Dummy_II", (IEnumerable<CardModificationInfo>)null);
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val22);
			CardCount++;
			CardInfo val23 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Sado_Dummy_II", "Dummy", 0, 4, "A glitchy dummy for you to practice with.");
			CardExtensions.SetIceCube(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val23, (int?)3, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)26,
				(Ability)(int)GetAbility("creator.TooManySigils", "One Fourth Chance Instakill")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Sado_Dummy_II.png"), "Sado_Dummy_II_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), "THE_ALMIGHTY_HEXAGON_Sado_Hat", (IEnumerable<CardModificationInfo>)null);
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val23);
			CardCount++;
			CardInfo val24 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Sado_Hat", "Hat", 1, 3, "A trio of hats for memory practice and stabbing!");
			CardInfo obj = CardExtensions.SetCost(val24, (int?)3, (int?)0, (int?)0, (List<GemType>)null);
			Ability[] array = new Ability[3];
			RuntimeHelpers.InitializeArray(array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/);
			CardExtensions.SetExtendedProperty(CardExtensions.SetIceCube(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(obj, (Ability[])(object)array), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Sado_Hat.png"), "Sado_Hat_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), "THE_ALMIGHTY_HEXAGON_Sado_Hands", (IEnumerable<CardModificationInfo>)null), "CustomDamDefinition", (object)"THE_ALMIGHTY_HEXAGON_Sado_Spike_Hat");
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val24);
			CardCount++;
			CardInfo val25 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Sado_Spike_Hat", "Spike Hat", 1, 2, "A hat meant to sabotoge the opponent by stabbing it deeply.");
			CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val25, (int?)3, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[1] { (Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Sharper Quills") }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Sado_Spike_Hat.png"), "Sado_Spike_Hat_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX });
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val25);
			CardCount++;
			CardInfo val26 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Sado_Hands", "Hands", 1, 3, "A massive pair of glitched hands, controlled by a puppeteer with the goal of destroying the opponent.");
			CardExtensions.SetIceCube(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val26, (int?)3, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[2]
			{
				(Ability)100,
				(Ability)26
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Sado_Hands.png"), "Sado_Hands_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), "THE_ALMIGHTY_HEXAGON_Sado", (IEnumerable<CardModificationInfo>)null);
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val26);
			CardCount++;
			CardInfo val27 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Sado", "Sado", 1, 3, "A still glitchy mess, just now has less power than before, due to their waves of attacks.");
			CardExtensions.SetIceCube(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val27, (int?)3, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[3]
			{
				(Ability)15,
				(Ability)4,
				(Ability)(int)GetAbility("nevernamed.inscryption.sigils", "Caustic")
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Sado.png"), "Sado_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), "THE_ALMIGHTY_HEXAGON_Sado", (IEnumerable<CardModificationInfo>)null);
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val27);
			CardCount++;
			CardInfo val28 = CardManager.New("THE_ALMIGHTY_HEXAGON", "Training_Dummy", "Training Dummy", 0, 3, "A Regular dummy use it to train up your skills!");
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAbilities(CardExtensions.SetCost(val28, (int?)2, (int?)0, (int?)0, (List<GemType>)null), (Ability[])(object)new Ability[1] { (Ability)(int)GetAbility("creator.TooManySigils", "One Fourth Chance Instakill") }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)TheHexExpansion.TheHexCardbackAppearence }), "Sado_Dummy_II.png"), "Sado_Dummy_II_e.png"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)TheHexExpansion.CombatArenaX }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				default(CardMetaCategory),
				(CardMetaCategory)1
			});
			CardManager.Add("THE_ALMIGHTY_HEXAGON", val28);
			CardCount++;
			return CardCount.ToString();
		}
	}
	[BepInPlugin("creator.TheHexExpansionPart3", "The Hex Expansion Part 3", "1.1.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class TheHexExpansion : BaseUnityPlugin
	{
		public class TheHexCardback : CardAppearanceBehaviour
		{
			public override void ApplyAppearance()
			{
				Texture2D imageAsTexture = TextureHelper.GetImageAsTexture("The_Hex_Cardback.png", (FilterMode)0);
				((Texture)imageAsTexture).filterMode = (FilterMode)0;
				((CardAppearanceBehaviour)this).Card.RenderInfo.baseTextureOverride = (Texture)(object)imageAsTexture;
			}

			public override void OnCardAddedToDeck()
			{
			}
		}

		private readonly Harmony harmony = new Harmony("creator.TheHexExpansionPart3");

		public const string PluginGuid = "creator.TheHexExpansionPart3";

		public const string PluginName = "The Hex Expansion Part 3";

		public const string PluginVersion = "1.1.0";

		public const string PluginPrefix = "THE_ALMIGHTY_HEXAGON";

		public int TribeCount;

		public static Tribe CombatArenaX;

		public static Tribe RootbeerTender;

		public static Tribe SecretsOfLegendaria;

		public static Tribe SuperWeaselKid;

		public static Tribe TheWalk;

		public static Tribe ViciousGalaxy;

		public static Tribe WasteWorld;

		public static readonly Appearance TheHexCardbackAppearence = CardAppearanceBehaviourManager.Add("creator.TheHexExpansionPart3", "TheHexPartThreeAppearence", typeof(TheHexCardback)).Id;

		public void Awake()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_002b: Unknown result type (might be due to invalid IL or missing references)
			//IL_005f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0064: Unknown result type (might be due to invalid IL or missing references)
			//IL_0098: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_010a: Unknown result type (might be due to invalid IL or missing references)
			//IL_010f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0143: Unknown result type (might be due to invalid IL or missing references)
			//IL_0148: Unknown result type (might be due to invalid IL or missing references)
			//IL_017c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0181: Unknown result type (might be due to invalid IL or missing references)
			THEHEXPACKPARTTHREE();
			CombatArenaX = TribeManager.Add("creator.TheHexExpansionPart3", "CombatArenaX", TextureHelper.GetImageAsTexture("game_CAX.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("Rewardback_GAME_CAX.png", (FilterMode)0));
			TribeCount++;
			RootbeerTender = TribeManager.Add("creator.TheHexExpansionPart3", "RootbeerTender", TextureHelper.GetImageAsTexture("game_RT.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("Rewardback_GAME_RT.png", (FilterMode)0));
			TribeCount++;
			SecretsOfLegendaria = TribeManager.Add("creator.TheHexExpansionPart3", "SecretsOfLegendaria", TextureHelper.GetImageAsTexture("game_SOL.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("Rewardback_GAME_SOL.png", (FilterMode)0));
			TribeCount++;
			SuperWeaselKid = TribeManager.Add("creator.TheHexExpansionPart3", "SuperWeaselKid", TextureHelper.GetImageAsTexture("game_SWK.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("Rewardback_GAME_SWK.png", (FilterMode)0));
			TribeCount++;
			TheWalk = TribeManager.Add("creator.TheHexExpansionPart3", "TheWalk", TextureHelper.GetImageAsTexture("game_TW.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("Rewardback_GAME_TW.png", (FilterMode)0));
			TribeCount++;
			ViciousGalaxy = TribeManager.Add("creator.TheHexExpansionPart3", "ViciousGalaxy", TextureHelper.GetImageAsTexture("game_VG.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("Rewardback_GAME_VG.png", (FilterMode)0));
			TribeCount++;
			WasteWorld = TribeManager.Add("creator.TheHexExpansionPart3", "WasteWorld", TextureHelper.GetImageAsTexture("game_WW.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("Rewardback_GAME_WW.png", (FilterMode)0));
			TribeCount++;
			((BaseUnityPlugin)this).Logger.LogInfo((object)("Tribe count: " + TribeCount));
			int num = int.Parse(CardsRegistration.Awake());
			((BaseUnityPlugin)this).Logger.LogInfo((object)("Card count: " + num));
		}

		public static void THEHEXPACKPARTTHREE()
		{
			if (Chainloader.PluginInfos.ContainsKey("zorro.inscryption.infiniscryption.packmanager"))
			{
				PackInfo packInfo = PackManager.GetPackInfo("THE_ALMIGHTY_HEXAGON");
				((PackInfoBase)packInfo).Title = "The Hexagon";
				((PackInfoBase)packInfo).SetTexture(TextureHelper.GetImageAsTexture("The_Hex_Packicon_Part_Three.png", (FilterMode)0));
				((PackInfoBase)packInfo).Description = "THE ALMIGHTY HEXAGON SHALL RAIN DOWN UPON US ALL!!!!";
				((PackInfoBase)packInfo).ValidFor.Add((PackMetacategory)0);
				((PackInfoBase)packInfo).ValidFor.Add((PackMetacategory)1);
			}
		}
	}
	public static class PluginInfo
	{
		public const string PLUGIN_GUID = "TheHexExpansion";

		public const string PLUGIN_NAME = "TheHexExpansion";

		public const string PLUGIN_VERSION = "1.1.0";
	}
}