Decompiled source of ImprovedCards v0.0.0

ImprovedCards.dll

Decompiled 2 months ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;
using ModdingUtils.Utils;
using ModsPlus;
using RarityLib.Utils;
using UnboundLib.Cards;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("ImprovedCards")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("ImprovedCards")]
[assembly: AssemblyTitle("ImprovedCards")]
[assembly: AssemblyVersion("1.0.0.0")]
public class BulletVerySpeed : 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_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_005c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0061: 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_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_007e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0080: Unknown result type (might be due to invalid IL or missing references)
			//IL_0086: Expected O, but got Unknown
			//IL_0088: Unknown result type (might be due to invalid IL or missing references)
			//IL_008d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0094: Unknown result type (might be due to invalid IL or missing references)
			//IL_009f: Unknown result type (might be due to invalid IL or missing references)
			//IL_00aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b2: Expected O, but got Unknown
			//IL_00b4: 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_00c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00de: Expected O, but got Unknown
			//IL_00e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ec: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0102: Unknown result type (might be due to invalid IL or missing references)
			//IL_0104: Unknown result type (might be due to invalid IL or missing references)
			//IL_010a: Expected O, but got Unknown
			CardDetails val = new CardDetails();
			val.Title = "Bullet Very Speed";
			val.Description = "Очень большая скорость пули";
			val.ModName = "ImprovedCards";
			val.Rarity = RarityUtils.GetRarity("Legendary");
			val.Theme = (CardThemeColorType)1;
			val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://media.istockphoto.com/id/537173501/ru/%D1%84%D0%BE%D1%82%D0%BE/%D0%BB%D0%B5%D1%82%D0%B0%D1%8E%D1%89%D0%B8%D0%B9-%D0%BF%D1%83%D0%BD%D0%BA%D1%82-%D1%81-%D0%BF%D1%8B%D0%BB%D1%8C-%D1%82%D1%80%D0%B5%D0%B9%D0%BB.jpg?s=612x612&w=0&k=20&c=H-MJfUVBPqffaYLXwkWA9be-cm8FbApsXNO02f7deI0=");
			val.Stats = (CardInfoStat[])(object)new CardInfoStat[4]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Bullet Speed",
					amount = "+9900%",
					simepleAmount = (SimpleAmount)4
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Damage",
					amount = "+400%",
					simepleAmount = (SimpleAmount)4
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Reload Time",
					amount = "+9900%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Attack Speed",
					amount = "+100%",
					simepleAmount = (SimpleAmount)0
				}
			};
			return val;
		}
	}

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
		Dictionary<string, Action<float>> dictionary = new Dictionary<string, Action<float>>();
		dictionary.Add("damage", delegate(float val)
		{
			gun.damage = val;
		});
		dictionary.Add("health", delegate(float val)
		{
			statModifiers.health = val;
		});
		dictionary.Add("reload", delegate(float val)
		{
			gun.reloadTime = val;
		});
		dictionary.Add("ammo", delegate(float val)
		{
			gun.ammo = (int)val;
		});
		dictionary.Add("projectiles", delegate(float val)
		{
			gun.numberOfProjectiles = Mathf.Max(1, (int)val);
		});
		dictionary.Add("bursts", delegate(float val)
		{
			gun.bursts = (int)val;
		});
		dictionary.Add("timeBetweenBullets", delegate(float val)
		{
			gun.timeBetweenBullets = val;
		});
		dictionary.Add("attackSpeed", delegate(float val)
		{
			gun.attackSpeed = val;
		});
		dictionary.Add("bounces", delegate(float val)
		{
			gun.reflects = (int)val;
		});
		dictionary.Add("bulletSpeed", delegate(float val)
		{
			gun.projectileSpeed = val;
		});
		dictionary["bulletSpeed"](100f);
		dictionary["damage"](5f);
		dictionary["reload"](100f);
		dictionary["attackSpeed"](2f);
	}
}
public static class CardRegistry
{
	private static Dictionary<Type, CardInfo> storedCardInfo = new Dictionary<Type, CardInfo>();

