Decompiled source of RevenantMod v0.0.10

RevenantMod.dll

Decompiled 6 months ago
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Bootstrap;
using BepInEx.Logging;
using DiskCardGame;
using GrimoraMod;
using HarmonyLib;
using Infiniscryption.PackManagement;
using InscryptionAPI.Ascension;
using InscryptionAPI.Card;
using InscryptionAPI.Guid;
using InscryptionAPI.Helpers;
using InscryptionAPI.Helpers.Extensions;
using InscryptionAPI.Saves;
using InscryptionAPI.Triggers;
using InscryptionCommunityPatch.Card;
using Microsoft.CodeAnalysis;
using Pixelplacement;
using Sirenix.Utilities;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("RevenantMod")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("Grimora Mod Revenant Card Pack")]
[assembly: AssemblyFileVersion("0.0.1.0")]
[assembly: AssemblyInformationalVersion("0.0.1")]
[assembly: AssemblyProduct("RevenantMod")]
[assembly: AssemblyTitle("RevenantMod")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("0.0.1.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 RevenantMod
{
	public class ActivatedBonesToEnergy : ActivatedAbilityBehaviour
	{
		public static Ability ability;

		private const int BONES_COST = 1;

		private int active = 0;

		public override Ability Ability => ability;

		public override int BonesCost => 1;

		public override bool CanActivate()
		{
			return Singleton<ResourcesManager>.Instance.PlayerEnergy < 6;
		}

		public override IEnumerator Activate()
		{
			yield return ((AbilityBehaviour)this).PreSuccessfulTriggerSequence();
			((Card)((AbilityBehaviour)this).Card).Anim.StrongNegationEffect();
			AudioController.Instance.PlaySound2D("creepy_cue_long_lower", (MixerGroup)10, 1f, 0.625f, (Pitch)null, (Repetition)null, (Randomization)null, (Distortion)null, false);
			if (!Singleton<ResourcesManager>.Instance.EnergyAtMax)
			{
				yield return Singleton<ResourcesManager>.Instance.AddMaxEnergy(1);
				active++;
			}
			yield return Singleton<ResourcesManager>.Instance.AddEnergy(1);
			yield return ((AbilityBehaviour)this).LearnAbility(0f);
		}

		public override bool RespondsToTurnEnd(bool playerTurnEnd)
		{
			return active > 0 && ((AbilityBehaviour)this).Card.OpponentCard != playerTurnEnd && !((AbilityBehaviour)this).Card.Dead;
		}

		public override IEnumerator OnTurnEnd(bool playerTurnEnd)
		{
			((Card)((AbilityBehaviour)this).Card).Anim.StrongNegationEffect();
			yield return Singleton<ResourcesManager>.Instance.SpendEnergy((Singleton<ResourcesManager>.Instance.PlayerMaxEnergy - active > Singleton<ResourcesManager>.Instance.PlayerEnergy) ? (active - Singleton<ResourcesManager>.Instance.PlayerEnergy) : 0);
			yield return ResourcesManagerHelpers.RemoveMaxEnergy(Singleton<ResourcesManager>.Instance, Math.Min(active, Singleton<ResourcesManager>.Instance.PlayerMaxEnergy));
			active = 0;
		}
	}
	[BepInPlugin("orochiumbra.inscryption.revenantmod", "RevenantMod", "0.0.10")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[HarmonyPatch]
	public class RevenantMod : BaseUnityPlugin
	{
		private readonly Harmony harmony = new Harmony("RevenantMod");

		public const string PluginGuid = "orochiumbra.inscryption.revenantmod";

		public const string PluginPrefix = "RevenantMod";

		public const string PluginVersion = "0.0.10";

		public static ManualLogSource Log;

		public static readonly CardMetaCategory GrimoraChoice = GuidManager.GetEnumValue<CardMetaCategory>("arackulele.inscryption.grimoramod", "GrimoraModChoiceNode");

		public static readonly CardMetaCategory WizardRegion = GuidManager.GetEnumValue<CardMetaCategory>("zorro.inscryption.infiniscryption.p03kayceerun", "WizardRegionCards");

		public static readonly CardMetaCategory NatureRegion = GuidManager.GetEnumValue<CardMetaCategory>("zorro.inscryption.infiniscryption.p03kayceerun", "NatureRegionCards");

		public static readonly CardMetaCategory UndeadRegion = GuidManager.GetEnumValue<CardMetaCategory>("zorro.inscryption.infiniscryption.p03kayceerun", "UndeadRegionCards");

		public static readonly CardMetaCategory TechRegion = GuidManager.GetEnumValue<CardMetaCategory>("zorro.inscryption.infiniscryption.p03kayceerun", "TechRegionCards");

		public static readonly CardMetaCategory NeutralRegion = GuidManager.GetEnumValue<CardMetaCategory>("zorro.inscryption.infiniscryption.p03kayceerun", "NeutralRegionCards");

		public static readonly CardTemple CardTemple = (CardTemple)(Chainloader.PluginInfos.ContainsKey("zorro.inscryption.infiniscryption.p03kayceerun") ? 2 : (Chainloader.PluginInfos.ContainsKey("arackulele.inscryption.grimoramod") ? 1 : 0));

		public void Add_Ability_ActivatedBonesToEnergy()
		{
			//IL_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0052: Expected I4, but got Unknown
			//IL_0070: Unknown result type (might be due to invalid IL or missing references)
			//IL_0075: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.AddMetaCategories(AbilityExtensions.SetActivated(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("Soulgate"), "Pay 1 Bone to gain 1 temporary Energy.", typeof(ActivatedBonesToEnergy), (Texture)(object)Asset.LoadIcon("Soulgate"))), true), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel1") });
			val.powerLevel = 3;
			val.pixelIcon = Asset.LoadSprite("pixelability_activated_Soulgate");
			ActivatedBonesToEnergy.ability = val.ability;
		}

		public void Add_Ability_ActivatedEnergyRevive()
		{
			//IL_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0052: Expected I4, but got Unknown
			//IL_0070: Unknown result type (might be due to invalid IL or missing references)
			//IL_0075: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.AddMetaCategories(AbilityExtensions.SetActivated(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("Evocation"), "Pay 3 Energy to return the oldest non-Brittle allied creature from the graveyard to your hand.", typeof(ActivatedEnergyRevive), (Texture)(object)Asset.LoadIcon("Evocation"))), true), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") });
			val.powerLevel = 4;
			val.pixelIcon = Asset.LoadSprite("pixelability_activated_Evocation");
			ActivatedEnergyRevive.ability = val.ability;
		}

		public void Add_Ability_ActivatedLifeDrawCard()
		{
			//IL_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0052: Expected I4, but got Unknown
			//IL_0070: Unknown result type (might be due to invalid IL or missing references)
			//IL_0075: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.AddMetaCategories(AbilityExtensions.SetActivated(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("LifeDraw"), "Place a weight on your scale to draw a card from your main deck.", typeof(ActivatedLifeDrawMain), (Texture)(object)Asset.LoadIcon("LifeDraw"))), true), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") });
			val.powerLevel = 2;
			val.pixelIcon = Asset.LoadSprite("pixelability_activated_LifeDraw");
			ActivatedLifeDrawMain.ability = val.ability;
		}

		public void Add_Ability_CalamityEffusion()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("CalamityEffusion"), "When [creature] perishes, all creatures on the board take 1 damage.", typeof(CalamityEffusion), (Texture)(object)Asset.LoadIcon("CalamityEffusion"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("CalamityEffusion", pixel: true), (FilterMode?)null);
			val.powerLevel = 5;
			CalamityEffusion.ability = val.ability;
		}

		public void Add_Ability_ComfortAura()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("ComfortAura"), "Creatures adjacent to [creature] gain 1 max health, and heal 1 health at the end of the owner's turn.", typeof(ComfortAura), (Texture)(object)Asset.LoadIcon("ComfortAura"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("ComfortAura", pixel: true), (FilterMode?)null);
			val.powerLevel = 4;
			ComfortAura.ability = val.ability;
		}

		public void Add_Ability_CorpseParty()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("CorpseParty"), "When a non-brittle allied creature is killed, a Zombie enters your hand. A Zombie is defined as: 1 Power, 1 Health.", typeof(CorpseParty), (Texture)(object)Asset.LoadIcon("CorpseParty"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel1") }), Asset.LoadIcon("CorpseParty", pixel: true), (FilterMode?)null);
			val.powerLevel = 2;
			CorpseParty.ability = val.ability;
		}

		public void Add_Ability_DeathKnock()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("DeathKnock"), "When [creature] is killed, it strikes back then perishes.", typeof(DeathKnock), (Texture)(object)Asset.LoadIcon("DeathKnock"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel2") }), Asset.LoadIcon("DeathKnock", pixel: true), (FilterMode?)null);
			val.powerLevel = 2;
			DeathKnock.ability = val.ability;
		}

		public void Add_Ability_DeathMetal()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0052: Unknown result type (might be due to invalid IL or missing references)
			//IL_0058: Expected I4, but got Unknown
			//IL_007f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0084: Unknown result type (might be due to invalid IL or missing references)
			string text = StringExtensions.SplitPascalCase("DeathMetal");
			Type typeFromHandle = typeof(DeathMetal);
			Ability val = (Ability)93;
			AbilityInfo val2 = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", text, "When [creature] is played, adjacent creatures and opposing creatures to the left, right, and center of it take 1 damage. It gains 1 Power for each affected creature.", typeFromHandle, AbilitiesUtil.LoadAbilityIcon(((object)(Ability)(ref val)).ToString(), false, false))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("DeathMetal", pixel: true), (FilterMode?)null);
			val2.powerLevel = 4;
			DeathMetal.ability = val2.ability;
		}

		public void Add_Ability_Defiler()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0062: Unknown result type (might be due to invalid IL or missing references)
			//IL_0067: Unknown result type (might be due to invalid IL or missing references)
			string text = StringExtensions.SplitPascalCase("Defiler");
			Type typeFromHandle = typeof(Defiler);
			Ability val = (Ability)59;
			AbilityInfo val2 = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", text, "When [creature] perishes, draw a card then choose one to discard from your hand.", typeFromHandle, AbilitiesUtil.LoadAbilityIcon(((object)(Ability)(ref val)).ToString(), false, false))), Asset.LoadIcon("Defiler", pixel: true), (FilterMode?)null);
			val2.powerLevel = -1;
			Defiler.ability = val2.ability;
		}

		public void Add_Ability_DrawCopyDelay()
		{
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Encroachment", "[creature] creates a copy of it in your hand after 2 turns on the board.", typeof(DrawCopyDelay), (Texture)(object)Asset.LoadIcon("DrawCopyDelay"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel1") }), Asset.LoadIcon("DrawCopyDelay", pixel: true), (FilterMode?)null);
			val.powerLevel = 2;
			DrawCopyDelay.ability = val.ability;
		}

		public void Add_Ability_DrawCopySkeleton()
		{
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Skeletonize", "When [creature] perishes, a Skeleton with its old sigils enters your hand. A Skeleton is defined as: 1 Power, 1 Health, Brittle.", typeof(DrawCopySkeleton), (Texture)(object)Asset.LoadIcon("DrawCopySkeleton"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel1") }), Asset.LoadIcon("DrawCopySkeleton", pixel: true), (FilterMode?)null);
			val.powerLevel = 2;
			DrawCopySkeleton.ability = val.ability;
		}

		public void Add_Ability_ExplodingCorpse()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0052: Unknown result type (might be due to invalid IL or missing references)
			//IL_0058: Expected I4, but got Unknown
			//IL_007f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0084: Unknown result type (might be due to invalid IL or missing references)
			string text = StringExtensions.SplitPascalCase("ExplodingCorpse");
			Type typeFromHandle = typeof(ExplodingCorpse);
			Ability val = (Ability)92;
			AbilityInfo val2 = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", text, "When [creature] perishes by combat, all empty spaces on the board are filled with a Guts card.", typeFromHandle, AbilitiesUtil.LoadAbilityIcon(((object)(Ability)(ref val)).ToString(), false, false))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel2") }), Asset.LoadIcon("ExplodingCorpse", pixel: true), (FilterMode?)null);
			val2.powerLevel = 2;
			ExplodingCorpse.ability = val2.ability;
		}

		public void Add_Ability_GrudgeCollector()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("GrudgeCollector"), "When [creature] is on the board, it gains 1 power for every 2 times allied creatures take damage.", typeof(GrudgeCollector), (Texture)(object)Asset.LoadIcon("GrudgeCollector"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel2") }), Asset.LoadIcon("GrudgeCollector", pixel: true), (FilterMode?)null);
			val.powerLevel = 2;
			GrudgeCollector.ability = val.ability;
		}

		public void Add_Ability_HaunterLinger()
		{
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Metempsychosis", "When [creature] perishes, it leaves all its sigils in the space where it dies. The first creature played in this space gains all the old sigils.", typeof(HaunterLinger), (Texture)(object)Asset.LoadIcon("HaunterLinger"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("HaunterLinger", pixel: true), (FilterMode?)null);
			val.powerLevel = 5;
			HaunterLinger.ability = val.ability;
		}

		public void Add_Ability_Ignition()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("Ignition"), "[creature] gains 1 power at the cost of 1 health after each turn on the board.", typeof(Ignition), (Texture)(object)Asset.LoadIcon("Ignition"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("Ignition", pixel: true), (FilterMode?)null);
			val.powerLevel = 0;
			Ignition.ability = val.ability;
		}

		public void Add_Ability_LatchDigger()
		{
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Digger Latch", "At the end of the owner's turn, [creature] will generate 1 Bone. When it perishes, its owner chooses a creature to gain the Bone Digger sigil.", typeof(LatchDigger), (Texture)(object)Asset.LoadIcon("LatchDigger"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel1") }), Asset.LoadIcon("LatchDigger", pixel: true), (FilterMode?)null);
			val.powerLevel = 3;
			LatchDigger.ability = val.ability;
		}

		public void Add_Ability_LatchDiggerPrime()
		{
			//IL_0051: Unknown result type (might be due to invalid IL or missing references)
			//IL_0056: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Primed Digger Latch", "At the end of the owner's turn, [creature] will generate 1 Bone. When it perishes, its owner chooses a creature to gain this sigil.", typeof(LatchDiggerPrime), (Texture)(object)Asset.LoadIcon("LatchDigger"))), Asset.LoadIcon("LatchDiggerPrime", pixel: true), (FilterMode?)null);
			val.powerLevel = 5;
			LatchDiggerPrime.ability = val.ability;
		}

		public void Add_Ability_LatchEvolve()
		{
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Rejuvenation", "When [creature] perishes, its owner chooses a creature to gain the Fledgling sigil.", typeof(LatchEvolve), (Texture)(object)Asset.LoadIcon("LatchEvolve"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel1") }), Asset.LoadIcon("LatchEvolve", pixel: true), (FilterMode?)null);
			val.powerLevel = 2;
			LatchEvolve.ability = val.ability;
		}

		public void Add_Ability_LatchGrimoraRandom()
		{
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Skull Storm", "At the end of the owner's turn, this sigil is replaced with another sigil at random. When it perishes, its owner chooses a creature to gain this sigil.", typeof(LatchGrimoraRandomPrime), (Texture)(object)Asset.LoadIcon("LatchGrimoraRandomPrime"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("LatchGrimoraRandomPrime", pixel: true), (FilterMode?)null);
			val.powerLevel = 4;
			LatchGrimoraRandomPrime.ability = val.ability;
		}

		public void Add_Ability_LatchIgnition()
		{
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Ignite", "When [creature] perishes, its owner chooses a creature to gain the Ignition sigil.", typeof(LatchIgnition), (Texture)(object)Asset.LoadIcon("LatchIgnition"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel2") }), Asset.LoadIcon("LatchIgnition", pixel: true), (FilterMode?)null);
			val.powerLevel = 1;
			LatchIgnition.ability = val.ability;
		}

		public void Add_Ability_Recursive()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("Limbo"), "When [creature] perishes, it returns to the top of your deck.", typeof(Limbo), (Texture)(object)Asset.LoadIcon("Limbo"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel2") }), Asset.LoadIcon("Limbo", pixel: true), (FilterMode?)null);
			val.powerLevel = 2;
			Limbo.ability = val.ability;
		}

		public void Add_Ability_MacabreBonePulse()
		{
			//IL_0056: Unknown result type (might be due to invalid IL or missing references)
			//IL_005b: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("MacabreBonePulse"), "When [creature] is played, it perishes immediately after dropping Bones equal to double the amount of allied creatures on the board.", typeof(MacabreBonePulse), (Texture)(object)Asset.LoadIcon("MacabreBonePulse"))), Asset.LoadIcon("MacabreBonePulse", pixel: true), (FilterMode?)null);
			val.powerLevel = -1;
			MacabreBonePulse.ability = val.ability;
		}

		public void Add_Ability_Maternal()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0052: Unknown result type (might be due to invalid IL or missing references)
			//IL_0058: Expected I4, but got Unknown
			//IL_007f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0084: Unknown result type (might be due to invalid IL or missing references)
			string text = StringExtensions.SplitPascalCase("Maternal");
			Type typeFromHandle = typeof(Maternal);
			Ability val = (Ability)27;
			AbilityInfo val2 = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", text, "Creatures adjacent to [creature] are inscrybed by Waterborne.", typeFromHandle, AbilitiesUtil.LoadAbilityIcon(((object)(Ability)(ref val)).ToString(), false, false))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel2") }), Asset.LoadIcon("Maternal", pixel: true), (FilterMode?)null);
			val2.powerLevel = 3;
			Maternal.ability = val2.ability;
		}

		public void Add_Ability_Necrosis()
		{
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_005c: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("Necrosis"), "[creature] loses 1 power and health after each turn on the board.", typeof(Necrosis), (Texture)(object)Asset.LoadIcon("Necrosis"))), Asset.LoadIcon("Necrosis", pixel: true), (FilterMode?)null);
			val.powerLevel = -3;
			Necrosis.ability = val.ability;
		}

		public void Add_Ability_Exciseman()
		{
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Exorcise", "When [creature] is played, Bones equal to the cost of the opposing creature are granted to the player, up to 12.", typeof(OpposingBonesCost), (Texture)(object)Asset.LoadIcon("OpposingBonesCost"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("OpposingBonesCost", pixel: true), (FilterMode?)null);
			val.powerLevel = 4;
			OpposingBonesCost.ability = val.ability;
		}

		public void Add_Ability_SpilledPaint()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("PartingStroke"), "When non-brittle allied creatures are killed, their owner chooses a creature to remove all of its sigils.", typeof(PartingStroke), (Texture)(object)Asset.LoadIcon("PartingStroke"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("PartingStroke", pixel: true), (FilterMode?)null);
			val.powerLevel = 4;
			PartingStroke.ability = val.ability;
		}

		public void Add_Ability_RelentlessRevenant()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("RelentlessRevenant"), "At the start of the owner's turn, creatures adjacent to [creature] transform into a Revenant. A Revenant is defined as: 3 Power, 1 Health, Brittle.", typeof(RelentlessRevenant), (Texture)(object)Asset.LoadIcon("RelentlessRevenant"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("RelentlessRevenant", pixel: true), (FilterMode?)null);
			val.powerLevel = 5;
			RelentlessRevenant.ability = val.ability;
		}

		public void Add_Ability_SelfScaleDamage()
		{
			//IL_0052: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Bad Omen", "When the bell rings, [creature] will place a weight on the owner's scale.", typeof(SelfScaleDamage), (Texture)(object)Asset.LoadIcon("SelfScaleDamage"))), Asset.LoadIcon("SelfScaleDamage", pixel: true), (FilterMode?)null);
			val.powerLevel = -3;
			SelfScaleDamage.ability = val.ability;
		}

		public void Add_Ability_SoothingMeadows()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("SoothingMeadows"), "At the start of the owner's turn, all creatures on the board gain 1 life.", typeof(SoothingMeadows), (Texture)(object)Asset.LoadIcon("SoothingMeadows"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("SoothingMeadows", pixel: true), (FilterMode?)null);
			val.powerLevel = 5;
			SoothingMeadows.ability = val.ability;
		}

		public void Add_Ability_SplittingCorpse()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("SplittingCorpse"), "When [creature] perishes by combat, fill adjacent empty spaces with Dysmorphia cards.", typeof(SplittingCorpse), (Texture)(object)Asset.LoadIcon("SplittingCorpse"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel2") }), Asset.LoadIcon("SplittingCorpse", pixel: true), (FilterMode?)null);
			val.powerLevel = 3;
			SplittingCorpse.ability = val.ability;
		}

		public void Add_Ability_Torpid()
		{
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_005c: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", StringExtensions.SplitPascalCase("Torpid"), "[creature] cannot attack normally.", typeof(Torpid), (Texture)(object)Asset.LoadIcon("Torpid"))), Asset.LoadIcon("Torpid", pixel: true), (FilterMode?)null);
			val.powerLevel = -2;
			Torpid.ability = val.ability;
		}

		public void Add_Ability_TutorDead()
		{
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0073: Unknown result type (might be due to invalid IL or missing references)
			AbilityInfo val = AbilityExtensions.SetPixelAbilityIcon(AbilityExtensions.AddMetaCategories(AbilityExtensions.SetDefaultPart1Ability(AbilityManager.New("RevenantMod", "Grim Epitaph", "When [creature] is played, you may choose a card that has already been put to rest, to bring back to your hand.", typeof(TutorDead), (Texture)(object)Asset.LoadIcon("TutorDead"))), (AbilityMetaCategory[])(object)new AbilityMetaCategory[1] { (AbilityMetaCategory)(int)GuidManager.GetEnumValue<AbilityMetaCategory>("arackulele.inscryption.grimoramod", "ElectricChairLevel3") }), Asset.LoadIcon("TutorDead", pixel: true), (FilterMode?)null);
			val.powerLevel = 4;
			TutorDead.ability = val.ability;
		}

		private void Add_Ability_Icon_BellAttack()
		{
			//IL_0075: Unknown result type (might be due to invalid IL or missing references)
			//IL_007a: Unknown result type (might be due to invalid IL or missing references)
			StatIconInfo val = AbilityExtensions.SetPixelIcon(AbilityExtensions.SetIcon(AbilityExtensions.SetDefaultPart1Ability(StatIconManager.New("RevenantMod", "Chime Power", "The value represented by this sigil will be equal to the number of Bell cards on the board.", typeof(BellAttack))), ResourceBank.Get<Texture2D>("Art/Cards/AbilityIcons/ability_createbells"), (FilterMode?)null), Asset.LoadTexture("pixelstaticon_BellAttack"), (FilterMode?)(FilterMode)0);
			val.appliesToAttack = true;
			val.appliesToHealth = false;
			BellAttack.icon = StatIconManager.Add("RevenantMod", val, typeof(BellAttack)).Id;
		}

		private void Add_Ability_Icon_BoneDiggerAttack()
		{
			//IL_0075: Unknown result type (might be due to invalid IL or missing references)
			//IL_007a: Unknown result type (might be due to invalid IL or missing references)
			StatIconInfo val = AbilityExtensions.SetPixelIcon(AbilityExtensions.SetIcon(AbilityExtensions.SetDefaultPart1Ability(StatIconManager.New("RevenantMod", "Bone Digger Power", "The value represented by this sigil will be equal to the number of Bone and Digger related sigils on the board.", typeof(BoneDiggerAttack))), ResourceBank.Get<Texture2D>("Art/Cards/AbilityIcons/ability_bonedigger"), (FilterMode?)null), Asset.LoadTexture("pixelstaticon_BoneDiggerAttack"), (FilterMode?)(FilterMode)0);
			val.appliesToAttack = true;
			val.appliesToHealth = false;
			BoneDiggerAttack.icon = StatIconManager.Add("RevenantMod", val, typeof(BoneDiggerAttack)).Id;
		}

		private void Add_Blood_Card_Goblin()
		{
			CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetCost(CardManager.New("RevenantMod", "Goblin", "Goblin", 2, 1, "A loyal barbaric beast, a fine addition to your army."), (int?)1, (int?)0, (int?)0, (List<GemType>)null), Asset.LoadTexture("Goblin.png"), (FilterMode?)null), Asset.LoadTexture("Goblin_emission.png"), (FilterMode?)null);
		}

		private void Add_Blood_Card_Yaramayawho()
		{
			CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetCost(CardManager.New("RevenantMod", "Yaramayawho", "Yaramayawho", 2, 1, "This one can never seem to finish it's meals..."), (int?)2, (int?)0, (int?)0, (List<GemType>)null), Asset.LoadTexture("Yaramayawho.png"), (FilterMode?)null), Asset.LoadTexture("Yaramayawho_emission.png"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)99,
				(Ability)19
			});
		}

		private void Add_Blood_Card_Bigfoot()
		{
			CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetCost(CardExtensions.AddAppearances(CardManager.New("RevenantMod", "Bigfoot", "Bigfoot", 4, 6, "a mysterious creature lurking the forests, only few have claimed to see one."), (Appearance[])(object)new Appearance[1] { (Appearance)7 }), (int?)4, (int?)0, (int?)0, (List<GemType>)null), Asset.LoadTexture("Bigfoot.png"), (FilterMode?)null), Asset.LoadTexture("Bigfoot_emission.png"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)100 });
		}

		private void Add_Card_Inochi()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ab: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b1: Expected I4, but got Unknown
			CardInfo val = CardExtensions.AddMetaCategories(CardExtensions.AddAbilities(CardExtensions.AddTraits(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetCost(CardExtensions.SetCardTemple(CardExtensions.SetRare(CardManager.New("RevenantMod", "Orochimitama", "Orochimitama", 2, 2, "Oh... He is not supposed to be here...")), CardTemple), (int?)2, (int?)0, (int?)0, (List<GemType>)null), Asset.LoadPortrait("Orochimitama"), (FilterMode?)null), Asset.LoadEmission("Orochimitama"), (FilterMode?)null), (Trait[])(object)new Trait[1] { (Trait)21 }), (Ability[])(object)new Ability[2]
			{
				(Ability)14,
				(Ability)18
			}), (CardMetaCategory[])(object)new CardMetaCategory[1] { (CardMetaCategory)(int)GuidManager.GetEnumValue<CardMetaCategory>("arackulele.inscryption.grimoramod", "GrimoraModChoiceNode") });
			val.appearanceBehaviour.Remove((Appearance)7);
			val.onePerDeck = true;
		}

		private void Add_Blood_Card_Vila()
		{
			//IL_007b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0081: Expected I4, but got Unknown
			CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetCost(CardExtensions.AddAppearances(CardManager.New("RevenantMod", "Vila", "Vila", 0, 1, "Love at first sight, at least that's what it wants you to think."), (Appearance[])(object)new Appearance[1] { (Appearance)7 }), (int?)1, (int?)0, (int?)0, (List<GemType>)null), Asset.LoadTexture("Vila.png"), (FilterMode?)null), Asset.LoadTexture("Vila_emission.png"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)Ignition.ability });
		}

		private void Add_Blood_Card_ZTestCard()
		{
			//IL_007c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0082: Expected I4, but got Unknown
			//IL_0084: Unknown result type (might be due to invalid IL or missing references)
			//IL_008a: Expected I4, but got Unknown
			//IL_008c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0092: Expected I4, but got Unknown
			//IL_0097: Unknown result type (might be due to invalid IL or missing references)
			CardExtensions.SetIceCube(CardExtensions.SetEvolve(CardExtensions.SetStatIcon(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetCost(CardExtensions.AddAppearances(CardManager.New("RevenantMod", "ZTestCard", "Test Limbs", 0, 99, "Those parts used to belong to someone, or now some thing...(Test)"), (Appearance[])(object)new Appearance[1] { (Appearance)7 }), (int?)1, (int?)0, (int?)0, (List<GemType>)null), Asset.LoadTexture("portrait_limbs.png"), (FilterMode?)null), Asset.LoadTexture("portrait_limbs_emission.png"), (FilterMode?)null), (Ability[])(object)new Ability[3]
			{
				(Ability)(int)LatchDiggerPrime.ability,
				(Ability)(int)TutorDead.ability,
				(Ability)(int)Necrosis.ability
			}), BoneDiggerAttack.icon), "Sniper", 1, (IEnumerable<CardModificationInfo>)null), "RevenantMod_Reanimated", (IEnumerable<CardModificationInfo>)null);
		}

		private void Add_Card_Allip()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c7: Expected I4, but got Unknown
			//IL_00c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cf: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Allip", StringExtensions.SplitPascalCase("Allip"), 2, 1, "The remnants of the insane! You never know what story lies behind that face, but it's sure to be filled with fervor.")), CardTemple);
			int? num = 6;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("Allip", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Allip"), (FilterMode?)null), Asset.LoadEmission("Allip"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)101,
				(Ability)62
			}), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion
			});
		}

		private void Add_Card_Amami()
		{
			//IL_0021: 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_009e: Expected I4, but got Unknown
			//IL_00be: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c4: Expected I4, but got Unknown
			//IL_00c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cc: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Amami", "Amami Rabbit", 0, 1, "Hiding their young in holes, they wish for their best safety.")), CardTemple);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("Amami", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Amami"), (FilterMode?)null), Asset.LoadEmission("Amami"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)Maternal.ability,
				(Ability)1
			}), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)NatureRegion
			});
		}

		private void Add_Card_Anorexia()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00a5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ab: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dd: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Anorexia", StringExtensions.SplitPascalCase("Anorexia"), 1, 3, "Overflowing you with self loathing, you never know what form it may take on next.")), CardTemple);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("Anorexia", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Anorexia"), (FilterMode?)null), Asset.LoadEmission("Anorexia"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)SplittingCorpse.ability,
				(Ability)(int)Necrosis.ability
			}), (Tribe[])(object)new Tribe[1] { (Tribe)3 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NatureRegion
			});
		}

		private void Add_Card_BrainJar()
		{
			//IL_0026: 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_00d7: Expected I4, but got Unknown
			//IL_00d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00df: Expected I4, but got Unknown
			//IL_00e1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e7: Expected I4, but got Unknown
			//IL_00e9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ef: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "BrainJar", StringExtensions.SplitPascalCase("BrainJar"), 0, 1, "One shudders to imagine what inhuman thoughts lie inside that jar...")), CardTemple);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("BrainJar", pixel: true), (FilterMode?)null), Asset.LoadPortrait("BrainJar"), (FilterMode?)null), Asset.LoadEmission("BrainJar"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)34,
				(Ability)62
			}), (Tribe[])(object)new Tribe[1] { (Tribe)3 }), (Trait[])(object)new Trait[1] { (Trait)20 }), (CardMetaCategory[])(object)new CardMetaCategory[4]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)TechRegion,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_Combustor()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Expected I4, but got Unknown
			//IL_00da: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e0: Expected I4, but got Unknown
			//IL_00e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e8: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Combustor", StringExtensions.SplitPascalCase("Combustor"), 0, 5, "Oh dear, what a fall from such a stimulatingly high status, now all that's left is a metal carcass, and the last of that watchful substance...")), CardTemple);
			int? num = 4;
			CardExtensions.AddMetaCategories(CardExtensions.AddSpecialAbilities(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("Combustor", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Combustor"), (FilterMode?)null), Asset.LoadEmission("Combustor"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)Ignition.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)6 }), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)OrochiRitual.Ritual }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_DeadStoat()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cc: Expected I4, but got Unknown
			//IL_00ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d4: Expected I4, but got Unknown
			//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dc: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "DeadStoat", "Misplayed Stoat", 1, 3, "A decaying Stoat whose oh-so perfect strategies failed him tremendously.")), CardTemple);
			int? num = 6;
			CardExtensions.AddMetaCategories(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("DeadStoat", pixel: true), (FilterMode?)null), Asset.LoadPortrait("DeadStoat"), (FilterMode?)null), Asset.LoadEmission("DeadStoat"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)4 }), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (Trait[])(object)new Trait[1] { (Trait)19 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)TechRegion,
				(CardMetaCategory)(int)NatureRegion
			});
		}

		private void Add_Card_Vampbones()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bc: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c2: Expected I4, but got Unknown
			//IL_00c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ca: Expected I4, but got Unknown
			//IL_00cc: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d2: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "DrBones", "Dr.Bones", 2, 4, "Whatever doesn't kill you simply makes you, saner.")), CardTemple);
			int? num = 8;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("DrBones", pixel: true), (FilterMode?)null), Asset.LoadPortrait("DrBones"), (FilterMode?)null), Asset.LoadEmission("DrBones"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)82,
				(Ability)15
			}), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)WizardRegion
			});
		}

		private void Add_Card_Harbinger()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00a5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ab: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dd: Expected I4, but got Unknown
			//IL_00df: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e5: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Harbinger", StringExtensions.SplitPascalCase("Harbinger"), 2, 2, "A powerful fiend that extols a heavy price for its servitude.")), CardTemple);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("Harbinger", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Harbinger"), (FilterMode?)null), Asset.LoadEmission("Harbinger"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)SelfScaleDamage.ability,
				(Ability)(int)ActivatedLifeDrawMain.ability
			}), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (CardMetaCategory[])(object)new CardMetaCategory[4]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_Hastur()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Expected I4, but got Unknown
			//IL_00da: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e0: Expected I4, but got Unknown
			//IL_00e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e8: Expected I4, but got Unknown
			//IL_00ea: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f0: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Hastur", StringExtensions.SplitPascalCase("Hastur"), 0, 3, "He came from beyond the stars, gifting pieces of his reflection to kings and fools alike. Will you accept this piece?")), CardTemple);
			int? num = 5;
			CardExtensions.AddMetaCategories(CardExtensions.SetStatIcon(CardExtensions.SetSpecialAbilities(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("Hastur", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Hastur"), (FilterMode?)null), Asset.LoadEmission("Hastur"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)104 }), (Tribe[])(object)new Tribe[1] { (Tribe)4 }), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)11 }), (SpecialStatIcon)3), (CardMetaCategory[])(object)new CardMetaCategory[4]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NatureRegion,
				(CardMetaCategory)(int)WizardRegion
			});
		}

		private void Add_Card_Imp()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bc: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c2: Expected I4, but got Unknown
			//IL_00c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ca: Expected I4, but got Unknown
			//IL_00cc: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d2: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Imp", "Common Imp", 2, 1, "A tiny creature known for causing trouble and mayhem wherever it goes, with its mischievous grin and playful nature!")), CardTemple);
			int? num = 5;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("Imp", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Imp"), (FilterMode?)null), Asset.LoadEmission("Imp"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)78,
				(Ability)88
			}), (Tribe[])(object)new Tribe[1] { (Tribe)4 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)NatureRegion
			});
		}

		private void Add_Card_MoleDigger()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d1: Expected I4, but got Unknown
			//IL_00d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d9: Expected I4, but got Unknown
			//IL_00db: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e1: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "MoleDigger", "Mole Digger", 0, 4, "The stalwart Mole... Digger? Whatever this is...")), CardTemple);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("MoleDigger", pixel: true), (FilterMode?)null), Asset.LoadPortrait("MoleDigger"), (FilterMode?)null), Asset.LoadEmission("MoleDigger"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)8,
				(Ability)28
			}), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (Trait[])(object)new Trait[1] { (Trait)10 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NatureRegion
			});
		}

		private void Add_Card_Nekros()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dd: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Nekros", StringExtensions.SplitPascalCase("Nekros"), 1, 2, "Nekros possesses the board, challenger. Death is his playground.")), CardTemple);
			int? num = 4;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("Nekros", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Nekros"), (FilterMode?)null), Asset.LoadEmission("Nekros"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)CorpseParty.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)3 }), (CardMetaCategory[])(object)new CardMetaCategory[4]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NatureRegion,
				(CardMetaCategory)(int)WizardRegion
			});
		}

		private void Add_Card_Nuckelavee()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c7: Expected I4, but got Unknown
			//IL_00c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cf: Expected I4, but got Unknown
			//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d7: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Nuckelavee", StringExtensions.SplitPascalCase("Nuckelavee"), 1, 1, "The Administrator of its sea, you better hope it's breath doesn't taint your Thralls!")), CardTemple);
			int? num = 5;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("Nuckelavee", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Nuckelavee"), (FilterMode?)null), Asset.LoadEmission("Nuckelavee"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)36,
				(Ability)62
			}), (Tribe[])(object)new Tribe[1] { (Tribe)4 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)WizardRegion
			});
		}

		private void Add_Card_OdiousMass()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "OdiousMass", StringExtensions.SplitPascalCase("OdiousMass"), 1, 1, "How unsightly.")), CardTemple);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("OdiousMass", pixel: true), (FilterMode?)null), Asset.LoadPortrait("OdiousMass"), (FilterMode?)null), Asset.LoadEmission("OdiousMass"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)DrawCopyDelay.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)3 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NatureRegion
			});
		}

		private void Add_Card_Gregor()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c0: Expected I4, but got O
			//IL_00c5: Expected O, but got I4
			//IL_00c5: Expected O, but got I4
			//IL_00dc: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e2: Expected I4, but got Unknown
			//IL_00e4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ea: Expected I4, but got Unknown
			//IL_00ec: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f2: Expected I4, but got Unknown
			//IL_00bf->IL00bf: Incompatible stack types: I4 vs O
			//IL_00bf->IL00bf: Incompatible stack types: O vs I4
			//IL_00bf->IL00bf: Incompatible stack types: O vs I4
			//IL_00b0->IL00bf: Incompatible stack types: I4 vs O
			//IL_00b0->IL00bf: Incompatible stack types: I4 vs O
			//IL_00b0->IL00bf: Incompatible stack types: O vs I4
			//IL_00b0->IL00bf: Incompatible stack types: O vs I4
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "PrometheusFlame", StringExtensions.SplitPascalCase("PrometheusFlame"), 2, 1, "This one is quite unique, the lingering spoils of a thief to benefit humanity! Fancy liver by chance?")), CardTemple);
			int? num = 6;
			object obj2 = CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("PrometheusFlame", pixel: true), (FilterMode?)null), Asset.LoadPortrait("PrometheusFlame"), (FilterMode?)null), Asset.LoadEmission("PrometheusFlame"), (FilterMode?)null);
			object obj3 = new Ability[2]
			{
				(Ability)(int)DrawCopySkeleton.ability,
				default(Ability)
			};
			object obj4 = obj3;
			int num2 = 1;
			int num3;
			if (GrimoraModHelpers.GrimoraModIsActive())
			{
				obj2 = GuidManager.GetEnumValue<Ability>("arackulele.inscryption.grimoramod", "Random Ability");
				obj3 = num2;
				num2 = (int)obj3;
				num3 = (int)obj2;
			}
			else
			{
				num3 = 31;
				obj2 = num3;
				obj3 = num2;
				num2 = (int)obj3;
				num3 = (int)obj2;
			}
			((int[])obj4)[obj3] = (int)obj2;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities((CardInfo)(object)num3, (Ability[])num2), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)UndeadRegion
			});
		}

		private void Add_Card_Ralsei()
		{
			//IL_0021: 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_009e: Expected I4, but got Unknown
			//IL_00ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d0: Expected I4, but got Unknown
			//IL_00d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Expected I4, but got Unknown
			//IL_00da: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e0: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Ralsei", "Dark Prince", 0, 1, "The power of fluffy bois shines within you.")), CardTemple);
			int? num = 4;
			CardExtensions.AddMetaCategories(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("Ralsei", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Ralsei"), (FilterMode?)null), Asset.LoadEmission("Ralsei"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)ComfortAura.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)4 }), (Trait[])(object)new Trait[1] { (Trait)20 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)NatureRegion
			});
		}

		private void Add_Card_RavenCurse()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009b: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a1: Expected I4, but got Unknown
			//IL_00c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cc: Expected I4, but got Unknown
			//IL_00ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d4: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "RavenCurse", StringExtensions.SplitPascalCase("RavenCurse"), 1, 1, "Feels good to be young again!")), CardTemple);
			int? num = 2;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), ResourceBank.Get<Texture2D>("Art/GBC/Cards/PixelPortraits/pixelportrait_hydraegg"), (FilterMode?)null), ResourceBank.Get<Texture2D>("Art/Cards/Portraits/portrait_ravenegg"), (FilterMode?)null), ResourceBank.Get<Texture2D>("Art/Cards/Portraits/portrait_ravenegg_emission"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)LatchEvolve.ability,
				(Ability)35
			}), (Tribe[])(object)new Tribe[2]
			{
				(Tribe)2,
				(Tribe)6
			}), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_Sans()
		{
			//IL_0021: 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_009e: Expected I4, but got Unknown
			//IL_00a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a6: Expected I4, but got Unknown
			//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c8: Expected I4, but got Unknown
			//IL_00ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d0: Expected I4, but got Unknown
			//IL_00d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Sans", "Lazy Bones", 4, 4, "A slothful skeleton with a knack for jokes. I adore him.")), CardTemple);
			int? num = 2;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("Sans", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Sans"), (FilterMode?)null), Asset.LoadEmission("Sans"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)Torpid.ability,
				(Ability)(int)DeathKnock.ability
			}), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)TechRegion
			});
		}

		private void Add_Card_Skelephone()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00a5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ab: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dd: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Skelephone", StringExtensions.SplitPascalCase("Skelephone"), 1, 1, "A way to communicate with the dead, for a price.")), CardTemple);
			int? num = 4;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("Skelephone", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Skelephone"), (FilterMode?)null), Asset.LoadEmission("Skelephone"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)TutorDead.ability,
				(Ability)(int)Defiler.ability
			}), (Tribe[])(object)new Tribe[1] { (Tribe)6 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)TechRegion
			});
		}

		private void Add_Card_Soulgate()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dd: Expected I4, but got Unknown
			//IL_00df: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e5: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Soulgate", StringExtensions.SplitPascalCase("Soulgate"), 0, 2, "A chance to enter the soul realm, how delightful? I hope you can afford the price.")), CardTemple);
			int? num = 1;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("Soulgate", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Soulgate"), (FilterMode?)null), Asset.LoadEmission("Soulgate"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)ActivatedBonesToEnergy.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (CardMetaCategory[])(object)new CardMetaCategory[5]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)TechRegion,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_FrankHybrid()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bf: Expected I4, but got Unknown
			//IL_00c1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c7: Expected I4, but got Unknown
			//IL_00c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cf: Expected I4, but got Unknown
			//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d7: Expected I4, but got Unknown
			//IL_00d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00df: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "SteinNFrank", "Stein & Frank", 2, 2, "Even hell was not hot enough to split them.")), CardTemple);
			int? num = 3;
			int? num2 = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, num2, (List<GemType>)null), ResourceBank.Get<Texture2D>("Art/GBC/Cards/PixelPortraits/pixelportrait_franknstein"), (FilterMode?)null), Asset.LoadPortrait("SteinNFrank"), (FilterMode?)null), Asset.LoadEmission("SteinNFrank"), (FilterMode?)null), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (Trait[])(object)new Trait[1] { (Trait)18 }), (CardMetaCategory[])(object)new CardMetaCategory[5]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)WizardRegion,
				(CardMetaCategory)(int)TechRegion,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_Bloated()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "TheBloated", StringExtensions.SplitPascalCase("TheBloated"), 1, 1, "Grotesque boils, ready to burst.")), CardTemple);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("TheBloated", pixel: true), (FilterMode?)null), Asset.LoadPortrait("TheBloated"), (FilterMode?)null), Asset.LoadEmission("TheBloated"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)ExplodingCorpse.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)3 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NatureRegion
			});
		}

		private void Add_Card_UndeadCivilian()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a6: Expected I4, but got Unknown
			//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c8: Expected I4, but got Unknown
			//IL_00ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d0: Expected I4, but got Unknown
			//IL_00d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "UndeadCivilian", StringExtensions.SplitPascalCase("UndeadCivilian"), 1, 1, "Lost in eternal darkness, this poor soul desperately seeks a way out. Perhaps you can light his way?")), CardTemple);
			int? num = 2;
			int? num2 = 2;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, num2, (List<GemType>)null), Asset.LoadPortrait("UndeadCivilian", pixel: true), (FilterMode?)null), Asset.LoadPortrait("UndeadCivilian"), (FilterMode?)null), Asset.LoadEmission("UndeadCivilian"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)LatchIgnition.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_UndeadVillage()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dd: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "UndeadVillage", StringExtensions.SplitPascalCase("UndeadVillage"), 0, 4, "Abandoned and forlorn, this village seeks new residents to fill its decrepit homes.")), CardTemple);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("UndeadVillage", pixel: true), (FilterMode?)null), Asset.LoadPortrait("UndeadVillage"), (FilterMode?)null), Asset.LoadEmission("UndeadVillage"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)GrudgeCollector.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)6 }), (CardMetaCategory[])(object)new CardMetaCategory[4]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NatureRegion,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_Undertaker()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dd: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Undertaker", StringExtensions.SplitPascalCase("Undertaker"), 0, 1, "In every town, in every city, someone must work to bury the dead. In time, they too will be buried.")), CardTemple);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("Undertaker", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Undertaker"), (FilterMode?)null), Asset.LoadEmission("Undertaker"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)LatchDigger.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)3 }), (CardMetaCategory[])(object)new CardMetaCategory[4]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NatureRegion,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_Wendigo()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c6: Expected I4, but got Unknown
			//IL_00c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ce: Expected I4, but got Unknown
			//IL_00d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d6: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetDefaultPart1Card(CardManager.New("RevenantMod", "Wendigo", StringExtensions.SplitPascalCase("Wendigo"), 1, 2, "Returned from the deep wilds, reminds me of a friend.")), CardTemple);
			int? num = 5;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("Wendigo", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Wendigo"), (FilterMode?)null), Asset.LoadEmission("Wendigo"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)83,
				(Ability)3
			}), (Tribe[])(object)new Tribe[1] { (Tribe)4 }), (CardMetaCategory[])(object)new CardMetaCategory[3]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)UndeadRegion,
				(CardMetaCategory)(int)NatureRegion
			});
		}

		private void Add_Card_AnneBean()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_009e: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a4: Expected I4, but got Unknown
			//IL_00c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c6: Expected I4, but got Unknown
			//IL_00c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ce: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetOnePerDeck(CardExtensions.SetCardTemple(CardExtensions.SetRare(CardManager.New("RevenantMod", "AnneBean", "Anneta", 1, 2, "That ink keeps on pouring, is she even there anymore? All that death promises is that you will wake up again.")), CardTemple), true);
			int? num = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("AnneBean", pixel: true), (FilterMode?)null), Asset.LoadPortrait("AnneBean"), (FilterMode?)null), Asset.LoadEmission("AnneBean"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)PartingStroke.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_BellBlocker()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Expected I4, but got Unknown
			//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dd: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetRare(CardManager.New("RevenantMod", "BellBlocker", "Chime Blocker", 0, 3, "Seems they found a new way to use bells.")), CardTemple);
			int? num = 6;
			CardExtensions.AddMetaCategories(CardExtensions.SetStatIcon(CardExtensions.AddSpecialAbilities(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), ResourceBank.Get<Texture2D>("Art/GBC/Cards/PixelPortraits/pixelportrait_squidbell"), (FilterMode?)null), ResourceBank.Get<Texture2D>("Art/Cards/Portraits/portrait_dausbell"), (FilterMode?)null), ResourceBank.Get<Texture2D>("Art/Cards/Portraits/portrait_bull_emission"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)75 }), (Tribe[])(object)new Tribe[1] { (Tribe)6 }), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)19 }), BellAttack.icon), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_Exorcist()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetRare(CardManager.New("RevenantMod", "Exorcist", StringExtensions.SplitPascalCase("Exorcist"), 1, 2, "He still thinks banishing the dammed will do him good, does he know where he is?")), CardTemple);
			int? num = 6;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("Exorcist", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Exorcist"), (FilterMode?)null), Asset.LoadEmission("Exorcist"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)OpposingBonesCost.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_Flembones()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetRare(CardManager.New("RevenantMod", "Flembones", StringExtensions.SplitPascalCase("Flembones"), 0, 2, "Wait until he plays with his webcam.")), CardTemple);
			int? num = 5;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("Flembones", pixel: true), (FilterMode?)null), Asset.LoadPortrait("Flembones"), (FilterMode?)null), Asset.LoadEmission("Flembones"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)DeathMetal.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)4 }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_FulmineSkull()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ca: Expected I4, but got Unknown
			//IL_00cc: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d2: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetRare(CardManager.New("RevenantMod", "FulmineSkull", StringExtensions.SplitPascalCase("FulmineSkull"), 1, 1, "If you listen closely, you can still hear the cackling of flame on bone... as well as their voice.")), CardTemple);
			int? num = 2;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, (int?)0, (List<GemType>)null), Asset.LoadPortrait("FulmineSkull", pixel: true), (FilterMode?)null), Asset.LoadPortrait("FulmineSkull"), (FilterMode?)null), Asset.LoadEmission("FulmineSkull"), (FilterMode?)null), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)DrawCopySkeleton.ability,
				(Ability)52
			}), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_FulurOssa()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a6: Expected I4, but got Unknown
			//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c8: Expected I4, but got Unknown
			//IL_00ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d0: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetRare(CardManager.New("RevenantMod", "FulurOssa", StringExtensions.SplitPascalCase("FulurOssa"), 2, 1, "It never truly left the electric chair.")), CardTemple);
			int? num = 4;
			int? num2 = 3;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, num, num2, (List<GemType>)null), Asset.LoadPortrait("FulurOssa", pixel: true), (FilterMode?)null), Asset.LoadPortrait("FulurOssa"), (FilterMode?)null), Asset.LoadEmission("FulurOssa"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)LatchGrimoraRandomPrime.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)5 }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_P03()
		{
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a3: Expected I4, but got Unknown
			//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Expected I4, but got Unknown
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetCardTemple(CardExtensions.SetRare(CardManager.New("RevenantMod", "GanCeann", StringExtensions.SplitPascalCase("GanCeann"), 1, 1, "Countless legends tell of the dullahan, but all fail to convey the true extent of its pique.")), CardTemple);
			int? num = 6;
			CardExtensions.AddMetaCategories(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("GanCeann", pixel: true), (FilterMode?)null), Asset.LoadPortrait("GanCeann"), (FilterMode?)null), Asset.LoadEmission("GanCeann"), (FilterMode?)null), (Ability[])(object)new Ability[1] { (Ability)(int)HaunterLinger.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (CardMetaCategory[])(object)new CardMetaCategory[2]
			{
				(CardMetaCategory)(int)GrimoraChoice,
				(CardMetaCategory)(int)NeutralRegion
			});
		}

		private void Add_Card_InochiDark()
		{
			//IL_0027: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00aa: Expected I4, but got Unknown
			//IL_00c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cc: Expected I4, but got Unknown
			CardInfo obj = CardExtensions.SetOnePerDeck(CardExtensions.SetCardTemple(CardExtensions.AddAppearances(CardManager.New("RevenantMod", "InochiDark", "Inochi", 1, 2, (string)null), (Appearance[])(object)new Appearance[1] { (Appearance)7 }), CardTemple), true);
			int? num = 6;
			CardExtensions.AddSpecialAbilities(CardExtensions.AddTribes(CardExtensions.AddAbilities(CardExtensions.SetEmissivePortrait(CardExtensions.SetPortrait(CardExtensions.SetPixelPortrait(CardExtensions.SetCost(obj, (int?)0, (int?)0, num, (List<GemType>)null), Asset.LoadPortrait("InochiDark", pixel: true), (FilterMode?)null), Asset.LoadPortrait("InochiDark"), (FilterMod