Decompiled source of RoundedEdgesCards v0.2.9
RoundedEdgesCards.dll
Decompiled 2 weeks ago
The result has been truncated due to the large size, download it to view full contents!
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("RoundedEdgesCards")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("RoundedEdgesCards")] [assembly: AssemblyTitle("RoundedEdgesCards")] [assembly: AssemblyVersion("1.0.0.0")] public class Atticus : 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 CardDetails val = new CardDetails(); val.Title = "Atticus"; val.Description = "Atticus"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Epic"); val.Theme = (CardThemeColorType)0; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[3] { new CardInfoStat { positive = true, stat = "Damage", amount = "+100%", simepleAmount = (SimpleAmount)3 }, new CardInfoStat { positive = false, stat = "Health", amount = "-10%", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = false, 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"](2f); dictionary["health"](0.9f); dictionary["ammo"](-2f); } } public class Bouncy : 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 CardDetails val = new CardDetails(); val.Title = "Bouncy"; val.Description = "All the bounces"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Scarce"); val.Theme = (CardThemeColorType)4; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[3] { new CardInfoStat { positive = true, stat = "Bounces", amount = "+10", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = false, stat = "Ammunition", amount = "-1", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = true, stat = "Projectiles", amount = "+2", simepleAmount = (SimpleAmount)1 } }; 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["bounces"](10f); dictionary["ammo"](-1f); dictionary["projectiles"](2f); } } public class Brrrrr : 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 CardDetails val = new CardDetails(); val.Title = "Brrrrr"; val.Description = "BRRRRRRRRR"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Epic"); val.Theme = (CardThemeColorType)1; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[5] { new CardInfoStat { positive = true, stat = "Attack Speed", amount = "+65%", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = true, stat = "Bullet Speed", amount = "+60%", simepleAmount = (SimpleAmount)2 }, new CardInfoStat { positive = true, stat = "Ammunition", amount = "+7", simepleAmount = (SimpleAmount)1 }, new CardInfoStat { positive = false, stat = "Damage", amount = "-20%", simepleAmount = (SimpleAmount)6 }, new CardInfoStat { positive = true, stat = "Reload Time", amount = "-5%", simepleAmount = (SimpleAmount)1 } }; 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["attackSpeed"](1.66f); dictionary["bulletSpeed"](1.6f); dictionary["ammo"](7f); dictionary["damage"](0.8f); dictionary["reload"](0.96f); } } 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 ColdSnap : 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 CardDetails val = new CardDetails(); val.Title = "ColdSnap"; val.Description = "ColdSnap"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Rare"); val.Theme = (CardThemeColorType)7; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[3] { new CardInfoStat { positive = true, stat = "Projectiles", amount = "+10", simepleAmount = (SimpleAmount)3 }, new CardInfoStat { positive = true, stat = "Bursts", amount = "+2", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = false, stat = "Time Between Bullets", amount = "+3 seconds", simepleAmount = (SimpleAmount)1 } }; 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["projectiles"](10f); dictionary["bursts"](2f); dictionary["timeBetweenBullets"](3f); } } public class Devery : 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 CardDetails val = new CardDetails(); val.Title = "Devery"; val.Description = "Devery"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Exotic"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[3] { new CardInfoStat { positive = true, stat = "Reload Time", amount = "-15%", simepleAmount = (SimpleAmount)3 }, new CardInfoStat { positive = false, stat = "Attack Speed", amount = "-30%", simepleAmount = (SimpleAmount)5 }, new CardInfoStat { positive = true, stat = "Damage", amount = "+20%", 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["reload"](0.86f); dictionary["attackSpeed"](0.71f); dictionary["damage"](1.21f); } } public class DMGOverHealth : 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 CardDetails val = new CardDetails(); val.Title = "DMG Over Health"; val.Description = "Give me 1000% dmg for 90% health"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Exotic"); val.Theme = (CardThemeColorType)0; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[2] { new CardInfoStat { positive = true, stat = "Damage", amount = "+1000%", simepleAmount = (SimpleAmount)4 }, new CardInfoStat { positive = true, stat = "Health", amount = "-90%", simepleAmount = (SimpleAmount)7 } }; 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"](11f); dictionary["health"](0.1f); } } public class DoubleBarrelSniper : 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 CardDetails val = new CardDetails(); val.Title = "Double Barrel Sniper"; val.Description = "The double Barrel Snipper From Valorant"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Mythical"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[5] { new CardInfoStat { positive = true, stat = "Bullet Speed", amount = "+100%", simepleAmount = (SimpleAmount)3 }, new CardInfoStat { positive = true, stat = "Damage", amount = "+60%", simepleAmount = (SimpleAmount)2 }, new CardInfoStat { positive = false, stat = "Ammunition", amount = "-2", simepleAmount = (SimpleAmount)6 }, new CardInfoStat { positive = true, stat = "Projectiles", amount = "+2", 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"](2f); dictionary["damage"](1.6f); dictionary["ammo"](-2f); dictionary["projectiles"](2f); dictionary["attackSpeed"](2f); } } public class Draugur : 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 CardDetails val = new CardDetails(); val.Title = "Draugur"; val.Description = "Draugur"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Epic"); val.Theme = (CardThemeColorType)8; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT9mPbnLpayfOqd2IRBYaOnpeEy-A9KTc6YIQ&s"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[3] { new CardInfoStat { positive = true, stat = "Ammunition", amount = "+12", simepleAmount = (SimpleAmount)3 }, new CardInfoStat { positive = false, stat = "Damage", amount = "-40%", simepleAmount = (SimpleAmount)8 }, new CardInfoStat { positive = true, stat = "Reload Time", amount = "+30%", 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["ammo"](12f); dictionary["damage"](0.6f); dictionary["reload"](1.3f); } } public class Edge : 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 CardDetails val = new CardDetails(); val.Title = "Edge"; val.Description = "The Edge!?!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Common"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[2] { new CardInfoStat { positive = true, stat = "Damage", amount = "+20%", simepleAmount = (SimpleAmount)2 }, new CardInfoStat { positive = false, stat = "Health", amount = "-10%", 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"](1.21f); dictionary["health"](0.9f); } } public class FastBall : 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 CardDetails val = new CardDetails(); val.Title = "Fast Ball"; val.Description = "Throw your bullets like and MLB pro"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Uncommon"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[3] { new CardInfoStat { positive = true, stat = "Ammunition", amount = "-2", simepleAmount = (SimpleAmount)6 }, new CardInfoStat { positive = true, stat = "Bullet Speed", amount = "+90%", simepleAmount = (SimpleAmount)3 }, new CardInfoStat { positive = true, stat = "Reload Time", amount = "-10%", simepleAmount = (SimpleAmount)6 } }; 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["ammo"](-2f); dictionary["bulletSpeed"](1.91f); dictionary["reload"](0.9f); } } public class FasterMagsIII : 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 CardDetails val = new CardDetails(); val.Title = "Faster Mags III"; val.Description = "EVEN Faster Reloading!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Rare"); val.Theme = (CardThemeColorType)2; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Reload Time", amount = "-90%", simepleAmount = (SimpleAmount)3 } }; 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["reload"](0.1f); } } public class FastMag : 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 CardDetails val = new CardDetails(); val.Title = "Fast Mag"; val.Description = "Faster Reloading"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Common"); val.Theme = (CardThemeColorType)2; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Reload Time", amount = "-30%", simepleAmount = (SimpleAmount)1 } }; 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["reload"](0.71f); } } public class FastMagsII : 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 CardDetails val = new CardDetails(); val.Title = "Fast Mags II"; val.Description = "Even Faster Reloading"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Uncommon"); val.Theme = (CardThemeColorType)2; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Reload Time", amount = "-50%", simepleAmount = (SimpleAmount)2 } }; 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["reload"](0.5f); } } public class HealthoverDMG : 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 CardDetails val = new CardDetails(); val.Title = "Health over DMG"; val.Description = "All the health for less DMG"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Common"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[2] { new CardInfoStat { positive = false, stat = "Damage", amount = "-65%", simepleAmount = (SimpleAmount)7 }, new CardInfoStat { positive = true, stat = "Health", amount = "+120%", simepleAmount = (SimpleAmount)3 } }; 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"](0.35f); dictionary["health"](2.2f); } } public class Merica : 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 = "Merica"; val.Description = "MERICA! FREK YEAH!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Scarce"); val.Theme = (CardThemeColorType)5; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[4] { new CardInfoStat { positive = true, stat = "Attack Speed", amount = "+35%", simepleAmount = (SimpleAmount)2 }, new CardInfoStat { positive = false, stat = "Health", amount = "-40%", simepleAmount = (SimpleAmount)7 }, new CardInfoStat { positive = true, stat = "Damage", amount = "+20%", simepleAmount = (SimpleAmount)1 }, new CardInfoStat { positive = true, stat = "Ammunition", amount = "+17", simepleAmount = (SimpleAmount)3 } }; 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["attackSpeed"](1.35f); dictionary["health"](0.6f); dictionary["damage"](1.21f); dictionary["ammo"](17f); } } public class morebounces : 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 CardDetails val = new CardDetails(); val.Title = "more bounces"; val.Description = "Every body JUMP!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Rare"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Bounces", amount = "+5", simepleAmount = (SimpleAmount)1 } }; 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["bounces"](5f); } } public class MoreDMG : 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 CardDetails val = new CardDetails(); val.Title = "More DMG"; val.Description = "GIVE ME DMG!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Common"); val.Theme = (CardThemeColorType)0; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Damage", amount = "+40%", simepleAmount = (SimpleAmount)1 } }; 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"](1.41f); } } public class MoreDMGII : 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 CardDetails val = new CardDetails(); val.Title = "More DMG II"; val.Description = "GIVE ME DMG!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Uncommon"); val.Theme = (CardThemeColorType)0; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Damage", amount = "+65%", simepleAmount = (SimpleAmount)2 } }; 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"](1.66f); } } public class MoreDMGIII : 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 CardDetails val = new CardDetails(); val.Title = "More DMG III"; val.Description = "GIVE ME DMG!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Rare"); val.Theme = (CardThemeColorType)0; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Damage", amount = "+100%", simepleAmount = (SimpleAmount)3 } }; 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"](2f); } } public class MoreDMGIV : 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 CardDetails val = new CardDetails(); val.Title = "More DMG IV"; val.Description = "GIVE ME DMG!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Legendary"); val.Theme = (CardThemeColorType)0; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Damage", amount = "+125%", simepleAmount = (SimpleAmount)3 } }; 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"](2.25f); } } public class MoreDMGV : 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 CardDetails val = new CardDetails(); val.Title = "More DMG V"; val.Description = "GIVE ME DMG!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Divine"); val.Theme = (CardThemeColorType)0; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Damage", amount = "+150%", simepleAmount = (SimpleAmount)4 } }; 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"](2.5f); } } public class MoreHP : 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 CardDetails val = new CardDetails(); val.Title = "More HP"; val.Description = "GIVE ME HEALTH!!!!!!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Common"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Health", amount = "+45%", simepleAmount = (SimpleAmount)1 } }; 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["health"](1.455f); } } public class MoreHPII : 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 CardDetails val = new CardDetails(); val.Title = "More HP II"; val.Description = "GIVE ME HEALTH!!!!!!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Uncommon"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Health", amount = "+65%", simepleAmount = (SimpleAmount)2 } }; 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["health"](1.66f); } } public class MoreHPIII : 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 CardDetails val = new CardDetails(); val.Title = "More HP III"; val.Description = "GIVE ME HEALTH!!!!!!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Rare"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Health", amount = "+100%", simepleAmount = (SimpleAmount)3 } }; 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["health"](2f); } } public class MoreHPIV : 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 CardDetails val = new CardDetails(); val.Title = "More HP IV"; val.Description = "GIVE ME HEALTH!!!!!!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Legendary"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Damage", amount = "+140%", simepleAmount = (SimpleAmount)3 } }; 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"](2.4f); } } public class MoreHPV : 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 CardDetails val = new CardDetails(); val.Title = "More HP V"; val.Description = "GIVE ME HEALTH!!!!!!"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Divine"); val.Theme = (CardThemeColorType)3; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[1] { new CardInfoStat { positive = true, stat = "Health", amount = "+200%", simepleAmount = (SimpleAmount)4 } }; 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["health"](3f); } } public class Murph : 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 CardDetails val = new CardDetails(); val.Title = "Murph"; val.Description = "Murph"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Legendary"); val.Theme = (CardThemeColorType)6; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://cdn.discordapp.com/attachments/1013892271814475809/1280516595592073247/ICONICMURPH_1.png?ex=66d85d83&is=66d70c03&hm=c1ecc4273ea64a65cd8eef20c44eea1539aa72565e16cae29ef1a04e6d9b637d&"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[3] { new CardInfoStat { positive = true, stat = "Damage", amount = "+55%", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = true, stat = "Health", amount = "+30%", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = true, stat = "Reload Time", amount = "-10%", 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"](1.55f); dictionary["health"](1.3f); dictionary["reload"](0.9f); } } public class OHCanada : 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 CardDetails val = new CardDetails(); val.Title = "OH Canada"; val.Description = "Look here buddy "; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Exotic"); val.Theme = (CardThemeColorType)4; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[3] { new CardInfoStat { positive = true, stat = "Damage", amount = "+40%", simepleAmount = (SimpleAmount)1 }, new CardInfoStat { positive = false, stat = "Health", amount = "-20%", simepleAmount = (SimpleAmount)8 }, new CardInfoStat { positive = true, stat = "Ammunition", amount = "+3", simepleAmount = (SimpleAmount)1 } }; 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"](1.41f); dictionary["health"](0.8f); dictionary["ammo"](3f); } } public class one : 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_005d: 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_0069: 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_007f: Unknown result type (might be due to invalid IL or missing references) //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Expected O, but got Unknown //IL_0089: 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_0095: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00ab: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b3: Expected O, but got Unknown //IL_00b5: 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_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Expected O, but got Unknown //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00e6: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Unknown result type (might be due to invalid IL or missing references) //IL_0105: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Expected O, but got Unknown //IL_010d: Unknown result type (might be due to invalid IL or missing references) //IL_0112: Unknown result type (might be due to invalid IL or missing references) //IL_0119: Unknown result type (might be due to invalid IL or missing references) //IL_0124: Unknown result type (might be due to invalid IL or missing references) //IL_012f: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Unknown result type (might be due to invalid IL or missing references) //IL_0137: Expected O, but got Unknown //IL_0139: Unknown result type (might be due to invalid IL or missing references) //IL_013e: Unknown result type (might be due to invalid IL or missing references) //IL_0145: Unknown result type (might be due to invalid IL or missing references) //IL_0150: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_015d: Unknown result type (might be due to invalid IL or missing references) //IL_0163: Expected O, but got Unknown //IL_0165: Unknown result type (might be due to invalid IL or missing references) //IL_016a: Unknown result type (might be due to invalid IL or missing references) //IL_0171: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0187: Unknown result type (might be due to invalid IL or missing references) //IL_0189: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Expected O, but got Unknown //IL_0191: Unknown result type (might be due to invalid IL or missing references) //IL_0196: Unknown result type (might be due to invalid IL or missing references) //IL_019d: Unknown result type (might be due to invalid IL or missing references) //IL_01a8: Unknown result type (might be due to invalid IL or missing references) //IL_01b3: Unknown result type (might be due to invalid IL or missing references) //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01bb: Expected O, but got Unknown //IL_01bd: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_01c9: Unknown result type (might be due to invalid IL or missing references) //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01df: Unknown result type (might be due to invalid IL or missing references) //IL_01e1: Unknown result type (might be due to invalid IL or missing references) //IL_01e7: Expected O, but got Unknown //IL_01ea: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Unknown result type (might be due to invalid IL or missing references) //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //IL_0201: Unknown result type (might be due to invalid IL or missing references) //IL_020c: Unknown result type (might be due to invalid IL or missing references) //IL_020e: Unknown result type (might be due to invalid IL or missing references) //IL_0214: Expected O, but got Unknown CardDetails val = new CardDetails(); val.Title = "one"; val.Description = "1"; val.ModName = "RoundedEdgesCards"; val.Rarity = RarityUtils.GetRarity("Divine"); val.Theme = (CardThemeColorType)8; val.Art = DeckSmithUtil.Instance.GetArtFromUrl("https://placehold.co/512x512/png"); val.Stats = (CardInfoStat[])(object)new CardInfoStat[10] { new CardInfoStat { positive = true, stat = "Damage", amount = "+10%", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = true, stat = "Health", amount = "+10%", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = true, stat = "Reload Time", amount = "-10%", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = true, stat = "Ammunition", amount = "+1", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = true, stat = "Projectiles", amount = "+1", simepleAmount = (SimpleAmount)0 }, new CardInfoStat { positive = true, stat = "Bursts", amount = "+1", simepleAmount = (SimpleAmount)0