	public static void RegisterCard<T>(bool hidden = false) where T : CustomCard
	{
		CustomCard.BuildCard<T>((Action<CardInfo>)delegate(CardInfo c)
		{
			StoreCard<T>(c);
			if (hidden)
			{
				Cards.instance.AddHiddenCard(c);
			}
		});
	}

	private static void StoreCard<T>(CardInfo card) where T : CustomCard
	{
		storedCardInfo.Add(typeof(T), card);
	}

	public static CardInfo GetCard<T>() where T : CustomCard
	{
		if (storedCardInfo.TryGetValue(typeof(T), out var value))
		{
			return value;
		}
		return null;
	}

	public static CardInfo GetCard(Type T)
	{
		if (storedCardInfo.TryGetValue(T, out var value))
		{
			return value;
		}
		return null;
	}
}
public class deadlypoison : 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_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_005c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0061: 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_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_007e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0080: Unknown result type (might be due to invalid IL or missing references)
			//IL_0086: Expected O, but got Unknown
			//IL_0088: Unknown result type (might be due to invalid IL or missing references)
			//IL_008d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0094: Unknown result type (might be due to invalid IL or missing references)
			//IL_009f: Unknown result type (might be due to invalid IL or missing references)
			//IL_00aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b2: Expected O, but got Unknown
			//IL_00b4: 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_00c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00de: Expected O, but got Unknown
			//IL_00e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ec: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0102: Unknown result type (might be due to invalid IL or missing references)
			//IL_0104: Unknown result type (might be due to invalid IL or missing references)
			//IL_010a: Expected O, but got Unknown
			CardDetails val = new CardDetails();
			val.Title = "deadly poison";
			val.Description = "Смертельный яд";
			val.ModName = "ImprovedCards";
			val.Rarity = RarityUtils.GetRarity("Legendary");
			val.Theme = (CardThemeColorType)5;
			val.Art = DeckSmithUtil.Instance.GetArtFromUrl("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMSEhUTExMWFRUXGBgVFxcXFxcXHhcYFx0YFxcXFxcYHSggGBolHRcYITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OGhAQGi0lHSUtLi0tLS0tLS0rLjAuLS0tLS0tLSstLS0tLS0uLysvLS8rLS0tLS0tLS0tLS0tLy0tK//AABEIALcBEwMBEQACEQEDEQH/xAAbAAACAgMBAAAAAAAAAAAAAAABAgMGAAQFB//EAEQQAAIBAgMEBgYGCAYCAwAAAAECAAMRBBIhBQYxQRMiUWFxgQdykaGxshQyNEJScyMkkqLBwtHwFTNigoPhQ9NTk6P/xAAbAQEAAgMBAQAAAAAAAAAAAAAAAQUDBAYCB//EAEIRAAIBAgEJBQcDAgMHBQAAAAABAgMRBAUSITFBUXGxwRNhgZGhBiIyMzTR8BRy4UJSI5LxFSRDU2KCsiVEosLS/9oADAMBAAIRAxEAPwDw+8AIggYCAEQBwYA4ggkDQBwJJA6wQTSQKkgDwAtxgCrIJHVbwBzJIMI0gEZMAcNb+/OADMbdv9IApEAjUaf3/fKCReyAKeMAkvJIAOHnAEbUyAFhAI7m9oJMMAVjAIyIJFIgCwAXgEIkHoYQQEGAMJAHWSQSQBgNIBIskgltbvggylAYR5+yANT4wSPUggUH3yCSULBAcwsJIInaAEDWAGAFFMAD8zb3QBOjPGAAqbd8AQDugBGskB004QAG3jAENz4SAKwPbAI2gkBMAS8EgYwBTAFgEUg9BEEBgDCQCS0kgYCASAQCRBJIJQJJA4MEDgcJACBbWCQEjhAAokEkoXSCBWUX9vt8JIBf4wAU/OAENc/33wBxBAl/+4JGJvpwgCECSQA2gAVRw84JAyg9kECOAJBItoADAEKwSRPAARAFgkUwBYBFIPQRBA0gD0++ASLJAc2k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ilZWNmCSiktVhc8kk3NlVwtaizGyrUpsT2AMCT7J4qpunJLc+RgxMXKjOK1uLXoyHFsOkfKbguxB7Rc2Pskwvmq+5HuknmRT12XIgqT0ZERGCQ3kkCkwDDBIsgEcEhgGQBhAGEEDQBkkkGKJANlRJICe2AKxnkkF9YBmfSCQq8EMZWMkWG1ggBEEiWtIBhNxeARgwSSU2kkMd30ggC1RzkghduyQSRwSZeAMTBBkAy8kCFpABAMBgAkgyACCSKQSGAZACIAwMEBvAGBgDIeyCCem+kkgwPIBjCQSC0EgtAGUWtJIGYjtggUtAHDXkgjfiNZBKAz2+MgAzQSZnkkGAySAMZBJGWsYJMEgGQDBACDJIBABeAC8EgEAy0AMkgyAQyD0YIBkAYQA3kAIMEDCSB1ggkWSQFWkEhPbIABzgkZTBAGaSDBxkAFTh3SQZn7BAFZiZAIkEHoIEAaCDCO+AC0AVjABeAGAZeSArACYIFaCRSYAIAbyQZBBl4BDIPRkAMAMAMAIkAZTJIGBgDq2sEDFoBgaQSC8AUNAHvAMzQDL8rQAoNIIFWCRGNoJATeAYsEDEwBc0ABMAwQACSA2gBEAwwBbwDIAYADABeAC8AjgkyAZADACIARIBIpggYSQAmAZmkAGaCQQQYDBIbwB6d4ICGsYBKRcQQQgwSK7QSJmgDZoIMgCiAOJIGEARoAAYA0AFoALQA2gAvAAYALwDLwD/2Q==");
			val.Stats = (CardInfoStat[])(object)new CardInfoStat[4]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Damage",
					amount = "+9900%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Reload Time",
					amount = "+800%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Ammunition",
					amount = "-2",
					simepleAmount = (SimpleAmount)6
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Bounces",
					amount = "+2",
					simepleAmount = (SimpleAmount)0
				}
			};
			return val;
		}
	}

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
		Dictionary<string, Action<float>> dictionary = new Dictionary<string, Action<float>>();
		dictionary.Add("damage", delegate(float val)
		{
			gun.damage = val;
		});
		dictionary.Add("health", delegate(float val)
		{
			statModifiers.health = val;
		});
		dictionary.Add("reload", delegate(float val)
		{
			gun.reloadTime = val;
		});
		dictionary.Add("ammo", delegate(float val)
		{
			gun.ammo = (int)val;
		});
		dictionary.Add("projectiles", delegate(float val)
		{
			gun.numberOfProjectiles = Mathf.Max(1, (int)val);
		});
		dictionary.Add("bursts", delegate(float val)
		{
			gun.bursts = (int)val;
		});
		dictionary.Add("timeBetweenBullets", delegate(float val)
		{
			gun.timeBetweenBullets = val;
		});
		dictionary.Add("attackSpeed", delegate(float val)
		{
			gun.attackSpeed = val;
		});
		dictionary.Add("bounces", delegate(float val)
		{
			gun.reflects = (int)val;
		});
		dictionary.Add("bulletSpeed", delegate(float val)
		{
			gun.projectileSpeed = val;
		});
		dictionary["damage"](100f);
		dictionary["reload"](9f);
		dictionary["ammo"](-2f);
		dictionary["bounces"](2f);
	}
}
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInPlugin("com.improvedcards.rounds.mod", "ImprovedCards", "0.0.0")]
[BepInProcess("Rounds.exe")]
public class ImprovedCardsPlugin : BaseUnityPlugin
{
	private const string ModId = "com.improvedcards.rounds.mod";

