Decompiled source of ApoFixxx v1.2.0

ApoFix.dll

Decompiled 2 weeks ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using Apofix.Cards;
using Apofix.cards;
using BepInEx;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using UnboundLib.Cards;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("ApoFix")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+73619729e09f3b132de808801b37f3126fa54f6d")]
[assembly: AssemblyProduct("ApoFix")]
[assembly: AssemblyTitle("ApoFix")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace Apofix
{
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInPlugin("com.Apo.llon.Ami", "Apollon", "0.0.1")]
	[BepInProcess("Rounds.exe")]
	public class Apofix : BaseUnityPlugin
	{
		private const string ModId = "com.Apo.llon.Ami";

		private const string ModName = "Apollon";

		public const string Version = "0.0.1";

		public const string ModInitials = "ApoFix";

		public static Apofix instance { get; private set; }

		private void Awake()
		{
			//IL_0006: Unknown result type (might be due to invalid IL or missing references)
			//IL_000c: Expected O, but got Unknown
			Harmony val = new Harmony("com.Apo.llon.Ami");
			val.PatchAll();
		}

		private void Start()
		{
			instance = this;
			CustomCard.BuildCard<Slim>();
			CustomCard.BuildCard<Callibri>();
			CustomCard.BuildCard<Seraphim>();
			CustomCard.BuildCard<Tiny>();
			CustomCard.BuildCard<enlarge>();
			CustomCard.BuildCard<Absorber>();
			CustomCard.BuildCard<Hiruvim>();
			CustomCard.BuildCard<Prestol>();
		}
	}
}
namespace Apofix.Cards
{
	internal class enlarge : CustomCard
	{
		internal static CardInfo Card;

		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			Gun gun2 = gun;
			CharacterStatModifiers statModifiers2 = statModifiers;
			Block block2 = block;
			Dictionary<string, Action<float>> dictionary = new Dictionary<string, Action<float>>();
			dictionary.Add("damage", delegate(float val)
			{
				gun2.damage = val;
			});
			dictionary.Add("health", delegate(float val)
			{
				statModifiers2.health = val;
			});
			dictionary.Add("reload", delegate(float val)
			{
				gun2.reloadTime = val;
			});
			dictionary.Add("ammo", delegate(float val)
			{
				gun2.ammo = (int)val;
			});
			dictionary.Add("ammoregeneration", delegate(float val)
			{
				gun2.ammoReg = val;
			});
			dictionary.Add("projectiles", delegate(float val)
			{
				gun2.numberOfProjectiles = Mathf.Max(1, (int)val);
			});
			dictionary.Add("projectilesize", delegate(float val)
			{
				gun2.projectileSize = val;
			});
			dictionary.Add("bursts", delegate(float val)
			{
				gun2.bursts = (int)val;
			});
			dictionary.Add("timeBetweenBullets", delegate(float val)
			{
				gun2.timeBetweenBullets = val;
			});
			dictionary.Add("knockback", delegate(float val)
			{
				gun2.knockback = val;
			});
			dictionary.Add("attackSpeed", delegate(float val)
			{
				gun2.attackSpeed = val;
			});
			dictionary.Add("bounces", delegate(float val)
			{
				gun2.reflects = (int)val;
			});
			dictionary.Add("bulletSpeed", delegate(float val)
			{
				gun2.projectileSpeed = val;
			});
			dictionary.Add("blocksamount", delegate(float val)
			{
				block2.additionalBlocks = (int)val;
			});
			dictionary.Add("blockhealamount", delegate(float val)
			{
				block2.healing = (int)val;
			});
			dictionary.Add("blockcooldown", delegate(float val)
			{
				block2.cdMultiplier = val;
			});
			dictionary.Add("lifesteal", delegate(float val)
			{
				statModifiers2.lifeSteal = val;
			});
			dictionary.Add("respawns", delegate(float val)
			{
				statModifiers2.respawns = (int)val;
			});
			dictionary.Add("numberofjumps", delegate(float val)
			{
				statModifiers2.numberOfJumps = (int)val;
			});
			dictionary.Add("gravity", delegate(float val)
			{
				statModifiers2.gravity = val;
			});
			dictionary.Add("size", delegate(float val)
			{
				statModifiers2.sizeMultiplier = val;
			});
			dictionary.Add("movementspeed", delegate(float val)
			{
				statModifiers2.movementSpeed = val;
			});
			gun2.unblockable = true;
			dictionary["respawns"](-1f);
			dictionary["blockcooldown"](1.5f);
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		protected override string GetTitle()
		{
			return "Enlarge";
		}

