Decompiled source of ApolloBroh v1.0.1
ApolloBroh.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; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using ApolloBroh.Cards; using BepInEx; using BepInEx.Logging; using CardChoiceSpawnUniqueCardPatch.CustomCategories; using HarmonyLib; using Microsoft.CodeAnalysis; using ModdingUtils.Extensions; using RarityLib.Utils; using UnboundLib.Cards; using UnboundLib.GameModes; using UnityEngine; using UnityEngine.UI; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyVersion("0.0.0.0")] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace ApolloBroh { [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("com.apollobroh.rounds.ApolloBroh", "ApolloBroh", "0.2.0")] [BepInProcess("Rounds.exe")] public class ApolloBroh : BaseUnityPlugin { private const string ModId = "com.apollobroh.rounds.ApolloBroh"; private const string ModName = "ApolloBroh"; public const string Version = "0.2.0"; public const string ModInitials = "BROH"; public const string Epic = "BROH_Epic"; public const string Legendary = "Legendary"; public const string Mythic = "BROH_Mythic"; public const string GodTier = "BROH_GodTier"; public static ApolloBroh instance { get; private set; } public static ManualLogSource Log { get; private set; } private void Awake() { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) instance = this; Log = ((BaseUnityPlugin)this).Logger; new Harmony("com.apollobroh.rounds.ApolloBroh").PatchAll(); RarityUtils.AddRarity("BROH_Epic", 0.05f, new Color(0.65f, 0.25f, 0.95f), new Color(0.35f, 0.12f, 0.5f)); RarityUtils.AddRarity("BROH_Mythic", 0.012f, new Color(1f, 0.2f, 0.15f), new Color(0.5f, 0.1f, 0.08f)); RarityUtils.AddRarity("BROH_GodTier", 0.005f, new Color(1f, 0.97f, 0.75f), new Color(0.6f, 0.55f, 0.35f)); } private void Start() { instance = this; CardRegistry.RegisterAll(); GameModeManager.AddHook("GameStart", (Func<IGameModeHandler, IEnumerator>)BrohClasses.RefreshLocks); GameModeManager.AddHook("PickStart", (Func<IGameModeHandler, IEnumerator>)BrohClasses.RefreshLocks); GameModeManager.AddHook("PlayerPickStart", (Func<IGameModeHandler, IEnumerator>)BrohClasses.RefreshLocks); } } internal static class BrohArt { private static Dictionary<string, string> files; private static readonly Dictionary<string, GameObject> prefabs = new Dictionary<string, GameObject>(); public static string Folder => Path.Combine(Path.GetDirectoryName(((BaseUnityPlugin)ApolloBroh.instance).Info.Location), "Art"); private static string Normalize(string name) { return new string(name.ToLowerInvariant().Where(char.IsLetterOrDigit).ToArray()); } public static GameObject For(string title, string classTitle) { GameObject val = Get(title); if ((Object)(object)val == (Object)null && classTitle != null) { val = Get(classTitle); } return val; } private static void IndexFiles() { files = new Dictionary<string, string>(); if (!Directory.Exists(Folder)) { ApolloBroh.Log.LogWarning((object)("No Art folder found at " + Folder)); return; } string[] array = Directory.GetFiles(Folder); foreach (string text in array) { string text2 = Path.GetExtension(text).ToLowerInvariant(); if (!(text2 != ".png") || !(text2 != ".jpg") || !(text2 != ".jpeg")) { files[Normalize(Path.GetFileNameWithoutExtension(text))] = text; } } ApolloBroh.Log.LogInfo((object)("Found " + files.Count + " art image(s) in " + Folder)); } private static GameObject Get(string title) { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Expected O, but got Unknown //IL_0070: 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) if (files == null) { IndexFiles(); } string key = Normalize(title); if (prefabs.TryGetValue(key, out var value)) { return value; } value = null; if (files.TryGetValue(key, out var value2)) { try { Texture2D val = new Texture2D(2, 2, (TextureFormat)4, false); if (ImageConversion.LoadImage(val, File.ReadAllBytes(value2))) { ((Texture)val).wrapMode = (TextureWrapMode)1; Sprite sprite = Sprite.Create(val, new Rect(0f, 0f, (float)((Texture)val).width, (float)((Texture)val).height), new Vector2(0.5f, 0.5f), 100f); value = BuildPrefab(key, sprite); } else { ApolloBroh.Log.LogWarning((object)("Could not read image " + value2)); } } catch (Exception ex) { ApolloBroh.Log.LogWarning((object)("Failed to load art " + value2 + ": " + ex.Message)); } } prefabs[key] = value; return value; } private static GameObject BuildPrefab(string key, Sprite sprite) { //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Expected O, but got Unknown //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) GameObject val = new GameObject("BROH_Art_" + key, new Type[3] { typeof(RectTransform), typeof(RectMask2D), typeof(BrohArtFitter) }); Object.DontDestroyOnLoad((Object)(object)val); GameObject val2 = new GameObject("Picture", new Type[3] { typeof(RectTransform), typeof(CanvasRenderer), typeof(Image) }); val2.transform.SetParent(val.transform, false); Image component = val2.GetComponent<Image>(); component.sprite = sprite; ((Graphic)component).raycastTarget = false; return val; } } internal class BrohArtFitter : MonoBehaviour { private static bool logged; private void Start() { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0076: 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_0086: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: 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_0112: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_013f: Unknown result type (might be due to invalid IL or missing references) //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_014c: Unknown result type (might be due to invalid IL or missing references) //IL_0151: Unknown result type (might be due to invalid IL or missing references) //IL_015c: Unknown result type (might be due to invalid IL or missing references) //IL_0166: 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_017b: Unknown result type (might be due to invalid IL or missing references) //IL_0186: Unknown result type (might be due to invalid IL or missing references) //IL_0190: Unknown result type (might be due to invalid IL or missing references) //IL_0191: Unknown result type (might be due to invalid IL or missing references) //IL_0198: Unknown result type (might be due to invalid IL or missing references) Transform parent = ((Component)this).transform.parent; RectTransform val = (RectTransform)(object)((parent is RectTransform) ? parent : null); if ((Object)(object)val == (Object)null) { return; } RectTransform val2 = (RectTransform)((Component)this).transform; val2.anchorMin = Vector2.zero; val2.anchorMax = Vector2.one; val2.offsetMin = Vector2.zero; val2.offsetMax = Vector2.zero; Image componentInChildren = ((Component)this).GetComponentInChildren<Image>(); if (!((Object)(object)componentInChildren == (Object)null) && !((Object)(object)componentInChildren.sprite == (Object)null)) { Rect rect = val.rect; float width = ((Rect)(ref rect)).width; rect = val.rect; float height = ((Rect)(ref rect)).height; if (!logged) { logged = true; ApolloBroh.Log.LogInfo((object)("Card art area '" + ((Object)val).name + "' is " + width + " x " + height)); } if (!(width <= 0f) && !(height <= 0f)) { rect = componentInChildren.sprite.rect; float width2 = ((Rect)(ref rect)).width; rect = componentInChildren.sprite.rect; float num = width2 / ((Rect)(ref rect)).height; float num2 = width / height; Vector2 sizeDelta = ((num > num2) ? new Vector2(height * num, height) : new Vector2(width, width / num)); RectTransform val3 = (RectTransform)((Component)componentInChildren).transform; val3.anchorMin = new Vector2(0.5f, 0.5f); val3.anchorMax = new Vector2(0.5f, 0.5f); val3.pivot = new Vector2(0.5f, 0.5f); val3.sizeDelta = sizeDelta; val3.anchoredPosition = Vector2.zero; } } } } internal static class BrohClasses { private static readonly Dictionary<string, CardCategory> categories = new Dictionary<string, CardCategory>(); private static CardCategory CategoryFor(string classTitle) { if (!categories.TryGetValue(classTitle, out var value)) { value = CustomCardCategories.instance.CardCategory("BROH_Class_" + classTitle); categories[classTitle] = value; } return value; } public static void Build<T>(string requires = null) where T : CustomCard { if (requires == null) { CustomCard.BuildCard<T>(); return; } CustomCard.BuildCard<T>((Action<CardInfo>)delegate(CardInfo card) { CardCategory[] first = (CardCategory[])(((object)card.categories) ?? ((object)new CardCategory[0])); card.categories = first.Concat((IEnumerable<CardCategory>)(object)new CardCategory[1] { CategoryFor(requires) }).ToArray(); }); } public static IEnumerator RefreshLocks(IGameModeHandler gameMode) { foreach (Player player in PlayerManager.instance.players) { if ((Object)(object)player == (Object)null || (Object)(object)player.data == (Object)null) { continue; } List<CardCategory> blacklistedCategories = CharacterStatModifiersExtension.GetAdditionalData(player.data.stats).blacklistedCategories; foreach (KeyValuePair<string, CardCategory> entry in categories) { if (player.data.currentCards.Any((CardInfo c) => (Object)(object)c != (Object)null && c.cardName == entry.Key)) { blacklistedCategories.RemoveAll((CardCategory c) => (Object)(object)c == (Object)(object)entry.Value); } else if (!blacklistedCategories.Contains(entry.Value)) { blacklistedCategories.Add(entry.Value); } } } yield break; } } internal static class BulletEffects { private static readonly Dictionary<string, ObjectsToSpawn[]> cache = new Dictionary<string, ObjectsToSpawn[]>(); public static ObjectsToSpawn[] From(params string[] vanillaCards) { List<ObjectsToSpawn> list = new List<ObjectsToSpawn>(); foreach (string vanillaCard in vanillaCards) { list.AddRange(Lookup(vanillaCard)); } return list.ToArray(); } private static ObjectsToSpawn[] Lookup(string vanillaCard) { if (cache.TryGetValue(vanillaCard, out var value)) { return value; } value = (ObjectsToSpawn[])(object)new ObjectsToSpawn[0]; GameObject val = Resources.Load<GameObject>("0 cards/" + vanillaCard); Gun val2 = (((Object)(object)val != (Object)null) ? val.GetComponent<Gun>() : null); if ((Object)(object)val2 == (Object)null) { ApolloBroh.Log.LogWarning((object)("Bullet effect '" + vanillaCard + "': no such base game card.")); } else if (val2.objectsToSpawn == null || val2.objectsToSpawn.Length == 0) { ApolloBroh.Log.LogWarning((object)("Bullet effect '" + vanillaCard + "': that card has no bullet effect to borrow.")); } else { value = val2.objectsToSpawn; ApolloBroh.Log.LogInfo((object)$"Bullet effect '{vanillaCard}': borrowed {value.Length} effect(s)."); } cache[vanillaCard] = value; return value; } } } namespace ApolloBroh.Cards { internal class AbuelasChancla : BrohCard { protected override string Title => "Abuela's Chancla"; protected override string Description => "Thrown around a corner, through a wall and across two decades. It has never missed. [CholoBroh only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "CholoBroh"; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Damage", "+120%"), BrohCard.Good("Knockback", "+200%"), BrohCard.Bad("Attack Speed", "-33%"), BrohCard.Good("Bullets", "Homing") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 2.2f; gun.knockback = 3f; gun.attackSpeed = 1.5f; gun.objectsToSpawn = BulletEffects.From("Homing"); } } internal class ApolloArmyDog : BrohCard { protected override string Title => "ApolloArmyDog"; protected override string Description => "Does what he's told, eats the crayons he's given, and has not had an original thought since basic training."; protected override Rarity Rarity => (Rarity)0; protected override CardThemeColorType Theme => (CardThemeColorType)5; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Ammo", "+6"), BrohCard.Good("Reload Time", "-30%"), BrohCard.Good("Health", "+25%"), BrohCard.Bad("Movement Speed", "-10%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.ammo = 6; gun.reloadTime = 0.7f; statModifiers.health = 1.25f; statModifiers.movementSpeed = 0.9f; } } internal class Apolloasiopoulos : BrohCard { protected override string Title => "Apolloasiopoulos"; protected override string Description => "Invented democracy, philosophy and screaming at family dinners. Smashes plates for fun and hasn't paid a bill since 2009."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Plates Thrown", "+2"), BrohCard.Good("Health", "+30%"), BrohCard.Bad("Attack Speed", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.numberOfProjectiles = 2; gun.spread = 0.15f; statModifiers.health = 1.3f; gun.attackSpeed = 1.25f; } } internal class ApolloBagel : BrohCard { protected override string Title => "ApolloBagel"; protected override string Description => "A literal bagel. Dense, round and full of carbs. Most shots go clean through the hole."; protected override Rarity Rarity => (Rarity)0; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Health", "+50%"), BrohCard.Bad("Movement Speed", "-10%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 1.5f; statModifiers.movementSpeed = 0.9f; } } internal class ApollobrohJButlerGod : BrohCard { protected override string Title => "Apollobroh J(ew). Butler GOD"; protected override string Description => "Declares himself a GOD roughly once an hour. No miracles on record. Has also never once picked up the check."; protected override Rarity Rarity => (Rarity)2; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+50%"), BrohCard.Good("Health", "+40%"), BrohCard.Bad("Ego (and hitbox)", "+30%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.5f; statModifiers.health = 1.4f; statModifiers.sizeMultiplier = 1.3f; } } internal class ApolloBrohOriginal : BrohCard { protected override string Title => "ApolloBroh"; protected override string Description => "The original. Often imitated, never shaved. Every other broh is just a worse haircut of this one."; protected override Rarity Rarity => (Rarity)2; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+25%"), BrohCard.Good("Health", "+25%"), BrohCard.Good("Movement Speed", "+15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.25f; statModifiers.health = 1.25f; statModifiers.movementSpeed = 1.15f; } } internal class ApolloBrust : BrohCard { protected override string Title => "ApolloBrust"; protected override string Description => "Twin guns, a bandana and a card game habit. Still owes you fifty mira from two years ago. You are not getting it back."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)4; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Bullets", "+1"), BrohCard.Good("Attack Speed", "+33%"), BrohCard.Bad("Damage", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.numberOfProjectiles = 1; gun.attackSpeed = 0.75f; gun.damage = 0.85f; } } internal class ApolloChelle : BrohCard { protected override string Title => "ApolloChelle"; protected override string Description => "Test subject with springs for heels and a gun full of holes. Was promised cake. There was no cake."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Jump Height", "+60%"), BrohCard.Good("Bullet Bounces", "+3"), BrohCard.Bad("Damage", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) statModifiers.jump = 1.6f; gun.reflects = 3; gun.damage = 0.85f; gun.projectileColor = new Color(1f, 0.5f, 0f); } } internal class ApolloChud : BrohCard { protected override string Title => "ApolloChud"; protected override string Description => "Hasn't seen sunlight or a vegetable since two console generations ago. Extremely brave online."; protected override Rarity Rarity => (Rarity)0; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Health", "+60%"), BrohCard.Bad("Size", "+25%"), BrohCard.Bad("Movement Speed", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 1.6f; statModifiers.sizeMultiplier = 1.25f; statModifiers.movementSpeed = 0.8f; } } internal class ApolloDbandz : BrohCard { protected override string Title => "ApolloDbandz"; protected override string Description => "Spits bars faster than he spends bands, and names every mixtape after an anime village."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Attack Speed", "+100%"), BrohCard.Good("Ammo", "+8"), BrohCard.Bad("Damage", "-25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) gun.attackSpeed = 0.5f; gun.ammo = 8; gun.damage = 0.75f; gun.projectileColor = new Color(1f, 0.85f, 0.1f); } } internal class ApolloDork : BrohCard { protected override string Title => "ApolloDork"; protected override string Description => "Um, actually, the bullets bounce because he did the math. Then he got shoved in a locker."; protected override Rarity Rarity => (Rarity)0; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Bullet Bounces", "+2"), BrohCard.Good("Bullet Speed", "+50%"), BrohCard.Good("Reload Time", "-30%"), BrohCard.Bad("Health", "-25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.reflects = 2; gun.projectileSpeed = 1.5f; gun.reloadTime = 0.7f; statModifiers.health = 0.75f; } } internal class ApolloET : BrohCard { protected override string Title => "ApolloET"; protected override string Description => "Tried to phone home. Home blocked the number. The finger glows and you should not ask where it has been."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)5; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Gravity", "-50%"), BrohCard.Good("Regeneration", "+4 HP/s"), BrohCard.Bad("Health", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.gravity = 0.5f; statModifiers.regen = 4f; statModifiers.health = 0.85f; } } internal class ApolloGay : BrohCard { protected override string Title => "ApolloGay"; protected override string Description => "Walks into every fight like it's a runway and leaves it like an afterparty. Yes, the bullets are pink. Obviously."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Movement Speed", "+30%"), BrohCard.Good("Jump Height", "+25%"), BrohCard.Good("Extra Jump", "+1"), BrohCard.Bad("Health", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) statModifiers.movementSpeed = 1.3f; statModifiers.jump = 1.25f; statModifiers.numberOfJumps = 1; statModifiers.health = 0.85f; gun.projectileColor = new Color(1f, 0.3f, 0.7f); } } internal class ApolloGoy : BrohCard { protected override string Title => "ApolloGoy"; protected override string Description => "Bought the extended warranty, the timeshare and a bridge. Thinks it's all going great."; protected override Rarity Rarity => (Rarity)0; protected override CardThemeColorType Theme => (CardThemeColorType)2; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Health", "+50%"), BrohCard.Bad("Reload Time", "+20%"), BrohCard.Bad("Ammo", "-1") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 1.5f; gun.reloadTime = 1.2f; gun.ammo = -1; } } internal class ApolloHammer : BrohCard { protected override string Title => "ApolloHammer"; protected override string Description => "Eleven beers deep and absolutely fine to drive, he explains, to a lamp post."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Damage", "+60%"), BrohCard.Good("Health", "+30%"), BrohCard.Bad("Accuracy", "Hammered"), BrohCard.Bad("Movement Speed", "-10%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.6f; statModifiers.health = 1.3f; gun.spread = 0.25f; statModifiers.movementSpeed = 0.9f; } } internal class ApolloJuh : BrohCard { protected override string Title => "ApolloJuh"; protected override string Description => "A juh is a bathtub built for two or more. Nobody has asked why he needed one that big, and nobody will."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Regeneration", "+5 HP/s"), BrohCard.Good("Bullets", "Soak and slow"), BrohCard.Bad("Size", "+20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) statModifiers.regen = 5f; gun.slow = 0.4f; statModifiers.sizeMultiplier = 1.2f; gun.projectileColor = new Color(0.3f, 0.7f, 1f); } } internal class ApolloKamikaze : BrohCard { protected override string Title => "ApolloKamikaze"; protected override string Description => "One-way ticket. Signed up without reading the job description and is now too committed to ask questions."; protected override Rarity Rarity => (Rarity)2; protected override CardThemeColorType Theme => (CardThemeColorType)0; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Damage", "+150%"), BrohCard.Good("Movement Speed", "+40%"), BrohCard.Bad("Health", "-60%"), BrohCard.Good("Bullets", "Explode") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 2.5f; statModifiers.movementSpeed = 1.4f; statModifiers.health = 0.4f; gun.objectsToSpawn = BulletEffects.From("Explosive bullet"); } } internal class ApolloKnight : BrohCard { protected override string Title => "ApolloKnight"; protected override string Description => "Forty kilos of steel, zero peripheral vision, and still convinced chivalry will get him a girlfriend."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)2; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Health", "+80%"), BrohCard.Good("Extra Block", "+1"), BrohCard.Bad("Movement Speed", "-25%"), BrohCard.Bad("Jump Height", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 1.8f; block.additionalBlocks = 1; statModifiers.movementSpeed = 0.75f; statModifiers.jump = 0.85f; } } internal class ApolloMalaka : BrohCard { protected override string Title => "ApolloMalaka"; protected override string Description => "Greek for wanker. Shouted with love from a moving car, one hand on the wheel and the other one busy."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+35%"), BrohCard.Good("Attack Speed", "+33%"), BrohCard.Bad("Accuracy", "Worse") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.35f; gun.attackSpeed = 0.75f; gun.spread = 0.12f; } } internal class ApolloNasty : BrohCard { protected override string Title => "ApolloNasty"; protected override string Description => "Everything he touches needs wiping down. Owns a blacklight and treats it like a scoreboard."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)5; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Bullets", "Sticky (slow)"), BrohCard.Good("Ammo", "+5"), BrohCard.Bad("Movement Speed", "-10%"), BrohCard.Good("Bullets", "Leave a toxic cloud") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) gun.slow = 0.6f; gun.ammo = 5; statModifiers.movementSpeed = 0.9f; gun.projectileColor = new Color(0.95f, 0.95f, 0.8f); gun.objectsToSpawn = BulletEffects.From("Toxic cloud"); } } internal class ApolloObama : BrohCard { protected override string Title => "ApolloObama"; protected override string Description => "Uhhh, let me be clear. That was a legitimate target. Probably. Sent from very far away in a very calm voice."; protected override Rarity Rarity => (Rarity)2; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Bullet Speed", "+100%"), BrohCard.Good("Bullet Drop", "-90%"), BrohCard.Good("Damage", "+30%"), BrohCard.Bad("Reload Time", "+25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.projectileSpeed = 2f; gun.gravity = 0.1f; gun.damage = 1.3f; gun.reloadTime = 1.25f; } } internal class ApolloPussy : BrohCard { protected override string Title => "ApolloPussy"; protected override string Description => "Brave enough to shoot at you. From three screens away. While already leaving."; protected override Rarity Rarity => (Rarity)0; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Movement Speed", "+50%"), BrohCard.Good("Block Cooldown", "-30%"), BrohCard.Bad("Damage", "-25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.5f; block.cdMultiplier = 0.7f; gun.damage = 0.75f; } } internal class ApolloSauce : BrohCard { protected override string Title => "ApolloSauce"; protected override string Description => "A glass soy sauce bottle with legs and a blood pressure warning. Leaves a stain on everything he loves."; protected override Rarity Rarity => (Rarity)0; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+25%"), BrohCard.Good("Bullets", "Salty (slow)"), BrohCard.Bad("Health", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) gun.damage = 1.25f; gun.slow = 0.5f; statModifiers.health = 0.85f; gun.projectileColor = new Color(0.25f, 0.1f, 0.02f); } } internal class ApolloSenpai : BrohCard { protected override string Title => "ApolloSenpai"; protected override string Description => "Owns four body pillows and zero bed sheets. Notice him. Please. He has been standing there for an hour."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Bullet Speed", "+50%"), BrohCard.Good("Life Steal", "+25%"), BrohCard.Bad("Health", "-10%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.projectileSpeed = 1.5f; statModifiers.lifeSteal = 0.25f; statModifiers.health = 0.9f; } } internal class ApolloSlutz : BrohCard { protected override string Title => "ApolloSlutz"; protected override string Description => "Has been inside more people than the common cold. Always open to a plus-one."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)4; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Bullets", "+1"), BrohCard.Good("Life Steal", "+50%"), BrohCard.Bad("Health", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.numberOfProjectiles = 1; statModifiers.lifeSteal = 0.5f; statModifiers.health = 0.8f; } } internal class ApolloSmalls : BrohCard { protected override string Title => "ApolloSmalls"; protected override string Description => "The new kid. Can't throw, can't catch, has no idea who the Great Bambino is. Somehow keeps hitting home runs."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Size", "-35%"), BrohCard.Good("Knockback", "+150%"), BrohCard.Good("Bullet Speed", "+30%"), BrohCard.Bad("Health", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.sizeMultiplier = 0.65f; gun.knockback = 2.5f; gun.projectileSpeed = 1.3f; statModifiers.health = 0.8f; } } internal class ApolloTheGuy : BrohCard { protected override string Title => "ApolloTheGuy"; protected override string Description => "He's him. He's THE GUY. Nobody can explain what he actually does, but everyone agrees he's the greatest to ever do it."; protected override Rarity Rarity => (Rarity)2; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Damage", "+30%"), BrohCard.Good("Health", "+30%"), BrohCard.Good("Movement Speed", "+15%"), BrohCard.Good("Reload Time", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.3f; statModifiers.health = 1.3f; statModifiers.movementSpeed = 1.15f; gun.reloadTime = 0.85f; } } internal class ApolloTooth : BrohCard { protected override string Title => "ApolloTooth"; protected override string Description => "A walking molar with a face. Bites hard, never flosses, terrified of gummy bears."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+40%"), BrohCard.Good("Health", "+30%"), BrohCard.Bad("Movement Speed", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0029: Unknown result type (might be due to invalid IL or missing references) gun.damage = 1.4f; statModifiers.health = 1.3f; statModifiers.movementSpeed = 0.8f; gun.projectileColor = Color.white; } } internal class ApolloXray : BrohCard { protected override string Title => "ApolloXray"; protected override string Description => "Sees straight through walls. Has so far used this gift exclusively on the gym changing rooms."; protected override Rarity Rarity => (Rarity)2; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Bullets", "Ignore walls"), BrohCard.Bad("Damage", "-30%"), BrohCard.Bad("Reload Time", "+25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.ignoreWalls = true; gun.damage = 0.7f; gun.reloadTime = 1.25f; } } internal class Apporrohbro : BrohCard { protected override string Title => "Apporrohbro"; protected override string Description => "Same broh, shipped from overseas. Arrived six weeks late in a box labelled 'Aporro Bro Genuine Orignal'."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+20%"), BrohCard.Good("Health", "+20%"), BrohCard.Good("Movement Speed", "+10%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.2f; statModifiers.health = 1.2f; statModifiers.movementSpeed = 1.1f; } } internal class BiggerNose : BrohCard { protected override string Title => "Bigger Nose"; protected override string Description => "It grows every single time he says he'll pay you back. [Apollobroh J(ew). Butler GOD only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "Apollobroh J(ew). Butler GOD"; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Wealth", "+Lots"), BrohCard.Good("Health", "+75%"), BrohCard.Good("Ammo", "+10"), BrohCard.Bad("Size", "200%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) statModifiers.sizeMultiplier = 2f; statModifiers.health = 1.75f; gun.ammo = 10; gun.projectileColor = new Color(1f, 0.85f, 0.1f); } } internal class Blackout : BrohCard { protected override string Title => "Blackout"; protected override string Description => "Feels nothing, remembers nothing, wakes up in a different city. [ApolloHammer only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "ApolloHammer"; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Health", "+100%"), BrohCard.Good("Damage Taken", "Spread over 3s"), BrohCard.Bad("Accuracy", "Gone") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 2f; statModifiers.secondsToTakeDamageOver = 3f; gun.spread = 0.3f; } } internal class BladeShark : BrohCard { protected override string Title => "Blade Shark"; protected override string Description => "Hustles his classmates at cards between lessons. Always has the right one when it counts. [ApolloBrust only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "ApolloBrust"; protected override CardThemeColorType Theme => (CardThemeColorType)4; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Bullets", "+2"), BrohCard.Good("Attack Speed", "+66%"), BrohCard.Good("Bullet Bounces", "+1"), BrohCard.Bad("Damage", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.numberOfProjectiles = 2; gun.attackSpeed = 0.6f; gun.reflects = 1; gun.damage = 0.8f; } } internal class BodyCount : BrohCard { protected override string Title => "Body Count"; protected override string Description => "The number is already high, and it is about to include you. [ApolloSlutz only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "ApolloSlutz"; protected override CardThemeColorType Theme => (CardThemeColorType)4; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Life Steal", "+75%"), BrohCard.Good("Damage", "+20%"), BrohCard.Good("Bullets", "Parasite") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.lifeSteal = 0.75f; gun.damage = 1.2f; gun.objectsToSpawn = BulletEffects.From("Parasite"); } } internal class BodyPillow : BrohCard { protected override string Title => "Body Pillow"; protected override string Description => "Soft, supportive and legally not a person. Do not look at the stains. [ApolloSenpai only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloSenpai"; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Health", "+50%"), BrohCard.Bad("Movement Speed", "-10%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 1.5f; statModifiers.movementSpeed = 0.9f; } } internal abstract class BrohCard : CustomCard { protected abstract string Title { get; } protected abstract string Description { get; } protected virtual Rarity Rarity => (Rarity)0; protected virtual string CustomRarity => null; protected virtual CardThemeColorType Theme => (CardThemeColorType)7; protected virtual CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[0]; protected virtual string ClassTitle => null; protected static CardInfoStat Good(string stat, string amount) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Expected O, but got Unknown return new CardInfoStat { positive = true, stat = stat, amount = amount, simepleAmount = (SimpleAmount)0 }; } protected static CardInfoStat Bad(string stat, string amount) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Expected O, but got Unknown return new CardInfoStat { positive = false, stat = stat, amount = amount, simepleAmount = (SimpleAmount)0 }; } public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats) { } protected override string GetTitle() { return Title; } protected override string GetDescription() { return Description; } protected override Rarity GetRarity() { //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_000e: Unknown result type (might be due to invalid IL or missing references) if (CustomRarity != null) { return RarityUtils.GetRarity(CustomRarity); } return Rarity; } protected override CardThemeColorType GetTheme() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) return Theme; } protected override CardInfoStat[] GetStats() { return Stats; } public override string GetModName() { return "BROH"; } protected override GameObject GetCardArt() { return BrohArt.For(Title, ClassTitle); } } internal class BubbleBath : BrohCard { protected override string Title => "Bubble Bath"; protected override string Description => "Two hours in. Pruned beyond recognition and lighter than air. [ApolloJuh only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloJuh"; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Regeneration", "+6 HP/s"), BrohCard.Good("Extra Jump", "+1"), BrohCard.Good("Gravity", "-20%"), BrohCard.Good("Bullets", "Grow in flight") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.regen = 6f; statModifiers.numberOfJumps = 1; statModifiers.gravity = 0.8f; gun.objectsToSpawn = BulletEffects.From("Grow"); } } internal class BurningBush : BrohCard { protected override string Title => "Burning Bush"; protected override string Description => "It talks. It is on fire. He is fairly sure that's a good sign. [GodsChosenApollo only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "GodsChosenApollo"; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+50%"), BrohCard.Good("Attack Speed", "+25%"), BrohCard.Good("Bullets", "Explode") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) gun.damage = 1.5f; gun.attackSpeed = 0.8f; gun.projectileColor = new Color(1f, 0.45f, 0f); gun.objectsToSpawn = BulletEffects.From("Explosive bullet"); } } internal class Card300000Miles : BrohCard { protected override string Title => "300,000 Miles"; protected override string Description => "No oil change since 2011. Will still outlast your marriage. [MegaSuperGayFaggotGayToyotabroh only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "MegaSuperGayFaggotGayToyotabroh"; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Health", "+100%"), BrohCard.Good("Regeneration", "+4 HP/s") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 2f; statModifiers.regen = 4f; } } internal static class CardRegistry { public static void RegisterAll() { BrohClasses.Build<ApolloBagel>(); BrohClasses.Build<EverythingSeasoning>("ApolloBagel"); BrohClasses.Build<CreamCheeseSchmear>("ApolloBagel"); BrohClasses.Build<ApolloBrohOriginal>(); BrohClasses.Build<TheSadSelfie>("ApolloBroh"); BrohClasses.Build<CleanShaven>("ApolloBroh"); BrohClasses.Build<ApolloDbandz>(); BrohClasses.Build<MakeItRain>("ApolloDbandz"); BrohClasses.Build<ThickandAnime>("ApolloDbandz"); BrohClasses.Build<ApolloDork>(); BrohClasses.Build<PocketProtector>("ApolloDork"); BrohClasses.Build<UmActually>("ApolloDork"); BrohClasses.Build<ApolloGay>(); BrohClasses.Build<GlitterBomb>("ApolloGay"); BrohClasses.Build<Slay>("ApolloGay"); BrohClasses.Build<ApolloMalaka>(); BrohClasses.Build<RoadRage>("ApolloMalaka"); BrohClasses.Build<FiveFingerSalute>("ApolloMalaka"); BrohClasses.Build<ApolloPussy>(); BrohClasses.Build<TacticalRetreat>("ApolloPussy"); BrohClasses.Build<HideBehindMom>("ApolloPussy"); BrohClasses.Build<ApolloSenpai>(); BrohClasses.Build<BodyPillow>("ApolloSenpai"); BrohClasses.Build<NarutoRun>("ApolloSenpai"); BrohClasses.Build<ApolloSlutz>(); BrohClasses.Build<BodyCount>("ApolloSlutz"); BrohClasses.Build<PlusThree>("ApolloSlutz"); BrohClasses.Build<ApolloTooth>(); BrohClasses.Build<RootCanal>("ApolloTooth"); BrohClasses.Build<Cavity>("ApolloTooth"); BrohClasses.Build<ApolloXray>(); BrohClasses.Build<LeadUnderwear>("ApolloXray"); BrohClasses.Build<RadiationPoisoning>("ApolloXray"); BrohClasses.Build<CholoBroh>(); BrohClasses.Build<Lowrider>("CholoBroh"); BrohClasses.Build<AbuelasChancla>("CholoBroh"); BrohClasses.Build<ApolloArmyDog>(); BrohClasses.Build<CrayonMRE>("ApolloArmyDog"); BrohClasses.Build<SirYesSir>("ApolloArmyDog"); BrohClasses.Build<Apolloasiopoulos>(); BrohClasses.Build<OPA>("Apolloasiopoulos"); BrohClasses.Build<OliveOil>("Apolloasiopoulos"); BrohClasses.Build<ApollobrohJButlerGod>(); BrohClasses.Build<BiggerNose>("Apollobroh J(ew). Butler GOD"); BrohClasses.Build<IAMAGOD>("Apollobroh J(ew). Butler GOD"); BrohClasses.Build<ApolloChelle>(); BrohClasses.Build<LongFallBoots>("ApolloChelle"); BrohClasses.Build<CompanionCube>("ApolloChelle"); BrohClasses.Build<ApolloChud>(); BrohClasses.Build<MountainDewIV>("ApolloChud"); BrohClasses.Build<KeyboardWarrior>("ApolloChud"); BrohClasses.Build<ApolloET>(); BrohClasses.Build<GlowingFinger>("ApolloET"); BrohClasses.Build<PhoneHome>("ApolloET"); BrohClasses.Build<ApolloGoy>(); BrohClasses.Build<ExtendedWarranty>("ApolloGoy"); BrohClasses.Build<Timeshare>("ApolloGoy"); BrohClasses.Build<ApolloHammer>(); BrohClasses.Build<OneMoreRound>("ApolloHammer"); BrohClasses.Build<Blackout>("ApolloHammer"); BrohClasses.Build<ApolloJuh>(); BrohClasses.Build<RubberDucky>("ApolloJuh"); BrohClasses.Build<BubbleBath>("ApolloJuh"); BrohClasses.Build<ApolloKamikaze>(); BrohClasses.Build<DivineWind>("ApolloKamikaze"); BrohClasses.Build<NoReturnFuel>("ApolloKamikaze"); BrohClasses.Build<ApolloKnight>(); BrohClasses.Build<ChastityBelt>("ApolloKnight"); BrohClasses.Build<DeusVult>("ApolloKnight"); BrohClasses.Build<ApolloObama>(); BrohClasses.Build<ThanksObama>("ApolloObama"); BrohClasses.Build<DroneStrike>("ApolloObama"); BrohClasses.Build<ApolloSauce>(); BrohClasses.Build<LowSodium>("ApolloSauce"); BrohClasses.Build<SodiumOverdose>("ApolloSauce"); BrohClasses.Build<ApolloSmalls>(); BrohClasses.Build<PickletheBeast>("ApolloSmalls"); BrohClasses.Build<SignedbyBabeRuth>("ApolloSmalls"); BrohClasses.Build<ApolloTheGuy>(); BrohClasses.Build<Him>("ApolloTheGuy"); BrohClasses.Build<GOAT>("ApolloTheGuy"); BrohClasses.Build<ApolloBrust>(); BrohClasses.Build<FiftyMira>("ApolloBrust"); BrohClasses.Build<BladeShark>("ApolloBrust"); BrohClasses.Build<Apporrohbro>(); BrohClasses.Build<Knockoff>("Apporrohbro"); BrohClasses.Build<FreeShipping>("Apporrohbro"); BrohClasses.Build<GodsChosenApollo>(); BrohClasses.Build<BurningBush>("GodsChosenApollo"); BrohClasses.Build<ParttheSea>("GodsChosenApollo"); BrohClasses.Build<GoonerBroh>(); BrohClasses.Build<Lotion>("GoonerBroh"); BrohClasses.Build<PostNutClarity>("GoonerBroh"); BrohClasses.Build<MegaSuperToyotabroh>(); BrohClasses.Build<Card300000Miles>("MegaSuperGayFaggotGayToyotabroh"); BrohClasses.Build<RainbowWrap>("MegaSuperGayFaggotGayToyotabroh"); BrohClasses.Build<StupidApolloChud>(); BrohClasses.Build<GlueSniffer>("StupidApolloChud"); BrohClasses.Build<HeadFirst>("StupidApolloChud"); BrohClasses.Build<ApolloNasty>(); BrohClasses.Build<CrustySock>("ApolloNasty"); BrohClasses.Build<UnsolicitedPic>("ApolloNasty"); } } internal class Cavity : BrohCard { protected override string Title => "Cavity"; protected override string Description => "A hole he is oddly proud of. Things go in and the pain shows up later. [ApolloTooth only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloTooth"; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Damage Taken", "Spread over 4s"), BrohCard.Bad("Health", "-10%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.secondsToTakeDamageOver = 4f; statModifiers.health = 0.9f; } } internal class ChastityBelt : BrohCard { protected override string Title => "Chastity Belt"; protected override string Description => "Lost the key in 1342. Has stopped looking. [ApolloKnight only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloKnight"; protected override CardThemeColorType Theme => (CardThemeColorType)2; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Extra Block", "+1"), BrohCard.Good("Block Cooldown", "-30%"), BrohCard.Bad("Movement Speed", "-10%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { block.additionalBlocks = 1; block.cdMultiplier = 0.7f; statModifiers.movementSpeed = 0.9f; } } internal class CholoBroh : BrohCard { protected override string Title => "CholoBroh"; protected override string Description => "Rolls up at four miles an hour, hydraulics bouncing, holding it sideways. Hits everything except you, ese."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Burst", "+3 bullets"), BrohCard.Good("Jump Height", "+40%"), BrohCard.Bad("Damage", "-40%"), BrohCard.Bad("Accuracy", "Sideways") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.bursts = 3; gun.timeBetweenBullets = 0.08f; gun.spread = 0.1f; statModifiers.jump = 1.4f; gun.damage = 0.6f; } } internal class CleanShaven : BrohCard { protected override string Title => "Clean Shaven"; protected override string Description => "He did it. He looks twelve. Nothing left to slow him down, including dignity. [ApolloBroh only]"; protected override string CustomRarity => "Legendary"; protected override string ClassTitle => "ApolloBroh"; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Movement Speed", "+50%"), BrohCard.Good("Attack Speed", "+66%"), BrohCard.Bad("Health", "-30%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.5f; gun.attackSpeed = 0.6f; statModifiers.health = 0.7f; } } internal class CompanionCube : BrohCard { protected override string Title => "Companion Cube"; protected override string Description => "Her only friend. Does not talk, cannot leave, will be incinerated. [ApolloChelle only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloChelle"; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Health", "+60%"), BrohCard.Good("Extra Block", "+1"), BrohCard.Bad("Movement Speed", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 1.6f; block.additionalBlocks = 1; statModifiers.movementSpeed = 0.85f; } } internal class CrayonMRE : BrohCard { protected override string Title => "Crayon MRE"; protected override string Description => "Red tastes the best. He has strong opinions about the others. [ApolloArmyDog only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloArmyDog"; protected override CardThemeColorType Theme => (CardThemeColorType)5; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Regeneration", "+4 HP/s"), BrohCard.Good("Health", "+20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.regen = 4f; statModifiers.health = 1.2f; } } internal class CreamCheeseSchmear : BrohCard { protected override string Title => "Cream Cheese Schmear"; protected override string Description => "Thick, white and spread generously. He insists it's cream cheese. [ApolloBagel only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloBagel"; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Regeneration", "+3 HP/s"), BrohCard.Good("Bullets", "Sticky (slow)") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Unknown result type (might be due to invalid IL or missing references) statModifiers.regen = 3f; gun.slow = 0.4f; gun.projectileColor = Color.white; } } internal class CrustySock : BrohCard { protected override string Title => "Crusty Sock"; protected override string Description => "Stands up on its own. Has a name. You are not ready to hear it. [ApolloNasty only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloNasty"; protected override CardThemeColorType Theme => (CardThemeColorType)5; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Health", "+30%"), BrohCard.Good("Bullets", "Sticky (slow)"), BrohCard.Good("Bullets", "Leave a toxic cloud") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 1.3f; gun.slow = 0.5f; gun.objectsToSpawn = BulletEffects.From("Toxic cloud"); } } internal class DeusVult : BrohCard { protected override string Title => "Deus Vult"; protected override string Description => "Shouts it before every swing. Has never checked whether God actually wills it. [ApolloKnight only]"; protected override string CustomRarity => "Legendary"; protected override string ClassTitle => "ApolloKnight"; protected override CardThemeColorType Theme => (CardThemeColorType)2; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Damage", "+80%"), BrohCard.Good("Health", "+50%"), BrohCard.Good("Knockback", "+100%"), BrohCard.Bad("Attack Speed", "-25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.8f; statModifiers.health = 1.5f; gun.knockback = 2f; gun.attackSpeed = 1.3f; } } internal class DivineWind : BrohCard { protected override string Title => "Divine Wind"; protected override string Description => "The wind is behind him. So is everyone else, a long way back, watching. [ApolloKamikaze only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "ApolloKamikaze"; protected override CardThemeColorType Theme => (CardThemeColorType)0; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Movement Speed", "+80%"), BrohCard.Good("Bullet Speed", "+100%"), BrohCard.Bad("Health", "-40%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.8f; gun.projectileSpeed = 2f; statModifiers.health = 0.6f; } } internal class DroneStrike : BrohCard { protected override string Title => "Drone Strike"; protected override string Description => "You won't hear it. You won't see it. There will be a press conference. [ApolloObama only]"; protected override string CustomRarity => "Legendary"; protected override string ClassTitle => "ApolloObama"; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[5] { BrohCard.Good("Damage", "+200%"), BrohCard.Good("Bullet Speed", "+200%"), BrohCard.Bad("Attack Speed", "-50%"), BrohCard.Bad("Reload Time", "+50%"), BrohCard.Good("Bullets", "Homing + explode") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 3f; gun.projectileSpeed = 3f; gun.gravity = 0.1f; gun.attackSpeed = 2f; gun.reloadTime = 1.5f; gun.objectsToSpawn = BulletEffects.From("Homing", "Explosive bullet"); } } internal class EverythingSeasoning : BrohCard { protected override string Title => "Everything Seasoning"; protected override string Description => "Poppy seeds, sesame, garlic, onion, shame. It gets everywhere. [ApolloBagel only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloBagel"; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Bullets", "+4"), BrohCard.Bad("Damage", "-50%"), BrohCard.Bad("Accuracy", "Scattered") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.numberOfProjectiles = 4; gun.spread = 0.2f; gun.damage = 0.5f; } } internal class ExtendedWarranty : BrohCard { protected override string Title => "Extended Warranty"; protected override string Description => "Paid extra for it. Covers nothing. He feels very safe. [ApolloGoy only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloGoy"; protected override CardThemeColorType Theme => (CardThemeColorType)2; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Extra Block", "+1"), BrohCard.Good("Health", "+20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { block.additionalBlocks = 1; statModifiers.health = 1.2f; } } internal class FiftyMira : BrohCard { protected override string Title => "Fifty Mira"; protected override string Description => "Borrowed it once. The interest alone could buy an airship by now. [ApolloBrust only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloBrust"; protected override CardThemeColorType Theme => (CardThemeColorType)4; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Life Steal", "+30%"), BrohCard.Good("Ammo", "+3") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.lifeSteal = 0.3f; gun.ammo = 3; } } internal class FiveFingerSalute : BrohCard { protected override string Title => "Five Finger Salute"; protected override string Description => "The moutza. An open palm to the face and a curse on your entire bloodline. [ApolloMalaka only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloMalaka"; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Bullets", "+4"), BrohCard.Bad("Damage", "-40%"), BrohCard.Bad("Accuracy", "Worse") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.numberOfProjectiles = 4; gun.spread = 0.2f; gun.damage = 0.6f; } } internal class FreeShipping : BrohCard { protected override string Title => "Free Shipping"; protected override string Description => "Hits like a truck. Arrives in six to eight weeks. [Apporrohbro only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "Apporrohbro"; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+100%"), BrohCard.Bad("Bullet Speed", "-60%"), BrohCard.Good("Bullets", "Delayed explosion") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 2f; gun.projectileSpeed = 0.4f; gun.objectsToSpawn = BulletEffects.From("Timed detonation"); } } internal class GlitterBomb : BrohCard { protected override string Title => "Glitter Bomb"; protected override string Description => "You will be finding it in your carpet for the next six years. [ApolloGay only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloGay"; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Bullets", "+5"), BrohCard.Bad("Damage", "-55%"), BrohCard.Bad("Accuracy", "Everywhere"), BrohCard.Good("Bullets", "Stun") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) gun.numberOfProjectiles = 5; gun.spread = 0.3f; gun.damage = 0.45f; gun.projectileColor = new Color(1f, 0.3f, 0.7f); gun.objectsToSpawn = BulletEffects.From("Dazzle"); } } internal class GlowingFinger : BrohCard { protected override string Title => "Glowing Finger"; protected override string Description => "It heals whatever it touches. He will not stop touching things. [ApolloET only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloET"; protected override CardThemeColorType Theme => (CardThemeColorType)5; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Regeneration", "+8 HP/s"), BrohCard.Good("Life Steal", "+25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.regen = 8f; statModifiers.lifeSteal = 0.25f; } } internal class GlueSniffer : BrohCard { protected override string Title => "Glue Sniffer"; protected override string Description => "Says it smells like purple. [StupidApolloChud only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "StupidApolloChud"; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Health", "+50%"), BrohCard.Good("Bullets", "Sticky (slow)"), BrohCard.Good("Bullets", "Leave a toxic cloud") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 1.5f; gun.slow = 0.5f; gun.objectsToSpawn = BulletEffects.From("Toxic cloud"); } } internal class GOAT : BrohCard { protected override string Title => "G.O.A.T."; protected override string Description => "Greatest of all time. The debate is over. Stop bringing up the other guy. [ApolloTheGuy only]"; protected override string CustomRarity => "BROH_Mythic"; protected override string ClassTitle => "ApolloTheGuy"; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[5] { BrohCard.Good("Damage", "+60%"), BrohCard.Good("Health", "+60%"), BrohCard.Good("Movement Speed", "+30%"), BrohCard.Good("Attack Speed", "+43%"), BrohCard.Good("Reload Time", "-30%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.6f; statModifiers.health = 1.6f; statModifiers.movementSpeed = 1.3f; gun.attackSpeed = 0.7f; gun.reloadTime = 0.7f; } } internal class GodsChosenApollo : BrohCard { protected override string Title => "GodsChosenApollo"; protected override string Description => "Chosen by God. For what, exactly, God has declined to comment. Comes back from the dead once, mostly to complain."; protected override Rarity Rarity => (Rarity)2; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Extra Life", "+1"), BrohCard.Bad("Health", "-25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.respawns = 1; statModifiers.health = 0.75f; } } internal class GoonerBroh : BrohCard { protected override string Title => "GoonerBroh"; protected override string Description => "Day nine. Curtains closed. The mouse hand is fine. The other hand needs a doctor."; protected override Rarity Rarity => (Rarity)1; protected override CardThemeColorType Theme => (CardThemeColorType)4; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Ammo", "+15"), BrohCard.Good("Reload Time", "-50%"), BrohCard.Bad("Health", "-30%"), BrohCard.Bad("Movement Speed", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.ammo = 15; gun.reloadTime = 0.5f; statModifiers.health = 0.7f; statModifiers.movementSpeed = 0.8f; } } internal class HeadFirst : BrohCard { protected override string Title => "Head First"; protected override string Description => "Opens every door the same way. Most of them said pull. [StupidApolloChud only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "StupidApolloChud"; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Knockback", "+200%"), BrohCard.Good("Health", "+50%"), BrohCard.Good("Movement Speed", "+20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.knockback = 3f; statModifiers.health = 1.5f; statModifiers.movementSpeed = 1.2f; } } internal class HideBehindMom : BrohCard { protected override string Title => "Hide Behind Mom"; protected override string Description => "She is disappointed. She is also a wall. [ApolloPussy only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloPussy"; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Extra Blocks", "+2"), BrohCard.Good("Block Cooldown", "-25%"), BrohCard.Bad("Damage", "-30%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { block.additionalBlocks = 2; block.cdMultiplier = 0.75f; gun.damage = 0.7f; } } internal class Him : BrohCard { protected override string Title => "Him"; protected override string Description => "Not a guy. THE guy. There is a difference and you can feel it. [ApolloTheGuy only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "ApolloTheGuy"; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+40%"), BrohCard.Good("Health", "+40%"), BrohCard.Good("Attack Speed", "+25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.4f; statModifiers.health = 1.4f; gun.attackSpeed = 0.8f; } } internal class IAMAGOD : BrohCard { protected override string Title => "I AM A GOD"; protected override string Description => "He finally said it enough times that something upstairs got tired of arguing. [Apollobroh J(ew). Butler GOD only]"; protected override string CustomRarity => "BROH_GodTier"; protected override string ClassTitle => "Apollobroh J(ew). Butler GOD"; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Damage", "+100%"), BrohCard.Good("Health", "+100%"), BrohCard.Good("Extra Life", "+1"), BrohCard.Good("Bullets", "Smite (explode)") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 2f; statModifiers.health = 2f; statModifiers.respawns = 1; gun.objectsToSpawn = BulletEffects.From("Explosive bullet"); } } internal class KeyboardWarrior : BrohCard { protected override string Title => "Keyboard Warrior"; protected override string Description => "Devastating from behind a screen. Folds instantly if you make eye contact. [ApolloChud only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloChud"; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+70%"), BrohCard.Good("Bullet Speed", "+60%"), BrohCard.Bad("Health", "-25%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.7f; gun.projectileSpeed = 1.6f; statModifiers.health = 0.75f; } } internal class Knockoff : BrohCard { protected override string Title => "Knockoff"; protected override string Description => "Looks identical on the website. Falls apart on the first wash. [Apporrohbro only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "Apporrohbro"; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Damage", "+30%"), BrohCard.Bad("Health", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 1.3f; statModifiers.health = 0.85f; } } internal class LeadUnderwear : BrohCard { protected override string Title => "Lead Underwear"; protected override string Description => "Protects the one thing he doesn't want anybody seeing through. [ApolloXray only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloXray"; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Health", "+50%"), BrohCard.Bad("Movement Speed", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.health = 1.5f; statModifiers.movementSpeed = 0.85f; } } internal class LongFallBoots : BrohCard { protected override string Title => "Long Fall Boots"; protected override string Description => "Lands a ten-storey drop without a scratch and still complains about her knees. [ApolloChelle only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloChelle"; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Gravity", "-40%"), BrohCard.Good("Jump Height", "+30%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.gravity = 0.6f; statModifiers.jump = 1.3f; } } internal class Lotion : BrohCard { protected override string Title => "Lotion"; protected override string Description => "Economy size. Third bottle this week. [GoonerBroh only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "GoonerBroh"; protected override CardThemeColorType Theme => (CardThemeColorType)4; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Movement Speed", "+35%"), BrohCard.Good("Attack Speed", "+33%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.35f; gun.attackSpeed = 0.75f; } } internal class Lowrider : BrohCard { protected override string Title => "Lowrider"; protected override string Description => "A '64 Impala. Sits one inch off the ground until it very suddenly doesn't. [CholoBroh only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "CholoBroh"; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Jump Height", "+80%"), BrohCard.Good("Extra Jumps", "+2"), BrohCard.Bad("Movement Speed", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.jump = 1.8f; statModifiers.numberOfJumps = 2; statModifiers.movementSpeed = 0.85f; } } internal class LowSodium : BrohCard { protected override string Title => "Low Sodium"; protected override string Description => "The green cap. Better for your heart, worse for everything else. [ApolloSauce only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloSauce"; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Movement Speed", "+30%"), BrohCard.Good("Health", "+20%"), BrohCard.Bad("Damage", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.3f; statModifiers.health = 1.2f; gun.damage = 0.85f; } } internal class MakeItRain : BrohCard { protected override string Title => "Make It Rain"; protected override string Description => "Throws money he does not have at problems he personally caused. [ApolloDbandz only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloDbandz"; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Ammo", "+20"), BrohCard.Good("Attack Speed", "+66%"), BrohCard.Bad("Damage", "-30%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) gun.ammo = 20; gun.attackSpeed = 0.6f; gun.damage = 0.7f; gun.projectileColor = new Color(0.2f, 0.8f, 0.3f); } } internal class MegaSuperToyotabroh : BrohCard { protected override string Title => "MegaSuperGayFaggotGayToyotabroh"; protected override string Description => "A Toyota at heart. Fabulous, fuel-efficient and will outlive everyone here. 300,000 miles and has never once gone straight."; protected override Rarity Rarity => (Rarity)2; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Health", "+100%"), BrohCard.Good("Movement Speed", "+35%"), BrohCard.Bad("Size", "+40%"), BrohCard.Bad("Damage", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) statModifiers.health = 2f; statModifiers.movementSpeed = 1.35f; statModifiers.sizeMultiplier = 1.4f; gun.damage = 0.8f; gun.projectileColor = new Color(1f, 0.3f, 0.7f); } } internal class MountainDewIV : BrohCard { protected override string Title => "Mountain Dew IV"; protected override string Description => "Straight into the vein. His blood is now lime green and carbonated. [ApolloChud only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloChud"; protected override CardThemeColorType Theme => (CardThemeColorType)6; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Attack Speed", "+66%"), BrohCard.Good("Movement Speed", "+15%"), BrohCard.Bad("Health", "-10%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) gun.attackSpeed = 0.6f; statModifiers.movementSpeed = 1.15f; statModifiers.health = 0.9f; gun.projectileColor = new Color(0.6f, 1f, 0.1f); } } internal class NarutoRun : BrohCard { protected override string Title => "Naruto Run"; protected override string Description => "Arms back, head down, dignity nowhere. Scientifically slower. Spiritually much faster. [ApolloSenpai only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloSenpai"; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Movement Speed", "+70%"), BrohCard.Good("Jump Height", "+20%"), BrohCard.Bad("Health", "-15%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.7f; statModifiers.jump = 1.2f; statModifiers.health = 0.85f; } } internal class NoReturnFuel : BrohCard { protected override string Title => "No Return Fuel"; protected override string Description => "They filled the tank halfway and told him not to worry about it. [ApolloKamikaze only]"; protected override string CustomRarity => "BROH_Mythic"; protected override string ClassTitle => "ApolloKamikaze"; protected override CardThemeColorType Theme => (CardThemeColorType)0; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Damage", "+300%"), BrohCard.Bad("Health", "-75%"), BrohCard.Bad("Reload Time", "+50%"), BrohCard.Good("Bullets", "Explode") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 4f; statModifiers.health = 0.25f; gun.reloadTime = 1.5f; gun.objectsToSpawn = BulletEffects.From("Explosive bullet"); } } internal class OliveOil : BrohCard { protected override string Title => "Olive Oil"; protected override string Description => "Cooks with it, bathes in it, swears it cures everything, including you. [Apolloasiopoulos only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "Apolloasiopoulos"; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Movement Speed", "+35%"), BrohCard.Good("Regeneration", "+2 HP/s") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.35f; statModifiers.regen = 2f; } } internal class OneMoreRound : BrohCard { protected override string Title => "One More Round"; protected override string Description => "Famous last words. Said eleven times tonight. [ApolloHammer only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloHammer"; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Ammo", "+6"), BrohCard.Good("Damage", "+25%"), BrohCard.Bad("Accuracy", "Worse") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.ammo = 6; gun.damage = 1.25f; gun.spread = 0.1f; } } internal class OPA : BrohCard { protected override string Title => "OPA!"; protected override string Description => "A plate, a shout, and a bill the restaurant sends to his cousin. [Apolloasiopoulos only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "Apolloasiopoulos"; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Bullets", "+3"), BrohCard.Good("Knockback", "+100%"), BrohCard.Bad("Damage", "-30%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.numberOfProjectiles = 3; gun.spread = 0.15f; gun.knockback = 2f; gun.damage = 0.7f; } } internal class ParttheSea : BrohCard { protected override string Title => "Part the Sea"; protected override string Description => "Everything in front of him moves aside. He takes full credit. [GodsChosenApollo only]"; protected override string CustomRarity => "Legendary"; protected override string ClassTitle => "GodsChosenApollo"; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Knockback", "+300%"), BrohCard.Good("Bullets", "+2"), BrohCard.Good("Health", "+30%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.knockback = 4f; gun.numberOfProjectiles = 2; gun.spread = 0.1f; statModifiers.health = 1.3f; } } internal class PhoneHome : BrohCard { protected override string Title => "Phone Home"; protected override string Description => "Somebody finally picked up. They sent him straight back. [ApolloET only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "ApolloET"; protected override CardThemeColorType Theme => (CardThemeColorType)5; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Extra Life", "+1"), BrohCard.Bad("Health", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.respawns = 1; statModifiers.health = 0.8f; } } internal class PickletheBeast : BrohCard { protected override string Title => "Pickle the Beast"; protected override string Description => "Over the fence, grab the ball, do not look at the dog. Run. [ApolloSmalls only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloSmalls"; protected override CardThemeColorType Theme => (CardThemeColorType)1; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Movement Speed", "+60%"), BrohCard.Good("Jump Height", "+40%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.6f; statModifiers.jump = 1.4f; } } internal class PlusThree : BrohCard { protected override string Title => "Plus Three"; protected override string Description => "One was never going to be enough. [ApolloSlutz only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloSlutz"; protected override CardThemeColorType Theme => (CardThemeColorType)4; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Bullets", "+3"), BrohCard.Bad("Damage", "-40%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.numberOfProjectiles = 3; gun.spread = 0.15f; gun.damage = 0.6f; } } internal class PocketProtector : BrohCard { protected override string Title => "Pocket Protector"; protected override string Description => "Guards three pens and his virginity with equal success. [ApolloDork only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloDork"; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Extra Block", "+1"), BrohCard.Good("Block Cooldown", "-20%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { block.additionalBlocks = 1; block.cdMultiplier = 0.8f; } } internal class PostNutClarity : BrohCard { protected override string Title => "Post-Nut Clarity"; protected override string Description => "For eleven seconds he sees his entire life clearly. Then he reloads. [GoonerBroh only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "GoonerBroh"; protected override CardThemeColorType Theme => (CardThemeColorType)4; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+100%"), BrohCard.Good("Bullet Speed", "+50%"), BrohCard.Bad("Reload Time", "+60%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { gun.damage = 2f; gun.projectileSpeed = 1.5f; gun.reloadTime = 1.6f; } } internal class RadiationPoisoning : BrohCard { protected override string Title => "Radiation Poisoning"; protected override string Description => "Nine thousand scans later, his bullets pass through blocks and his hair has passed on. [ApolloXray only]"; protected override string CustomRarity => "BROH_Epic"; protected override string ClassTitle => "ApolloXray"; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[4] { BrohCard.Good("Bullets", "Unblockable"), BrohCard.Bad("Damage", "-20%"), BrohCard.Bad("Health", "-20%"), BrohCard.Good("Bullets", "Poison + toxic cloud") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) gun.unblockable = true; gun.damage = 0.8f; statModifiers.health = 0.8f; gun.projectileColor = new Color(0.4f, 1f, 0.2f); gun.objectsToSpawn = BulletEffects.From("Poison bullets", "Toxic cloud"); } } internal class RainbowWrap : BrohCard { protected override string Title => "Rainbow Wrap"; protected override string Description => "Full pride wrap, underglow and a spoiler. Zero horsepower added. Worth every cent. [MegaSuperGayFaggotGayToyotabroh only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "MegaSuperGayFaggotGayToyotabroh"; protected override CardThemeColorType Theme => (CardThemeColorType)8; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[2] { BrohCard.Good("Movement Speed", "+50%"), BrohCard.Good("Jump Height", "+30%") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.5f; statModifiers.jump = 1.3f; } } internal class RoadRage : BrohCard { protected override string Title => "Road Rage"; protected override string Description => "Leans on the horn with his whole body and several of his ancestors. [ApolloMalaka only]"; protected override Rarity Rarity => (Rarity)1; protected override string ClassTitle => "ApolloMalaka"; protected override CardThemeColorType Theme => (CardThemeColorType)7; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Movement Speed", "+40%"), BrohCard.Good("Knockback", "+100%"), BrohCard.Good("Bullets", "Attach a thruster") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { statModifiers.movementSpeed = 1.4f; gun.knockback = 2f; gun.objectsToSpawn = BulletEffects.From("Thruster"); } } internal class RootCanal : BrohCard { protected override string Title => "Root Canal"; protected override string Description => "Slow, deep, and you pay for it afterwards. [ApolloTooth only]"; protected override Rarity Rarity => (Rarity)2; protected override string ClassTitle => "ApolloTooth"; protected override CardThemeColorType Theme => (CardThemeColorType)3; protected override CardInfoStat[] Stats => (CardInfoStat[])(object)new CardInfoStat[3] { BrohCard.Good("Damage", "+80%"), BrohCard.Bad("Attack Speed", "-30%"), BrohCard.Good("Bullets", "Drill through walls") }; public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) {