	private const string ModName = "ImprovedCards";

	private const string ModVersion = "0.0.0";

	private const string CompatabilityModName = "ImprovedCards";

	private void Awake()
	{
		CardRegistry.RegisterCard<BulletVerySpeed>(hidden: false);
		CardRegistry.RegisterCard<deadlypoison>(hidden: false);
		CardRegistry.RegisterCard<quicksplashwelding>(hidden: false);
	}

	private void Start()
	{
		//IL_0005: Unknown result type (might be due to invalid IL or missing references)
		new Harmony("com.improvedcards.rounds.mod").PatchAll();
	}
}
public class quicksplashwelding : 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_002d: Unknown result type (might be due to invalid IL or missing references)
			//IL_005c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0061: 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_0073: Unknown result type (might be due to invalid IL or missing references)
			//IL_007e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0080: Unknown result type (might be due to invalid IL or missing references)
			//IL_0086: Expected O, but got Unknown
			//IL_0088: Unknown result type (might be due to invalid IL or missing references)
			//IL_008d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0094: Unknown result type (might be due to invalid IL or missing references)
			//IL_009f: Unknown result type (might be due to invalid IL or missing references)
			//IL_00aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b2: Expected O, but got Unknown
			//IL_00b4: 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_00c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00de: Expected O, but got Unknown
			//IL_00e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ec: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0102: Unknown result type (might be due to invalid IL or missing references)
			//IL_0104: Unknown result type (might be due to invalid IL or missing references)
			//IL_010a: Expected O, but got Unknown
			//IL_010c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0111: Unknown result type (might be due to invalid IL or missing references)
			//IL_0118: Unknown result type (might be due to invalid IL or missing references)
			//IL_0123: Unknown result type (might be due to invalid IL or missing references)
			//IL_012e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0130: Unknown result type (might be due to invalid IL or missing references)
			//IL_0136: Expected O, but got Unknown
			//IL_0138: Unknown result type (might be due to invalid IL or missing references)
			//IL_013d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0144: Unknown result type (might be due to invalid IL or missing references)
			//IL_014f: Unknown result type (might be due to invalid IL or missing references)
			//IL_015a: Unknown result type (might be due to invalid IL or missing references)
			//IL_015c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0162: Expected O, but got Unknown
			CardDetails val = new CardDetails();
			val.Title = "quick splash welding";
			val.Description = "Быстрый выплеск сварки";
			val.ModName = "ImprovedCards";
			val.Rarity = RarityUtils.GetRarity("Epic");
			val.Theme = (CardThemeColorType)0;
			val.Art = DeckSmithUtil.Instance.GetArtFromUrl("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAABI1BMVEX///9lXmdUT1Z2bXiOg5HgSVXaLzzwpwr9wgJjXGXgSFRgWWJRTFOMgY9dVV/9wwFJQ0tuZHBzanX39/f9vgDfQE3eOUdcVl59c3+CeIX0qQDp6OlHQUldWmrYHC3ZKDaqp6vd2t7smJ6Mh43V09XGwcjl5OW0sbXmgoj66On+9vfYDiSdmp6Ae4KSjpT64uSYjpulnKdqZmzAvsCopal4dHn/+++9ur7vr7PjZ3DiXWbyub3ldnziVF/1zdDsn6ThYGn21Nboi5Dof4fzwsXdoBn3wmD41JX87dCHb1bzuEv2yHT64bT98+DHkTD3sgD+2XhsYmKxhT+Xd079zDX+6K/koRLQlih4aFy3iDv+5J7+1F3+78Wlf0aOclO0hj3+1WyNpmqpAAAJKklEQVR4nO2daXvaRhDHEeAYHcggIQ4LzCXAB2AbcMF2nfhKmzRtk7SJmzZJm+//KaoTJCEtAossO9bvTZ68wMz/+a9mRqMVG4tFREREPJqDSWP//Hy/MTnAHclaOGhcHe3tVVX29o4uLg9xxxM2h/vVveoz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0vZhaSl2hE5AO1T9suC3PkPZNBt6T/OSzM5T58JO4qdJUK996Lh5mFuZ3PBMpbNL0wW9K3qrxvX0iUF3NvB3aXCnN6sfOOVHkLtgObLekb8kq8jUXTiwey5amlgkVOL94QVxnmQD5Q4yFsB0ZOL6hoOzABIKcXPITtwMi9F9F2YBJAvMyseog7uhBAbweu4Q4vBJDTCx5AqUC/zAyhVEQvMxMPcu8FiJeZKegvMyMH3dHLzCQgIy2E8AM00cvMxAN/ehG9zEw8T/xlZggt6ROfXkQvM5MAcnoBoVSgpxcQWlLkAzUQLSnyzZEB7ujCAHljCGF6EePsEgFOL9SWzX4duvIMhOmFti8/47tIAUwvNMR+hvO2EEKpMBCbNKv9VLfbQhC/nqtjnMiR1evDrFzQAu64wmN2zl+6pArleZ6laR7KVajhOuevrYyaQqILoCO1cJ3IoVd5EIVwSnTOH/GcPq3Dm9KQTuQw6Ty1w5twhxM+8A9vakaHN5HOEzvnD2KpiM75I56oVBCPDL5UKHDP+TNpZaGe82dhegi3VJjXoTWAglcqYmYuhVsqYqaJhkCA1V5DZs1Fmk7Cq4U6TTYrlDQDOzAdjNV5iqKyQrYFVF8s1mOBPURzo/D6M6YCwF7GJKE/SQOxu9KboWEhhHe2fAC1G8GLjmEhCzaPipR+FYLYpu5NTd+WQEPYPuqNzAPa1uVJVy/2IDZxe2NZCPGu16AJ3UKzXwOxP9abp9JyQ/gtDx+ilpt4zox+DW7LHYO0h9sbvRgCbrljsTbLszyEw6b9kWv9MeA1GhERsQH8DwbpErUR2u4tAAAAAElFTkSuQmCC");
			val.Stats = (CardInfoStat[])(object)new CardInfoStat[6]
			{
				new CardInfoStat
				{
					positive = true,
					stat = "Damage",
					amount = "+800%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Reload Time",
					amount = "+30%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Bounces",
					amount = "+19",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Attack Speed",
					amount = "+9800%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Bullet Speed",
					amount = "+9800%",
					simepleAmount = (SimpleAmount)0
				},
				new CardInfoStat
				{
					positive = true,
					stat = "Ammunition",
					amount = "-2",
					simepleAmount = (SimpleAmount)0
				}
			};
			return val;
		}
	}

	public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block)
	{
		Dictionary<string, Action<float>> dictionary = new Dictionary<string, Action<float>>();
		dictionary.Add("damage", delegate(float val)
		{
			gun.damage = val;
		});
		dictionary.Add("health", delegate(float val)
		{
			statModifiers.health = val;
		});
		dictionary.Add("reload", delegate(float val)
		{
			gun.reloadTime = val;
		});
		dictionary.Add("ammo", delegate(float val)
		{
			gun.ammo = (int)val;
		});
		dictionary.Add("projectiles", delegate(float val)
		{
			gun.numberOfProjectiles = Mathf.Max(1, (int)val);
		});
		dictionary.Add("bursts", delegate(float val)
		{
			gun.bursts = (int)val;
		});
		dictionary.Add("timeBetweenBullets", delegate(float val)
		{
			gun.timeBetweenBullets = val;
		});
		dictionary.Add("attackSpeed", delegate(float val)
		{
			gun.attackSpeed = val;
		});
		dictionary.Add("bounces", delegate(float val)
		{
			gun.reflects = (int)val;
		});
		dictionary.Add("bulletSpeed", delegate(float val)
		{
			gun.projectileSpeed = val;
		});
		dictionary["damage"](9f);
		dictionary["reload"](1.3f);
		dictionary["bounces"](19f);
		dictionary["attackSpeed"](99f);
		dictionary["bulletSpeed"](99f);
		dictionary["ammo"](-2f);
	}
}