JamesLevelThreat.dll

Decompiled 3 weeks ago
using System;
using System.Collections;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;
using JamesLevelThreat.Cards;
using Microsoft.CodeAnalysis;
using ModsPlus;
using RarityLib.Utils;
using Sonigon;
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("JamesLevelThreat")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+8311746f52f60ab429e1f531171bb9746b6665d2")]
[assembly: AssemblyProduct("JamesLevelThreat")]
[assembly: AssemblyTitle("JamesLevelThreat")]
[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;
		}
	}
}
public class ExampleCard : SimpleCard
{
	public override CardDetails Details
	{
		get
		{
			//IL_0000: Unknown result type (might be due to invalid IL or missing references)
			//IL_0006: Expected O, but got Unknown
			//IL_004b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0050: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0062: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_006f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0075: Expected O, but got Unknown
			CardDetails val = new CardDetails();
			val.Title = "Example Card";
			val.Description = "Your first effect card";
			val.ModName = "JLT";
			val.Art = null;
			val.Rarity = (Rarity)0;
			val.Theme = (CardThemeColorType)3;
			val.Stats = (CardInfoStat[])(object)new CardInfoStat[1]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Effect",
					amount = "No",
					simepleAmount = (SimpleAmount)0
				}
			};
			return val;
		}
	}

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
	}

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

	protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
	}
}
public class Femboy : SimpleCard
{
	public override CardDetails Details
	{
		get
		{
			//IL_0000: Unknown result type (might be due to invalid IL or missing references)
			//IL_0006: Expected O, but got Unknown
			//IL_0038: Unknown result type (might be due to invalid IL or missing references)
			//IL_0054: 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_0060: Unknown result type (might be due to invalid IL or missing references)
			//IL_006b: 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_0078: Unknown result type (might be due to invalid IL or missing references)
			//IL_007e: Expected O, but got Unknown
			//IL_0080: 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_008c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0097: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00aa: Expected O, but got Unknown
			//IL_00ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b1: 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)
			//IL_00c3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d6: Expected O, but got Unknown
			CardDetails val = new CardDetails();
			val.Title = "Femboy";
			val.Description = "tee hee :3";
			val.ModName = "JLT";
			val.Art = null;
			val.Rarity = RarityUtils.GetRarity("femboy");
			val.Theme = (CardThemeColorType)8;
			val.Stats = (CardInfoStat[])(object)new CardInfoStat[3]
			{
				new CardInfoStat
				{
					positive = false,
					stat = "health",
					amount = "-20%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "damage",
					amount = "+100%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "attack speed",
					amount = "half",
					simepleAmount = (SimpleAmount)0
				}
			};
			return val;
		}
	}

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
		statModifiers.health = 0.8f;
		gun.damage = 2f;
		gun.attackSpeedMultiplier = 0.5f;
		statModifiers.sizeMultiplier = 1.2f;
	}

	protected override void Added(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
		//IL_0002: Unknown result type (might be due to invalid IL or missing references)
		//IL_0007: Unknown result type (might be due to invalid IL or missing references)
		gun.projectileColor = Color.magenta;
	}

	protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
	}
}
public class FreeDog2025 : SimpleCard
{
	public override CardDetails Details
	{
		get
		{
			//IL_0000: Unknown result type (might be due to invalid IL or missing references)
			//IL_0006: Expected O, but got Unknown
			//IL_004b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0050: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0062: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_006f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0075: Expected O, but got Unknown
			//IL_0077: Unknown result type (might be due to invalid IL or missing references)
			//IL_007c: 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_008e: 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_009b: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a1: Expected O, but got Unknown
			CardDetails val = new CardDetails();
			val.Title = "Free Dog 2025";
			val.Description = "Turns your bullet into a free dog";
			val.ModName = "JLT";
			val.Art = null;
			val.Rarity = (Rarity)1;
			val.Theme = (CardThemeColorType)1;
			val.Stats = (CardInfoStat[])(object)new CardInfoStat[2]
			{
				new CardInfoStat
				{
					positive = false,
					stat = "attack speed",
					amount = "-80%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = false,
					stat = "projectile speed",
					amount = "-75%",
					simepleAmount = (SimpleAmount)0
				}
			};
			return val;
		}
	}

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
		gun.attackSpeed = 5f;
		gun.projectileSpeed = 0.25f;
		gun.gravity = 0f;
		gun.damage = 2f;
		ObjectsToSpawn val = Resources.Load<GameObject>("0 cards/Timed Detonation").GetComponent<Gun>().objectsToSpawn[0];
		ObjectsToSpawn val2 = Resources.Load<GameObject>("0 cards/Homing").GetComponent<Gun>().objectsToSpawn[0];
		gun.objectsToSpawn = (ObjectsToSpawn[])(object)new ObjectsToSpawn[2] { val, val2 };
	}

	protected override void Added(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
		gunAmmo.maxAmmo = 1;
	}

	protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
	}
}
public class Gambler : SimpleCard
{
	public override CardDetails Details
	{
		get
		{
			//IL_0000: Unknown result type (might be due to invalid IL or missing references)
			//IL_0006: Expected O, but got Unknown
			//IL_004b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0050: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0062: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_006f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0075: Expected O, but got Unknown
			//IL_0077: Unknown result type (might be due to invalid IL or missing references)
			//IL_007c: 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_008e: 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_009b: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a1: Expected O, but got Unknown
			CardDetails val = new CardDetails();
			val.Title = "Gambler";
			val.Description = "50/50 shot to get either";
			val.ModName = "JLT";
			val.Art = null;
			val.Rarity = (Rarity)1;
			val.Theme = (CardThemeColorType)1;
			val.Stats = (CardInfoStat[])(object)new CardInfoStat[2]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "block",
					amount = "+1",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = false,
					stat = "max hp",
					amount = "0.5x",
					simepleAmount = (SimpleAmount)0
				}
			};
			return val;
		}
	}

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
	}

	protected override void Added(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
		Random random = new Random();
		switch (random.Next(1, 3))
		{
		case 1:
			block.additionalBlocks++;
			break;
		case 2:
			data.maxHealth *= 0.5f;
			break;
		}
	}

	protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
	}
}
public class HeavenlyRestriction : SimpleCard
{
	public override CardDetails Details => new CardDetails
	{
		Title = "Heavenly Restriction",
		Description = "a binding vow limits your cursed energy, granting you physical prowess",
		ModName = "JLT",
		Art = null,
		Rarity = RarityUtils.GetRarity("BindingVow"),
		Theme = (CardThemeColorType)7
	};

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
		cardInfo.allowMultiple = false;
		block.cdMultiplier = 1.2f;
		statModifiers.movementSpeed = 2.5f;
		statModifiers.health = 2f;
		statModifiers.numberOfJumps = 2;
		statModifiers.attackSpeedMultiplier = 0.5f;
		statModifiers.regen = 5f;
		statModifiers.tasteOfBloodSpeed = 2f;
		statModifiers.sizeMultiplier = 1f;
		block.healing = 10f;
		block.autoBlock = true;
		gun.damage = 0.7f;
	}

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

	protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
	}
}
public class HighRoller : SimpleCard
{
	public override CardDetails Details
	{
		get
		{
			//IL_0000: Unknown result type (might be due to invalid IL or missing references)
			//IL_0006: Expected O, but got Unknown
			//IL_004b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0050: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0062: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_006f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0075: Expected O, but got Unknown
			CardDetails val = new CardDetails();
			val.Title = "High Roller";
			val.Description = "randomizes ur damage; could be extremely good or extremely bad";
			val.ModName = "JLT";
			val.Art = null;
			val.Rarity = (Rarity)1;
			val.Theme = (CardThemeColorType)1;
			val.Stats = (CardInfoStat[])(object)new CardInfoStat[1]
			{
				new CardInfoStat
				{
					positive = false,
					stat = "bullet damage",
					amount = "random",
					simepleAmount = (SimpleAmount)0
				}
			};
			return val;
		}
	}

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
		Random random = new Random();
		double num = random.NextDouble() * 3.0;
		gun.damage = (float)num;
	}

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

	protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
	}
}
public class JumpyJoker : SimpleCard
{
	public override CardDetails Details
	{
		get
		{
			//IL_0000: Unknown result type (might be due to invalid IL or missing references)
			//IL_0006: Expected O, but got Unknown
			//IL_004b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0050: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Unknown result type (might be due to invalid IL or missing references)
			//IL_0062: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_006f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0075: Expected O, but got Unknown
			//IL_0077: Unknown result type (might be due to invalid IL or missing references)
			//IL_007c: 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_008e: 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_009b: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a1: Expected O, but got Unknown
			//IL_00a3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00af: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Expected O, but got Unknown
			CardDetails val = new CardDetails();
			val.Title = "Jumpy Joker";
			val.Description = "If you do not have a double jump then you get touched";
			val.ModName = "JLT";
			val.Art = null;
			val.Rarity = (Rarity)2;
			val.Theme = (CardThemeColorType)4;
			val.Stats = (CardInfoStat[])(object)new CardInfoStat[3]
			{
				new CardInfoStat
				{
					positive = false,
					stat = "touch level",
					amount = "100000",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = false,
					stat = "max health if you don't have a double jump",
					amount = "x0.1",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "max health if you have a double jump",
					amount = "x2",
					simepleAmount = (SimpleAmount)0
				}
			};
			return val;
		}
	}

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
	}

	protected override void Added(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
		if (data.jumps == 1)
		{
			data.maxHealth *= 0.1f;
		}
		else
		{
			data.maxHealth *= 2f;
		}
	}

	protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
	{
	}
}
public class TestPoisonCard : CustomEffectCard<TestPoison>
{
	public override CardDetails<TestPoison> Details => new CardDetails<TestPoison>
	{
		Title = "TestPoison",
		Description = "i love testing",
		Rarity = (Rarity)1,
		Theme = (CardThemeColorType)5
	};
}
public class TestPoison : CardEffect
{
	public override void OnBlock(BlockTriggerType trigger)
	{
	}