		protected override string GetDescription()
		{
			return "Unblockable bullets in exchange for a soul";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (Rarity)0;
		}

		protected override CardInfoStat[] GetStats()
		{
			//IL_0009: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0015: 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)
			//IL_002b: 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_0033: Expected O, but got Unknown
			//IL_0035: Unknown result type (might be due to invalid IL or missing references)
			//IL_003a: 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_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			//IL_005f: Expected O, but got Unknown
			//IL_0061: Unknown result type (might be due to invalid IL or missing references)
			//IL_0066: 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_0078: Unknown result type (might be due to invalid IL or missing references)
			//IL_0083: Unknown result type (might be due to invalid IL or missing references)
			//IL_0085: Unknown result type (might be due to invalid IL or missing references)
			//IL_008b: Expected O, but got Unknown
			return (CardInfoStat[])(object)new CardInfoStat[3]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "bullet",
					amount = "unblockable",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Block cooldown",
					amount = "+50%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = false,
					stat = "Revive",
					amount = "-1",
					simepleAmount = (SimpleAmount)0
				}
			};
		}

		protected override CardThemeColorType GetTheme()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (CardThemeColorType)7;
		}

		public override string GetModName()
		{
			return "ApoFix";
		}
	}
}
namespace Apofix.cards
{
	internal class Absorber : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			gun.reflects = -25;
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		protected override string GetTitle()
		{
			return "Absorber";
		}

		protected override string GetDescription()
		{
			return "Bullets don't bounce";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (Rarity)0;
		}

