Decompiled source of WhistleWind Lobotomy Mod v2.1.1

WhistleWindLobotomyMod.dll

Decompiled 9 months ago
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Bootstrap;
using BepInEx.Configuration;
using BepInEx.Logging;
using DiskCardGame;
using GBC;
using HarmonyLib;
using Infiniscryption.Achievements;
using Infiniscryption.PackManagement;
using Infiniscryption.Spells.Sigils;
using InscryptionAPI.Ascension;
using InscryptionAPI.Card;
using InscryptionAPI.Dialogue;
using InscryptionAPI.Encounters;
using InscryptionAPI.Guid;
using InscryptionAPI.Helpers;
using InscryptionAPI.Helpers.Extensions;
using InscryptionAPI.Items;
using InscryptionAPI.Items.Extensions;
using InscryptionAPI.Nodes;
using InscryptionAPI.PixelCard;
using InscryptionAPI.Regions;
using InscryptionAPI.Saves;
using InscryptionAPI.TalkingCards;
using InscryptionAPI.TalkingCards.Animation;
using InscryptionAPI.TalkingCards.Create;
using InscryptionAPI.Triggers;
using InscryptionCommunityPatch.Card;
using InscryptionCommunityPatch.PixelTutor;
using Microsoft.CodeAnalysis;
using Pixelplacement;
using Sirenix.Serialization.Utilities;
using Sirenix.Utilities;
using UnityEngine;
using VolumetricFogAndMist;
using WhistleWind.AbnormalSigils;
using WhistleWind.AbnormalSigils.StatusEffects;
using WhistleWind.Core.Helpers;
using WhistleWindLobotomyMod.Challenges;
using WhistleWindLobotomyMod.Core;
using WhistleWindLobotomyMod.Core.Helpers;
using WhistleWindLobotomyMod.Core.SpecialSequencers;
using WhistleWindLobotomyMod.Opponents;
using WhistleWindLobotomyMod.Opponents.Angler;
using WhistleWindLobotomyMod.Opponents.Apocalypse;
using WhistleWindLobotomyMod.Opponents.Leshy;
using WhistleWindLobotomyMod.Opponents.PirateSkull;
using WhistleWindLobotomyMod.Opponents.Prospector;
using WhistleWindLobotomyMod.Opponents.Saviour;
using WhistleWindLobotomyMod.Opponents.TrapperTrader;
using WhistleWindLobotomyMod.Patches;