	public override void OnShoot(GameObject projectile)
	{
		projectile.AddComponent<ISPOHPoison>();
	}
}
public class ISPOHPoison : RayHitEffect
{
	[Header("Sounds")]
	public SoundEvent soundEventDamageOverTime;

	[Header("Settings")]
	public float time = 0.01f;

	public float interval = 0.01f;

	public Color color = Color.white;

	private void Start()
	{
		((Component)this).GetComponentInParent<ProjectileHit>().bulletCanDealDeamage = false;
	}

	public override HasToReturn DoHitEffect(HitInfo hit)
	{
		//IL_0015: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_005a: Unknown result type (might be due to invalid IL or missing references)
		//IL_005f: Unknown result type (might be due to invalid IL or missing references)
		//IL_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_0078: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Unknown result type (might be due to invalid IL or missing references)
		//IL_008f: Unknown result type (might be due to invalid IL or missing references)
		//IL_00bd: Unknown result type (might be due to invalid IL or missing references)
		if (!Object.op_Implicit((Object)(object)hit.transform))
		{
			return (HasToReturn)1;
		}
		ISPOHPoison[] componentsInChildren = ((Component)((Component)this).transform.root).GetComponentsInChildren<ISPOHPoison>();
		ProjectileHit componentInParent = ((Component)this).GetComponentInParent<ProjectileHit>();
		DamageOverTime component = ((Component)hit.transform).GetComponent<DamageOverTime>();
		if (Object.op_Implicit((Object)(object)component))
		{
			component.TakeDamageOverTime(Vector2.op_Implicit(componentInParent.damage * ((Component)this).transform.forward / (float)componentsInChildren.Length), Vector2.op_Implicit(((Component)this).transform.position), time, interval, color, soundEventDamageOverTime, ((Component)this).GetComponentInParent<ProjectileHit>().ownWeapon, ((Component)this).GetComponentInParent<ProjectileHit>().ownPlayer, true);
		}
		return (HasToReturn)1;
	}
}
namespace JamesLevelThreat
{
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInPlugin("com.zachbulb.JamesLevelThreat", "JamesLevelThreat", "1.3.0")]
	[BepInProcess("Rounds.exe")]
	public class JamesLevelThreat : BaseUnityPlugin
	{
		private const string ModId = "com.zachbulb.JamesLevelThreat";

		private const string ModName = "JamesLevelThreat";

		public const string Version = "1.3.0";

		public const string ModInitials = "JLT";

		public static JamesLevelThreat 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
			//IL_002c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0040: Unknown result type (might be due to invalid IL or missing references)
			//IL_0064: Unknown result type (might be due to invalid IL or missing references)
			//IL_0078: Unknown result type (might be due to invalid IL or missing references)
			//IL_009c: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e8: Unknown result type (might be due to invalid IL or missing references)
			Harmony val = new Harmony("com.zachbulb.JamesLevelThreat");
			val.PatchAll();
			RarityUtils.AddRarity("BindingVow", 0.25f, new Color(0.443f, 0f, 0.651f), new Color(0.267f, 0f, 0.388f));
			RarityUtils.AddRarity("Honored", 0.05f, new Color(1f, 0.847f, 0.514f), new Color(0.75f, 0.597f, 0.264f));
			RarityUtils.AddRarity("James", 0.01f, new Color(0f, 1f, 0.957f), new Color(0f, 0.729f, 0.694f));
			RarityUtils.AddRarity("femboy", 0.05f, new Color(0.984f, 0.694f, 1f), new Color(0.718f, 0.502f, 0.729f));
		}

		private void Start()
		{
			instance = this;
			CustomCard.BuildCard<HollowPurple>();
			CustomCard.BuildCard<Infinity>();
			CustomCard.BuildCard<ISPOH>();
			CustomCard.BuildCard<HivelordsHubris>();
			CustomCard.BuildCard<DomainExpansion>();
			CustomCard.BuildCard<SyphilisPrime>();
			CustomCard.BuildCard<FreeDog2025>();
			CustomCard.BuildCard<HeavenlyRestriction>();
			CustomCard.BuildCard<Femboy>();
			CustomCard.BuildCard<JumpyJoker>();
			CustomCard.BuildCard<Gambler>();
			CustomCard.BuildCard<HighRoller>();
			CustomCard.BuildCard<CursedBlood>();
			CustomCard.BuildCard<ATOMICBOMB>();
		}
	}
}
namespace JamesLevelThreat.Cards
{
	public class ATOMICBOMB : CustomEffectCard<DestructionEffect>
	{
		public override CardDetails<DestructionEffect> Details => new CardDetails<DestructionEffect>
		{
			Title = "ATOMIC BOMB",
			Description = "Your imminent demise.",
			ModName = "JLT",
			Rarity = RarityUtils.GetRarity("Honored"),
			Theme = (CardThemeColorType)0
		};

		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			GameObject val = Resources.Load<GameObject>("0 cards/Supernova");
			if ((Object)(object)val == (Object)null)
			{
				Debug.LogError("ATOMICBOMB: Supernova card prefab not found!");
				return;
			}
			CharacterStatModifiers component = val.GetComponent<CharacterStatModifiers>();
			GameObject addObjectToPlayer = component.AddObjectToPlayer;
			SpawnObjects val2 = ((addObjectToPlayer != null) ? addObjectToPlayer.GetComponent<SpawnObjects>() : null);
			object obj;
			if (val2 == null)
			{
				obj = null;
			}
			else
			{
				GameObject[] objectToSpawn = val2.objectToSpawn;
				obj = ((objectToSpawn != null) ? objectToSpawn[0] : null);
			}
			GameObject val3 = (GameObject)obj;
			if ((Object)(object)val3 == (Object)null)
			{
				Debug.LogError("ATOMICBOMB: Could not extract supernova effect prefab.");
				return;
			}
			DestructionEffect.effectPrefab = val3;
			block.cdAdd += 30f;
		}
	}
	public class DestructionEffect : CardEffect
	{
		public static GameObject? effectPrefab;

		public override void OnBlock(BlockTriggerType trigger)
		{
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			//IL_0025: 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_002c: Unknown result type (might be due to invalid IL or missing references)
			//IL_005b: Unknown result type (might be due to invalid IL or missing references)
			if ((Object)(object)effectPrefab == (Object)null)
			{
				return;
			}
			Vector3 position = ((Component)((CardEffect)this).player).transform.position;
			GameObject val = Object.Instantiate<GameObject>(effectPrefab, position, Quaternion.identity);
			if (!((Object)(object)val != (Object)null))
			{
				return;
			}
			val.transform.localScale = new Vector3(6f, 6f, 6f);
			val.SetActive(true);
			Explosion component = val.GetComponent<Explosion>();
			FollowPlayer component2 = val.GetComponent<FollowPlayer>();
			if ((Object)(object)component2 != (Object)null)
			{
				((Behaviour)component2).enabled = false;
			}
			if ((Object)(object)component != (Object)null)
			{
				component.ignoreTeam = false;
				component.range = 6f;
				component.force = 20f;
				component.damage = 2.5f;
				component.auto = false;
				SpawnedAttack val2 = val.GetComponent<SpawnedAttack>();
				if ((Object)(object)val2 == (Object)null)
				{
					val2 = val.AddComponent<SpawnedAttack>();
				}
				val2.spawner = ((CardEffect)this).player;
			}
		}
	}
	public class CursedBlood : CustomEffectCard<BloodEffect>
	{
		public override CardDetails<BloodEffect> Details
		{
			get
			{
				//IL_0043: Unknown result type (might be due to invalid IL or missing references)
				//IL_0048: Unknown result type (might be due to invalid IL or missing references)
				//IL_004f: Unknown result type (might be due to invalid IL or missing references)
				//IL_005a: Unknown result type (might be due to invalid IL or missing references)
				//IL_0065: Unknown result type (might be due to invalid IL or missing references)
				//IL_0067: Unknown result type (might be due to invalid IL or missing references)
				//IL_006d: Expected O, but got Unknown
				//IL_006f: 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)
				//IL_007b: 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)
				//IL_0091: 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_0099: Expected O, but got Unknown
				CardDetails<BloodEffect> val = new CardDetails<BloodEffect>();
				val.Title = "Cursed Blood";
				val.Description = "Your bullets are powered by your life. Take damage every time you shoot.";
				val.ModName = "JLT";
				val.Rarity = (Rarity)2;
				val.Theme = (CardThemeColorType)0;
				val.Stats = (CardInfoStat[])(object)new CardInfoStat[2]
				{
					new CardInfoStat
					{
						positive = true,
						stat = "bullet power",
						amount = "more",
						simepleAmount = (SimpleAmount)2
					},
					new CardInfoStat
					{
						positive = false,
						stat = "blood loss",
						amount = "each shot",
						simepleAmount = (SimpleAmount)2
					}
				};
				return val;
			}
		}

		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			cardInfo.allowMultiple = false;
			gun.damage *= 2f;
		}

		protected override void Added(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0007: Unknown result type (might be due to invalid IL or missing references)
			gun.projectileColor = Color.red;
		}

		protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}
	}
	public class BloodEffect : CardEffect
	{
		public override void OnShoot(GameObject projectile)
		{
			//IL_0058: Unknown result type (might be due to invalid IL or missing references)
			//IL_005e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0063: Unknown result type (might be due to invalid IL or missing references)
			//IL_0065: Unknown result type (might be due to invalid IL or missing references)
			//IL_006a: Unknown result type (might be due to invalid IL or missing references)
			//IL_006c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0071: 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)
			//IL_0076: 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)
			HealthHandler component = ((Component)((CardEffect)this).player).GetComponent<HealthHandler>();
			if (!((Object)(object)component == (Object)null))
			{
				Gun val = ((Component)((CardEffect)this).player).GetComponent<WeaponHandler>()?.gun;
				if (!((Object)(object)val == (Object)null))
				{
					float damage = val.damage;
					float num = damage * 0.5f + 5f;
					Vector2 val2 = Vector2.down * num;
					Vector2 down = Vector2.down;
					Color red = Color.red;
					((Damagable)component).TakeDamage(val2, down, red, projectile, ((CardEffect)this).player, true, true);
				}
			}
		}
	}
	public class DomainExpansion : CustomEffectCard<DomainEffect>
	{
		public override CardDetails<DomainEffect> Details
		{
			get
			{
				//IL_0030: 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_0051: Unknown result type (might be due to invalid IL or missing references)
				//IL_0058: Unknown result type (might be due to invalid IL or missing references)
				//IL_0063: Unknown result type (might be due to invalid IL or missing references)
				//IL_006e: 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)
				//IL_0076: Expected O, but got Unknown
				CardDetails<DomainEffect> val = new CardDetails<DomainEffect>();
				val.Title = "Domain Expansion";
				val.Description = "On block, open your domain.";
				val.ModName = "JLT";
				val.Rarity = RarityUtils.GetRarity("Honored");
				val.Theme = (CardThemeColorType)4;
				val.Stats = (CardInfoStat[])(object)new CardInfoStat[1]
				{
					new CardInfoStat
					{
						positive = true,
						stat = "block cd",
						amount = "+30s",
						simepleAmount = (SimpleAmount)0
					}
				};
				return val;
			}
		}

		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			block.cdAdd += 30f;
			cardInfo.allowMultiple = false;
			if (!((Object)(object)DomainEffect.effectPrefab != (Object)null))
			{
				GameObject val = Resources.Load<GameObject>("0 cards/Static Field");
				CharacterStatModifiers component = val.GetComponent<CharacterStatModifiers>();
				SpawnObjects component2 = component.AddObjectToPlayer.GetComponent<SpawnObjects>();
				object obj;
				if (component2 == null)
				{
					obj = null;
				}
				else
				{
					GameObject[] objectToSpawn = component2.objectToSpawn;
					obj = ((objectToSpawn != null) ? objectToSpawn[0] : null);
				}
				GameObject val2 = (GameObject)obj;
				if ((Object)(object)val2 == (Object)null)
				{
					Debug.LogError("Could not find effect prefab in Static Field.");
				}
				else
				{
					DomainEffect.effectPrefab = val2;
				}
			}
		}

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

		protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}
	}
	public class DomainEffect : CardEffect
	{
		public static GameObject? effectPrefab;

		public override void OnBlock(BlockTriggerType trigger)
		{
			((MonoBehaviour)((CardEffect)this).player).StartCoroutine(SpawnAfterDelay());
		}

		private IEnumerator SpawnAfterDelay()
		{
			yield return (object)new WaitForSeconds(1f);
			if ((Object)(object)effectPrefab == (Object)null)
			{
				Debug.LogWarning("DomainEffect: effectPrefab is null.");
				yield break;
			}
			GameObject clone = Object.Instantiate<GameObject>(effectPrefab, ((Component)((CardEffect)this).player).transform.position, Quaternion.identity);
			clone.transform.localScale = new Vector3(3f, 3f, 3f);
			clone.SetActive(true);
			Explosion explosion = clone.GetComponent<Explosion>();
			if ((Object)(object)explosion != (Object)null)
			{
				explosion.damage = 0.5f;
			}
			RemoveAfterSeconds remover = clone.GetComponent<RemoveAfterSeconds>();
			if ((Object)(object)remover != (Object)null)
			{
				remover.seconds = 10f;
			}
		}

		public override void OnShoot(GameObject projectile)
		{
		}
	}
	public class DelayedSpawn : MonoBehaviour
	{
		public GameObject? objectToSpawn;

		public float delay = 1f;

		public Vector3 spawnPosition;

		public Quaternion spawnRotation = Quaternion.identity;

		private void Start()
		{
			((MonoBehaviour)this).StartCoroutine(SpawnAfterDelay());
		}

		private IEnumerator SpawnAfterDelay()
		{
			yield return (object)new WaitForSeconds(delay);
			if ((Object)(object)objectToSpawn != (Object)null)
			{
				Object.Instantiate<GameObject>(objectToSpawn, spawnPosition, spawnRotation);
			}
			Object.Destroy((Object)(object)((Component)this).gameObject);
		}
	}
	public class EffectTemplate : CustomEffectCard<ExampleEffect>
	{
		public override CardDetails<ExampleEffect> Details
		{
			get
			{
				//IL_0043: Unknown result type (might be due to invalid IL or missing references)
				//IL_0048: Unknown result type (might be due to invalid IL or missing references)
				//IL_004f: Unknown result type (might be due to invalid IL or missing references)
				//IL_005a: Unknown result type (might be due to invalid IL or missing references)
				//IL_0065: Unknown result type (might be due to invalid IL or missing references)
				//IL_0067: Unknown result type (might be due to invalid IL or missing references)
				//IL_006d: Expected O, but got Unknown
				CardDetails<ExampleEffect> val = new CardDetails<ExampleEffect>();
				val.Title = "CardName";
				val.Description = "CardDescription";
				val.ModName = "JLT";
				val.Rarity = (Rarity)2;
				val.Theme = (CardThemeColorType)8;
				val.Stats = (CardInfoStat[])(object)new CardInfoStat[1]
				{
					new CardInfoStat
					{
						positive = true,
						stat = "",
						amount = "",
						simepleAmount = (SimpleAmount)0
					}
				};
				return val;
			}
		}

		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
		}

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

		protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}
	}
	public class ExampleEffect : CardEffect
	{
		public override void OnBlock(BlockTriggerType trigger)
		{
		}

		public override void OnShoot(GameObject projectile)
		{
		}
	}
	internal class HivelordsHubris : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			gun.damage = 10f;
			gun.numberOfProjectiles += 10;
			gun.timeBetweenBullets = 0f;
			gun.destroyBulletAfter = 0.05f;
			gun.attackSpeed = 4f;
		}

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

		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 "Hivelord's Hubris";
		}

		protected override string GetDescription()
		{
			return "super close range but high damage blast";
		}

		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)2;
		}

		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 = false,
					stat = "range",
					amount = "point blank",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "damage",
					amount = "a couple more",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "max ammo",
					amount = "+10",
					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)0;
		}

		public override string GetModName()
		{
			return "JLT";
		}
	}
	internal class HollowPurple : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			gun.damage = 100f;
			gun.recoil = 5f;
			cardInfo.allowMultiple = false;
			gun.attackSpeed = 10f;
		}

		public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0007: Unknown result type (might be due to invalid IL or missing references)
			gun.projectileColor = Color.magenta;
			gunAmmo.maxAmmo = 1;
		}

		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 "hollow purple";
		}

		protected override string GetDescription()
		{
			return "throughout heaven and earth, you alone are the honored one";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0006: Unknown result type (might be due to invalid IL or missing references)
			//IL_000b: 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)
			return RarityUtils.GetRarity("Honored");
		}

		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 = "damage",
					amount = "a lot",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = false,
					stat = "ammo",
					amount = "one",
					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)4;
		}

		public override string GetModName()
		{
			return "JLT";
		}
	}
	internal class Infinity : CustomCard
	{
		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			cardInfo.allowMultiple = false;
		}

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

		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 "infinity";
		}

		protected override string GetDescription()
		{
			return "damage will never catch up to you.";
		}

		protected override GameObject GetCardArt()
		{
			return null;
		}

		protected override Rarity GetRarity()
		{
			//IL_0006: Unknown result type (might be due to invalid IL or missing references)
			//IL_000b: 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)
			return RarityUtils.GetRarity("James");
		}

		protected override CardInfoStat[] GetStats()
		{
			return (CardInfoStat[])(object)new CardInfoStat[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)3;
		}

		public override string GetModName()
		{
			return "JLT";
		}
	}
	public class ISPOH : CustomEffectCard<TestPoison>
	{
		public override CardDetails<TestPoison> Details => new CardDetails<TestPoison>
		{
			Title = "Inverted Spear of Heaven",
			Description = "Nullfies any cursed technique (including walls)",
			ModName = "JLT",
			Rarity = RarityUtils.GetRarity("Honored"),
			Theme = (CardThemeColorType)8
		};

		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			cardInfo.allowMultiple = false;
			gun.ignoreWalls = true;
			gun.damage = 2f;
		}

		protected override void Added(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
			gun.unblockable = true;
		}

		protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}
	}
	public class TestPoison : CardEffect
	{
		public override void OnBlock(BlockTriggerType trigger)
		{
		}

		public override void OnShoot(GameObject projectile)
		{
			projectile.AddComponent<ISPOHPoison>();
		}
	}
	public class SyphilisPrime : CustomEffectCard<Syphilis>
	{
		public override CardDetails<Syphilis> Details
		{
			get
			{
				//IL_004b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0050: Unknown result type (might be due to invalid IL or missing references)
				//IL_0057: Unknown result type (might be due to invalid IL or missing references)
				//IL_0062: Unknown result type (might be due to invalid IL or missing references)
				//IL_006d: Unknown result type (might be due to invalid IL or missing references)
				//IL_006f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0075: Expected O, but got Unknown
				//IL_0077: Unknown result type (might be due to invalid IL or missing references)
				//IL_007c: 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_008e: 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_009b: Unknown result type (might be due to invalid IL or missing references)
				//IL_00a1: Expected O, but got Unknown
				CardDetails<Syphilis> val = new CardDetails<Syphilis>();
				val.Title = "syphilis prime";
				val.Description = "you obtain syphilis, and can spread it to others";
				val.ModName = "JLT";
				val.Art = null;
				val.Rarity = (Rarity)2;
				val.Theme = (CardThemeColorType)4;
				val.Stats = (CardInfoStat[])(object)new CardInfoStat[2]
				{
					new CardInfoStat
					{
						positive = false,
						stat = "max hp",
						amount = "-50%",
						simepleAmount = (SimpleAmount)0
					},
					new CardInfoStat
					{
						positive = false,
						stat = "",
						amount = "contagious",
						simepleAmount = (SimpleAmount)0
					}
				};
				return val;
			}
		}

		public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
		{
			cardInfo.allowMultiple = false;
			statModifiers.health = 0.5f;
			gun.slow = 5f;
		}

		protected override void Added(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
			ObjectsToSpawn val = Resources.Load<GameObject>("0 cards/Toxic Cloud").GetComponent<Gun>().objectsToSpawn[0];
			gun.objectsToSpawn = (ObjectsToSpawn[])(object)new ObjectsToSpawn[1] { val };
		}

		protected override void Removed(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats)
		{
		}
	}
	public class Syphilis : CardEffect
	{
		public override void OnBlock(BlockTriggerType trigger)
		{
		}

		public override void OnShoot(GameObject projectile)
		{
		}
	}
	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 "JLT";
		}
	}
}