		protected override CardInfoStat[] GetStats()
		{
			//IL_0009: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0015: 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)
			//IL_002b: 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_0033: Expected O, but got Unknown
			return (CardInfoStat[])(object)new CardInfoStat[1]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Bounce",
					amount = "disabled",
					simepleAmount = (SimpleAmount)0
				}
			};
		}

		protected override CardThemeColorType GetTheme()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (CardThemeColorType)2;
		}

		public override string GetModName()
		{
			return "ApoFix";
		}
	}
	internal class Callibri : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			gun.projectileSize = -1f;
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		protected override string GetTitle()
		{
			return "Callibri";
		}

		protected override string GetDescription()
		{
			return "gives a one-time bullet reduction effect";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (Rarity)0;
		}

		protected override CardInfoStat[] GetStats()
		{
			//IL_0009: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0015: 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)
			//IL_002b: 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_0033: Expected O, but got Unknown
			return (CardInfoStat[])(object)new CardInfoStat[1]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Projectile size",
					amount = "-90%",
					simepleAmount = (SimpleAmount)0
				}
			};
		}

		protected override CardThemeColorType GetTheme()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (CardThemeColorType)2;
		}

		public override string GetModName()
		{
			return "ApoFix";
		}
	}
	internal class Hiruvim : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			Gun gun2 = gun;
			CharacterStatModifiers statModifiers2 = statModifiers;
			Block block2 = block;
			Dictionary<string, Action<float>> dictionary = new Dictionary<string, Action<float>>();
			dictionary.Add("damage", delegate(float val)
			{
				gun2.damage = val;
			});
			dictionary.Add("health", delegate(float val)
			{
				statModifiers2.health = val;
			});
			dictionary.Add("reload", delegate(float val)
			{
				gun2.reloadTime = val;
			});
			dictionary.Add("ammo", delegate(float val)
			{
				gun2.ammo = (int)val;
			});
			dictionary.Add("ammoregeneration", delegate(float val)
			{
				gun2.ammoReg = val;
			});
			dictionary.Add("projectiles", delegate(float val)
			{
				gun2.numberOfProjectiles = Mathf.Max(1, (int)val);
			});
			dictionary.Add("projectilesize", delegate(float val)
			{
				gun2.projectileSize = val;
			});
			dictionary.Add("bursts", delegate(float val)
			{
				gun2.bursts = (int)val;
			});
			dictionary.Add("timeBetweenBullets", delegate(float val)
			{
				gun2.timeBetweenBullets = val;
			});
			dictionary.Add("knockback", delegate(float val)
			{
				gun2.knockback = val;
			});
			dictionary.Add("attackSpeed", delegate(float val)
			{
				gun2.attackSpeed = val;
			});
			dictionary.Add("bounces", delegate(float val)
			{
				gun2.reflects = (int)val;
			});
			dictionary.Add("bulletSpeed", delegate(float val)
			{
				gun2.projectileSpeed = val;
			});
			dictionary.Add("blocksamount", delegate(float val)
			{
				block2.additionalBlocks = (int)val;
			});
			dictionary.Add("blockhealamount", delegate(float val)
			{
				block2.healing = (int)val;
			});
			dictionary.Add("blockcooldown", delegate(float val)
			{
				block2.cdMultiplier = val;
			});
			dictionary.Add("lifesteal", delegate(float val)
			{
				statModifiers2.lifeSteal = val;
			});
			dictionary.Add("respawns", delegate(float val)
			{
				statModifiers2.respawns = (int)val;
			});
			dictionary.Add("numberofjumps", delegate(float val)
			{
				statModifiers2.numberOfJumps = (int)val;
			});
			dictionary.Add("gravity", delegate(float val)
			{
				statModifiers2.gravity = val;
			});
			dictionary.Add("size", delegate(float val)
			{
				statModifiers2.sizeMultiplier = val;
			});
			dictionary.Add("movementspeed", delegate(float val)
			{
				statModifiers2.movementSpeed = val;
			});
			dictionary["size"](0.75f);
			dictionary["gravity"](0.5f);
			statModifiers2.regen = 75f;
			dictionary["health"](2f);
			dictionary["blockcooldown"](1.25f);
			statModifiers2.numberOfJumps = 3;
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		protected override string GetTitle()
		{
			return "Hiruvim";
		}

		protected override string GetDescription()
		{
			return "Little more blessing from 1th front";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (Rarity)0;
		}

		protected override CardInfoStat[] GetStats()
		{
			//IL_0009: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0015: 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)
			//IL_002b: 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_0033: Expected O, but got Unknown
			//IL_0035: Unknown result type (might be due to invalid IL or missing references)
			//IL_003a: 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_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			//IL_005f: Expected O, but got Unknown
			return (CardInfoStat[])(object)new CardInfoStat[2]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Health",
					amount = "+100%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Vitality",
					amount = "+75",
					simepleAmount = (SimpleAmount)0
				}
			};
		}

		protected override CardThemeColorType GetTheme()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (CardThemeColorType)2;
		}

		public override string GetModName()
		{
			return "ApoFix";
		}
	}
	internal class Prestol : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			Gun gun2 = gun;
			CharacterStatModifiers statModifiers2 = statModifiers;
			Block block2 = block;
			Dictionary<string, Action<float>> dictionary = new Dictionary<string, Action<float>>();
			dictionary.Add("damage", delegate(float val)
			{
				gun2.damage = val;
			});
			dictionary.Add("health", delegate(float val)
			{
				statModifiers2.health = val;
			});
			dictionary.Add("reload", delegate(float val)
			{
				gun2.reloadTime = val;
			});
			dictionary.Add("ammo", delegate(float val)
			{
				gun2.ammo = (int)val;
			});
			dictionary.Add("ammoregeneration", delegate(float val)
			{
				gun2.ammoReg = val;
			});
			dictionary.Add("projectiles", delegate(float val)
			{
				gun2.numberOfProjectiles = Mathf.Max(1, (int)val);
			});
			dictionary.Add("projectilesize", delegate(float val)
			{
				gun2.projectileSize = val;
			});
			dictionary.Add("bursts", delegate(float val)
			{
				gun2.bursts = (int)val;
			});
			dictionary.Add("timeBetweenBullets", delegate(float val)
			{
				gun2.timeBetweenBullets = val;
			});
			dictionary.Add("knockback", delegate(float val)
			{
				gun2.knockback = val;
			});
			dictionary.Add("attackSpeed", delegate(float val)
			{
				gun2.attackSpeed = val;
			});
			dictionary.Add("bounces", delegate(float val)
			{
				gun2.reflects = (int)val;
			});
			dictionary.Add("bulletSpeed", delegate(float val)
			{
				gun2.projectileSpeed = val;
			});
			dictionary.Add("blocksamount", delegate(float val)
			{
				block2.additionalBlocks = (int)val;
			});
			dictionary.Add("blockhealamount", delegate(float val)
			{
				block2.healing = (int)val;
			});
			dictionary.Add("blockcooldown", delegate(float val)
			{
				block2.cdMultiplier = val;
			});
			dictionary.Add("lifesteal", delegate(float val)
			{
				statModifiers2.lifeSteal = val;
			});
			dictionary.Add("respawns", delegate(float val)
			{
				statModifiers2.respawns = (int)val;
			});
			dictionary.Add("numberofjumps", delegate(float val)
			{
				statModifiers2.numberOfJumps = (int)val;
			});
			dictionary.Add("gravity", delegate(float val)
			{
				statModifiers2.gravity = val;
			});
			dictionary.Add("size", delegate(float val)
			{
				statModifiers2.sizeMultiplier = val;
			});
			dictionary.Add("movementspeed", delegate(float val)
			{
				statModifiers2.movementSpeed = val;
			});
			dictionary["size"](0.75f);
			dictionary["gravity"](0.25f);
			statModifiers2.regen = 100f;
			dictionary["health"](3f);
			dictionary["blockcooldown"](1.5f);
			statModifiers2.numberOfJumps = 1;
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		protected override string GetTitle()
		{
			return "Prestol";
		}

		protected override string GetDescription()
		{
			return "Little more blessing from 1th front";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (Rarity)0;
		}

		protected override CardInfoStat[] GetStats()
		{
			//IL_0009: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0015: 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)
			//IL_002b: 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_0033: Expected O, but got Unknown
			//IL_0035: Unknown result type (might be due to invalid IL or missing references)
			//IL_003a: 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_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			//IL_005f: Expected O, but got Unknown
			return (CardInfoStat[])(object)new CardInfoStat[2]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Health",
					amount = "+200%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Vitality",
					amount = "+100",
					simepleAmount = (SimpleAmount)0
				}
			};
		}

		protected override CardThemeColorType GetTheme()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (CardThemeColorType)2;
		}

		public override string GetModName()
		{
			return "ApoFix";
		}
	}
	internal class Seraphim : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			Gun gun2 = gun;
			CharacterStatModifiers statModifiers2 = statModifiers;
			Block block2 = block;
			Dictionary<string, Action<float>> dictionary = new Dictionary<string, Action<float>>();
			dictionary.Add("damage", delegate(float val)
			{
				gun2.damage = val;
			});
			dictionary.Add("health", delegate(float val)
			{
				statModifiers2.health = val;
			});
			dictionary.Add("reload", delegate(float val)
			{
				gun2.reloadTime = val;
			});
			dictionary.Add("ammo", delegate(float val)
			{
				gun2.ammo = (int)val;
			});
			dictionary.Add("ammoregeneration", delegate(float val)
			{
				gun2.ammoReg = val;
			});
			dictionary.Add("projectiles", delegate(float val)
			{
				gun2.numberOfProjectiles = Mathf.Max(1, (int)val);
			});
			dictionary.Add("projectilesize", delegate(float val)
			{
				gun2.projectileSize = val;
			});
			dictionary.Add("bursts", delegate(float val)
			{
				gun2.bursts = (int)val;
			});
			dictionary.Add("timeBetweenBullets", delegate(float val)
			{
				gun2.timeBetweenBullets = val;
			});
			dictionary.Add("knockback", delegate(float val)
			{
				gun2.knockback = val;
			});
			dictionary.Add("attackSpeed", delegate(float val)
			{
				gun2.attackSpeed = val;
			});
			dictionary.Add("bounces", delegate(float val)
			{
				gun2.reflects = (int)val;
			});
			dictionary.Add("bulletSpeed", delegate(float val)
			{
				gun2.projectileSpeed = val;
			});
			dictionary.Add("blocksamount", delegate(float val)
			{
				block2.additionalBlocks = (int)val;
			});
			dictionary.Add("blockhealamount", delegate(float val)
			{
				block2.healing = (int)val;
			});
			dictionary.Add("blockcooldown", delegate(float val)
			{
				block2.cdMultiplier = val;
			});
			dictionary.Add("lifesteal", delegate(float val)
			{
				statModifiers2.lifeSteal = val;
			});
			dictionary.Add("respawns", delegate(float val)
			{
				statModifiers2.respawns = (int)val;
			});
			dictionary.Add("numberofjumps", delegate(float val)
			{
				statModifiers2.numberOfJumps = (int)val;
			});
			dictionary.Add("gravity", delegate(float val)
			{
				statModifiers2.gravity = val;
			});
			dictionary.Add("size", delegate(float val)
			{
				statModifiers2.sizeMultiplier = val;
			});
			dictionary.Add("movementspeed", delegate(float val)
			{
				statModifiers2.movementSpeed = val;
			});
			dictionary["size"](0.75f);
			dictionary["gravity"](0.75f);
			statModifiers2.regen = 50f;
			dictionary["health"](1.5f);
			dictionary["blockcooldown"](1.25f);
			statModifiers2.numberOfJumps = 2;
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		protected override string GetTitle()
		{
			return "Seraphine";
		}

		protected override string GetDescription()
		{
			return "Little more blessing from 1th front";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (Rarity)0;
		}

		protected override CardInfoStat[] GetStats()
		{
			//IL_0009: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0015: 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)
			//IL_002b: 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_0033: Expected O, but got Unknown
			//IL_0035: Unknown result type (might be due to invalid IL or missing references)
			//IL_003a: 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_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			//IL_005f: Expected O, but got Unknown
			return (CardInfoStat[])(object)new CardInfoStat[2]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Health",
					amount = "+50%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Vitality",
					amount = "+50",
					simepleAmount = (SimpleAmount)0
				}
			};
		}

		protected override CardThemeColorType GetTheme()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (CardThemeColorType)2;
		}

		public override string GetModName()
		{
			return "ApoFix";
		}
	}
	internal class Slim : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			Gun gun2 = gun;
			CharacterStatModifiers statModifiers2 = statModifiers;
			Block block2 = block;
			Dictionary<string, Action<float>> dictionary = new Dictionary<string, Action<float>>();
			dictionary.Add("damage", delegate(float val)
			{
				gun2.damage = val;
			});
			dictionary.Add("health", delegate(float val)
			{
				statModifiers2.health = val;
			});
			dictionary.Add("reload", delegate(float val)
			{
				gun2.reloadTime = val;
			});
			dictionary.Add("ammo", delegate(float val)
			{
				gun2.ammo = (int)val;
			});
			dictionary.Add("ammoregeneration", delegate(float val)
			{
				gun2.ammoReg = val;
			});
			dictionary.Add("projectiles", delegate(float val)
			{
				gun2.numberOfProjectiles = Mathf.Max(1, (int)val);
			});
			dictionary.Add("projectilesize", delegate(float val)
			{
				gun2.projectileSize = val;
			});
			dictionary.Add("bursts", delegate(float val)
			{
				gun2.bursts = (int)val;
			});
			dictionary.Add("timeBetweenBullets", delegate(float val)
			{
				gun2.timeBetweenBullets = val;
			});
			dictionary.Add("knockback", delegate(float val)
			{
				gun2.knockback = val;
			});
			dictionary.Add("attackSpeed", delegate(float val)
			{
				gun2.attackSpeed = val;
			});
			dictionary.Add("bounces", delegate(float val)
			{
				gun2.reflects = (int)val;
			});
			dictionary.Add("bulletSpeed", delegate(float val)
			{
				gun2.projectileSpeed = val;
			});
			dictionary.Add("blocksamount", delegate(float val)
			{
				block2.additionalBlocks = (int)val;
			});
			dictionary.Add("blockhealamount", delegate(float val)
			{
				block2.healing = (int)val;
			});
			dictionary.Add("blockcooldown", delegate(float val)
			{
				block2.cdMultiplier = val;
			});
			dictionary.Add("lifesteal", delegate(float val)
			{
				statModifiers2.lifeSteal = val;
			});
			dictionary.Add("respawns", delegate(float val)
			{
				statModifiers2.respawns = (int)val;
			});
			dictionary.Add("numberofjumps", delegate(float val)
			{
				statModifiers2.numberOfJumps = (int)val;
			});
			dictionary.Add("gravity", delegate(float val)
			{
				statModifiers2.gravity = val;
			});
			dictionary.Add("size", delegate(float val)
			{
				statModifiers2.sizeMultiplier = val;
			});
			dictionary.Add("movementspeed", delegate(float val)
			{
				statModifiers2.movementSpeed = val;
			});
			dictionary["size"](0.75f);
			dictionary["blockcooldown"](1.25f);
			dictionary["health"](1.5f);
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		protected override string GetTitle()
		{
			return "Slim";
		}

		protected override string GetDescription()
		{
			return "Become slim";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (Rarity)0;
		}

		protected override CardInfoStat[] GetStats()
		{
			//IL_0009: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0015: 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)
			//IL_002b: 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_0033: Expected O, but got Unknown
			//IL_0035: Unknown result type (might be due to invalid IL or missing references)
			//IL_003a: 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_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			//IL_005f: Expected O, but got Unknown
			return (CardInfoStat[])(object)new CardInfoStat[2]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Size",
					amount = "-25%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = false,
					stat = "Block cooldown",
					amount = "+25%",
					simepleAmount = (SimpleAmount)0
				}
			};
		}

		protected override CardThemeColorType GetTheme()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (CardThemeColorType)2;
		}

		public override string GetModName()
		{
			return "ApoFix";
		}
	}
	internal class Template : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		protected override string GetTitle()
		{
			return "CardName";
		}

		protected override string GetDescription()
		{
			return "CardDescription";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (Rarity)0;
		}

		protected override CardInfoStat[] GetStats()
		{
			//IL_0009: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0015: 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)
			//IL_002b: 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_0033: Expected O, but got Unknown
			return (CardInfoStat[])(object)new CardInfoStat[1]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Effect",
					amount = "No",
					simepleAmount = (SimpleAmount)0
				}
			};
		}

		protected override CardThemeColorType GetTheme()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (CardThemeColorType)7;
		}

		public override string GetModName()
		{
			return "ApoFix";
		}
	}
	internal class Tiny : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			Gun gun2 = gun;
			CharacterStatModifiers statModifiers2 = statModifiers;
			Block block2 = block;
			Dictionary<string, Action<float>> dictionary = new Dictionary<string, Action<float>>();
			dictionary.Add("damage", delegate(float val)
			{
				gun2.damage = val;
			});
			dictionary.Add("health", delegate(float val)
			{
				statModifiers2.health = val;
			});
			dictionary.Add("reload", delegate(float val)
			{
				gun2.reloadTime = val;
			});
			dictionary.Add("ammo", delegate(float val)
			{
				gun2.ammo = (int)val;
			});
			dictionary.Add("ammoregeneration", delegate(float val)
			{
				gun2.ammoReg = val;
			});
			dictionary.Add("projectiles", delegate(float val)
			{
				gun2.numberOfProjectiles = Mathf.Max(1, (int)val);
			});
			dictionary.Add("projectilesize", delegate(float val)
			{
				gun2.projectileSize = val;
			});
			dictionary.Add("bursts", delegate(float val)
			{
				gun2.bursts = (int)val;
			});
			dictionary.Add("timeBetweenBullets", delegate(float val)
			{
				gun2.timeBetweenBullets = val;
			});
			dictionary.Add("knockback", delegate(float val)
			{
				gun2.knockback = val;
			});
			dictionary.Add("attackSpeed", delegate(float val)
			{
				gun2.attackSpeed = val;
			});
			dictionary.Add("bounces", delegate(float val)
			{
				gun2.reflects = (int)val;
			});
			dictionary.Add("bulletSpeed", delegate(float val)
			{
				gun2.projectileSpeed = val;
			});
			dictionary.Add("blocksamount", delegate(float val)
			{
				block2.additionalBlocks = (int)val;
			});
			dictionary.Add("blockhealamount", delegate(float val)
			{
				block2.healing = (int)val;
			});
			dictionary.Add("blockcooldown", delegate(float val)
			{
				block2.cdMultiplier = val;
			});
			dictionary.Add("lifesteal", delegate(float val)
			{
				statModifiers2.lifeSteal = val;
			});
			dictionary.Add("respawns", delegate(float val)
			{
				statModifiers2.respawns = (int)val;
			});
			dictionary.Add("numberofjumps", delegate(float val)
			{
				statModifiers2.numberOfJumps = (int)val;
			});
			dictionary.Add("gravity", delegate(float val)
			{
				statModifiers2.gravity = val;
			});
			dictionary.Add("size", delegate(float val)
			{
				statModifiers2.sizeMultiplier = val;
			});
			dictionary.Add("movementspeed", delegate(float val)
			{
				statModifiers2.movementSpeed = val;
			});
			dictionary["size"](0.5f);
			dictionary["blockcooldown"](1.25f);
			dictionary["health"](2f);
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}

		protected override string GetTitle()
		{
			return "Tiny";
		}

		protected override string GetDescription()
		{
			return "Become tiny";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (Rarity)0;
		}

		protected override CardInfoStat[] GetStats()
		{
			//IL_0009: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0015: 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)
			//IL_002b: 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_0033: Expected O, but got Unknown
			//IL_0035: Unknown result type (might be due to invalid IL or missing references)
			//IL_003a: 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_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			//IL_005f: Expected O, but got Unknown
			return (CardInfoStat[])(object)new CardInfoStat[2]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Size",
					amount = "-50%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = false,
					stat = "Block cooldown",
					amount = "+25%",
					simepleAmount = (SimpleAmount)0
				}
			};
		}

		protected override CardThemeColorType GetTheme()
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0005: Unknown result type (might be due to invalid IL or missing references)
			return (CardThemeColorType)2;
		}

		public override string GetModName()
		{
			return "ApoFix";
		}
	}
}