[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("WhistleWindLobotomyMod")]
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: AssemblyInformationalVersion("2.1.1")]
[assembly: AssemblyProduct("WhistleWindLobotomyMod")]
[assembly: AssemblyTitle("WhistleWindLobotomyMod")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyDescription("A mod for Inscryption adding cards and sigils based on the abnormalities from Lobotomy Corporation and Library of Ruina.")]
[assembly: AssemblyFileVersion("2.1.1.0")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("2.1.1.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	[CompilerGenerated]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace WhistleWindLobotomyMod
{
	public class ApostleSigil : AbilityBehaviour, IModifyDamageTaken
	{
		public static Ability ability;

		private int downCount;

		public override Ability Ability => ability;

		private bool Saviour => BoardManagerExtensions.GetSlotsCopy(Singleton<BoardManager>.Instance, !((AbilityBehaviour)this).Card.OpponentCard).Exists((CardSlot s) => (Object)(object)s.Card != (Object)null && s.Card.HasAbility(TrueSaviour.ability));

		private bool Downed => ((Object)((Card)((AbilityBehaviour)this).Card).Info).name.Contains("Down");

		public override bool RespondsToUpkeep(bool playerUpkeep)
		{
			if (Downed)
			{
				return ((AbilityBehaviour)this).Card.OpponentCard != playerUpkeep;
			}
			return false;
		}

		public override bool RespondsToDie(bool wasSacrifice, PlayableCard killer)
		{
			return true;
		}

		public override IEnumerator OnUpkeep(bool playerUpkeep)
		{
			downCount++;
			if (downCount >= 2)
			{
				downCount = 0;
				yield return ((AbilityBehaviour)this).PreSuccessfulTriggerSequence();
				Singleton<ViewManager>.Instance.SwitchToView((View)4, false, false);
				((Card)((AbilityBehaviour)this).Card).Anim.LightNegationEffect();
				yield return (object)new WaitForSeconds(0.2f);
				if (!((AbilityBehaviour)this).HasLearned)
				{
					yield return (object)new WaitForSeconds(0.5f);
					yield return DialogueHelper.PlayAlternateDialogue((Emotion)0, (Speaker)1, 0f, "[c:bR]Ye who are full of blessings, rejoice. For I am with ye.[c:]");
					((AbilityBehaviour)this).SetLearned();
				}
				yield return ReviveApostle();
			}
		}

		public override IEnumerator OnDie(bool wasSacrifice, PlayableCard killer)
		{
			if ((Object)(object)killer != (Object)null && CardExtensions.HasAnyOfAbilities(killer, (Ability[])(object)new Ability[2]
			{
				(Ability)(int)Confession.ability,
				(Ability)(int)TrueSaviour.ability
			}))
			{
				yield break;
			}
			if (Downed)
			{
				if (Saviour)
				{
					yield return DialogueHelper.PlayDialogueEvent("WhiteNightApostleKilledByNull");
				}
				yield break;
			}
			yield return DownApostle();
			if (Saviour)
			{
				yield return DialogueHelper.PlayDialogueEvent("WhiteNightApostleDowned");
			}
		}

		private IEnumerator DownApostle()
		{
			CardInfo downedInfo = (CardInfo)(((Object)((Card)((AbilityBehaviour)this).Card).Info).name switch
			{
				"wstl_apostleGuardian" => CardLoader.GetCardByName("wstl_apostleGuardianDown"), 
				"wstl_apostleMoleman" => CardLoader.GetCardByName("wstl_apostleMolemanDown"), 
				"wstl_apostleSpear" => CardLoader.GetCardByName("wstl_apostleSpearDown"), 
				"wstl_apostleStaff" => CardLoader.GetCardByName("wstl_apostleStaffDown"), 
				"wstl_apostleScythe" => CardLoader.GetCardByName("wstl_apostleScytheDown"), 
				_ => CardLoader.GetCardByName(((Object)((Card)((AbilityBehaviour)this).Card).Info).name), 
			});
			yield return ((AbilityBehaviour)this).PreSuccessfulTriggerSequence();
			yield return (object)new WaitForSeconds(0.2f);
			if ((Object)(object)((AbilityBehaviour)this).Card.Slot.Card != (Object)null)
			{
				yield return ((AbilityBehaviour)this).Card.Slot.Card.TransformIntoCard(downedInfo, (Action)ResetDamage, (Action)null);
			}
			else
			{
				yield return Singleton<BoardManager>.Instance.CreateCardInSlot(downedInfo, ((AbilityBehaviour)this).Card.Slot, 0.1f, true);
			}
			yield return (object)new WaitForSeconds(0.5f);
		}

		private IEnumerator ReviveApostle()
		{
			CardInfo risenInfo = (CardInfo)(((Object)((Card)((AbilityBehaviour)this).Card).Info).name switch
			{
				"wstl_apostleGuardianDown" => CardLoader.GetCardByName("wstl_apostleGuardian"), 
				"wstl_apostleMolemanDown" => CardLoader.GetCardByName("wstl_apostleMoleman"), 
				"wstl_apostleSpearDown" => CardLoader.GetCardByName("wstl_apostleSpear"), 
				"wstl_apostleStaffDown" => CardLoader.GetCardByName("wstl_apostleStaff"), 
				_ => CardLoader.GetCardByName("wstl_apostleScythe"), 
			});
			yield return (object)new WaitForSeconds(0.2f);
			yield return ((AbilityBehaviour)this).Card.TransformIntoCard(risenInfo, (Action)ResetDamage, (Action)null);
			yield return (object)new WaitForSeconds(0.5f);
		}

		private void ResetDamage()
		{
			((AbilityBehaviour)this).Card.Status.damageTaken = 0;
		}

		public bool RespondsToModifyDamageTaken(PlayableCard target, int damage, PlayableCard attacker, int originalDamage)
		{
			if ((Object)(object)((AbilityBehaviour)this).Card == (Object)(object)target && Downed)
			{
				return Saviour;
			}
			return false;
		}

		public int OnModifyDamageTaken(PlayableCard target, int damage, PlayableCard attacker, int originalDamage)
		{
			((Card)target).Anim.StrongNegationEffect();
			return 0;
		}

		public int TriggerPriority(PlayableCard target, int damage, PlayableCard attacker)
		{
			return 0;
		}
	}
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInPlugin("whistlewind.inscryption.lobotomycorp", "WhistleWind Lobotomy Mod", "2.1.1")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class LobotomyPlugin : BaseUnityPlugin
	{
		internal static class PackAPI
		{
			internal static bool Enabled => Chainloader.PluginInfos.ContainsKey("zorro.inscryption.infiniscryption.packmanager");

			internal static void CreateCardPack()
			{
				Log.LogDebug((object)"PackManager is installed.");
				PackInfo packInfo = PackManager.GetPackInfo<PackInfo>("wstl");
				((PackInfoBase)packInfo).Title = "WhistleWind Lobotomy Mod";
				((PackInfoBase)packInfo).SetTexture(TextureLoader.LoadTextureFromFile("wstl_pack"));
				((PackInfoBase)packInfo).Description = $"A set of {LobotomyCardManager.ObtainableLobotomyCards.Count} cards based on the abnormalities from Lobotomy Corporation and Library of Ruina.";
				((PackInfoBase)packInfo).ValidFor.Add((PackMetacategory)0);
				EncounterPackInfo packInfo2 = PackManager.GetPackInfo<EncounterPackInfo>("wstl");
				((PackInfoBase)packInfo2).Title = "WhistleWind Lobotomy Mod";
				((PackInfoBase)packInfo2).Description = "A set of [summary] exclusively featuring abnormalities and related phenomena.";
				((PackInfoBase)packInfo2).ValidFor.Add((PackMetacategory)0);
			}
		}

		internal static class AchievementAPI
		{
			internal static Achievement ThroughTheTwilight;

			internal static Achievement WhereAllPathsLead;

			internal static Achievement EndOfTheRoad;

			internal static Achievement ParadiseLost;

			internal static Achievement TheThreeBirds;

			internal static Achievement MagicalGirls;

			internal static Achievement YellowBrickRoad;

			internal static Achievement Blessing;

			internal static Achievement Impuritas;

			internal static bool Enabled => Chainloader.PluginInfos.ContainsKey("zorro.inscryption.infiniscryption.achievements");

			internal static void CreateAchievements()
			{
				//IL_0029: Unknown result type (might be due to invalid IL or missing references)
				//IL_002e: Unknown result type (might be due to invalid IL or missing references)
				//IL_003f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0050: Unknown result type (might be due to invalid IL or missing references)
				//IL_0055: Unknown result type (might be due to invalid IL or missing references)
				//IL_006a: Unknown result type (might be due to invalid IL or missing references)
				//IL_007b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0080: Unknown result type (might be due to invalid IL or missing references)
				//IL_0095: Unknown result type (might be due to invalid IL or missing references)
				//IL_00a6: Unknown result type (might be due to invalid IL or missing references)
				//IL_00ab: Unknown result type (might be due to invalid IL or missing references)
				//IL_00c0: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
				//IL_00eb: Unknown result type (might be due to invalid IL or missing references)
				//IL_00fc: Unknown result type (might be due to invalid IL or missing references)
				//IL_0101: Unknown result type (might be due to invalid IL or missing references)
				//IL_0116: Unknown result type (might be due to invalid IL or missing references)
				//IL_0127: Unknown result type (might be due to invalid IL or missing references)
				//IL_012c: Unknown result type (might be due to invalid IL or missing references)
				Log.LogDebug((object)"Achievements API is installed.");
				AchievementGroup iD = ModdedAchievementManager.NewGroup("whistlewind.inscryption.lobotomycorp", "WhistleWind Lobotomy Mod", TextureLoader.LoadTextureFromFile("achievementBox.png")).ID;
				ThroughTheTwilight = ModdedAchievementManager.New("whistlewind.inscryption.lobotomycorp", "Through the Twilight", "Survive the apocalypse and defeat the Beast.", false, iD, TextureLoader.LoadTextureFromFile("achievementBossTwilight.png")).ID;
				Impuritas = ModdedAchievementManager.New("whistlewind.inscryption.lobotomycorp", "Impuritas Civitatis", "Meet Angela at a Sephirot choice node.", false, iD, TextureLoader.LoadTextureFromFile("achievementImpuritas.png")).ID;
				TheThreeBirds = ModdedAchievementManager.New("whistlewind.inscryption.lobotomycorp", "Three Birds", "Gather the guardians of the Black Forest.", false, iD, TextureLoader.LoadTextureFromFile("achievementTwilight.png")).ID;
				MagicalGirls = ModdedAchievementManager.New("whistlewind.inscryption.lobotomycorp", "Full House", "Bring all of the magical girls together.", false, iD, TextureLoader.LoadTextureFromFile("achievementMagicalGirls.png")).ID;
				YellowBrickRoad = ModdedAchievementManager.New("whistlewind.inscryption.lobotomycorp", "Yellow Brick Road", "Reunite a group of long-lost friends.", false, iD, TextureLoader.LoadTextureFromFile("achievementRoadToOz.png")).ID;
				Blessing = ModdedAchievementManager.New("whistlewind.inscryption.lobotomycorp", "Blessing", "You witnessed His coming.", true, iD, TextureLoader.LoadTextureFromFile("achievementBlessing.png")).ID;
				HarmonyInstance.PatchAll(typeof(AchievementPatches));
			}

			internal static void Unlock(bool prerequisite, Achievement achievement)
			{
				//IL_0009: Unknown result type (might be due to invalid IL or missing references)
				if (Enabled && prerequisite)
				{
					AchievementManager.Unlock(achievement);
				}
			}
		}

		private const string oneSinName = "One Sin and Hundreds of Good Deeds";

		private const string oneSin = "oneSin";

		private const string plagueDoctor = "plagueDoctor";

		public static readonly List<Sprite> PlagueDoctorPortraits = new List<Sprite>();

		public static readonly StoryEvent ApocalypseBossDefeated = GuidManager.GetEnumValue<StoryEvent>("whistlewind.inscryption.lobotomycorp", "ApocalpyseBossDefeated");

		public static readonly StoryEvent JesterBossDefeated = GuidManager.GetEnumValue<StoryEvent>("whistlewind.inscryption.lobotomycorp", "JesterBossDefeated");

		public static readonly StoryEvent EmeraldBossDefeated = GuidManager.GetEnumValue<StoryEvent>("whistlewind.inscryption.lobotomycorp", "EmeraldBossDefeated");

		public static readonly StoryEvent SaviourBossDefeated = GuidManager.GetEnumValue<StoryEvent>("whistlewind.inscryption.lobotomycorp", "SaviourBossDefeated");

		private static readonly Harmony HarmonyInstance = new Harmony("whistlewind.inscryption.lobotomycorp");

		internal static ManualLogSource Log;

		public const string pluginGuid = "whistlewind.inscryption.lobotomycorp";

		public const string pluginPrefix = "wstl";

		public const string pluginName = "WhistleWind Lobotomy Mod";

		private const string pluginVersion = "2.1.1";

		public static bool AllCardsDisabled { get; internal set; }

		public static LobotomyCardManager.RiskLevel DisabledRiskLevels { get; internal set; }

		public static bool PreventOpponentDamage { get; internal set; }

		private void Ability_Apostle()
		{
			//IL_001d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0022: Unknown result type (might be due to invalid IL or missing references)
			ApostleSigil.ability = LobotomyAbilityHelper.CreateAbility<ApostleSigil>("sigilApostle", "Apostle", "'Thou wilt abandon flesh and be born again.'", "", null, -3).Id;
		}

		private void Ability_Confession()
		{
			//IL_001c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			Confession.ability = LobotomyAbilityHelper.CreateActivatedAbility<Confession>("sigilConfession", "Confession and Pentinence", "Keep faith with unwavering resolve.", "[c:bG]Keep faith with unwavering resolve.[c:]", null, -3).Id;
		}

		private void Ability_TimeMachine()
		{
			//IL_001b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			TimeMachine.ability = LobotomyAbilityHelper.CreateActivatedAbility<TimeMachine>("sigilTimeMachine", "Time Machine", "End the current battle or phase then remove this card from the player's deck. The player must choose an additional card from a selection of 3 to remove from their deck. Selection is based on card power.", "Close your eyes and count to ten.", null, 5).Id;
		}

		private void Ability_TrueSaviour()
		{
			//IL_001d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0022: Unknown result type (might be due to invalid IL or missing references)
			TrueSaviour.ability = LobotomyAbilityHelper.CreateAbility<TrueSaviour>("sigilTrueSaviour", "True Saviour", "'My story is nowhere, unknown to all.'", "[c:bR]I am death and life. Darkness and light.[c:]", null, -3).Id;
		}

		private void Ability_Apocalypse()
		{
			//IL_001c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			ApocalypseAbility.ability = LobotomyAbilityHelper.CreateAbility<ApocalypseAbility>("sigilApocalypse", "Monster in the Black Forest", "'Once upon a time, three birds lived happily in the lush forest...'", "The three birds, now one, wandered vainly looking for the monster.").Id;
		}

		private void Ability_BigEyes()
		{
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Unknown result type (might be due to invalid IL or missing references)
			BigEyes.ability = LobotomyAbilityHelper.CreateAbility<BigEyes>("sigilBigEyes", "Big Eyes", "While this card is on the board, all creatures on the board are unaffected by Power-changing effects.").Id;
		}

		private void Ability_Dazzling()
		{
			//IL_001c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			Dazzling.ability = LobotomyAbilityHelper.CreateAbility<Dazzling>("sigilDazzling", "Dazzling", "The turn after this card is played, inflict up to 3 other cards on the board with Enchanted.", "Like moths to a flame.").Id;
		}

		private void Ability_LongArms()
		{
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Unknown result type (might be due to invalid IL or missing references)
			LongArms.ability = LobotomyAbilityHelper.CreateAbility<LongArms>("sigilLongArms", "Long Arms", "This card is immune to status ailments.").Id;
		}

		private void Ability_Misdeeds()
		{
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Unknown result type (might be due to invalid IL or missing references)
			Misdeeds.ability = LobotomyAbilityHelper.CreateAbility<Misdeeds>("sigilMisdeeds", "Misdeeds Not Allowed", "Whenever this card takes damage, gain 1 Power until the end of the owner's turn.").Id;
		}

		private void Ability_SmallBeak()
		{
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Unknown result type (might be due to invalid IL or missing references)
			SmallBeak.ability = LobotomyAbilityHelper.CreateAbility<SmallBeak>("sigilSmallBeak", "Small Beak", "At the start of the turn, target a random lane on the board.  At the start of the next turn, kill all cards in the targeted lane, excluding this card.").Id;
		}

		private void Ability_UnjustScale()
		{
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Unknown result type (might be due to invalid IL or missing references)
			UnjustScale.ability = LobotomyAbilityHelper.CreateAbility<UnjustScale>("sigilUnjustScale", "Unjust Scale", "At the end of the owner's turn, inflict 1 Sin on all other cards. At the start of owner's turn, kill all other cards with 3+ Sin.").Id;
		}

		private void Rulebook_Adoration()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryAdoration.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryAdoration>("Adoration", "At the start of the owner's turn, if Melting Love is at 1 Health, absorb the Health of adjacent Slime cards until Melting Love is at max Health.").Id;
		}

		private void SpecialAbility_Adoration()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			Adoration.specialAbility = AbilityHelper.CreateSpecialAbility<Adoration>("whistlewind.inscryption.lobotomycorp", "Adoration").Id;
		}

		private void Rulebook_Bless()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryBless.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryBless>("Bless", "Whenever Plague Doctor successfully heals another card using the Healer sigil, it changes its appearance.").Id;
		}

		private void SpecialAbility_Bless()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			Bless.specialAbility = AbilityHelper.CreateSpecialAbility<Bless>("whistlewind.inscryption.lobotomycorp", "Bless").Id;
		}

		private void Rulebook_BlindRage()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryBlindRage.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryBlindRage>("Blind Rage", "Servant of Wrath will target a random space on the board when attacking, prioritising occupied spaces.").Id;
		}

		private void SpecialAbility_BlindRage()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			BlindRage.specialAbility = AbilityHelper.CreateSpecialAbility<BlindRage>("whistlewind.inscryption.lobotomycorp", "Blind Rage").Id;
		}

		private void SpecialAbility_BoardEffects()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			BoardEffects.specialAbility = AbilityHelper.CreateSpecialAbility<BoardEffects>("whistlewind.inscryption.lobotomycorp", "EventBoardEffects").Id;
		}

		private void Rulebook_CensoredSpecial()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryCensoredSpecial.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryCensoredSpecial>("CENSORED", "Whenver CENSORED kills a card, create a CENSORED in your hand with the killed card's Power, tribes, and sigils.").Id;
		}

		private void SpecialAbility_CensoredSpecial()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			CensoredSpecial.specialAbility = AbilityHelper.CreateSpecialAbility<CensoredSpecial>("whistlewind.inscryption.lobotomycorp", "CENSORED").Id;
		}

		private void Rulebook_Concord()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryConcord.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryConcord>("Concord", "When Yang is adjacent to Yin, activate a special sequence.").Id;
		}

		private void SpecialAbility_Concord()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			Concord.specialAbility = AbilityHelper.CreateSpecialAbility<Concord>("whistlewind.inscryption.lobotomycorp", "Concord").Id;
		}

		private void Rulebook_Cowardly()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryCowardly.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryCowardly>("Cowardly", "If there is an non-Structure ally card on the board, Scaredy Cat transforms into a stronger forme. Otherwise transform into a weaker forme.").Id;
		}

		private void SpecialAbility_Cowardly()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			Cowardly.specialAbility = AbilityHelper.CreateSpecialAbility<Cowardly>("whistlewind.inscryption.lobotomycorp", "Cowardly").Id;
		}

		private void Rulebook_CrimsonScar()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryCrimsonScar.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryCrimsonScar>("Crimson Scar", "Big and Will Be Bad Wolf and Red Hooded Mercenary will gain 1 Power when their counterpart is played on the board. While they're on the board, target them exclusively.").Id;
		}

		private void SpecialAbility_CrimsonScar()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			CrimsonScar.specialAbility = AbilityHelper.CreateSpecialAbility<CrimsonScar>("whistlewind.inscryption.lobotomycorp", "Crimson Scar").Id;
		}

		private void SpecialAbility_DragonHead()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			DragonHead.specialAbility = AbilityHelper.CreateSpecialAbility<DragonHead>("whistlewind.inscryption.lobotomycorp", "DragonHead").Id;
		}

		private void Rulebook_Justitia()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryJustitia.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryJustitia>("Justitia", "Non-Terrain cards targeted by Judgement Bird are killed regardless of Health. Judgement Bird is not affected by abilities like Sharp and Punisher.").Id;
		}

		private void Rulebook_LoveAndHate()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryLoveAndHate.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryLoveAndHate>("In the Name of Love and Hate", "When 2 more ally cards have died than opposing cards or vice versa, Magical Girl will transform then move to the side of the board that lost more cards.").Id;
		}

		private void SpecialAbility_LoveAndHate()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			LoveAndHate.specialAbility = AbilityHelper.CreateSpecialAbility<LoveAndHate>("whistlewind.inscryption.lobotomycorp", "In the Name of Love and Hate").Id;
		}

		private void Rulebook_MagicalGirls()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryMagicalGirls.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryMagicalGirls>("Magical Girls", "Gain a special card when all 4 Magical Girls or their evolutions are on the same side of the board.").Id;
		}

		private void SpecialAbility_MagicalGirls()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			MagicalGirls.specialAbility = AbilityHelper.CreateSpecialAbility<MagicalGirls>("whistlewind.inscryption.lobotomycorp", "Magical Girls").Id;
		}

		private void Rulebook_Mimicry()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryMimicry.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryMimicry>("Mimicry", "Nothing There reveals itself on death.").Id;
		}

		private void SpecialAbility_Mimicry()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			Mimicry.specialAbility = AbilityHelper.CreateSpecialAbility<Mimicry>("whistlewind.inscryption.lobotomycorp", "Mimicry").Id;
		}

		private void Rulebook_Pink()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryPink.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryPink>("Pink", "Army in Pink will transform when 3 ally cards die.").Id;
		}

		private void SpecialAbility_Pink()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			Pink.specialAbility = AbilityHelper.CreateSpecialAbility<Pink>("whistlewind.inscryption.lobotomycorp", "Pink").Id;
		}

		private void SpecialAbility_QueenOfHatredExhaustion()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			QueenOfHateExhaustion.specialAbility = AbilityHelper.CreateSpecialAbility<QueenOfHateExhaustion>("whistlewind.inscryption.lobotomycorp", "QueenOfHateExhaustion").Id;
		}

		private void Rulebook_Sap()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntrySap.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntrySap>("Sap", "Whenever Giant Tree Sap is sacrificed, there is an increasing chance the sacrificing card will explode.").Id;
		}

		private void SpecialAbility_Sap()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			Sap.specialAbility = AbilityHelper.CreateSpecialAbility<Sap>("whistlewind.inscryption.lobotomycorp", "Sap").Id;
		}

		private void Rulebook_Smile()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntrySmile.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntrySmile>("Smile", "Mountain of Smiling Bodies grows into a stronger forme whenever killing a card. Upon dying, revert to a previous forme if possible.").Id;
		}

		private void SpecialAbility_Smile()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			Smile.specialAbility = AbilityHelper.CreateSpecialAbility<Smile>("whistlewind.inscryption.lobotomycorp", "Smile").Id;
		}

		private void Rulebook_StarSound()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryStarSound.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryStarSound>("Sound of a Star", "If there are no cards on the opposing side that can be attacked, Blue Star strikes all slots directly.").Id;
		}

		private void SpecialAbility_StarSound()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			StarSound.specialAbility = AbilityHelper.CreateSpecialAbility<StarSound>("whistlewind.inscryption.lobotomycorp", "Sound of a Star").Id;
		}

		private void Rulebook_SwordWithTears()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntrySwordWithTears.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntrySwordWithTears>("The Sword Sharpened with Tears", "Knight of Despair and Servant of Wrath will transform when an adjacent card dies.").Id;
		}

		private void SpecialAbility_SwordWithTears()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			SwordWithTears.specialAbility = AbilityHelper.CreateSpecialAbility<SwordWithTears>("whistlewind.inscryption.lobotomycorp", "The Sword Sharpened with Tears").Id;
		}

		private void Rulebook_Syrinx()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntrySyrinx.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntrySyrinx>("Syrinx", "Nameless Fetus transforms when sacrificed six times.").Id;
		}

		private void SpecialAbility_Syrinx()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			Syrinx.specialAbility = AbilityHelper.CreateSpecialAbility<Syrinx>("whistlewind.inscryption.lobotomycorp", "Syrinx").Id;
		}

		private void Rulebook_TheHomingInstinct()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryTheHomingInstinct.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryTheHomingInstinct>("The Homing Instinct", "When The Road Home is played, create a Scaredy Cat in your hand. [define:wstl_scaredyCat]").Id;
		}

		private void SpecialAbility_TheHomingInstinct()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			TheHomingInstinct.specialAbility = AbilityHelper.CreateSpecialAbility<TheHomingInstinct>("whistlewind.inscryption.lobotomycorp", "The Homing Instinct").Id;
		}

		private void Rulebook_ThreeBirds()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryThreeBirds.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryThreeBirds>("Three Birds", "Gain a special card when Punishing Bird, Judgement Bird, and Big Bird are on the same side of the board.").Id;
		}

		private void SpecialAbility_ThreeBirds()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			ThreeBirds.specialAbility = AbilityHelper.CreateSpecialAbility<ThreeBirds>("whistlewind.inscryption.lobotomycorp", "Three Birds").Id;
		}

		private void Rulebook_TodaysExpression()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryTodaysExpression.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryTodaysExpression>("Today's Expression", "Today's Shy Look changes forme when drawn.").Id;
		}

		private void SpecialAbility_TodaysExpression()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			TodaysExpression.specialAbility = AbilityHelper.CreateSpecialAbility<TodaysExpression>("whistlewind.inscryption.lobotomycorp", "Today's Expression").Id;
		}

		private void Rulebook_WristCutter()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryWristCutter.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryWristCutter>("Wrist Cutter", "Bloodbath transforms whenever a card is sacrificed.").Id;
		}

		private void SpecialAbility_WristCutter()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			WristCutter.specialAbility = AbilityHelper.CreateSpecialAbility<WristCutter>("whistlewind.inscryption.lobotomycorp", "Wrist Cutter").Id;
		}

		private void Rulebook_YellowBrick()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			RulebookEntryYellowBrick.ability = LobotomyAbilityHelper.CreateRulebookAbility<RulebookEntryYellowBrick>("Yellow Brick Road", "Gain a special card when Ozma, The Road Home, Warm-Hearted Woodsman, and Scarecrow Searching for Wisdom are all on the same side of the board.").Id;
		}

		private void SpecialAbility_YellowBrick()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			YellowBrick.specialAbility = AbilityHelper.CreateSpecialAbility<YellowBrick>("whistlewind.inscryption.lobotomycorp", "Yellow Brick Road").Id;
		}

		private void StatusEffect_Enchanted()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_0033: Unknown result type (might be due to invalid IL or missing references)
			//IL_0039: Unknown result type (might be due to invalid IL or missing references)
			//IL_003e: Unknown result type (might be due to invalid IL or missing references)
			Assembly callingAssembly = Assembly.GetCallingAssembly();
			Color gold = GameColors.Instance.gold;
			Enchanted.specialAbility = StatusEffectManager.NewStatusEffect<Enchanted>("whistlewind.inscryption.lobotomycorp", "Enchanted", "This card will target cards with the Dazzling sigil, dealing no damage to them and dying after attacking. At the start of the owner's next turn, lose 1 stack of this effect.", "sigilEnchanted", callingAssembly, (string)null, -4, new List<StatusMetaCategory> { (StatusMetaCategory)0 }, gold).BehaviourId;
		}

		private void StatusEffect_Sin()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_0033: Unknown result type (might be due to invalid IL or missing references)
			//IL_0039: Unknown result type (might be due to invalid IL or missing references)
			//IL_003e: Unknown result type (might be due to invalid IL or missing references)
			Assembly callingAssembly = Assembly.GetCallingAssembly();
			Color gold = GameColors.Instance.gold;
			Sin.specialAbility = StatusEffectManager.NewStatusEffect<Sin>("whistlewind.inscryption.lobotomycorp", "Sin", "When this card deals damage to another creature, transfer 1 Sin to that card.", "sigilUnjustScale.png", callingAssembly, (string)null, -5, new List<StatusMetaCategory> { (StatusMetaCategory)0 }, gold).BehaviourId;
		}

		private void Appearance_DragonBackground()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			//IL_0028: Unknown result type (might be due to invalid IL or missing references)
			//IL_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			DragonHeadBackground.appearance = CardHelper.CreateAppearance<DragonHeadBackground>("whistlewind.inscryption.lobotomycorp", "DragonHeadBackground").Id;
			DragonHornsBackground.appearance = CardHelper.CreateAppearance<DragonHornsBackground>("whistlewind.inscryption.lobotomycorp", "DragonHornsBackground").Id;
			DragonBodyBackground.appearance = CardHelper.CreateAppearance<DragonBodyBackground>("whistlewind.inscryption.lobotomycorp", "DragonBodyBackground").Id;
		}

		private void Appearance_EventBackground()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			//IL_0028: Unknown result type (might be due to invalid IL or missing references)
			//IL_002d: Unknown result type (might be due to invalid IL or missing references)
			EventBackground.appearance = CardHelper.CreateAppearance<EventBackground>("whistlewind.inscryption.lobotomycorp", "EventCardBackground").Id;
			RareEventBackground.appearance = CardHelper.CreateAppearance<RareEventBackground>("whistlewind.inscryption.lobotomycorp", "EventCardBackgroundRare").Id;
		}

		private void Appearance_GiantBird()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			GiantBirdAppearance.appearance = CardHelper.CreateAppearance<GiantBirdAppearance>("whistlewind.inscryption.lobotomycorp", "GiantBirdAppearance").Id;
		}

		private void Appearance_MiracleWorker()
		{
			//IL_000f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			MiracleWorkerAppearance.appearance = CardHelper.CreateAppearance<MiracleWorkerAppearance>("whistlewind.inscryption.lobotomycorp", "MiracleWorkerAppearance").Id;
		}

		private void Card_AllAroundHelper_T0541()
		{
			//IL_0045: Unknown result type (might be due to invalid IL or missing references)
			//IL_004b: Expected I4, but got Unknown
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("allAroundHelper", "All-Around Helper", "A murderous cleaning machine. Far nicer than a certain other...well, nevermind.", 1, 2, 0, 0, 3, (CardTemple)2).SetPortraits("allAroundHelper"), (Ability[])(object)new Ability[2]
			{
				(Ability)3,
				(Ability)24
			}), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeMechanical }), "All-Around Helper 2.0").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.He);
		}

		private void Card_Alriune_T0453()
		{
			//IL_0040: Unknown result type (might be due to invalid IL or missing references)
			//IL_0046: Expected I4, but got Unknown
			CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("alriune", "Alriune", "A doll yearning to be a human. A human yearning to be a doll.", 4, 5, 3, 0, 0, (CardTemple)0).SetPortraits("alriune"), (Ability[])(object)new Ability[1] { (Ability)3 }), (Tribe[])(object)new Tribe[2]
			{
				(Tribe)(int)AbnormalPlugin.TribeBotanic,
				(Tribe)4
			}).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw);
		}

		private void Card_ApocalypseBird_O0263()
		{
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			//IL_0076: Unknown result type (might be due to invalid IL or missing references)
			//IL_007c: Expected I4, but got Unknown
			CardInfo obj = LobotomyCardManager.NewCard("apocalypseBird", "Apocalypse Bird", null, 3, 9, 4, 0, 0, (CardTemple)0).SetPortraits("apocalypseBird");
			Ability[] array = new Ability[3];
			RuntimeHelpers.InitializeArray(array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/);
			CardExtensions.SetOnePerDeck(CardExtensions.SetDefaultEvolutionName(CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(obj, (Ability[])(object)array), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)BoardEffects.specialAbility }), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (Trait[])(object)new Trait[1] { (Trait)21 }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance }).SetNodeRestrictions(cannotGiveSigils: true, cannotGainSigils: false, cannotBuffStats: false, cannotCopyCard: true), "Greater Apocalypse Bird"), true).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
		}

		private void Card_ApocalypseBirdEggs()
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Expected I4, but got Unknown
			//IL_004f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0055: Expected I4, but got Unknown
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_005d: Expected I4, but got Unknown
			//IL_005f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0065: Expected I4, but got Unknown
			//IL_007d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0083: 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
			//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00de: Expected I4, but got Unknown
			//IL_00f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00fc: Expected I4, but got Unknown
			//IL_0141: Unknown result type (might be due to invalid IL or missing references)
			//IL_0147: Expected I4, but got Unknown
			//IL_0149: Unknown result type (might be due to invalid IL or missing references)
			//IL_014f: Expected I4, but got Unknown
			//IL_0151: Unknown result type (might be due to invalid IL or missing references)
			//IL_0157: Expected I4, but got Unknown
			//IL_016f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0175: Expected I4, but got Unknown
			//IL_01a3: Unknown result type (might be due to invalid IL or missing references)
			//IL_01a9: Expected I4, but got Unknown
			//IL_01ab: Unknown result type (might be due to invalid IL or missing references)
			//IL_01b1: Expected I4, but got Unknown
			//IL_01d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_01d8: Expected I4, but got Unknown
			//IL_01f5: Unknown result type (might be due to invalid IL or missing references)
			//IL_01fb: Expected I4, but got Unknown
			Trait[] array = (Trait[])(object)new Trait[3]
			{
				(Trait)14,
				(Trait)12,
				(Trait)(int)AbnormalPlugin.ImmuneToInstaDeath
			};
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apocalypseEgg_big", "Aspect of Big Bird", null, 1, 100, 0, 0, 0, (CardTemple)0).SetPortraits("bigBird", "bigBird_emission", ""), (Ability[])(object)new Ability[4]
			{
				(Ability)(int)ApocalypseAbility.ability,
				(Ability)(int)BigEyes.ability,
				(Ability)(int)Dazzling.ability,
				(Ability)105
			}), array), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedEmission.appearance }).Build();
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apocalypseEgg_small", "Aspect of Small Bird", null, 1, 100, 0, 0, 0, (CardTemple)0).SetPortraits("punishingBird", "punishingBird_boss_emission", ""), (Ability[])(object)new Ability[4]
			{
				(Ability)(int)ApocalypseAbility.ability,
				(Ability)(int)SmallBeak.ability,
				(Ability)(int)Misdeeds.ability,
				(Ability)105
			}), array), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedEmission.appearance }).Build();
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apocalypseEgg_long", "Aspect of Long Bird", null, 1, 100, 0, 0, 0, (CardTemple)0).SetPortraits("judgementBird", "judgementBird_boss_emission", ""), (Ability[])(object)new Ability[4]
			{
				(Ability)(int)ApocalypseAbility.ability,
				(Ability)(int)LongArms.ability,
				(Ability)(int)UnjustScale.ability,
				(Ability)105
			}), array), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedEmission.appearance }).Build();
			CardExtensions.AddAppearances(CardExtensions.AddSpecialAbilities(CardExtensions.AddTraits(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("!GIANTCARD_ApocalypseBird", "", null, 2, 40, 0, 0, 0, (CardTemple)0), (Ability[])(object)new Ability[4]
			{
				(Ability)(int)ApocalypseAbility.ability,
				(Ability)(int)UnjustScale.ability,
				(Ability)23,
				(Ability)105
			}), (Trait[])(object)new Trait[3]
			{
				(Trait)14,
				(Trait)16,
				(Trait)(int)AbnormalPlugin.ImmuneToInstaDeath
			}), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)15 }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)GiantBirdAppearance.appearance }).Build();
		}

		private void Card_ApocalypseBirdMinions()
		{
			//IL_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0033: Expected I4, but got Unknown
			//IL_0035: Unknown result type (might be due to invalid IL or missing references)
			//IL_003b: Expected I4, but got Unknown
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_005d: Expected I4, but got Unknown
			//IL_00b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00be: Expected I4, but got Unknown
			//IL_00fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0100: Expected I4, but got Unknown
			//IL_0102: Unknown result type (might be due to invalid IL or missing references)
			//IL_0108: Expected I4, but got Unknown
			//IL_0124: Unknown result type (might be due to invalid IL or missing references)
			//IL_012a: Expected I4, but got Unknown
			CardExtensions.AddAppearances(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("eyeballChick", "Eyeball Chick", null, 2, 1, 2, 0, 0, (CardTemple)0).SetPortraits("eyeballChick"), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)BindingStrike.ability,
				(Ability)(int)Piercing.ability
			}), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedEmission.appearance }).Build();
			CardExtensions.AddAppearances(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("forestKeeper", "Keeper of the Black Forest", null, 1, 2, 2, 0, 0, (CardTemple)0).SetPortraits("forestKeeper"), (Ability[])(object)new Ability[1] { (Ability)104 }), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedEmission.appearance }).Build();
			CardExtensions.AddAppearances(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("runawayBird", "Runaway Bird", null, 1, 2, 2, 0, 0, (CardTemple)0).SetPortraits("runawayBird"), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)HighStrung.ability,
				(Ability)(int)Persistent.ability
			}), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedEmission.appearance }).Build();
		}

		private void Card_ApostleGuardian_T0346()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Expected I4, but got Unknown
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Expected I4, but got Unknown
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_002c: Expected I4, but got Unknown
			//IL_0035: Unknown result type (might be due to invalid IL or missing references)
			//IL_003b: Expected I4, but got Unknown
			Ability[] array = (Ability[])(object)new Ability[1] { (Ability)(int)ApostleSigil.ability };
			Tribe[] array2 = (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeDivine };
			Trait[] array3 = (Trait[])(object)new Trait[1] { (Trait)(int)LobotomyCardManager.Apostle };
			Appearance[] array4 = (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance };
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleGuardian", "Guardian Apostle", null, 4, 6, 0, 0, 0, (CardTemple)0).SetPortraits("apostleGuardian"), array), array2), array3), array4).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleGuardianDown", "Guardian Apostle", null, 0, 1, 0, 0, 0, (CardTemple)0).SetPortraits("apostleGuardianDown"), array), array2), array3), array4).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
		}

		private void Card_ApostleHeretic_T0346()
		{
			//IL_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0033: Expected I4, but got Unknown
			//IL_0045: Unknown result type (might be due to invalid IL or missing references)
			//IL_004b: Expected I4, but got Unknown
			//IL_0058: Unknown result type (might be due to invalid IL or missing references)
			//IL_005e: Expected I4, but got Unknown
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleHeretic", "Heretic", null, 0, 7, 0, 0, 0, (CardTemple)0).SetPortraits("apostleHeretic"), (Ability[])(object)new Ability[1] { (Ability)(int)Confession.ability }), (Trait[])(object)new Trait[2]
			{
				(Trait)14,
				(Trait)(int)LobotomyCardManager.Apostle
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance }).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
		}

		private void Card_ApostleMoleman_T0346()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Expected I4, but got Unknown
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Expected I4, but got Unknown
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_002c: Expected I4, but got Unknown
			//IL_0063: Unknown result type (might be due to invalid IL or missing references)
			//IL_0069: Expected I4, but got Unknown
			//IL_00b7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bd: Expected I4, but got Unknown
			Tribe[] array = (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeDivine };
			Trait[] array2 = (Trait[])(object)new Trait[1] { (Trait)(int)LobotomyCardManager.Apostle };
			Appearance[] array3 = (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance };
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleMoleman", "Moleman Apostle", null, 1, 8, 0, 0, 0, (CardTemple)0).SetPortraits("apostleMoleman"), (Ability[])(object)new Ability[3]
			{
				(Ability)23,
				(Ability)8,
				(Ability)(int)ApostleSigil.ability
			}), array), array2), array3).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleMolemanDown", "Moleman Apostle", null, 0, 1, 0, 0, 0, (CardTemple)0).SetPortraits("apostleMolemanDown"), (Ability[])(object)new Ability[1] { (Ability)(int)ApostleSigil.ability }), array), array2), array3).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
		}

		private void Card_ApostleScythe_T0346()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Expected I4, but got Unknown
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Expected I4, but got Unknown
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_002c: Expected I4, but got Unknown
			//IL_005f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0065: Expected I4, but got Unknown
			//IL_00b3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b9: Expected I4, but got Unknown
			Tribe[] array = (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeDivine };
			Trait[] array2 = (Trait[])(object)new Trait[1] { (Trait)(int)LobotomyCardManager.Apostle };
			Appearance[] array3 = (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance };
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleScythe", "Scythe Apostle", null, 2, 6, 0, 0, 0, (CardTemple)0).SetPortraits("apostleScythe"), (Ability[])(object)new Ability[2]
			{
				(Ability)100,
				(Ability)(int)ApostleSigil.ability
			}), array), array2), array3).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleScytheDown", "Scythe Apostle", null, 0, 1, 0, 0, 0, (CardTemple)0).SetPortraits("apostleScytheDown"), (Ability[])(object)new Ability[1] { (Ability)(int)ApostleSigil.ability }), array), array2), array3).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
		}

		private void Card_ApostleSpear_T0346()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Expected I4, but got Unknown
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Expected I4, but got Unknown
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_002c: Expected I4, but got Unknown
			//IL_005a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0060: Expected I4, but got Unknown
			//IL_0062: Unknown result type (might be due to invalid IL or missing references)
			//IL_0068: Expected I4, but got Unknown
			//IL_00b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bc: Expected I4, but got Unknown
			Tribe[] array = (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeDivine };
			Trait[] array2 = (Trait[])(object)new Trait[1] { (Trait)(int)LobotomyCardManager.Apostle };
			Appearance[] array3 = (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance };
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleSpear", "Spear Apostle", null, 4, 6, 0, 0, 0, (CardTemple)0).SetPortraits("apostleSpear"), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)Piercing.ability,
				(Ability)(int)ApostleSigil.ability
			}), array), array2), array3).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleSpearDown", "Spear Apostle", null, 0, 1, 0, 0, 0, (CardTemple)0).SetPortraits("apostleSpearDown"), (Ability[])(object)new Ability[1] { (Ability)(int)ApostleSigil.ability }), array), array2), array3).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
		}

		private void Card_ApostleStaff_T0346()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Expected I4, but got Unknown
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Expected I4, but got Unknown
			//IL_0026: Unknown result type (might be due to invalid IL or missing references)
			//IL_002c: Expected I4, but got Unknown
			//IL_005f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0065: Expected I4, but got Unknown
			//IL_00b3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b9: Expected I4, but got Unknown
			Tribe[] array = (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeDivine };
			Trait[] array2 = (Trait[])(object)new Trait[1] { (Trait)(int)LobotomyCardManager.Apostle };
			Appearance[] array3 = (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance };
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleStaff", "Staff Apostle", null, 3, 6, 0, 0, 0, (CardTemple)0).SetPortraits("apostleStaff"), (Ability[])(object)new Ability[2]
			{
				(Ability)53,
				(Ability)(int)ApostleSigil.ability
			}), array), array2), array3).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
			CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("apostleStaffDown", "Staff Apostle", null, 0, 1, 0, 0, 0, (CardTemple)0).SetPortraits("apostleStaffDown"), (Ability[])(object)new Ability[1] { (Ability)(int)ApostleSigil.ability }), array), array2), array3).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard);
		}

		private void Card_ArmyInBlack_D01106()
		{
			//IL_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0033: Expected I4, but got Unknown
			//IL_0074: Unknown result type (might be due to invalid IL or missing references)
			//IL_007a: Expected I4, but got Unknown
			CardExtensions.AddAbilities(LobotomyCardManager.NewCard("armyInBlack", "Army in Black", null, 3, 3, 2, 0, 0, (CardTemple)0).SetPortraits("armyInBlack"), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)Volatile.ability,
				(Ability)35
			}).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.None, nonChoice: true);
			CardExtensions.AddAbilities(LobotomyCardManager.NewCard("armyInBlackSpell", "Army in Black", null, 0, 0, 0, 0, 0, (CardTemple)0).SetPortraits("armyInBlack"), (Ability[])(object)new Ability[1] { (Ability)(int)Volatile.ability }).SetSpellType(LobotomyCardManager.SpellType.Targeted).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.None, nonChoice: true);
		}

		private void Card_ArmyInPink_D01106()
		{
			//IL_0036: Unknown result type (might be due to invalid IL or missing references)
			//IL_003c: Expected I4, but got Unknown
			//IL_0049: Unknown result type (might be due to invalid IL or missing references)
			//IL_004f: Expected I4, but got Unknown
			//IL_005c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0062: Expected I4, but got Unknown
			CardExtensions.AddTribes(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("armyInPink", "Army in Pink", "A friendly pink soldier. It will protect you wherever you go.", 3, 3, 2, 0, 0, (CardTemple)0).SetPortraits("armyInPink"), (Ability[])(object)new Ability[2]
			{
				(Ability)88,
				(Ability)(int)Protector.ability
			}), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)Pink.specialAbility }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeAnthropoid }).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.Zayin, LobotomyCardManager.ModCardType.Donator);
		}

		private void Card_BackwardClock_D09104()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			CardExtensions.SetOnePerDeck(CardExtensions.SetTerrain(CardExtensions.AddTraits(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("backwardClock", "Backward Clock", "A clock to rewind your wasted time. Will you pay the toll?", 0, 1, 0, 0, 2, (CardTemple)2).SetPortraits("backwardClock"), (Ability[])(object)new Ability[1] { (Ability)(int)TimeMachine.ability }), (Trait[])(object)new Trait[1] { (Trait)21 })).SetNodeRestrictions(cannotGiveSigils: true, cannotGainSigils: true, cannotBuffStats: true, cannotCopyCard: true), true).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.Waw, LobotomyCardManager.ModCardType.Donator);
		}

		private void Card_BeautyAndBeast_O0244()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("beautyAndBeast", "Beauty and the Beast", "A pitiable creature. Death would be a mercy for it.", 0, 1, 1, 0, 0, (CardTemple)0).SetPortraits("beautyAndBeast"), (Ability[])(object)new Ability[1] { (Ability)(int)Cursed.ability }), (Tribe[])(object)new Tribe[2]
			{
				(Tribe)4,
				(Tribe)6
			}), (Trait[])(object)new Trait[1] { (Trait)19 }).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Teth);
		}

		private void Card_BehaviourAdjustment_O0996()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("behaviourAdjustment", "Behaviour Adjustment", "A device made to 'fix' errant beasts. Its idea of 'fixing' might not be yours, however.", 0, 1, 0, 0, 3, (CardTemple)2).SetPortraits("behaviourAdjustment"), (Ability[])(object)new Ability[1] { (Ability)(int)Corrector.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeMechanical }).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Teth);
		}

		private void Card_BigBird_O0240()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			//IL_0066: Unknown result type (might be due to invalid IL or missing references)
			//IL_006c: Expected I4, but got Unknown
			CardExtensions.SetOnePerDeck(CardExtensions.SetDefaultEvolutionName(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("bigBird", "Big Bird", "Its eyes light up the darkness like stars.", 2, 4, 2, 0, 0, (CardTemple)0).SetPortraits("bigBird"), (Ability[])(object)new Ability[1] { (Ability)(int)Cycler.ability }), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)ThreeBirds.specialAbility }), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (Trait[])(object)new Trait[1] { (Trait)(int)LobotomyCardManager.BlackForest }), "Bigger Bird"), true).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw);
		}

		private void Card_Bloodbath_T0551()
		{
			//IL_0014: Unknown result type (might be due to invalid IL or missing references)
			//IL_001a: Expected I4, but got Unknown
			Ability[] array = (Ability[])(object)new Ability[1] { (Ability)22 };
			SpecialTriggeredAbility[] array2 = (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)WristCutter.specialAbility };
			CardExtensions.AddTraits(CardExtensions.AddSpecialAbilities(LobotomyCardManager.NewCard("bloodBath", "Bloodbath", "A tub of blood. The hands of people you once loved wait inside.", 0, 1, 1, 0, 0, (CardTemple)0).SetPortraits("bloodBath"), array2), (Trait[])(object)new Trait[1] { (Trait)20 }).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Teth);
			CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("bloodBath1", "Bloodbath", null, 0, 1, 1, 0, 0, (CardTemple)0).SetPortraits("bloodBath1"), array), array2).Build();
			CardExtensions.SetStatIcon(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("bloodBath2", "Bloodbath", null, 0, 2, 1, 0, 0, (CardTemple)0).SetPortraits("bloodBath2"), array), array2), (SpecialStatIcon)7).Build();
			CardExtensions.SetStatIcon(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("bloodBath3", "Bloodbath", null, 1, 2, 2, 0, 0, (CardTemple)0).SetPortraits("bloodBath3"), (Ability[])(object)new Ability[2]
			{
				(Ability)22,
				(Ability)12
			}), (SpecialStatIcon)7).Build();
		}

		private void Card_BlueStar_O0393()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Expected I4, but got Unknown
			//IL_0055: Unknown result type (might be due to invalid IL or missing references)
			//IL_005b: Expected I4, but got Unknown
			//IL_006e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0074: Expected I4, but got Unknown
			//IL_00b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bb: Expected I4, but got Unknown
			Tribe[] array = (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeDivine };
			CardInfo val = CardExtensions.AddAppearances(CardExtensions.AddTribes(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("blueStar3", "Blue Star", null, 4, 4, 4, 0, 0, (CardTemple)0).SetPortraits("blueStar", null, "blueStar2_pixel"), (Ability[])(object)new Ability[2]
			{
				(Ability)61,
				(Ability)33
			}), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)StarSound.specialAbility }), array), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedEmission.appearance }).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.None, nonChoice: true);
			CardInfo val2 = CardExtensions.SetEvolve(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("blueStar2", "Blue Star", null, 0, 4, 4, 0, 0, (CardTemple)0).SetPortraits("blueStar"), (Ability[])(object)new Ability[2]
			{
				(Ability)61,
				(Ability)(int)Idol.ability
			}), array), val, 1, (IEnumerable<CardModificationInfo>)null).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.None, nonChoice: true);
			CardInfo val3 = CardExtensions.SetEvolve(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("blueStar", "Blue Star", "When this is over, let's meet again as stars.", 0, 4, 3, 0, 0, (CardTemple)0).SetPortraits("blueStar"), (Ability[])(object)new Ability[1] { (Ability)61 }), array), val2, 1, (IEnumerable<CardModificationInfo>)null).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.Aleph);
			CardExtensions.SetEvolve(val, val3, 1, (IEnumerable<CardModificationInfo>)null);
		}

		private void Card_UtilityCards()
		{
			//IL_003a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0040: Expected I4, but got Unknown
			//IL_008e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0094: Expected I4, but got Unknown
			//IL_00dd: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e3: Expected I4, but got Unknown
			//IL_012c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0132: Expected I4, but got Unknown
			//IL_017b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0181: Expected I4, but got Unknown
			CardHelpers.SetTargetedSpell(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("RETURN_CARD", "Single Recall", null, 0, 0, 0, 0, 1, (CardTemple)0).SetPortraits("RETURN_CARD", "", ""), (Ability[])(object)new Ability[2]
			{
				(Ability)14,
				(Ability)(int)ReturnCard.ability
			})).Build();
			CardHelpers.SetGlobalSpell(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("RETURN_CARD_ALL", "Total Recall", null, 0, 0, 0, 0, 3, (CardTemple)0).SetPortraits("RETURN_CARD_ALL", "", ""), (Ability[])(object)new Ability[2]
			{
				(Ability)14,
				(Ability)(int)ReturnCard.ability
			})).Build();
			CardHelpers.SetGlobalSpell(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("REFRESH_DECKS", "Reshuffle Decks", null, 0, 0, 0, 0, 6, (CardTemple)0).SetPortraits("REFRESH_DECKS", "", ""), (Ability[])(object)new Ability[1] { (Ability)(int)RefreshDecks.ability })).Build();
			CardHelpers.SetTargetedSpell(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("RETURN_CARD_WEAK", "Single Recall", null, 0, 0, 0, 0, 1, (CardTemple)0).SetPortraits("RETURN_CARD", "", ""), (Ability[])(object)new Ability[1] { (Ability)(int)ReturnCard.ability })).Build();
			CardHelpers.SetGlobalSpell(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("RETURN_CARD_ALL_WEAK", "Total Recall", null, 0, 0, 0, 0, 3, (CardTemple)0).SetPortraits("RETURN_CARD_ALL", "", ""), (Ability[])(object)new Ability[1] { (Ability)(int)ReturnCard.ability })).Build();
		}

		private void Card_BurrowingHeaven_O0472()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("burrowingHeaven", "The Burrowing Heaven", "Don't look away. Contain it in your sight.", 0, 1, 0, 2, 0, (CardTemple)0).SetPortraits("burrowingHeaven"), (Ability[])(object)new Ability[2]
			{
				(Ability)18,
				(Ability)62
			}), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeDivine }), "The Elder Burrowing Heaven").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw);
		}

		private void Card_CanOfWellCheers_F0552()
		{
			//IL_00ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d4: Expected I4, but got Unknown
			CardInfo val = CardExtensions.SetDefaultEvolutionName(CardExtensions.SetTerrain(LobotomyCardManager.NewCard("CRUMPLED_CAN", "Crumpled Can of WellCheers", null, 0, 1, 0, 0, 0, (CardTemple)0).SetPortraits("skeleton_can")), "Rusted Can of WellCheers").Build();
			CardInfo val2 = CardExtensions.SetIceCube(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("SKELETON_SHRIMP", "Skeleton Shrimp", null, 2, 1, 0, 0, 0, (CardTemple)0).SetPortraits("skeleton_shrimp"), (Ability[])(object)new Ability[2]
			{
				(Ability)35,
				(Ability)26
			}), val, (IEnumerable<CardModificationInfo>)null).Build();
			CardExtensions.SetIceCube(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("canOfWellCheers", "Opened Can of WellCheers", "A vending machine dispensing ocean soda.", 1, 1, 1, 0, 0, (CardTemple)0).SetPortraits("canOfWellCheers"), (Ability[])(object)new Ability[2]
			{
				(Ability)3,
				(Ability)13
			}), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeMechanical }), val2, (IEnumerable<CardModificationInfo>)null).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Zayin);
		}

		private void Card_CENSORED_O0389()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("censored", "CENSORED", "It's best you never learn what it looks like.", 4, 4, 3, 0, 0, (CardTemple)0).SetPortraits("censored"), (Ability[])(object)new Ability[1] { (Ability)(int)Bloodfiend.ability }), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)CensoredSpecial.specialAbility }), "CENSORED CENSORED").Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.Aleph);
			CardExtensions.SetDefaultEvolutionName(LobotomyCardManager.NewCard("censoredMinion", "CENSORED", null, 0, 0, 0, 0, 0, (CardTemple)0).SetPortraits("censoredMinion"), "CENSORED CENSORED").Build();
		}

		private void Card_ChildOfTheGalaxy_O0155()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_004a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0050: Expected I4, but got Unknown
			CardExtensions.SetOnePerDeck(CardExtensions.AddMetaCategories(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("childOfTheGalaxy", "Child of the Galaxy", "A small child longing for an eternal friend. Will you be his?", 0, 0, 1, 0, 0, (CardTemple)3).SetPortraits("childOfTheGalaxy"), (Ability[])(object)new Ability[1] { (Ability)(int)Lonely.ability }).SetSpellType(LobotomyCardManager.SpellType.Targeted), (CardMetaCategory[])(object)new CardMetaCategory[1] { (CardMetaCategory)(int)AbnormalPlugin.CannotGiveSigils }), true).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.He);
		}

		private void Card_CrumblingArmour_O0561()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			CardExtensions.SetTerrain(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("crumblingArmour", "Crumbling Armour", "A suit of armour that rewards the brave and punishes the cowardly.", 0, 3, 0, 4, 0, (CardTemple)1).SetPortraits("crumblingArmour"), (Ability[])(object)new Ability[1] { (Ability)(int)Courageous.ability }), false).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Teth);
		}

		private void Card_DellaLuna_D01105()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("dellaLuna", "Il Pianto della Luna", "In reality, man despairs at [c:bR]the moon[c:].", 2, 7, 3, 0, 0, (CardTemple)0).SetPortraits("dellaLuna"), (Ability[])(object)new Ability[1] { (Ability)(int)GroupHealer.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), "Il Pianto della Luna Maggiore").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw, LobotomyCardManager.ModCardType.Donator);
		}

		private void Card_DerFreischutz_F0169()
		{
			//IL_0036: Unknown result type (might be due to invalid IL or missing references)
			//IL_003c: Expected I4, but got Unknown
			//IL_0049: Unknown result type (might be due to invalid IL or missing references)
			//IL_004f: Expected I4, but got Unknown
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("derFreischutz", "Der Freischütz", "A friendly hunter to some, a cruel gunsman to others. His bullets always hit their mark.", 2, 2, 2, 0, 0, (CardTemple)0).SetPortraits("derFreischutz"), (Ability[])(object)new Ability[2]
			{
				(Ability)53,
				(Ability)(int)Persistent.ability
			}), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeFae }), "Der Ältere Freischütz").Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.He);
		}

		private void Card_DimensionalRefraction_O0388()
		{
			//IL_0039: Unknown result type (might be due to invalid IL or missing references)
			CardExtensions.SetDefaultEvolutionName(CardExtensions.SetStatIcon(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("dimensionalRefraction", "Dimensional Refraction Variant", "A strange phenomenon. Or rather, the creature is the phenomena in and of itself.", 0, 0, 2, 0, 0, (CardTemple)0).SetPortraits("dimensionalRefraction"), (Ability[])(object)new Ability[1] { (Ability)31 }), SigilPower.Icon), "4th Dimensional Refraction Variant").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw);
		}

		private void Card_DontTouchMe_O0547()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			CardExtensions.SetDefaultEvolutionName(CardExtensions.SetTerrain(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("dontTouchMe", "Don't Touch Me", "Don't touch it.", 0, 1, 0, 0, 2, (CardTemple)2).SetPortraits("dontTouchMe"), (Ability[])(object)new Ability[1] { (Ability)(int)Punisher.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeMechanical })), "Please Don't Touch Me").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Zayin);
		}

		private void Card_DreamingCurrent_T0271()
		{
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("dreamingCurrent", "The Dreaming Current", "A sickly child. Everyday it was fed candy that let it see the ocean.", 4, 2, 3, 0, 0, (CardTemple)0).SetPortraits("dreamingCurrent"), (Ability[])(object)new Ability[2]
			{
				(Ability)13,
				(Ability)102
			}), "The Elder Dreaming Current").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw);
		}

		private void Card_DreamOfABlackSwan_F0270()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("dreamOfABlackSwan", "Dream of a Black Swan", "Sister of six brothers. Tirelessly she worked to protect them, all for naught.", 2, 5, 3, 0, 0, (CardTemple)3).SetPortraits("dreamOfABlackSwan"), (Ability[])(object)new Ability[1] { (Ability)(int)Nettles.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), "Dream of an Elder Swan").Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.Waw);
		}

		private void Card_ExpressHellTrain_T0986()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			CardExtensions.SetDefaultEvolutionName(CardExtensions.SetTerrain(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("expressHellTrain", "Express Train to Hell", "When the time comes, the train will sound its mighty horn.", 0, 1, 0, 0, 2, (CardTemple)1).SetPortraits("expressHellTrain"), (Ability[])(object)new Ability[1] { (Ability)(int)TheTrain.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeMechanical })), "Express Train to Turbo Hell").Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.Waw);
		}

		private void Card_FairyFestival_F0483()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("fairyFestival", "Fairy Festival", "Everything will be peaceful while you're under the fairies' care.", 1, 1, 1, 0, 0, (CardTemple)0).SetPortraits("fairyFestival"), (Ability[])(object)new Ability[1] { (Ability)(int)Bloodfiend.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeFae }).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Zayin);
		}

		private void Card_FleshIdol_T0979()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Expected I4, but got Unknown
			//IL_003c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0042: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			//IL_0095: Unknown result type (might be due to invalid IL or missing references)
			//IL_009b: Expected I4, but got Unknown
			Tribe[] array = (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeDivine };
			CardInfo val = CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("fleshIdolGood", "Flesh Idol", null, 0, 4, 0, 2, 0, (CardTemple)1).SetPortraits("fleshIdol"), (Ability[])(object)new Ability[3]
			{
				(Ability)(int)TeamLeader.ability,
				(Ability)(int)TeamLeader.ability,
				(Ability)61
			}), array).Build();
			CardInfo val2 = CardExtensions.SetEvolve(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("fleshIdol", "Flesh Idol", "Prayer inevitably ends with the worshipper's despair.", 0, 4, 0, 2, 0, (CardTemple)1).SetPortraits("fleshIdol"), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)Aggravating.ability,
				(Ability)61
			}), array), val, 2, (IEnumerable<CardModificationInfo>)null).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw);
			CardExtensions.SetEvolve(val, val2, 1, (IEnumerable<CardModificationInfo>)null);
		}

		private void Card_ForsakenMurderer_T0154()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			CardExtensions.AddTribes(LobotomyCardManager.NewCard("forsakenMurderer", "Forsaken Murderer", "Experimented on then forgotten. What was anger has become abhorrence.", 4, 1, 0, 8, 0, (CardTemple)0).SetPortraits("forsakenMurderer"), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeAnthropoid }).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Teth);
		}

		private void Card_FragmentOfUniverse_O0360()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("fragmentOfUniverse", "Fragment of the Universe", "You see a song in front of you. It's approaching, becoming more colourful by the second.", 1, 2, 1, 0, 0, (CardTemple)3).SetPortraits("fragmentOfUniverse"), (Ability[])(object)new Ability[1] { (Ability)(int)Piercing.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeDivine }).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Teth);
		}

		private void Card_FuneralOfButterflies_T0168()
		{
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("funeralOfButterflies", "Funeral of the Dead Butterflies", "The coffin is a tribute to the fallen. A memorial to those who can't return home.", 1, 3, 2, 0, 0, (CardTemple)0).SetPortraits("funeralOfButterflies"), (Ability[])(object)new Ability[1] { (Ability)100 }), (Tribe[])(object)new Tribe[1] { (Tribe)6 }), "2nd Funeral of the Dead Butterflies").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.He);
		}

		private void Card_GiantTreeSap_T0980()
		{
			//IL_0046: Unknown result type (might be due to invalid IL or missing references)
			//IL_004c: Expected I4, but got Unknown
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			//IL_005f: Expected I4, but got Unknown
			CardExtensions.SetOnePerDeck(CardExtensions.SetDefaultEvolutionName(CardExtensions.AddTribes(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("giantTreeSap", "Giant Tree Sap", "Sap from a tree at the end of the world. It is a potent healing agent.", 0, 3, 0, 3, 0, (CardTemple)0).SetPortraits("giantTreeSap"), (Ability[])(object)new Ability[2]
			{
				(Ability)20,
				(Ability)103
			}), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)Sap.specialAbility }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeBotanic }), "Giant Elder Tree Sap"), true).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.He);
		}

		private void Card_GraveOfBlossoms_O04100()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("graveOfBlossoms", "Grave of Cherry Blossoms", "A blooming cherry tree. The more blood it has, the more beautiful it becomes.", 0, 3, 1, 0, 0, (CardTemple)0).SetPortraits("graveOfBlossoms"), (Ability[])(object)new Ability[1] { (Ability)(int)Bloodletter.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeBotanic }), "Mass Grave of Cherry Blossoms").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Teth);
		}

		private void Card_HappyTeddyBear_T0406()
		{
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("happyTeddyBear", "Happy Teddy Bear", "A discarded stuffed bear. Its memories began with a warm hug.", 1, 5, 0, 6, 0, (CardTemple)1).SetPortraits("happyTeddyBear"), (Ability[])(object)new Ability[1] { (Ability)18 }), "Big, Happy Teddy Bear").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.He);
		}

		private void Card_HeartOfAspiration_O0977()
		{
			CardExtensions.SetDefaultEvolutionName(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("heartOfAspiration", "The Heart of Aspiration", "A heart without an owner. It emboldens those nearby.", 1, 2, 1, 0, 0, (CardTemple)0).SetPortraits("heartOfAspiration"), (Ability[])(object)new Ability[1] { (Ability)34 }), "The Elder Heart of Aspiration").Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Teth);
		}

		private void Card_HonouredMonk_D01110()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Expected I4, but got Unknown
			Tribe[] array = (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeAnthropoid };
			CardInfo val = CardExtensions.AddTribes(LobotomyCardManager.NewCard("cloudedMonk", "Clouded Monk", null, 4, 2, 2, 0, 0, (CardTemple)3).SetPortraits("cloudedMonk"), array).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.Donator);
			CardExtensions.SetEvolve(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("honouredMonk", "Honoured Monk", "A monk seeking enlightenment through good deeds. But surely there's a quicker way to nirvana...", 2, 1, 2, 0, 0, (CardTemple)3).SetPortraits("honouredMonk"), (Ability[])(object)new Ability[1] { (Ability)5 }), array), val, 1, (IEnumerable<CardModificationInfo>)null).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw, LobotomyCardManager.ModCardType.Donator);
		}

		private void Card_HundredsGoodDeeds_O0303()
		{
			//IL_0036: Unknown result type (might be due to invalid IL or missing references)
			//IL_003c: Expected I4, but got Unknown
			//IL_004e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0054: Expected I4, but got Unknown
			//IL_0061: Unknown result type (might be due to invalid IL or missing references)
			//IL_0067: Expected I4, but got Unknown
			CardExtensions.SetHideStats(CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("hundredsGoodDeeds", "One Sin and Hundreds of Good Deeds", null, 0, 77, 0, 0, 0, (CardTemple)0).SetPortraits("oneSin", "hundredsGoodDeeds_emission", "hundredsGoodDeeds_pixel"), (Ability[])(object)new Ability[1] { (Ability)(int)Confession.ability }), (Trait[])(object)new Trait[2]
			{
				(Trait)14,
				(Trait)(int)LobotomyCardManager.Apostle
			}), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance }), true).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw, LobotomyCardManager.ModCardType.EventCard);
		}

		private void Card_JesterOfNihil_O01118()
		{
			//IL_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0033: Expected I4, but got Unknown
			//IL_0040: Unknown result type (might be due to invalid IL or missing references)
			//IL_0046: Expected I4, but got Unknown
			//IL_004b: Unknown result type (might be due to invalid IL or missing references)
			//IL_005d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0063: Expected I4, but got Unknown
			//IL_0080: Unknown result type (might be due to invalid IL or missing references)
			//IL_0086: Expected I4, but got Unknown
			CardExtensions.SetOnePerDeck(CardExtensions.AddAppearances(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.SetStatIcon(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("jesterOfNihil", "The Jester of Nihil", null, 0, 7, 0, 8, 0, (CardTemple)0).SetPortraits("jesterOfNihil"), (Ability[])(object)new Ability[1] { (Ability)(int)ReturnToNihil.ability }), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)BoardEffects.specialAbility }), Nihil.Icon), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeFae }), (Trait[])(object)new Trait[1] { (Trait)21 }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance }).SetNodeRestrictions(cannotGiveSigils: true, cannotGainSigils: false, cannotBuffStats: false, cannotCopyCard: true), true).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard | LobotomyCardManager.ModCardType.Ruina);
		}

		private void Card_JudgementBird_O0262()
		{
			//IL_0050: Unknown result type (might be due to invalid IL or missing references)
			//IL_0056: Expected I4, but got Unknown
			//IL_0058: Unknown result type (might be due to invalid IL or missing references)
			//IL_005e: Expected I4, but got Unknown
			CardExtensions.SetOnePerDeck(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("judgementBird", "Judgement Bird", "A long bird that judges sinners with swift efficiency. It alone is above consequences.", 1, 1, 2, 0, 0, (CardTemple)0).SetPortraits("judgementBird"), (Ability[])(object)new Ability[1] { (Ability)53 }), (Tribe[])(object)new Tribe[1] { (Tribe)2 }), (Trait[])(object)new Trait[2]
			{
				(Trait)(int)LobotomyCardManager.BlackForest,
				(Trait)(int)LobotomyCardManager.Executioner
			}), true).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Waw);
		}

		private void Card_Laetitia_O0167()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0044: Unknown result type (might be due to invalid IL or missing references)
			//IL_004a: Expected I4, but got Unknown
			CardExtensions.AddTribes(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("laetitia", "Laetitia", "A little witch carrying a heart-shaped gift.", 1, 2, 1, 0, 0, (CardTemple)3).SetPortraits("laetitia"), (Ability[])(object)new Ability[1] { (Ability)(int)GiftGiver.ability }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeFae }).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.He);
		}

		private void Card_LuminousBracelet_O0995()
		{
			//IL_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Expected I4, but got Unknown
			//IL_0039: Unknown result type (might be due to invalid IL or missing references)
			//IL_003f: Expected I4, but got Unknown
			CardExtensions.AddAbilities(LobotomyCardManager.NewCard("luminousBracelet", "Luminous Bracelet", "A bracelet that will heal its bearer. It does not forgive the greedy.", 0, 2, 0, 0, 3, (CardTemple)2).SetPortraits("luminousBracelet"), (Ability[])(object)new Ability[2]
			{
				(Ability)(int)GreedyHealing.ability,
				(Ability)(int)GiveStatsSigils.AbilityID
			}).SetSpellType(LobotomyCardManager.SpellType.TargetedStats).Build(CardHelper.ChoiceType.Common, LobotomyCardManager.RiskLevel.Teth);
		}

		private void Card_AdultWhoTellsLies_F01117()
		{
			//IL_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0033: Expected I4, but got Unknown
			//IL_0040: Unknown result type (might be due to invalid IL or missing references)
			//IL_0046: Expected I4, but got Unknown
			//IL_0053: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Expected I4, but got Unknown
			//IL_0066: Unknown result type (might be due to invalid IL or missing references)
			//IL_006c: Expected I4, but got Unknown
			CardExtensions.SetOnePerDeck(CardExtensions.AddAppearances(CardExtensions.AddTribes(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("lyingAdult", "The Adult Who Tells Lies", null, 1, 5, 2, 0, 0, (CardTemple)0).SetPortraits("lyingAdult"), (Ability[])(object)new Ability[1] { (Ability)(int)FalseThrone.ability }), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)BoardEffects.specialAbility }), (Tribe[])(object)new Tribe[1] { (Tribe)(int)AbnormalPlugin.TribeAnthropoid }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)ForcedWhiteEmission.appearance }), true).Build(CardHelper.ChoiceType.Rare, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.EventCard | LobotomyCardManager.ModCardType.Ruina);
		}

		private void Card_MagicalGirlClover_O01111()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Expected I4, but got Unknown
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected I4, but got Unknown
			//IL_0054: Unknown result type (might be due to invalid IL or missing references)
			//IL_005a: Expected I4, but got Unknown
			//IL_0067: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Expected I4, but got Unknown
			//IL_00bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c3: 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
			//IL_00e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e9: Expected I4, but got Unknown
			Trait[] array = (Trait[])(object)new Trait[1] { (Trait)(int)LobotomyCardManager.MagicalGirl };
			CardExtensions.SetOnePerDeck(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("servantOfWrath", "The Servant of Wrath", null, 3, 2, 2, 0, 0, (CardTemple)3).SetPortraits("servantOfWrath"), (Ability[])(object)new Ability[2]
			{
				(Ability)100,
				(Ability)(int)Persistent.ability
			}), (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)BlindRage.specialAbility }), (Tribe[])(object)new Tribe[2]
			{
				(Tribe)(int)AbnormalPlugin.TribeFae,
				(Tribe)5
			}), array), true).Build(CardHelper.ChoiceType.None, LobotomyCardManager.RiskLevel.None, LobotomyCardManager.ModCardType.Ruina);
			CardExtensions.SetOnePerDeck(CardExtensions.AddTraits(CardExtensions.AddTribes(CardExtensions.AddSpecialAbilities(CardExtensions.AddAbilities(LobotomyCardManager.NewCard("mag