using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
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 HarmonyLib;
using Infiniscryption.PackManagement;
using InscryptionAPI.Ascension;
using InscryptionAPI.Card;
using InscryptionAPI.Encounters;
using InscryptionAPI.Guid;
using InscryptionAPI.Helpers;
using InscryptionAPI.Regions;
using Microsoft.CodeAnalysis;
using UnityEngine;
using lifeSigils.Cards;
using lifeSigils.Encounters;
using lifeSigils.Managers;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("lifeSigils")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("a sigil I needed for my life pack mod")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("lifeSigils")]
[assembly: AssemblyTitle("lifeSigils")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
internal sealed class EmbeddedAttribute : Attribute
{
}
}
namespace System.Runtime.CompilerServices
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
internal sealed class RefSafetyRulesAttribute : Attribute
{
public readonly int Version;
public RefSafetyRulesAttribute(int P_0)
{
Version = P_0;
}
}
}
namespace lifeSigils
{
[BepInPlugin("extraVoid.inscryption.void_life_pack", "Void Life and Foil Costing Pack", "3.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Plugin : BaseUnityPlugin
{
public const string APIGUID = "cyantist.inscryption.api";
public const string SigilGUID = "ATS";
public const string StarterdeckGUID = "zorro.inscryption.infiniscryption.sidedecks";
public const string PluginGuid = "extraVoid.inscryption.void_life_pack";
public const string TotemGUID = "Lily.BOT";
private const string PluginName = "Void Life and Foil Costing Pack";
private const string PluginVersion = "3.0.0";
public static string Directory;
internal static ManualLogSource Log;
internal static ConfigEntry<bool> configAddMRcards;
private void Awake()
{
//IL_0030: Unknown result type (might be due to invalid IL or missing references)
//IL_0036: Expected O, but got Unknown
//IL_0076: Unknown result type (might be due to invalid IL or missing references)
//IL_007b: Unknown result type (might be due to invalid IL or missing references)
//IL_0099: Unknown result type (might be due to invalid IL or missing references)
//IL_009e: Unknown result type (might be due to invalid IL or missing references)
Log = ((BaseUnityPlugin)this).Logger;
Directory = ((BaseUnityPlugin)this).Info.Location.Replace("lifeSigils.dll", "");
Harmony val = new Harmony("extraVoid.inscryption.void_life_pack");
val.PatchAll();
configAddMRcards = ((BaseUnityPlugin)this).Config.Bind<bool>("Monster Rancher Cards", "Active", true, "Should this mod add 4 monster rancher cards and their starting deck?");
CureAllNegativeSpecialAbility.specialAbility = SpecialTriggeredAbilityManager.Add("extraVoid.inscryption.void_life_pack", "Illness cure", typeof(CureAllNegativeSpecialAbility)).Id;
GainAllstrikeOnDraw.specialAbility = SpecialTriggeredAbilityManager.Add("extraVoid.inscryption.void_life_pack", "Gain Moon Strike on Draw", typeof(GainAllstrikeOnDraw)).Id;
AddFungalInfection();
AddBloodBoost();
Ant_Fungal.AddCard();
Bat_Vampire.AddCard();
Bird_Caladrius.AddCard();
Bird_Finch.AddCard();
Bird_Plague.AddCard();
Bone.AddCard();
Chupacabra.AddCard();
Cow_Diseased.AddCard();
Cow_Mutilated.AddCard();
Cow_Shitting.AddCard();
Crow_Coin.AddCard();
Crow_Tamed.AddCard();
Deer_Wasting.AddCard();
Dog_Black.AddCard();
Dog_Familiar.AddCard();
Dog_Rabid.AddCard();
Dog_Starving.AddCard();
Feline_Lion.AddCard();
Feline_Maneki_Neko.AddCard();
Fish_Candiru.AddCard();
Fish_Lamprey.AddCard();
Flea_Blood.AddCard();
Lizard_Greedy.AddCard();
Lizard_Salamander.AddCard();
Mantis_Infested.AddCard();
Misquito.AddCard();
Moth_Calyptra.AddCard();
Mouse_Dice.AddCard();
Rabbit_horned.AddCard();
Snail_Infested.AddCard();
Snallygaster.AddCard();
Tick.AddCard();
Worm_Bone.AddCard();
if (configAddMRcards.Value)
{
MR_Gali.AddCard();
MR_Henger.AddCard();
MR_Pixie.AddCard();
MR_Raiga.AddCard();
}
BirdRush.AddEncounter();
DogHouse.AddEncounter();
}
private void Start()
{
CreateCardPack.TryCreatePack();
KCM_StartingDeck_Life.AddStartingDeck();
}
private void AddBloodBoost()
{
//IL_0048: Unknown result type (might be due to invalid IL or missing references)
//IL_004d: Unknown result type (might be due to invalid IL or missing references)
Texture2D text_a = SigilUtils.Texture_Helper("void_BloodBoost.png");
Texture2D text_a2 = SigilUtils.Texture_Helper("void_BloodBoost_pixel.png");
int powerLevel = 4;
bool leshyUsable = false;
bool part1Modular = true;
bool stack = false;
ability_BloodBoost.ability = SigilUtils.CreateAbilityWithDefaultSettingsKCM("Blood Boost", "When played, [creature] will gain power based on the blood cost of all the opponent's cards.", typeof(ability_BloodBoost), text_a, text_a2, "It craves their blood", withDialogue: true, powerLevel, leshyUsable, part1Modular, stack).ability;
}
private void AddFungalInfection()
{
//IL_0048: Unknown result type (might be due to invalid IL or missing references)
//IL_004d: Unknown result type (might be due to invalid IL or missing references)
Texture2D text_a = SigilUtils.Texture_Helper("void_antSpread.png");
Texture2D text_a2 = SigilUtils.Texture_Helper("void_antSpread_pixel.png");
int powerLevel = 0;
bool leshyUsable = false;
bool part1Modular = false;
bool stack = false;
ability_FungalInfection.ability = SigilUtils.CreateAbilityWithDefaultSettingsKCM("Fungal Infection (Ants)", "[creature] will cause ants to become fungal ants during the endphase.", typeof(ability_FungalInfection), text_a, text_a2, "The infection will spread.", withDialogue: true, powerLevel, leshyUsable, part1Modular, stack).ability;
}
}
public class ability_BloodBoost : AbilityBehaviour
{
public static Ability ability;
public override Ability Ability => ability;
public override bool RespondsToResolveOnBoard()
{
return true;
}
public override IEnumerator OnResolveOnBoard()
{
Singleton<ViewManager>.Instance.SwitchToView((View)4, false, true);
PlayableCard crows = ((AbilityBehaviour)this).Card;
List<CardSlot> OPCards = Singleton<BoardManager>.Instance.GetSlots(false);
int num = 0;
((Card)crows).Anim.StrongNegationEffect();
((Card)crows).Anim.PlaySacrificeParticles();
yield return ((AbilityBehaviour)this).PreSuccessfulTriggerSequence();
for (int i = 0; i < OPCards.Count; i++)
{
if ((Object)(object)OPCards[i].Card != (Object)null)
{
PlayableCard target = OPCards[i].Card;
((Card)target).Anim.LightNegationEffect();
((Card)crows).Anim.PlaySacrificeParticles();
((Card)target).Anim.PlaySacrificeParticles();
num += ((Card)target).Info.BloodCost;
}
}
CardModificationInfo cardModificationInfo = crows.TemporaryMods.Find((CardModificationInfo x) => x.singletonId == "void_BloodBoost");
if (cardModificationInfo == null)
{
cardModificationInfo = new CardModificationInfo();
cardModificationInfo.singletonId = "void_BloodBoost";
crows.AddTemporaryMod(cardModificationInfo);
}
cardModificationInfo.attackAdjustment = num;
crows.OnStatsChanged();
yield return (object)new WaitForSeconds(0.45f);
yield return ((AbilityBehaviour)this).LearnAbility(0.1f);
Singleton<ViewManager>.Instance.Controller.LockState = (ViewLockState)0;
}
}
public class CureAllNegativeSpecialAbility : SpecialCardBehaviour
{
public static SpecialTriggeredAbility specialAbility;
public SpecialTriggeredAbility SpecialAbility => specialAbility;
public override bool RespondsToResolveOnBoard()
{
return true;
}
public override IEnumerator OnResolveOnBoard()
{
Singleton<ViewManager>.Instance.SwitchToView((View)4, false, true);
PlayableCard crows = (PlayableCard)((SpecialCardBehaviour)this).Card;
List<CardSlot> PLCards = Singleton<BoardManager>.Instance.GetSlots(true);
((Card)crows).Anim.StrongNegationEffect();
((Card)crows).Anim.PlaySacrificeParticles();
List<AbilityInfo> abilities = ScriptableObjectLoader<AbilityInfo>.AllData;
for (int i = 0; i < PLCards.Count; i++)
{
if (!((Object)(object)PLCards[i].Card != (Object)null))
{
continue;
}
PlayableCard target = PLCards[i].Card;
((Card)target).Anim.StrongNegationEffect();
((Card)target).Anim.PlaySacrificeParticles();
for (int index = 0; index < abilities.Count; index++)
{
if (target.HasAbility(abilities[index].ability) && abilities[index].powerLevel < 0)
{
yield return (object)new WaitForSeconds(0.2f);
CardModificationInfo negateMod = new CardModificationInfo();
negateMod.negateAbilities.Add(abilities[index].ability);
object obj = ((Card)target).Info.Clone();
CardInfo cardInfo = (CardInfo)((obj is CardInfo) ? obj : null);
cardInfo.Mods.Add(negateMod);
((Card)target).SetInfo(cardInfo);
((Card)target).Anim.LightNegationEffect();
}
}
}
yield return (object)new WaitForSeconds(0.2f);
Singleton<ViewManager>.Instance.Controller.LockState = (ViewLockState)0;
}
}
public class ability_FungalInfection : AbilityBehaviour
{
public static Ability ability;
public override Ability Ability => ability;
public override bool RespondsToTurnEnd(bool playerTurnEnd)
{
return true;
}
public override IEnumerator OnTurnEnd(bool playerTurnEnd)
{
Singleton<ViewManager>.Instance.SwitchToView((View)4, false, true);
PlayableCard crows = ((AbilityBehaviour)this).Card;
List<CardSlot> OPCards = Singleton<BoardManager>.Instance.GetSlots(false);
List<CardSlot> PLCards = Singleton<BoardManager>.Instance.GetSlots(true);
((Card)crows).Anim.StrongNegationEffect();
((Card)crows).Anim.PlaySacrificeParticles();
for (int j = 0; j < OPCards.Count; j++)
{
if (!((Object)(object)OPCards[j].Card != (Object)null))
{
continue;
}
PlayableCard target = OPCards[j].Card;
if (((Object)((Card)target).Info).name != "lifepack_ant_fungal" && ((Card)target).Info.HasTrait((Trait)11))
{
((Card)target).Anim.LightNegationEffect();
((Card)crows).Anim.PlaySacrificeParticles();
((Card)target).Anim.PlaySacrificeParticles();
yield return (object)new WaitForSeconds(0.3f);
yield return target.Die(false, target, true);
yield return (object)new WaitForSeconds(0.5f);
if ((Object)(object)OPCards[j].Card == (Object)null)
{
yield return (object)new WaitForSeconds(0.3f);
yield return Singleton<BoardManager>.Instance.CreateCardInSlot(CardLoader.GetCardByName("lifepack_ant_fungal"), OPCards[j], 0.1f, true);
yield return (object)new WaitForSeconds(0.3f);
}
}
}
for (int i = 0; i < PLCards.Count; i++)
{
if (!((Object)(object)PLCards[i].Card != (Object)null))
{
continue;
}
PlayableCard target2 = PLCards[i].Card;
if (((Object)((Card)target2).Info).name != "lifepack_ant_fungal" && ((Card)target2).Info.HasTrait((Trait)11))
{
((Card)target2).Anim.LightNegationEffect();
((Card)crows).Anim.PlaySacrificeParticles();
((Card)target2).Anim.PlaySacrificeParticles();
yield return (object)new WaitForSeconds(0.3f);
yield return target2.Die(false, target2, true);
yield return (object)new WaitForSeconds(0.5f);
if ((Object)(object)PLCards[i].Card == (Object)null)
{
yield return (object)new WaitForSeconds(0.3f);
yield return Singleton<BoardManager>.Instance.CreateCardInSlot(CardLoader.GetCardByName("lifepack_ant_fungal"), PLCards[i], 0.1f, true);
yield return (object)new WaitForSeconds(0.3f);
}
}
}
yield return (object)new WaitForSeconds(0.2f);
Singleton<ViewManager>.Instance.Controller.LockState = (ViewLockState)0;
}
}
public class GainAllstrikeOnDraw : SpecialCardBehaviour
{
public static SpecialTriggeredAbility specialAbility;
public SpecialTriggeredAbility SpecialAbility => specialAbility;
public override bool RespondsToDrawn()
{
return true;
}
public override IEnumerator OnDrawn()
{
PlayableCard card = (PlayableCard)((SpecialCardBehaviour)this).Card;
PlayerHand instance = Singleton<PlayerHand>.Instance;
((PlayerHand3D)((instance is PlayerHand3D) ? instance : null)).MoveCardAboveHand(card);
yield return card.FlipInHand((Action)AddMod);
}
private void AddMod()
{
//IL_0007: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Expected O, but got Unknown
//IL_000e: Unknown result type (might be due to invalid IL or missing references)
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
//IL_0019: Expected O, but got Unknown
PlayableCard val = (PlayableCard)((SpecialCardBehaviour)this).Card;
CardModificationInfo val2 = new CardModificationInfo(ChooseAbility());
val.AddTemporaryMod(val2);
}
private Ability ChooseAbility()
{
//IL_0003: Unknown result type (might be due to invalid IL or missing references)
//IL_0006: Unknown result type (might be due to invalid IL or missing references)
return (Ability)33;
}
}
[HarmonyPatch(typeof(PlayableCard), "GetPassiveAttackBuffs")]
public class sigil_passive_buffs
{
[HarmonyPostfix]
public static void Postfix(ref int __result, ref PlayableCard __instance)
{
if (!__instance.OnBoard || !((Card)__instance).Info.IsOfTribe((Tribe)3))
{
return;
}
foreach (CardSlot allSlot in Singleton<BoardManager>.Instance.AllSlots)
{
if ((Object)(object)allSlot.Card != (Object)null && ((Object)((Card)allSlot.Card).Info).name == "lifepack_Blood_Fea")
{
__result -= 2;
}
}
}
}
public static class MyPluginInfo
{
public const string PLUGIN_GUID = "lifeSigils";
public const string PLUGIN_NAME = "lifeSigils";
public const string PLUGIN_VERSION = "1.0.0";
}
}
namespace lifeSigils.Managers
{
public static class CreateCardPack
{
public static void TryCreatePack()
{
try
{
CreatePack();
}
catch (Exception)
{
Plugin.Log.LogInfo((object)"Could not create pack. Pack Manager API is not installed");
}
}
public static void CreatePack()
{
PackInfo packInfo = PackManager.GetPackInfo<PackInfo>("lifepack");
((PackInfoBase)packInfo).Title = "Life and Foils Booster Pack";
((PackInfoBase)packInfo).SetTexture(SigilUtils.Texture_Helper("life_pack.png"));
((PackInfoBase)packInfo).Description = "A 30 card expansion that adds cards that cost life, foils, or both. The beasts in this pack are themed after those who are diseased, hemovores, or mythical beasts that deal with blood.";
((PackInfoBase)packInfo).ValidFor.Add((PackMetacategory)0);
}
}
public class EncounterHelper
{
public static EncounterBlueprintData BuildBlueprint(string name, List<Tribe> tribes, List<Ability> redundant, bool regionLocked, int minDifficulty, int maxDifficulty, List<CardInfo> randomReplacementCards, List<List<CardBlueprint>> blueprintTurns)
{
EncounterBlueprintData val = ScriptableObject.CreateInstance<EncounterBlueprintData>();
((Object)val).name = name;
val.regionSpecific = regionLocked;
EncounterExtensions.SetDifficulty<EncounterBlueprintData>(val, minDifficulty, maxDifficulty);
val.dominantTribes = tribes;
val.redundantAbilities = redundant;
val.randomReplacementCards = randomReplacementCards;
val.turns = blueprintTurns;
return val;
}
public static CardInfo GetCardInfo(string self)
{
return CardLoader.GetCardByName(self);
}
public static RegionData GetRegionData(string RegionName)
{
RegionData result = RegionManager.BaseGameRegions[0];
for (int i = 0; i < RegionManager.BaseGameRegions.Count; i++)
{
if (((Object)RegionManager.BaseGameRegions[i]).name == RegionName)
{
result = RegionManager.BaseGameRegions[i];
}
}
return result;
}
public static EncounterBlueprintData GetBlueprintData(string EncounterName)
{
EncounterBlueprintData result = EncounterManager.BaseGameEncounters[0];
for (int i = 0; i < EncounterManager.BaseGameEncounters.Count; i++)
{
if (((Object)EncounterManager.BaseGameEncounters[i]).name == EncounterName)
{
result = EncounterManager.BaseGameEncounters[i];
}
}
return result;
}
public static List<CardInfo> AddRandomCards(string turn1 = "none", string turn2 = "none", string turn3 = "none", string turn4 = "none", string turn5 = "none", string turn6 = "none", string turn7 = "none", string turn8 = "none", string turn9 = "none")
{
List<CardInfo> list = new List<CardInfo>();
if (turn1 != "none")
{
list.Add(CardLoader.GetCardByName(turn1));
if (turn2 != "none")
{
list.Add(CardLoader.GetCardByName(turn2));
if (turn3 != "none")
{
list.Add(CardLoader.GetCardByName(turn3));
if (turn4 != "none")
{
list.Add(CardLoader.GetCardByName(turn4));
if (turn5 != "none")
{
list.Add(CardLoader.GetCardByName(turn5));
if (turn6 != "none")
{
list.Add(CardLoader.GetCardByName(turn6));
if (turn7 != "none")
{
list.Add(CardLoader.GetCardByName(turn7));
if (turn8 != "none")
{
list.Add(CardLoader.GetCardByName(turn8));
if (turn9 != "none")
{
list.Add(CardLoader.GetCardByName(turn9));
return list;
}
return list;
}
return list;
}
return list;
}
return list;
}
return list;
}
return list;
}
return list;
}
return list;
}
return list;
}
}
internal class KCM_StartingDeck_Life
{
public static void AddStartingDeck()
{
Texture2D val = SigilUtils.Texture_Helper("lifepack_KCM_diseased.png");
Texture2D val2 = SigilUtils.Texture_Helper("lifepack_KCM_blooddrinkers.png");
Texture2D val3 = SigilUtils.Texture_Helper("lifepack_KCM_monster_rancher.png");
StarterDeckInfo val4 = ScriptableObject.CreateInstance<StarterDeckInfo>();
val4.title = "The Diseased";
val4.iconSprite = TextureHelper.ConvertTexture(val, (SpriteType)9, (FilterMode)0);
val4.cards = new List<CardInfo>
{
CardLoader.GetCardByName("lifepack_rabbit_horned"),
CardLoader.GetCardByName("lifepack_dog_starving"),
CardLoader.GetCardByName("lifepack_snail_infested")
};
StarterDeckManager.Add("extraVoid.inscryption.void_life_pack", val4, 0);
StarterDeckInfo val5 = ScriptableObject.CreateInstance<StarterDeckInfo>();
val5.title = "Blood Drinkers";
val5.iconSprite = TextureHelper.ConvertTexture(val2, (SpriteType)9, (FilterMode)0);
val5.cards = new List<CardInfo>
{
CardLoader.GetCardByName("lifepack_fea_blood"),
CardLoader.GetCardByName("lifepack_misquote"),
CardLoader.GetCardByName("lifepack_tick")
};
StarterDeckManager.Add("extraVoid.inscryption.void_life_pack", val5, 0);
if (Plugin.configAddMRcards.Value)
{
StarterDeckInfo val6 = ScriptableObject.CreateInstance<StarterDeckInfo>();
val6.title = "Monster Rancher Battle Cards";
val6.iconSprite = TextureHelper.ConvertTexture(val3, (SpriteType)9, (FilterMode)0);
val6.cards = new List<CardInfo>
{
CardLoader.GetCardByName("lifepack_Gali"),
CardLoader.GetCardByName("lifepack_Pixie"),
CardLoader.GetCardByName("lifepack_Henger"),
CardLoader.GetCardByName("lifepack_Raiga")
};
StarterDeckManager.Add("extraVoid.inscryption.void_life_pack", val6, 0);
}
}
}
public class SigilUtils
{
public static AbilityInfo CreateAbilityWithDefaultSettingsKCM(string rulebookName, string rulebookDescription, Type behavior, Texture2D text_a1, Texture2D text_a2, string LearnDialogue, bool withDialogue = false, int powerLevel = 0, bool leshyUsable = false, bool part1Modular = true, bool stack = false)
{
AbilityInfo val = AbilityManager.New("extraVoid.inscryption.void_life_pack", rulebookName, rulebookDescription, behavior, (Texture)(object)text_a1);
AbilityExtensions.SetPixelAbilityIcon(val, text_a2, (FilterMode?)null);
if (withDialogue)
{
val.abilityLearnedDialogue = SetAbilityInfoDialogue(LearnDialogue);
}
val.powerLevel = powerLevel;
val.opponentUsable = leshyUsable;
if (part1Modular)
{
val.metaCategories = new List<AbilityMetaCategory>
{
(AbilityMetaCategory)1,
(AbilityMetaCategory)0
};
}
else
{
val.metaCategories = new List<AbilityMetaCategory> { (AbilityMetaCategory)0 };
}
val.canStack = stack;
return val;
}
public static CardInfo CreateCardWithDefaultSettings(string InternalName, string DisplayName, int attack, int health, Texture2D texture_base, Texture2D texture_emission, List<CardMetaCategory> cardMetaCategories, List<Tribe> tribes, List<Trait> traits, List<Ability> abilities, Texture2D texture_pixel = null, int bloodCost = 0, int boneCost = 0, int energyCost = 0)
{
//IL_00a6: Unknown result type (might be due to invalid IL or missing references)
//IL_00ac: Expected I4, but got Unknown
//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
CardInfo val = CardManager.New("lifepack", InternalName, DisplayName, attack, health, "A puddle that errods all that touches it.");
CardExtensions.SetPortrait(val, texture_base, texture_emission, (FilterMode?)null);
if ((Object)(object)texture_pixel == (Object)null)
{
texture_pixel = Texture_Helper("pixelportrait_blank.png");
CardExtensions.SetPixelPortrait(val, texture_pixel, (FilterMode?)null);
}
else
{
CardExtensions.SetPixelPortrait(val, texture_pixel, (FilterMode?)null);
}
CardExtensions.SetPixelPortrait(val, texture_pixel, (FilterMode?)null);
val.metaCategories = cardMetaCategories;
val.tribes = tribes;
val.traits = traits;
for (int i = 0; i < abilities.Count; i++)
{
CardExtensions.AddAbilities(val, (Ability[])(object)new Ability[1] { (Ability)(int)abilities[i] });
}
CardExtensions.SetCardTemple(val, (CardTemple)0);
val.cardComplexity = (CardComplexity)2;
CardExtensions.SetBloodCost(val, (int?)bloodCost);
CardExtensions.SetBonesCost(val, (int?)boneCost);
CardExtensions.SetEnergyCost(val, (int?)energyCost);
return val;
}
public static LineSet SetAbilityInfoDialogue(string dialogue)
{
//IL_0007: Unknown result type (might be due to invalid IL or missing references)
//IL_000c: Unknown result type (might be due to invalid IL or missing references)
//IL_0018: Expected O, but got Unknown
//IL_0019: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Expected O, but got Unknown
return new LineSet(new List<Line>
{
new Line
{
text = dialogue
}
});
}
public static Texture2D GetTextureFromPath(string path)
{
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001a: Expected O, but got Unknown
byte[] array = File.ReadAllBytes(Path.Combine(Plugin.Directory, path));
Texture2D val = new Texture2D(2, 2);
ImageConversion.LoadImage(val, array);
return val;
}
public static Texture2D Texture_Helper(string Path)
{
return TextureHelper.GetImageAsTexture(Path, typeof(Plugin).Assembly, (FilterMode)0);
}
public static string GetFullPathOfFile(string fileToLookFor)
{
return Directory.GetFiles(Paths.PluginPath, fileToLookFor, SearchOption.AllDirectories)[0];
}
public static byte[] ReadArtworkFileAsBytes(string nameOfCardArt)
{
return File.ReadAllBytes(GetFullPathOfFile(nameOfCardArt));
}
}
}
namespace lifeSigils.Encounters
{
internal class BirdRush
{
public static void AddEncounter()
{
//IL_0071: Unknown result type (might be due to invalid IL or missing references)
//IL_0076: Unknown result type (might be due to invalid IL or missing references)
//IL_008b: Expected O, but got Unknown
//IL_008e: Unknown result type (might be due to invalid IL or missing references)
//IL_0093: Unknown result type (might be due to invalid IL or missing references)
//IL_00a3: Unknown result type (might be due to invalid IL or missing references)
//IL_00aa: Unknown result type (might be due to invalid IL or missing references)
//IL_00b2: Unknown result type (might be due to invalid IL or missing references)
//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
//IL_00cf: Expected O, but got Unknown
//IL_00e0: Unknown result type (might be due to invalid IL or missing references)
//IL_00e5: Unknown result type (might be due to invalid IL or missing references)
//IL_00f5: 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_0104: Unknown result type (might be due to invalid IL or missing references)
//IL_0114: Unknown result type (might be due to invalid IL or missing references)
//IL_0121: Expected O, but got Unknown
//IL_0124: Unknown result type (might be due to invalid IL or missing references)
//IL_0129: Unknown result type (might be due to invalid IL or missing references)
//IL_0139: Unknown result type (might be due to invalid IL or missing references)
//IL_0140: Unknown result type (might be due to invalid IL or missing references)
//IL_0148: Unknown result type (might be due to invalid IL or missing references)
//IL_0158: Unknown result type (might be due to invalid IL or missing references)
//IL_0165: Expected O, but got Unknown
//IL_0176: Unknown result type (might be due to invalid IL or missing references)
//IL_017b: Unknown result type (might be due to invalid IL or missing references)
//IL_0190: Expected O, but got Unknown
//IL_0193: Unknown result type (might be due to invalid IL or missing references)
//IL_0198: Unknown result type (might be due to invalid IL or missing references)
//IL_01a8: Unknown result type (might be due to invalid IL or missing references)
//IL_01af: Unknown result type (might be due to invalid IL or missing references)
//IL_01b7: Unknown result type (might be due to invalid IL or missing references)
//IL_01c7: Unknown result type (might be due to invalid IL or missing references)
//IL_01d4: Expected O, but got Unknown
//IL_01e5: Unknown result type (might be due to invalid IL or missing references)
//IL_01ea: Unknown result type (might be due to invalid IL or missing references)
//IL_01fa: Unknown result type (might be due to invalid IL or missing references)
//IL_0201: Unknown result type (might be due to invalid IL or missing references)
//IL_0209: Unknown result type (might be due to invalid IL or missing references)
//IL_0219: Unknown result type (might be due to invalid IL or missing references)
//IL_0226: Expected O, but got Unknown
//IL_0229: Unknown result type (might be due to invalid IL or missing references)
//IL_022e: Unknown result type (might be due to invalid IL or missing references)
//IL_023e: Unknown result type (might be due to invalid IL or missing references)
//IL_0245: Unknown result type (might be due to invalid IL or missing references)
//IL_024d: Unknown result type (might be due to invalid IL or missing references)
//IL_025d: Unknown result type (might be due to invalid IL or missing references)
//IL_026a: Expected O, but got Unknown
string name = "BirdRush";
string regionName = "Alpine";
List<Tribe> list = new List<Tribe>();
list.Add((Tribe)2);
List<Ability> list2 = new List<Ability>();
list2.Add((Ability)19);
bool regionLocked = true;
List<CardInfo> randomReplacementCards = EncounterHelper.AddRandomCards("RavenEgg", "Sparrow", "Raven", "lifepack_bird_finch", "lifepack_bird_plague");
List<List<CardBlueprint>> list3 = new List<List<CardBlueprint>>();
List<CardBlueprint> list4 = new List<CardBlueprint>();
list4.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_bird_caladrius")
});
list4.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_bird_caladrius"),
difficultyReplace = true,
difficultyReq = 18,
replacement = CardLoader.GetCardByName("lifepack_bird_finch"),
randomReplaceChance = 10
});
List<CardBlueprint> item = new List<CardBlueprint>();
List<CardBlueprint> list5 = new List<CardBlueprint>();
list5.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_bird_caladrius"),
difficultyReplace = true,
difficultyReq = 13,
replacement = CardLoader.GetCardByName("lifepack_bird_plague"),
randomReplaceChance = 10
});
list5.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_bird_caladrius"),
difficultyReplace = true,
difficultyReq = 18,
replacement = CardLoader.GetCardByName("lifepack_bird_finch"),
randomReplaceChance = 10
});
List<CardBlueprint> item2 = new List<CardBlueprint>();
List<CardBlueprint> list6 = new List<CardBlueprint>();
list6.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_bird_caladrius")
});
list6.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_bird_caladrius"),
difficultyReplace = true,
difficultyReq = 13,
replacement = CardLoader.GetCardByName("lifepack_bird_finch"),
randomReplaceChance = 10
});
List<CardBlueprint> item3 = new List<CardBlueprint>();
List<CardBlueprint> list7 = new List<CardBlueprint>();
list7.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_bird_caladrius"),
difficultyReplace = true,
difficultyReq = 18,
replacement = CardLoader.GetCardByName("lifepack_bird_plague"),
randomReplaceChance = 10
});
list7.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_bird_caladrius"),
difficultyReplace = true,
difficultyReq = 13,
replacement = CardLoader.GetCardByName("lifepack_bird_plague"),
randomReplaceChance = 10
});
list3.Add(list4);
list3.Add(item);
list3.Add(list5);
list3.Add(item2);
list3.Add(list6);
list3.Add(item3);
list3.Add(list7);
EncounterBlueprintData val = EncounterHelper.BuildBlueprint(name, list, list2, regionLocked, 0, 30, randomReplacementCards, list3);
EncounterManager.Add(val);
RegionExtensions.AddEncounters(EncounterHelper.GetRegionData(regionName), (EncounterBlueprintData[])(object)new EncounterBlueprintData[1] { val });
}
}
internal class DogHouse
{
public static void AddEncounter()
{
//IL_0068: Unknown result type (might be due to invalid IL or missing references)
//IL_006d: Unknown result type (might be due to invalid IL or missing references)
//IL_0082: Expected O, but got Unknown
//IL_0085: Unknown result type (might be due to invalid IL or missing references)
//IL_008a: Unknown result type (might be due to invalid IL or missing references)
//IL_009f: Expected O, but got Unknown
//IL_00a9: Unknown result type (might be due to invalid IL or missing references)
//IL_00ae: Unknown result type (might be due to invalid IL or missing references)
//IL_00be: Unknown result type (might be due to invalid IL or missing references)
//IL_00cb: Expected O, but got Unknown
//IL_00d5: Unknown result type (might be due to invalid IL or missing references)
//IL_00da: Unknown result type (might be due to invalid IL or missing references)
//IL_00ea: Unknown result type (might be due to invalid IL or missing references)
//IL_00f7: Expected O, but got Unknown
//IL_0101: Unknown result type (might be due to invalid IL or missing references)
//IL_0106: Unknown result type (might be due to invalid IL or missing references)
//IL_0116: Unknown result type (might be due to invalid IL or missing references)
//IL_0123: Expected O, but got Unknown
//IL_0126: Unknown result type (might be due to invalid IL or missing references)
//IL_012b: Unknown result type (might be due to invalid IL or missing references)
//IL_013b: Unknown result type (might be due to invalid IL or missing references)
//IL_0148: Expected O, but got Unknown
//IL_0152: Unknown result type (might be due to invalid IL or missing references)
//IL_0157: Unknown result type (might be due to invalid IL or missing references)
//IL_0167: Unknown result type (might be due to invalid IL or missing references)
//IL_0174: Expected O, but got Unknown
//IL_0177: Unknown result type (might be due to invalid IL or missing references)
//IL_017c: Unknown result type (might be due to invalid IL or missing references)
//IL_018c: Unknown result type (might be due to invalid IL or missing references)
//IL_0199: Expected O, but got Unknown
//IL_01a3: Unknown result type (might be due to invalid IL or missing references)
//IL_01a8: Unknown result type (might be due to invalid IL or missing references)
//IL_01b8: Unknown result type (might be due to invalid IL or missing references)
//IL_01c5: Expected O, but got Unknown
//IL_01cf: Unknown result type (might be due to invalid IL or missing references)
//IL_01d4: Unknown result type (might be due to invalid IL or missing references)
//IL_01e4: Unknown result type (might be due to invalid IL or missing references)
//IL_01f1: Expected O, but got Unknown
//IL_01f4: Unknown result type (might be due to invalid IL or missing references)
//IL_01f9: Unknown result type (might be due to invalid IL or missing references)
//IL_0209: Unknown result type (might be due to invalid IL or missing references)
//IL_0216: Expected O, but got Unknown
//IL_0220: Unknown result type (might be due to invalid IL or missing references)
//IL_0225: Unknown result type (might be due to invalid IL or missing references)
//IL_0235: Unknown result type (might be due to invalid IL or missing references)
//IL_0242: Expected O, but got Unknown
//IL_024c: Unknown result type (might be due to invalid IL or missing references)
//IL_0251: Unknown result type (might be due to invalid IL or missing references)
//IL_0261: Unknown result type (might be due to invalid IL or missing references)
//IL_026e: Expected O, but got Unknown
string name = "DogHouse";
string regionName = "Forest";
List<Tribe> list = new List<Tribe>();
list.Add((Tribe)3);
List<Ability> redundant = new List<Ability>();
bool regionLocked = true;
List<CardInfo> randomReplacementCards = EncounterHelper.AddRandomCards("lifepack_dog_familiar", "Bloodhound", "lifepack_dog_black", "lifepack_dog_rabid");
List<List<CardBlueprint>> list2 = new List<List<CardBlueprint>>();
List<CardBlueprint> list3 = new List<CardBlueprint>();
list3.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving")
});
list3.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving")
});
List<CardBlueprint> list4 = new List<CardBlueprint>();
list4.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 25
});
List<CardBlueprint> list5 = new List<CardBlueprint>();
list5.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 25
});
List<CardBlueprint> list6 = new List<CardBlueprint>();
list6.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 50
});
list6.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 50
});
List<CardBlueprint> list7 = new List<CardBlueprint>();
list7.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 50
});
list7.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 50
});
List<CardBlueprint> list8 = new List<CardBlueprint>();
list8.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 50
});
List<CardBlueprint> list9 = new List<CardBlueprint>();
list9.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 50
});
list9.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 50
});
List<CardBlueprint> list10 = new List<CardBlueprint>();
list10.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 50
});
List<CardBlueprint> list11 = new List<CardBlueprint>();
list11.Add(new CardBlueprint
{
card = CardLoader.GetCardByName("lifepack_dog_starving"),
randomReplaceChance = 75
});
list2.Add(list3);
list2.Add(list4);
list2.Add(list5);
list2.Add(list6);
list2.Add(list7);
list2.Add(list8);
list2.Add(list9);
list2.Add(list10);
list2.Add(list11);
EncounterBlueprintData val = EncounterHelper.BuildBlueprint(name, list, redundant, regionLocked, 0, 30, randomReplacementCards, list2);
EncounterManager.Add(val);
RegionExtensions.AddEncounters(EncounterHelper.GetRegionData(regionName), (EncounterBlueprintData[])(object)new EncounterBlueprintData[1] { val });
}
}
}
namespace lifeSigils.Cards
{
public static class Ant_Fungal
{
public static void AddCard()
{
//IL_0053: 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)
string internalName = "lifepack_ant_fungal";
string displayName = "Fungal Ant";
string description = "Be careful, the fungus will spread to all ants.";
int attack = 0;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)6);
List<Ability> list3 = new List<Ability>();
list3.Add(ability_FungalInfection.ability);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Possessor"));
List<Trait> list4 = new List<Trait>();
list4.Add((Trait)11);
List<SpecialTriggeredAbility> list5 = new List<SpecialTriggeredAbility>();
list5.Add((SpecialTriggeredAbility)6);
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_ant_fungal.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_ant_fungal_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, list4, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.AddSpecialAbilities(val, (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)6 });
CardExtensions.SetStatIcon(val, (SpecialStatIcon)1);
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)4);
CardManager.Add("lifepack", val);
}
}
public static class Bat_Vampire
{
public static void AddCard()
{
//IL_004a: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_bat_vampire";
string displayName = "Vampire Bat";
string description = "They creep along the ground, looking for a drink";
int attack = 1;
int health = 3;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)0);
list.Add((CardMetaCategory)1);
List<Tribe> tribes = new List<Tribe>();
List<Ability> list2 = new List<Ability>();
list2.Add(ability_BloodBoost.ability);
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_bat_vampire.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_bat_vampire_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, tribes, traits, list2, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)8);
CardManager.Add("lifepack", val);
}
}
public static class Bird_Caladrius
{
public static void AddCard()
{
//IL_0067: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_bird_caladrius";
string displayName = "Caladrius";
string description = "It will take in the pain of others to heal them.";
int attack = 1;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)2);
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)19);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Disease Absorbtion"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_bird_caladrius.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_bird_caladrius_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)4);
CardManager.Add("lifepack", val);
}
}
internal class Bird_Finch
{
public static void AddCard()
{
//IL_0067: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_bird_finch";
string displayName = "Vampiric Finch";
string description = "It feeds on blood, pecking endlessly.";
int attack = 1;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)2);
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)19);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "BloodGuzzler"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_bird_finch.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_bird_finch_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)6);
CardManager.Add("lifepack", val);
}
}
public static class Bird_Plague
{
public static void AddCard()
{
//IL_005d: Unknown result type (might be due to invalid IL or missing references)
//IL_00b3: Unknown result type (might be due to invalid IL or missing references)
//IL_00b9: Expected I4, but got Unknown
string internalName = "lifepack_bird_plague";
string displayName = "Plague Bird";
string description = "What better laboratory than the blood-soaked battlefield?";
int attack = 1;
int health = 7;
int bloodCost = 0;
int boneCost = 4;
int energyCost = 0;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>();
List<Tribe> tribes = new List<Tribe> { (Tribe)2 };
List<Ability> abilities = new List<Ability>
{
(Ability)19,
(Ability)52
};
List<Trait> traits = new List<Trait>();
List<SpecialTriggeredAbility> list = new List<SpecialTriggeredAbility> { CureAllNegativeSpecialAbility.specialAbility };
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_bird_plague.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_bird_plague_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, cardMetaCategories, tribes, traits, abilities, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.AddSpecialAbilities(val, (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)CureAllNegativeSpecialAbility.specialAbility });
CardExtensions.SetRare(val);
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)4);
CardManager.Add("lifepack", val);
}
}
internal class Bone
{
public static void AddCard()
{
string internalName = "lifepack_bone";
string displayName = "Random Bone";
string description = "Just a bone.";
int attack = 0;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>();
List<Tribe> tribes = new List<Tribe>();
List<Ability> abilities = new List<Ability>();
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_bone.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_bone_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, cardMetaCategories, tribes, traits, abilities, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetTerrain(val);
CardManager.Add("lifepack", val);
}
}
internal class Chupacabra
{
public static void AddCard()
{
//IL_0047: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_chupacabra";
string displayName = "Chupacabra";
string description = "A ghostly dog of pure black, said to haunt various castles.";
int attack = 3;
int health = 3;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>();
List<Tribe> tribes = new List<Tribe> { (Tribe)5 };
List<Ability> abilities = new List<Ability> { GuidManager.GetEnumValue<Ability>("ATS", "Consumer") };
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_chupacabra.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_chupacabra_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, cardMetaCategories, tribes, traits, abilities, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeCost", (object)5);
CardExtensions.SetRare(val);
CardManager.Add("lifepack", val);
}
}
internal class Cow_Diseased
{
public static void AddCard()
{
//IL_005d: Unknown result type (might be due to invalid IL or missing references)
//IL_0074: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_cow_diseased";
string displayName = "Diseased Bull";
string description = "A sad thing, being sick like it is.";
int attack = 4;
int health = 4;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)4);
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Blight"));
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Ram"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_cow_diseased.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_cow_diseased_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)11);
CardManager.Add("lifepack", val);
}
}
public static class Cow_Mutilated
{
public static void AddCard()
{
string internalName = "lifepack_cow_mutilated";
string displayName = "Mutilated Sow";
string description = "The poor sow, damaged, hurt, broken.";
int attack = 0;
int health = 3;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)4);
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)11);
list3.Add((Ability)52);
List<Trait> list4 = new List<Trait>();
list4.Add((Trait)20);
List<Appearance> list5 = new List<Appearance>();
list5.Add((Appearance)13);
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_cow_mutilated.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_cow_mutilated_e.png");
Texture2D val = SigilUtils.Texture_Helper("lifepack_cow_mutilated_a.png");
CardInfo val2 = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, list4, list3, null, bloodCost, boneCost, energyCost);
val2.description = description;
CardExtensions.SetAltPortrait(val2, val, (FilterMode?)null);
CardExtensions.SetExtendedProperty(val2, "LifeMoneyCost", (object)3);
CardManager.Add("lifepack", val2);
}
}
internal class Cow_Shitting
{
public static void AddCard()
{
//IL_0067: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_cow_shitting";
string displayName = "Bonnacon";
string description = "Unable to use it's horns to defend itself, it leaves behinds pools of caustic feces.";
int attack = 0;
int health = 6;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)4);
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)35);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Caustic"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_cow_shitting.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_cow_shitting_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)4);
CardManager.Add("lifepack", val);
}
}
public static class Crow_Coin
{
public static void AddCard()
{
//IL_005d: Unknown result type (might be due to invalid IL or missing references)
//IL_0074: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_crow_coin";
string displayName = "Thieving Crow";
string description = "This thieving crow will strike at your foes, if you pay it to...";
int attack = 1;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)5);
list.Add((CardMetaCategory)4);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)2);
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("extraVoid.inscryption.LifeCost", "Cash Converter"));
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Thief"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_crow_coin.png");
Texture2D val = SigilUtils.Texture_Helper("pixelportrait_coin_crow.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_crow_coin_e.png");
Texture2D texture_pixel = val;
CardInfo val2 = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, texture_pixel, bloodCost, boneCost, energyCost);
val2.description = description;
CardExtensions.SetRare(val2);
CardExtensions.SetExtendedProperty(val2, "LifeMoneyCost", (object)4);
CardManager.Add("lifepack", val2);
}
}
public static class Crow_Tamed
{
public static readonly CardMetaCategory SIDE_DECK_CATEGORY = GuidManager.GetEnumValue<CardMetaCategory>("zorro.inscryption.infiniscryption.sidedecks", "SideDeck");
public static void AddCard()
{
//IL_007c: Unknown result type (might be due to invalid IL or missing references)
//IL_00b8: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_crow_tamed";
string displayName = "Tamed Crow";
string description = "A crow, tamed to find gold.";
int attack = 0;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
int num = 2;
List<CardMetaCategory> list = new List<CardMetaCategory>();
if (!Chainloader.PluginInfos.ContainsKey("zorro.inscryption.infiniscryption.sidedecks"))
{
Plugin.Log.LogMessage((object)"Did not find side decks, adding Tamed Crow to the default pools");
list.Add((CardMetaCategory)0);
list.Add((CardMetaCategory)1);
}
else
{
Plugin.Log.LogMessage((object)"Found side decks, removing Tamed Crow from the default pools");
list.Add(SIDE_DECK_CATEGORY);
num = 0;
}
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)2);
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)19);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Coin Finder"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_crow_tamed.png");
Texture2D val = SigilUtils.Texture_Helper("pixelportrait_tamed_crow.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_crow_tamed_e.png");
Texture2D texture_pixel = val;
CardInfo val2 = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, texture_pixel, bloodCost, boneCost, energyCost);
val2.description = description;
CardExtensions.SetExtendedProperty(val2, "SideDeckValue", (object)5);
CardExtensions.SetExtendedProperty(val2, "LifeMoneyCost", (object)num);
CardManager.Add("lifepack", val2);
}
}
internal class Deer_Wasting
{
public static void AddCard()
{
//IL_005d: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_deer_wasting";
string displayName = "Wasting Deer";
string description = "It just keeps growing.";
int attack = 1;
int health = 4;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)4);
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Dying"));
list3.Add((Ability)3);
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_deer_wasting.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_deer_wasting_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)4);
CardExtensions.SetExtendedProperty(val, "void_dying_count", (object)4);
CardManager.Add("lifepack", val);
}
}
internal class Dog_Black
{
public static void AddCard()
{
//IL_005d: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_dog_black";
string displayName = "The Black Dog";
string description = "A ghostly dog of pure black, said to haunt various castles.";
int attack = 3;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)3);
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Possessor"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_dog_black.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_dog_black_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)8);
CardManager.Add("lifepack", val);
}
}
internal class Dog_Familiar
{
public static void AddCard()
{
//IL_005d: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_dog_familiar";
string displayName = "Albino Familiar";
string description = "The canine stays by it's owner, till the very end.";
int attack = 1;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)3);
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("extraVoid.inscryption.voidSigils", "Familiar"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_dog_familiar.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_dog_familiar_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)4);
CardManager.Add("lifepack", val);
}
}
internal class Dog_Rabid
{
public static void AddCard()
{
//IL_0067: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_dog_rabid";
string displayName = "Rabid Canine";
string description = "The canine that can spread disease to those it hits.";
int attack = 1;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)3);
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)35);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Toxin (Deadly)"));
List<Trait> list4 = new List<Trait>();
list4.Add((Trait)19);
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_dog_rabid.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_dog_rabid_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, list4, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeCost", (object)1);
CardManager.Add("lifepack", val);
}
}
internal class Dog_Starving
{
public static void AddCard()
{
//IL_006f: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_dog_starving";
string displayName = "Starving Dog";
string description = "It attacks randomly, hoping for food.";
int attack = 1;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
list.Add((CardMetaCategory)5);
list.Add((CardMetaCategory)4);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)3);
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Random Strike"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_dog_starving.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_dog_starving_e.png");
Texture2D val = SigilUtils.Texture_Helper("pixelportrait_starving_dog.png");
Texture2D texture_pixel = val;
CardInfo val2 = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, texture_pixel, bloodCost, boneCost, energyCost);
val2.description = description;
CardExtensions.SetExtendedProperty(val2, "LifeMoneyCost", (object)3);
CardManager.Add("lifepack", val2);
}
}
internal class Feline_Lion
{
public static void AddCard()
{
//IL_0092: Unknown result type (might be due to invalid IL or missing references)
//IL_00a9: Unknown result type (might be due to invalid IL or missing references)
//IL_00c0: Unknown result type (might be due to invalid IL or missing references)
//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
//IL_00ee: Unknown result type (might be due to invalid IL or missing references)
//IL_0073: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_feline_lion";
string displayName = "The Sick Lion";
string description = "An old Lion, whose teeth and claws were so worn that it was not so easy for him to get food as in his younger days, pretended that he was sick.";
int attack = 0;
int health = 5;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
if (Chainloader.PluginInfos.ContainsKey("Lily.BOT"))
{
Plugin.Log.LogMessage((object)"Lily Totems found, The Sick Lion is now feline");
list2.Add(GuidManager.GetEnumValue<Tribe>("Lily.BOT", "feline"));
}
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Predator"));
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Predator"));
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Predator"));
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Predator"));
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Bait"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_feline_lion.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_feline_lion_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)7);
CardManager.Add("lifepack", val);
}
}
public static class Feline_Maneki_Neko
{
public static void AddCard()
{
//IL_0083: Unknown result type (might be due to invalid IL or missing references)
//IL_0064: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_maneki_neko";
string displayName = "Maneki-neko";
string description = "It brings fortune in the way of gold.";
int attack = 0;
int health = 3;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
int num = 4;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>();
List<Tribe> list = new List<Tribe>();
if (Chainloader.PluginInfos.ContainsKey("Lily.BOT"))
{
Plugin.Log.LogMessage((object)"Lily Totems found, Maneki-neko is now feline");
list.Add(GuidManager.GetEnumValue<Tribe>("Lily.BOT", "feline"));
}
List<Ability> list2 = new List<Ability>();
list2.Add(GuidManager.GetEnumValue<Ability>("ATS", "Toothpuller"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_maneki_neko.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_maneki_neko_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, cardMetaCategories, list, traits, list2, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)num);
CardExtensions.SetRare(val);
CardExtensions.AddAppearances(val, (Appearance[])(object)new Appearance[1] { (Appearance)6 });
CardManager.Add("lifepack", val);
}
}
public static class Fish_Candiru
{
public static void AddCard()
{
//IL_009c: Unknown result type (might be due to invalid IL or missing references)
//IL_0073: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_fish_candiru";
string displayName = "Candiru Fish";
string description = "A parasitic fish that feasts on blood.";
int attack = 1;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
if (Chainloader.PluginInfos.ContainsKey("Lily.BOT"))
{
Plugin.Log.LogMessage((object)"Lily Totems found, Candiru Fish is now aquatic");
list2.Add(GuidManager.GetEnumValue<Tribe>("Lily.BOT", "aquatic"));
}
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)13);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Schooling"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_fish_candiru.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_fish_candiru_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)4);
CardManager.Add("lifepack", val);
}
}
internal class Fish_Lamprey
{
public static void AddCard()
{
//IL_009c: Unknown result type (might be due to invalid IL or missing references)
//IL_0073: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_fish_lamprey";
string displayName = "Lamprey";
string description = "One will lead to more showing up...";
int attack = 1;
int health = 3;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
if (Chainloader.PluginInfos.ContainsKey("Lily.BOT"))
{
Plugin.Log.LogMessage((object)"Lily Totems found, Lamprey is now aquatic");
list2.Add(GuidManager.GetEnumValue<Tribe>("Lily.BOT", "aquatic"));
}
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)13);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Herd"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_fish_lamprey.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_fish_lamprey_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)8);
CardManager.Add("lifepack", val);
}
}
public static class Flea_Blood
{
public static void AddCard()
{
//IL_005a: Unknown result type (might be due to invalid IL or missing references)
//IL_0070: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_fea_blood";
string displayName = "Blood Flea";
string description = "A flea that spreads disease to canines, weakening them.";
int attack = 1;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
int num = 4;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>
{
(CardMetaCategory)5,
(CardMetaCategory)4
};
List<Tribe> tribes = new List<Tribe> { (Tribe)6 };
List<Ability> abilities = new List<Ability>
{
GuidManager.GetEnumValue<Ability>("ATS", "Agile"),
GuidManager.GetEnumValue<Ability>("ATS", "Draw Blood")
};
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_fea_blood.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_fea_blood_e.png");
Texture2D val = SigilUtils.Texture_Helper("pixelportrait_flea.png");
Texture2D texture_pixel = val;
CardInfo val2 = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, cardMetaCategories, tribes, traits, abilities, texture_pixel, bloodCost, boneCost, energyCost);
val2.description = description;
CardExtensions.SetExtendedProperty(val2, "LifeMoneyCost", (object)num);
CardExtensions.SetRare(val2);
CardManager.Add("lifepack", val2);
}
}
public static class Lizard_Greedy
{
public static void AddCard()
{
//IL_004b: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_lizard_greedy";
string displayName = "Hoarding Lizard";
string description = "It will bring you wealth if you can pay it's price.";
int attack = 2;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>();
List<Tribe> list = new List<Tribe>();
list.Add((Tribe)5);
List<Ability> list2 = new List<Ability>();
list2.Add(GuidManager.GetEnumValue<Ability>("extraVoid.inscryption.LifeCost", "Life Converter"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_lizard_greedy.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_lizard_greedy_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, cardMetaCategories, list, traits, list2, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetRare(val);
CardExtensions.SetExtendedProperty(val, "MoneyCost", (object)5);
CardManager.Add("lifepack", val);
}
}
internal class Lizard_Salamander
{
public static void AddCard()
{
//IL_005d: Unknown result type (might be due to invalid IL or missing references)
//IL_0074: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_lizard_salamander";
string displayName = "Fire Salamander";
string description = "It spreads the flame, but isn't immune to them.";
int attack = 1;
int health = 5;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)5);
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Firestarter"));
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Burning"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_lizard_salamander.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_lizard_salamander_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)6);
CardManager.Add("lifepack", val);
}
}
internal class Mantis_Infested
{
public static void AddCard()
{
string internalName = "lifepack_mantis_infested";
string displayName = "Mantis?";
string description = "A ghostly dog of pure black, said to haunt various castles.";
int attack = 1;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)6);
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)24);
list3.Add((Ability)26);
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_mantis_infested.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_mantis_infested_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetIceCube(val, "Ringworm", (IEnumerable<CardModificationInfo>)null);
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)6);
CardManager.Add("lifepack", val);
}
}
internal class Misquito
{
public static void AddCard()
{
//IL_006f: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_misquote";
string displayName = "Engorging Misquito";
string description = "A ghostly dog of pure black, said to haunt various castles.";
int attack = 1;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
list.Add((CardMetaCategory)5);
list.Add((CardMetaCategory)4);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)6);
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Blood Growth"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_misquote.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_misquote_e.png");
Texture2D val = SigilUtils.Texture_Helper("pixelportrait_misquito.png");
Texture2D texture_pixel = val;
CardInfo val2 = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, texture_pixel, bloodCost, boneCost, energyCost);
val2.description = description;
CardExtensions.SetExtendedProperty(val2, "LifeMoneyCost", (object)4);
CardManager.Add("lifepack", val2);
}
}
public static class Moth_Calyptra
{
public static void AddCard()
{
//IL_0067: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_moth_calyptra";
string displayName = "Calyptra Moth";
string description = "A moth that has gained a taste for blood. It can continue it's cycle of life and death as long as it feels.";
int attack = 1;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)6);
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)19);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Draw Blood"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_moth_calyptra.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_moth_calyptra_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)3);
CardManager.Add("lifepack", val);
}
}
public static class Mouse_Dice
{
public static void AddCard()
{
//IL_0089: 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)
string internalName = "lifepack_mouse_dice";
string displayName = "Dice Mouse";
string description = "Will you take a chance and roll it's dice?";
int attack = 0;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)3);
List<Tribe> list2 = new List<Tribe>();
if (Chainloader.PluginInfos.ContainsKey("Lily.BOT"))
{
Plugin.Log.LogMessage((object)"Lily Totems found, Dice Mouse is now rodent");
list2.Add(GuidManager.GetEnumValue<Tribe>("Lily.BOT", "rodent"));
}
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("extraVoid.inscryption.LifeCost", "Die Roll"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_mouse_dice.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_mouse_dice_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetRare(val);
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)2);
CardManager.Add("lifepack", val);
}
}
public static class MR_Gali
{
public static void AddCard()
{
string internalName = "lifepack_Gali";
string displayName = "Gali";
string description = "The mask and cloak just dance around, like a puppet on strings.";
int attack = 0;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)0);
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)5);
list.Add((CardMetaCategory)4);
List<Tribe> tribes = new List<Tribe>();
List<Ability> abilities = new List<Ability>
{
(Ability)39,
(Ability)40
};
List<Trait> list2 = new List<Trait>();
list2.Add((Trait)17);
Texture2D imageAsTexture = TextureHelper.GetImageAsTexture("lifepack_MR_gali.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D imageAsTexture2 = TextureHelper.GetImageAsTexture("lifepack_MR_gali_e.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D imageAsTexture3 = TextureHelper.GetImageAsTexture("pixelportrait_gali.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D texture_pixel = imageAsTexture3;
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, imageAsTexture, imageAsTexture2, list, tribes, list2, abilities, texture_pixel, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetCardTemple(val, (CardTemple)3);
CardExtensions.SetCustomCost(val, "LifeMoneyCost", 4);
CardExtensions.SetTerrain(val);
CardExtensions.AddDecal(val, (Texture[])(object)new Texture[1] { (Texture)TextureHelper.GetImageAsTexture("lifepack_MR_gali_d.png", typeof(Plugin).Assembly, (FilterMode)0) });
CardManager.Add("lifepack", val);
}
}
public static class MR_Henger
{
public static void AddCard()
{
string internalName = "lifepack_Henger";
string displayName = "Henger";
string description = "The mask and cloak just dance around, like a puppet on strings.";
int attack = 2;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 2;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)0);
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)5);
list.Add((CardMetaCategory)4);
List<Tribe> tribes = new List<Tribe>();
List<Ability> abilities = new List<Ability> { (Ability)54 };
List<Trait> traits = new List<Trait>();
Texture2D imageAsTexture = TextureHelper.GetImageAsTexture("lifepack_MR_henger.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D imageAsTexture2 = TextureHelper.GetImageAsTexture("lifepack_MR_henger_e.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D imageAsTexture3 = TextureHelper.GetImageAsTexture("pixelportrait_henger.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D texture_pixel = imageAsTexture3;
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, imageAsTexture, imageAsTexture2, list, tribes, traits, abilities, texture_pixel, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetCardTemple(val, (CardTemple)2);
CardExtensions.SetCustomCost(val, "MoneyCost", 8);
CardManager.Add("lifepack", val);
}
}
public static class MR_Pixie
{
public static void AddCard()
{
string internalName = "lifepack_Pixie";
string displayName = "Pixie";
string description = "The mask and cloak just dance around, like a puppet on strings.";
int attack = 1;
int health = 4;
int bloodCost = 0;
int boneCost = 2;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)0);
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)5);
list.Add((CardMetaCategory)4);
List<Tribe> tribes = new List<Tribe>();
List<Ability> abilities = new List<Ability> { (Ability)82 };
List<Trait> traits = new List<Trait> { (Trait)8 };
Texture2D imageAsTexture = TextureHelper.GetImageAsTexture("lifepack_MR_pixie.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D imageAsTexture2 = TextureHelper.GetImageAsTexture("lifepack_MR_pixie_e.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D imageAsTexture3 = TextureHelper.GetImageAsTexture("pixelportrait_pixie.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D texture_pixel = imageAsTexture3;
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, imageAsTexture, imageAsTexture2, list, tribes, traits, abilities, texture_pixel, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetCardTemple(val, (CardTemple)1);
CardExtensions.SetCustomCost(val, "LifeCost", 3);
CardManager.Add("lifepack", val);
}
}
public static class MR_Raiga
{
public static void AddCard()
{
//IL_0067: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_Raiga";
string displayName = "Raiga";
string description = "Some known them as, Tiger.";
int attack = 3;
int health = 2;
int bloodCost = 2;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>
{
(CardMetaCategory)0,
(CardMetaCategory)1,
(CardMetaCategory)5,
(CardMetaCategory)4
};
List<Tribe> tribes = new List<Tribe> { (Tribe)3 };
List<Ability> abilities = new List<Ability> { GuidManager.GetEnumValue<Ability>("ATS", "Electric") };
List<Trait> traits = new List<Trait>();
Texture2D imageAsTexture = TextureHelper.GetImageAsTexture("lifepack_MR_raiga.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D imageAsTexture2 = TextureHelper.GetImageAsTexture("lifepack_MR_raiga_e.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D imageAsTexture3 = TextureHelper.GetImageAsTexture("pixelportrait_raiga.png", typeof(Plugin).Assembly, (FilterMode)0);
Texture2D texture_pixel = imageAsTexture3;
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, imageAsTexture, imageAsTexture2, cardMetaCategories, tribes, traits, abilities, texture_pixel, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetCardTemple(val, (CardTemple)0);
CardExtensions.SetCustomCost(val, "LifeMoneyCost", 4);
CardManager.Add("lifepack", val);
}
}
internal class Rabbit_horned
{
public static void AddCard()
{
//IL_009d: Unknown result type (might be due to invalid IL or missing references)
//IL_0081: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_rabbit_horned";
string displayName = "Horned Cottentail";
string description = "The poor thing...";
int attack = 1;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>
{
(CardMetaCategory)1,
(CardMetaCategory)0,
(CardMetaCategory)5,
(CardMetaCategory)4
};
List<Tribe> list = new List<Tribe>();
if (Chainloader.PluginInfos.ContainsKey("Lily.BOT"))
{
Plugin.Log.LogMessage((object)"Lily Totems found, Horned Cottentail is now rodent");
list.Add(GuidManager.GetEnumValue<Tribe>("Lily.BOT", "rodent"));
}
List<Ability> abilities = new List<Ability> { GuidManager.GetEnumValue<Ability>("ATS", "Repellant") };
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_rabbit_horned.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_rabbit_horned_e.png");
Texture2D val = SigilUtils.Texture_Helper("pixelportrait_cottentail.png");
Texture2D texture_pixel = val;
CardInfo val2 = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, cardMetaCategories, list, traits, abilities, texture_pixel, bloodCost, boneCost, energyCost);
val2.description = description;
CardExtensions.SetExtendedProperty(val2, "LifeMoneyCost", (object)3);
CardManager.Add("lifepack", val2);
}
}
internal class Snail_Infested
{
public static void AddCard()
{
//IL_0070: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_snail_infested";
string displayName = "Infested Snail";
string description = "The Infested Snail tries to get killed.";
int attack = 1;
int health = 3;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>
{
(CardMetaCategory)1,
(CardMetaCategory)0,
(CardMetaCategory)5,
(CardMetaCategory)4
};
List<Tribe> tribes = new List<Tribe> { (Tribe)6 };
List<Ability> abilities = new List<Ability>
{
(Ability)23,
GuidManager.GetEnumValue<Ability>("ATS", "Bait")
};
List<Trait> traits = new List<Trait> { (Trait)19 };
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_snail_infested.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_snail_infested_e.png");
Texture2D val = SigilUtils.Texture_Helper("pixelportrait_snail.png");
Texture2D texture_pixel = val;
CardInfo val2 = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, cardMetaCategories, tribes, traits, abilities, texture_pixel, bloodCost, boneCost, energyCost);
val2.description = description;
CardExtensions.SetExtendedProperty(val2, "LifeMoneyCost", (object)3);
CardExtensions.SetExtendedProperty(val2, "LifeCost", (object)1);
CardManager.Add("lifepack", val2);
}
}
public static class Snallygaster
{
public static void AddCard()
{
//IL_004f: Unknown result type (might be due to invalid IL or missing references)
//IL_0069: Unknown result type (might be due to invalid IL or missing references)
//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
//IL_00c5: Expected I4, but got Unknown
string internalName = "lifepack_snallygaster";
string displayName = "Snallygaster";
string description = "It comes from the shadows, attacking all, sucking all the blood out of them.";
int attack = 1;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> cardMetaCategories = new List<CardMetaCategory>();
List<Tribe> tribes = new List<Tribe>
{
(Tribe)2,
(Tribe)5
};
List<Ability> abilities = new List<Ability> { GuidManager.GetEnumValue<Ability>("ATS", "BloodGuzzler") };
List<Trait> traits = new List<Trait>();
List<SpecialTriggeredAbility> list = new List<SpecialTriggeredAbility> { GainAllstrikeOnDraw.specialAbility };
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_snallygaster.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_snallygaster_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, cardMetaCategories, tribes, traits, abilities, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.AddSpecialAbilities(val, (SpecialTriggeredAbility[])(object)new SpecialTriggeredAbility[1] { (SpecialTriggeredAbility)(int)GainAllstrikeOnDraw.specialAbility });
CardExtensions.SetRare(val);
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)11);
CardManager.Add("lifepack", val);
}
}
internal class Tick
{
public static void AddCard()
{
//IL_006f: Unknown result type (might be due to invalid IL or missing references)
//IL_0086: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_tick";
string displayName = "Evergrowing Tic";
string description = "It just keeps growing.";
int attack = 0;
int health = 2;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
list.Add((CardMetaCategory)5);
list.Add((CardMetaCategory)4);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)6);
List<Ability> list3 = new List<Ability>();
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Giant"));
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Leech"));
List<Trait> traits = new List<Trait>();
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_tick.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_tick_e.png");
Texture2D val = SigilUtils.Texture_Helper("pixelportrait_tick.png");
Texture2D texture_pixel = val;
CardInfo val2 = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, traits, list3, texture_pixel, bloodCost, boneCost, energyCost);
val2.description = description;
CardExtensions.SetExtendedProperty(val2, "LifeCost", (object)1);
CardManager.Add("lifepack", val2);
}
}
internal class Worm_Bone
{
public static void AddCard()
{
//IL_0067: Unknown result type (might be due to invalid IL or missing references)
string internalName = "lifepack_worm_bone";
string displayName = "Bone Worm";
string description = "A worm that loves to burrow into bones at the bottom of the ocean and consume them.";
int attack = 1;
int health = 1;
int bloodCost = 0;
int boneCost = 0;
int energyCost = 0;
List<CardMetaCategory> list = new List<CardMetaCategory>();
list.Add((CardMetaCategory)1);
list.Add((CardMetaCategory)0);
List<Tribe> list2 = new List<Tribe>();
list2.Add((Tribe)6);
List<Ability> list3 = new List<Ability>();
list3.Add((Ability)11);
list3.Add(GuidManager.GetEnumValue<Ability>("ATS", "Draw Bone"));
List<Trait> list4 = new List<Trait>();
list4.Add((Trait)19);
Texture2D texture_base = SigilUtils.Texture_Helper("lifepack_worm_bone.png");
Texture2D texture_emission = SigilUtils.Texture_Helper("lifepack_worm_bone_e.png");
CardInfo val = SigilUtils.CreateCardWithDefaultSettings(internalName, displayName, attack, health, texture_base, texture_emission, list, list2, list4, list3, null, bloodCost, boneCost, energyCost);
val.description = description;
CardExtensions.SetTail(val, "lifepack_bone", SigilUtils.Texture_Helper("lifepack_worm_bone_a.png"), (FilterMode?)null, (IEnumerable<CardModificationInfo>)null);
CardExtensions.SetExtendedProperty(val, "LifeMoneyCost", (object)4);
CardManager.Add("lifepack", val);
}
}
}