using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using HarmonyLib; using UnboundLib; using UnboundLib.Cards; using UnboundLib.GameModes; using UnboundLib.Networking; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETFramework,Version=v4.7.1", FrameworkDisplayName = "")] [assembly: AssemblyCompany("AbsurdArsenal")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("AbsurdArsenal")] [assembly: AssemblyTitle("AbsurdArsenal")] [assembly: AssemblyVersion("1.0.0.0")] namespace AbsurdArsenal; public enum Bomb { Explode, Napalm, Toxic, Cryo, Void, Cluster, Mine, Shock, Sticky, Nuke, Turret, Holy, Splinter } public sealed class BulletBomb : MonoBehaviour { public int Kind; public float A; public float B; private static readonly Dictionary Templates = new Dictionary(); private static bool quitting; private SpawnedAttack attack; private Vector2 last; private bool live; private bool dressed; private static Color ColorOf(Bomb b) { //IL_0032: 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) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) switch (b) { case Bomb.Toxic: return Shapes.Toxic; case Bomb.Cryo: return Shapes.Ice; case Bomb.Void: return Shapes.Void; case Bomb.Mine: return Color.red; case Bomb.Shock: return Shapes.Volt; case Bomb.Nuke: case Bomb.Holy: return Shapes.Holy; case Bomb.Turret: return Color.cyan; default: return Shapes.Fire; } } internal static GameObject Template(Bomb kind, float a, float b) { //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Expected O, but got Unknown //IL_008f: Unknown result type (might be due to invalid IL or missing references) if (BulletFx.Offline) { return null; } string text = "ARSNL_Bomb_" + kind.ToString() + "_" + a + "_" + b; try { if (Templates.TryGetValue(text, out var value) && (Object)(object)value != (Object)null) { return value; } value = new GameObject(text); Object.DontDestroyOnLoad((Object)(object)value); value.transform.position = new Vector3(0f, -10000f, 0f); BulletBomb bulletBomb = value.AddComponent(); bulletBomb.Kind = (int)kind; bulletBomb.A = a; bulletBomb.B = b; Templates[text] = value; Application.quitting += delegate { quitting = true; }; return value; } catch { return null; } } private void Update() { //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) if (!((Object)(object)((Component)this).transform.parent == (Object)null)) { if ((Object)(object)attack == (Object)null) { attack = ((Component)this).GetComponentInParent(); } if (!dressed) { dressed = true; Glowing.Add(((Component)this).gameObject, ColorOf((Bomb)Kind), 0.4f, 30f, trail: true).GlowAlpha = 0.7f; } last = Vector2.op_Implicit(((Component)this).transform.position); live = true; } } private void OnDestroy() { //IL_004a: Unknown result type (might be due to invalid IL or missing references) if (!live || quitting || (Object)(object)attack == (Object)null) { return; } Player spawner = attack.spawner; if ((Object)(object)spawner == (Object)null || !spawner.data.isPlaying) { return; } try { Do.Detonate((Bomb)Kind, spawner, last, A, B); } catch (Exception ex) { Debug.LogException(ex); } } } public static class Do { internal const float Power = 2f; private static readonly Vector2[] Spokes = (Vector2[])(object)new Vector2[6] { new Vector2(1f, 0f), new Vector2(-1f, 0f), new Vector2(0.5f, 0.87f), new Vector2(-0.5f, 0.87f), new Vector2(0.5f, -0.87f), new Vector2(-0.5f, -0.87f) }; private const float ForceScale = 100f; internal static int Quiet; public static Act RearmBlock => delegate(Ctx c) { c.B.ResetCD(false); }; public static Act Refill => delegate(Ctx c) { c.A.ReloadAmmo(false); }; public static Act Swap => delegate(Ctx c) { //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0028: 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) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_0034: 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) //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) Player val = Nearest(c); if (!((Object)(object)val == (Object)null)) { Vector2 pos = c.Pos; Vector2 val2 = Vector2.op_Implicit(((Component)val).transform.position); Fx.Poof(pos, Color.magenta); Fx.Poof(val2, Color.magenta); if (c.Mine) { Move(c.P, val2); } if (val.data.view.IsMine) { Move(val, pos); } } }; public static Act Yoink => delegate(Ctx c) { //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) //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) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_003e: 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) Player val = Nearest(c); if (!((Object)(object)val == (Object)null) && val.data.view.IsMine) { Vector2 pos = c.Pos + Vector2.up * 4f; if (IsClear(pos)) { Move(val, pos); } } }; public static Act Shuffle => delegate(Ctx c) { //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) List list = (from p in PlayerManager.instance.players where (Object)(object)p != (Object)null && p.data.isPlaying && !p.data.dead orderby p.playerID select p).ToList(); List list2 = list.Select((Player p) => Vector2.op_Implicit(((Component)p).transform.position)).ToList(); for (int num = list2.Count - 1; num > 0; num--) { int index = c.R.Next(num + 1); Vector2 value = list2[num]; list2[num] = list2[index]; list2[index] = value; } for (int num2 = 0; num2 < list.Count; num2++) { if (list[num2].data.view.IsMine) { Move(list[num2], list2[num2]); } } }; public static Act ScrambleFoes => delegate(Ctx c) { //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: 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_0108: 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_0114: 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) Camera main = Camera.main; if ((Object)(object)main == (Object)null || (Object)(object)PlayerManager.instance == (Object)null) { return; } foreach (Player item in (from p in PlayerManager.instance.players where (Object)(object)p != (Object)null && p.teamID != c.P.teamID && Alive(p) orderby p.playerID select p).ToList()) { for (int num = 0; num < 12; num++) { Vector2 val = Vector2.op_Implicit(main.ViewportToWorldPoint(new Vector3(0.1f + 0.8f * (float)c.R.NextDouble(), 0.15f + 0.7f * (float)c.R.NextDouble(), 10f))); if (IsClear(val)) { Fx.Poof(Vector2.op_Implicit(((Component)item).transform.position), Color.magenta); Fx.Poof(val, Color.magenta); if (item.data.view.IsMine) { Move(item, val); } break; } } } }; private static void WarnAt(Player src, Vector2 at, float radius, float delay, Color color, Action then) { //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_0016: 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_001e: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) Zone zone = Zone.Spawn(src, at, radius, delay, 0f, color); zone.Frame = delegate(Zone zz) { zz.Radius = Mathf.Lerp(radius * 1.6f, radius, zz.Age / delay); }; zone.Sides = 3; zone.Star = true; zone.Spin = 3f; zone.OnEnd = delegate { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) Bolt.Spawn(at + Vector2.up * 30f, at, color, 0.6f, 0f, 0.15f); then(); }; } internal static Zone FieldAt(Player src, Vector2 at, float radius, float seconds, float dps, float slow, Color color) { //IL_001e: 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) Zone zone = Zone.Spawn(src, at, radius, seconds, 0.5f, color); zone.Tick = delegate(Zone zz) { //IL_0007: 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) foreach (Player item in FoesNear(zz.Team, zz.Pos, radius)) { if (slow > 0f && item.data.view.IsMine) { item.data.stats.RPCA_AddSlow(slow, false); } if (zz.Mine && dps > 0f) { Hurt(item, dps * 0.5f, zz.Owner, zz.Pos); } } }; return zone; } internal static void Detonate(Bomb kind, Player src, Vector2 at, float a, float b) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_001e: 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_0097: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00d1: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Unknown result type (might be due to invalid IL or missing references) //IL_013d: Unknown result type (might be due to invalid IL or missing references) //IL_0148: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Unknown result type (might be due to invalid IL or missing references) //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0235: Unknown result type (might be due to invalid IL or missing references) //IL_0246: Unknown result type (might be due to invalid IL or missing references) //IL_030c: Unknown result type (might be due to invalid IL or missing references) //IL_0320: Unknown result type (might be due to invalid IL or missing references) //IL_0351: Unknown result type (might be due to invalid IL or missing references) //IL_0356: Unknown result type (might be due to invalid IL or missing references) //IL_0361: Unknown result type (might be due to invalid IL or missing references) //IL_036b: Unknown result type (might be due to invalid IL or missing references) //IL_0486: Unknown result type (might be due to invalid IL or missing references) //IL_0496: Unknown result type (might be due to invalid IL or missing references) //IL_04b4: Unknown result type (might be due to invalid IL or missing references) //IL_04c4: Unknown result type (might be due to invalid IL or missing references) //IL_04e2: Unknown result type (might be due to invalid IL or missing references) //IL_04e7: Unknown result type (might be due to invalid IL or missing references) //IL_04f1: Unknown result type (might be due to invalid IL or missing references) //IL_04f6: Unknown result type (might be due to invalid IL or missing references) //IL_050b: Unknown result type (might be due to invalid IL or missing references) //IL_0631: Unknown result type (might be due to invalid IL or missing references) //IL_0636: Unknown result type (might be due to invalid IL or missing references) //IL_0640: Unknown result type (might be due to invalid IL or missing references) //IL_0645: Unknown result type (might be due to invalid IL or missing references) //IL_064b: Unknown result type (might be due to invalid IL or missing references) //IL_0650: Unknown result type (might be due to invalid IL or missing references) //IL_0676: Unknown result type (might be due to invalid IL or missing references) //IL_0687: Unknown result type (might be due to invalid IL or missing references) //IL_053b: Unknown result type (might be due to invalid IL or missing references) //IL_0547: Unknown result type (might be due to invalid IL or missing references) //IL_0274: Unknown result type (might be due to invalid IL or missing references) //IL_027f: Unknown result type (might be due to invalid IL or missing references) //IL_0290: Unknown result type (might be due to invalid IL or missing references) //IL_029a: Unknown result type (might be due to invalid IL or missing references) //IL_029f: Unknown result type (might be due to invalid IL or missing references) //IL_02a4: Unknown result type (might be due to invalid IL or missing references) //IL_02b7: Unknown result type (might be due to invalid IL or missing references) //IL_02dc: Unknown result type (might be due to invalid IL or missing references) //IL_0387: Unknown result type (might be due to invalid IL or missing references) //IL_0389: Unknown result type (might be due to invalid IL or missing references) //IL_0399: Unknown result type (might be due to invalid IL or missing references) //IL_05b7: Unknown result type (might be due to invalid IL or missing references) //IL_05bc: Unknown result type (might be due to invalid IL or missing references) //IL_05c1: Unknown result type (might be due to invalid IL or missing references) //IL_05c6: Unknown result type (might be due to invalid IL or missing references) //IL_05cb: Unknown result type (might be due to invalid IL or missing references) //IL_05d0: Unknown result type (might be due to invalid IL or missing references) //IL_05d9: Unknown result type (might be due to invalid IL or missing references) //IL_05de: Unknown result type (might be due to invalid IL or missing references) //IL_05ef: Unknown result type (might be due to invalid IL or missing references) //IL_03f4: Unknown result type (might be due to invalid IL or missing references) //IL_03fd: Unknown result type (might be due to invalid IL or missing references) //IL_0402: Unknown result type (might be due to invalid IL or missing references) //IL_0407: Unknown result type (might be due to invalid IL or missing references) //IL_0454: Unknown result type (might be due to invalid IL or missing references) //IL_0459: Unknown result type (might be due to invalid IL or missing references) //IL_045e: Unknown result type (might be due to invalid IL or missing references) //IL_0432: Unknown result type (might be due to invalid IL or missing references) bool mine = src.data.view.IsMine; switch (kind) { case Bomb.Explode: Blast(src, mine, at, a, b, Shapes.Fire); break; case Bomb.Napalm: Blast(src, mine, at, a * 0.4f, b * 0.7f, Shapes.Fire, 0.3f); FieldAt(src, at, b, 3f, a, 0f, Shapes.Fire); break; case Bomb.Toxic: FieldAt(src, at, b, 4f, a, 0.3f, Shapes.Toxic); break; case Bomb.Cryo: Ring.Spawn(at, b, Shapes.Ice, fx: false); Fx.Shards(at, b, Shapes.Ice); { foreach (Player item in FoesNear(src.teamID, at, b)) { item.data.stunHandler.AddStun(a); if (item.data.view.IsMine) { item.data.stats.RPCA_AddSlow(0.6f, false); } } break; } case Bomb.Void: Zone.Spawn(src, at, b, 2f, 0.2f, Shapes.Void).Tick = delegate(Zone zz) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0073: 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_008b: Unknown result type (might be due to invalid IL or missing references) Ring.Spawn(zz.Pos, b * 0.35f, Shapes.Void, fx: false); if (!zz.Mine) { return; } foreach (Player item2 in FoesNear(zz.Team, zz.Pos, b)) { HealthHandler healthHandler = item2.data.healthHandler; Vector2 val3 = zz.Pos - Vector2.op_Implicit(((Component)item2).transform.position); Kick(healthHandler, ((Vector2)(ref val3)).normalized * a * 0.25f); } }; break; case Bomb.Cluster: { Blast(src, mine, at, a, b, Shapes.Fire); for (int num5 = 0; num5 < Spokes.Length; num5++) { Vector2 p = at + Spokes[num5] * b * 1.3f; WarnAt(src, p, b * 0.6f, 0.35f + (float)num5 * 0.07f, Color.red, delegate { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, p, a * 0.6f, b * 0.6f, Shapes.Fire, 0.5f); }); } break; } case Bomb.Mine: Zone.Spawn(src, at, 0.7f, 12f, 0.1f, Color.red).Tick = delegate(Zone zz) { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) if (!(zz.Age < 0.5f) && FoesNear(zz.Team, zz.Pos, 2.4f).Count != 0) { zz.Finish(); Blast(zz.Owner, zz.Mine, zz.Pos, a, b, Shapes.Fire); } }; break; case Bomb.Shock: { HashSet hit = new HashSet(); Vector2 val = at; float num3 = a; Ring.Spawn(at, 1.5f, Shapes.Volt); for (int num4 = 0; num4 < (int)b; num4++) { Vector2 f0 = val; Player val2 = (from val3 in FoesNear(src.teamID, val, 11f) where !hit.Contains(val3) orderby Vector2.Distance(Vector2.op_Implicit(((Component)val3).transform.position), f0) select val3).FirstOrDefault(); if (!((Object)(object)val2 == (Object)null)) { Bolt.Spawn(val, Vector2.op_Implicit(((Component)val2).transform.position), Shapes.Volt); if (mine) { Hurt(val2, num3, src, val); } hit.Add(val2); val = Vector2.op_Implicit(((Component)val2).transform.position); num3 *= 0.85f; continue; } break; } break; } case Bomb.Sticky: WarnAt(src, at, b, 1f, Color.red, delegate { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, at, a, b, Shapes.Fire, 1.3f); }); break; case Bomb.Nuke: WarnAt(src, at, b, 1.4f, Color.yellow, delegate { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00c8: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_010a: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, at, a, b, Shapes.Holy, 1.6f); Ring.Spawn(at, b * 1.4f, Shapes.Fire, fx: false); Fx.Explosion(at, b * 1.5f, Shapes.Fire); Fx.Flash(at, b * 2f, Color.white, 0.4f); Bolt.Spawn(at, at + Vector2.up * 40f, Shapes.Holy, b * 0.5f, 0f, 0.5f); GamefeelManager.GameFeel(Vector2.up * 3f); FieldAt(src, at, b * 0.8f, 4f, a * 0.15f, 0f, Shapes.Toxic); }); break; case Bomb.Turret: { Zone zone = Zone.Spawn(src, at + Vector2.up * 0.5f, 0.8f, b, 0.6f, Color.cyan); zone.Sides = 4; zone.Spin = 1.5f; zone.Tick = delegate(Zone zz) { //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) Player val3 = (from val4 in FoesNear(zz.Team, zz.Pos, 16f) orderby Vector2.Distance(Vector2.op_Implicit(((Component)val4).transform.position), zz.Pos) select val4).FirstOrDefault(); if (!((Object)(object)val3 == (Object)null)) { Bolt.Spawn(zz.Pos, Vector2.op_Implicit(((Component)val3).transform.position), Color.cyan, 0.15f, 0.3f); if (zz.Mine) { Hurt(val3, a, zz.Owner, zz.Pos); } } }; break; } case Bomb.Splinter: { Fx.Burst(at, 12, 8f, Color.magenta, 0.3f, 0.25f); int num = Mathf.Max(1, (int)b); float num2 = (at.x * 37f + at.y * 13f) % 360f; for (int i = 0; i < num; i++) { Vector2 dir = Vector2.op_Implicit(Quaternion.Euler(0f, 0f, num2 + (float)i * 360f / (float)num) * Vector2.op_Implicit(Vector2.right)); Orb(src, at, dir, 22f, 0.3f, 2.5f, Color.magenta, 600f, delegate(Vector2 at2) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, at2, a, 1.8f, Color.magenta, 0.3f); }); } break; } case Bomb.Holy: Bolt.Spawn(at + Vector2.up * 35f, at, Shapes.Holy, 0.5f, 2f, 0.35f); Blast(src, mine, at, a, b, Shapes.Holy, 0.5f); break; } } private static IEnumerable Foes(Ctx c, float radius) { return PlayerManager.instance.players.Where((Player p) => (Object)(object)p != (Object)null && p.teamID != c.P.teamID && p.data.isPlaying && !p.data.dead && Vector2.Distance(Vector2.op_Implicit(((Component)p).transform.position), c.Pos) <= radius).ToList(); } private static Player Nearest(Ctx c) { return (from p in Foes(c, float.MaxValue) orderby Vector2.Distance(Vector2.op_Implicit(((Component)p).transform.position), c.Pos) select p).FirstOrDefault(); } private static void Kick(HealthHandler h, Vector2 v) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) h.CallTakeForce(v * 100f, (ForceMode2D)1, true, true, 0f); } private static bool IsClear(Vector2 pos) { //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: 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_0029: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) Camera main = Camera.main; if ((Object)(object)main != (Object)null) { Vector3 val = main.WorldToViewportPoint(Vector2.op_Implicit(pos)); if (val.x < 0.06f || val.x > 0.94f || val.y < 0.08f || val.y > 0.94f) { return false; } } return (Object)(object)Physics2D.OverlapCircle(pos, 1.5f) == (Object)null; } private static void Move(Player p, Vector2 pos) { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) ((Component)p).transform.position = Vector2.op_Implicit(pos); } public static Act Heal(double amount) { return delegate(Ctx c) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) c.H.Heal((float)amount); Fx.Healing(c.Pos, Shapes.Heal); }; } public static Act HealPct(double fraction) { return delegate(Ctx c) { //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) c.H.Heal((float)fraction * c.D.maxHealth); Fx.Healing(c.Pos, Shapes.Heal); }; } public static Act HurtSelf(double amount, bool lethal = false) { return delegate(Ctx c) { //IL_000e: 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_0020: Unknown result type (might be due to invalid IL or missing references) if (c.Mine) { ((Damagable)c.H).CallTakeDamage(Vector2.up * (float)amount, c.Pos, (GameObject)null, c.P, lethal); } }; } public static Act Launch(double force) { return delegate(Ctx c) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0024: 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_0048: Unknown result type (might be due to invalid IL or missing references) Fx.Geyser(c.Pos + Vector2.down, 0.8f, new Color(1f, 0.8f, 0.4f)); if (c.Mine) { Kick(c.H, Vector2.up * (float)force); } }; } public static Act Dash(double force) { return delegate(Ctx c) { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) if (c.Mine) { HealthHandler h = c.H; Vector2 val = Vector2.op_Implicit(c.D.aimDirection); Kick(h, ((Vector2)(ref val)).normalized * (float)force); } }; } public static Act Blink(double distance) { return delegate(Ctx c) { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0010: 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_0018: Unknown result type (might be due to invalid IL or missing references) //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) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //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) //IL_0036: Unknown result type (might be due to invalid IL or missing references) //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) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) Vector2 val = Vector2.op_Implicit(c.D.aimDirection); Vector2 normalized = ((Vector2)(ref val)).normalized; for (float num = (float)distance; num > 2f; num -= 2f) { Vector2 val2 = c.Pos + normalized * num; if (IsClear(val2)) { Fx.Poof(c.Pos, Color.cyan); Fx.Poof(val2, Color.cyan); if (c.Mine) { Move(c.P, val2); } break; } } }; } public static Act Hop(double radius) { return delegate(Ctx c) { //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) for (int i = 0; i < 10; i++) { double num = c.R.NextDouble() * Math.PI * 2.0; Vector2 val = c.Pos + new Vector2((float)Math.Cos(num), (float)Math.Sin(num)) * (float)(radius * (0.4 + c.R.NextDouble() * 0.6)); if (IsClear(val)) { Fx.Poof(c.Pos, Shapes.Void); Fx.Poof(val, Shapes.Void); if (c.Mine) { Move(c.P, val); } break; } } }; } public static Act AirJump(int n) { return delegate(Ctx c) { c.D.currentJumps = Mathf.Min(c.D.jumps + n, c.D.currentJumps + n); }; } public static Act StunSelf(double seconds) { return delegate(Ctx c) { c.D.stunHandler.AddStun((float)seconds); }; } public static Act Nova(double damage, double radius) { return delegate(Ctx c) { //IL_0001: 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_0028: Unknown result type (might be due to invalid IL or missing references) //IL_0043: 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) Ring.Spawn(c.Pos, (float)radius, new Color(1f, 0.45f, 0.1f), fx: false); Fx.Explosion(c.Pos, (float)radius, new Color(1f, 0.45f, 0.1f)); if (!c.Mine) { return; } foreach (Player item in Foes(c, (float)radius)) { Hurt(item, (float)damage, c.P, c.Pos); } }; } public static Act Push(double force, double radius) { return delegate(Ctx c) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) Ring.Spawn(c.Pos, (float)radius, Color.white, fx: false); Fx.Radial(c.Pos, (float)radius, new Color(0.8f, 0.9f, 1f), inward: false); if (!c.Mine) { return; } foreach (Player item in Foes(c, (float)radius)) { HealthHandler healthHandler = item.data.healthHandler; Vector2 val = Vector2.op_Implicit(((Component)item).transform.position) - c.Pos; Kick(healthHandler, ((Vector2)(ref val)).normalized * (float)force); } }; } public static Act Pull(double force, double radius) { return delegate(Ctx c) { //IL_0001: 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_0028: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_007f: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) Ring.Spawn(c.Pos, (float)radius, new Color(0.6f, 0.2f, 1f), fx: false); Fx.Radial(c.Pos, (float)radius, new Color(0.6f, 0.2f, 1f), inward: true); if (!c.Mine) { return; } foreach (Player item in Foes(c, (float)radius)) { HealthHandler healthHandler = item.data.healthHandler; Vector2 val = c.Pos - Vector2.op_Implicit(((Component)item).transform.position); Kick(healthHandler, ((Vector2)(ref val)).normalized * (float)force); } }; } public static Act Toss(double force, double radius) { return delegate(Ctx c) { //IL_0022: 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_004e: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) foreach (Player item in Foes(c, (float)radius)) { Fx.Geyser(Vector2.op_Implicit(((Component)item).transform.position), 1.5f, Color.white); if (c.Mine) { Kick(item.data.healthHandler, Vector2.up * (float)force); } } }; } public static Act Stun(double seconds, double radius) { return delegate(Ctx c) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) Ring.Spawn(c.Pos, (float)radius, Color.yellow, fx: false); Fx.Stars(c.Pos, (float)radius, Color.yellow); foreach (Player item in Foes(c, (float)radius)) { item.data.stunHandler.AddStun((float)seconds); } }; } public static Act Silence(double seconds, double radius) { return delegate(Ctx c) { //IL_0001: 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_0028: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) Ring.Spawn(c.Pos, (float)radius, new Color(0.8f, 0.3f, 0.8f), fx: false); Fx.Stars(c.Pos, (float)radius, new Color(0.8f, 0.3f, 0.8f)); foreach (Player item in Foes(c, (float)radius)) { item.data.silenceHandler.RPCA_AddSilence((float)seconds); } }; } public static Act Frost(double amount, double radius) { return delegate(Ctx c) { //IL_0001: 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_0028: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) Ring.Spawn(c.Pos, (float)radius, new Color(0.5f, 0.85f, 1f), fx: false); Fx.Shards(c.Pos, (float)radius, new Color(0.5f, 0.85f, 1f)); foreach (Player item in Foes(c, (float)radius)) { item.data.stats.RPCA_AddSlow((float)amount, false); } }; } public static Act BuffDmg(double m, double s) { return delegate(Ctx c) { Gun g = c.G; float x = (float)m; Buffs.Add((float)s, delegate { Gun obj = g; obj.damage *= x; }, delegate { Gun obj = g; obj.damage /= x; }); }; } public static Act BuffRate(double m, double s) { return delegate(Ctx c) { Gun g = c.G; float x = (float)m; Buffs.Add((float)s, delegate { Gun obj = g; obj.attackSpeed *= x; }, delegate { Gun obj = g; obj.attackSpeed /= x; }); }; } public static Act BuffMove(double m, double s) { return delegate(Ctx c) { CharacterStatModifiers t = c.S; float x = (float)m; Buffs.Add((float)s, delegate { CharacterStatModifiers obj = t; obj.movementSpeed *= x; }, delegate { CharacterStatModifiers obj = t; obj.movementSpeed /= x; }); }; } public static Act BuffJump(double m, double s) { return delegate(Ctx c) { CharacterStatModifiers t = c.S; float x = (float)m; Buffs.Add((float)s, delegate { CharacterStatModifiers obj = t; obj.jump *= x; }, delegate { CharacterStatModifiers obj = t; obj.jump /= x; }); }; } public static Act BuffGrav(double m, double s) { return delegate(Ctx c) { Gravity t = c.Gr; float x = (float)m; Buffs.Add((float)s, delegate { Gravity obj = t; obj.gravityForce *= x; }, delegate { Gravity obj = t; obj.gravityForce /= x; }); }; } public static Act BuffBullet(double a, double s) { return delegate(Ctx c) { Gun g = c.G; float x = (float)a; Buffs.Add((float)s, delegate { Gun obj = g; obj.size += x; }, delegate { Gun obj = g; obj.size -= x; }); }; } public static Act Shake(double amount) { return delegate { //IL_0000: 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) GamefeelManager.GameFeel(Vector2.up * (float)amount); }; } public static Act Say(string text) { return delegate { Unbound.BuildInfoPopup(text); }; } public static Act OneOf(params Act[] acts) { return delegate(Ctx c) { acts[c.R.Next(acts.Length)](c); }; } public static Act Maybe(double chance, Act act) { return delegate(Ctx c) { if (c.R.NextDouble() < chance) { act(c); } }; } internal static bool Alive(Player p) { if ((Object)(object)p != (Object)null && p.data.isPlaying) { return !p.data.dead; } return false; } internal static List FoesNear(int team, Vector2 pos, float radius) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)PlayerManager.instance == (Object)null) { return new List(); } return PlayerManager.instance.players.Where((Player p) => (Object)(object)p != (Object)null && p.teamID != team && Alive(p) && Vector2.Distance(Vector2.op_Implicit(((Component)p).transform.position), pos) <= radius).ToList(); } internal static void Hurt(Player victim, float amount, Player source, Vector2? from = null) { //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) //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) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) if (!Alive(victim) || amount <= 0f) { return; } amount *= 2f; Vector2 val; if (!from.HasValue) { val = Vector2.up; } else { Vector2 val2 = Vector2.op_Implicit(((Component)victim).transform.position) - from.Value; val = ((Vector2)(ref val2)).normalized; } Vector2 val3 = val; if (val3 == Vector2.zero) { val3 = Vector2.up; } Quiet++; try { ((Damagable)victim.data.healthHandler).CallTakeDamage(val3 * amount, Vector2.op_Implicit(((Component)victim).transform.position), (GameObject)null, source, true); } finally { Quiet--; } } private static float SegmentDistance(Vector2 p, Vector2 a, Vector2 b) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0009: Unknown result type (might be due to invalid IL or missing references) //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_002f: 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_0036: Unknown result type (might be due to invalid IL or missing references) Vector2 val = b - a; float num = Mathf.Clamp01(Vector2.Dot(p - a, val) / Mathf.Max(((Vector2)(ref val)).sqrMagnitude, 0.0001f)); return Vector2.Distance(p, a + val * num); } internal static void Blast(Player source, bool mine, Vector2 at, float damage, float radius, Color color, float push = 1f) { //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_0018: 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) //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007c: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) radius *= 1.25f; Ring.Spawn(at, radius, color, fx: false); Fx.Explosion(at, radius, color); if (!mine) { return; } foreach (Player item in FoesNear(source.teamID, at, radius)) { Hurt(item, damage, source, at); if (push > 0f) { HealthHandler healthHandler = item.data.healthHandler; Vector2 val = Vector2.op_Implicit(((Component)item).transform.position) - at; Kick(healthHandler, ((Vector2)(ref val)).normalized * radius * 2f * push); } } } private static void Warn(Ctx c, Vector2 at, float radius, float delay, Color color, Action then) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) Zone zone = Zone.Spawn(c.P, at, radius, delay, 0f, color); float total = delay; zone.Frame = delegate(Zone zz) { zz.Radius = Mathf.Lerp(radius * 1.6f, radius, zz.Age / total); }; zone.Sides = 3; zone.Star = true; zone.Spin = 3f; zone.OnEnd = delegate { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) Bolt.Spawn(at + Vector2.up * 30f, at, color, 0.6f, 0f, 0.15f); then(); }; } private static Vector2 Aim(Ctx c) { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0010: 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_0018: Unknown result type (might be due to invalid IL or missing references) //IL_0019: 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_0028: 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) Vector2 val = Vector2.op_Implicit(c.D.aimDirection); Vector2 normalized = ((Vector2)(ref val)).normalized; if (!(normalized == Vector2.zero)) { return normalized; } return Vector2.right; } public static Act Burn(double dps, double s) { return delegate(Ctx c) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Afflict.Apply(c.T, c.P, (float)dps, (float)s, Shapes.Fire, c.Mine); } }; } public static Act Poison(double dps, double s) { return delegate(Ctx c) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Afflict.Apply(c.T, c.P, (float)dps, (float)s, Shapes.Toxic, c.Mine); } }; } public static Act Wither(double dps, double s) { return delegate(Ctx c) { //IL_0036: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Afflict.Apply(c.T, c.P, (float)dps, (float)s, new Color(0.45f, 0.12f, 0.55f), c.Mine); } }; } public static Act Bleed(double dps, double s) { return delegate(Ctx c) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Afflict.Apply(c.T, c.P, (float)dps, (float)s, Shapes.Blood, c.Mine); } }; } public static Act Chill(double amount) { return delegate(Ctx c) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Ring.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), 2.4f, Shapes.Ice); c.T.data.stats.RPCA_AddSlow((float)amount, false); } }; } public static Act Freeze(double s) { return delegate(Ctx c) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0043: 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) if (Alive(c.T)) { Ring.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), 3f, Shapes.Ice, fx: false); Fx.Shards(Vector2.op_Implicit(((Component)c.T).transform.position), 3f, Shapes.Ice); c.T.data.stunHandler.AddStun((float)s); } }; } public static Act Hex(double s) { return delegate(Ctx c) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Ring.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), 2.4f, Shapes.Void); c.T.data.silenceHandler.RPCA_AddSilence((float)s); } }; } public static Act MarkT(double extra, double s) { return delegate(Ctx c) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Ring.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), 2.8f, Color.red); Marks.Add(c.T, c.P, (float)s, (float)extra); } }; } public static Act ShrinkT(double m, double s) { return delegate(Ctx c) { //IL_0042: 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_0051: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { CharacterStatModifiers t = c.T.data.stats; float x = (float)m; Ring.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), 2.2f, Color.magenta); Buffs.Add((float)s, delegate { CharacterStatModifiers obj = t; obj.sizeMultiplier *= x; Body.Refresh(t); }, delegate { CharacterStatModifiers obj = t; obj.sizeMultiplier /= x; Body.Refresh(t); }); } }; } public static Act WeakenT(double m, double s) { return delegate(Ctx c) { //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Gun g = c.T.data.weaponHandler.gun; float x = (float)m; Ring.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), 2.2f, Shapes.Void); Buffs.Add((float)s, delegate { Gun obj = g; obj.damage *= x; }, delegate { Gun obj = g; obj.damage /= x; }); } }; } public static Act SlowT(double m, double s) { return delegate(Ctx c) { //IL_0042: 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_0051: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { CharacterStatModifiers t = c.T.data.stats; float x = (float)m; Ring.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), 2.2f, Shapes.Ice); Buffs.Add((float)s, delegate { CharacterStatModifiers obj = t; obj.movementSpeed *= x; }, delegate { CharacterStatModifiers obj = t; obj.movementSpeed /= x; }); } }; } public static Act Steal(double m, double s) { return delegate(Ctx c) { //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Bolt.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), c.Pos, Color.green, 0.15f, 0.4f); CharacterStatModifiers mine = c.S; CharacterStatModifiers theirs = c.T.data.stats; float x = (float)m; Buffs.Add((float)s, delegate { CharacterStatModifiers obj = mine; obj.movementSpeed *= x; CharacterStatModifiers obj2 = theirs; obj2.movementSpeed /= x; }, delegate { CharacterStatModifiers obj = mine; obj.movementSpeed /= x; CharacterStatModifiers obj2 = theirs; obj2.movementSpeed *= x; }); } }; } public static Act HealT(double amount) { return delegate(Ctx c) { //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) //IL_0027: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Ring.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), 1.8f, Shapes.Heal); c.T.data.healthHandler.Heal((float)amount); } }; } public static Act Combo(params Act[] acts) { return delegate(Ctx c) { Act[] array = acts; for (int i = 0; i < array.Length; i++) { array[i](c); } }; } public static Act Leech(double dmg) { return delegate(Ctx c) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //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) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Bolt.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), c.Pos, Shapes.Blood, 0.18f, 0.5f); for (int i = 0; i < 14; i++) { Vector2 val = Vector2.op_Implicit(((Component)c.T).transform.position) + Random.insideUnitCircle; Fx.Spark(val, (c.Pos - val) / 0.45f, 0.45f, 0.22f, Shapes.Blood); } if (c.Mine) { Hurt(c.T, (float)dmg, c.P); } c.H.Heal((float)dmg); } }; } public static Act Zap(double dmg, int jumps) { return delegate(Ctx c) { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { HashSet hit = new HashSet(); Vector2 val = c.Pos; Player val2 = c.T; float num = (float)dmg; for (int i = 0; i <= jumps; i++) { if (!((Object)(object)val2 != (Object)null)) { break; } Bolt.Spawn(val, Vector2.op_Implicit(((Component)val2).transform.position), Shapes.Volt); if (c.Mine) { Hurt(val2, num, c.P, val); } hit.Add(val2); val = Vector2.op_Implicit(((Component)val2).transform.position); num *= 0.85f; Vector2 f = val; val2 = (from p in FoesNear(c.P.teamID, val, 12f) where !hit.Contains(p) orderby Vector2.Distance(Vector2.op_Implicit(((Component)p).transform.position), f) select p).FirstOrDefault(); } } }; } public static Act Thunder(double dmg) { return delegate(Ctx c) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: 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_003a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Vector2 val = Vector2.op_Implicit(((Component)c.T).transform.position); Bolt.Spawn(val + Vector2.up * 35f, val, Shapes.Holy, 0.45f, 2f, 0.35f); Blast(c.P, c.Mine, val, (float)dmg, 2.5f, Shapes.Holy, 0.5f); } }; } public static Act Boom(double dmg, double radius) { return delegate(Ctx c) { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) Blast(c.P, c.Mine, c.At, (float)dmg, (float)radius, Shapes.Fire); }; } public static Act Execute(double threshold) { return delegate(Ctx c) { //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T) && !((double)c.T.data.health > threshold * (double)c.T.data.maxHealth)) { Vector2 val = Vector2.op_Implicit(((Component)c.T).transform.position); Bolt.Spawn(val + Vector2.up * 35f, val, Color.red, 0.7f, 0f, 0.4f); Ring.Spawn(val, 4f, Color.red, fx: false); Fx.Explosion(val, 4f, Color.red); if (c.Mine) { Hurt(c.T, c.T.data.health + 50f, c.P); } } }; } public static Act LaunchT(double force) { return delegate(Ctx c) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Ring.Spawn(Vector2.op_Implicit(((Component)c.T).transform.position), 2f, Color.white); if (c.Mine) { Kick(c.T.data.healthHandler, Vector2.up * (float)force); } } }; } public static Act YankT(double force) { return delegate(Ctx c) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //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) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Bolt.Spawn(c.Pos, Vector2.op_Implicit(((Component)c.T).transform.position), Color.white, 0.12f, 0.2f); if (c.Mine) { HealthHandler healthHandler = c.T.data.healthHandler; Vector2 val = c.Pos - Vector2.op_Implicit(((Component)c.T).transform.position); Kick(healthHandler, ((Vector2)(ref val)).normalized * (float)force); } } }; } public static Act Meteor(double dmg, double radius) { return delegate(Ctx c) { //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_002c: 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) Vector2 at = c.At; Warn(c, at, (float)radius, 0.9f, Color.red, delegate { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) Blast(c.P, c.Mine, at, (float)dmg, (float)radius, Shapes.Fire); }); }; } public static Act Orbital(double dmg) { return delegate(Ctx c) { //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) Vector2 at = c.At; Warn(c, at, 3.5f, 1.2f, Color.cyan, delegate { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) Bolt.Spawn(at + Vector2.up * 40f, at, Color.cyan, 1.4f, 0f, 0.45f); Blast(c.P, c.Mine, at, (float)dmg, 3.5f, Color.cyan); }); }; } public static Act Airstrike(int n, double dmg) { return delegate(Ctx c) { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001f: 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_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) Vector2 at = c.At; for (int i = 0; i < n; i++) { Vector2 p = at + new Vector2(((float)i - (float)(n - 1) / 2f) * 3.2f, 0f); Warn(c, p, 2.6f, 0.7f + (float)i * 0.15f, Color.red, delegate { //IL_0021: 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) Blast(c.P, c.Mine, p, (float)dmg, 2.6f, Shapes.Fire); }); } }; } public static Act Rain(int n, double dmg, Color? color = null) { return delegate(Ctx c) { //IL_003e: 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) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: Unknown result type (might be due to invalid IL or missing references) Camera main = Camera.main; if (!((Object)(object)main == (Object)null)) { Color col = (Color)(((??)color) ?? Shapes.Fire); for (int i = 0; i < n; i++) { Vector2 p = Vector2.op_Implicit(main.ViewportToWorldPoint(new Vector3(0.1f + 0.8f * (float)c.R.NextDouble(), 0.15f + 0.7f * (float)c.R.NextDouble(), 10f))); Warn(c, p, 2.4f, 0.8f + (float)i * 0.18f, col, delegate { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) Blast(c.P, c.Mine, p, (float)dmg, 2.4f, col); }); } } }; } public static Act Fireworks(int n, double dmg) { return delegate(Ctx c) { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) for (int i = 0; i < n; i++) { Vector2 p = c.Pos + new Vector2((float)(c.R.NextDouble() * 12.0 - 6.0), (float)(c.R.NextDouble() * 8.0 - 2.0)); Color col = Color.HSVToRGB((float)c.R.NextDouble(), 0.8f, 1f); Warn(c, p, 1.8f, 0.3f + (float)i * 0.12f, col, delegate { //IL_0021: 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) Blast(c.P, c.Mine, p, (float)dmg, 1.8f, col, 0.3f); }); } }; } public static Act Laser(double dmg) { return delegate(Ctx c) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000d: 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_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) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0030: 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_004b: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_0109: Unknown result type (might be due to invalid IL or missing references) //IL_010e: Unknown result type (might be due to invalid IL or missing references) //IL_010f: Unknown result type (might be due to invalid IL or missing references) //IL_012c: Unknown result type (might be due to invalid IL or missing references) Vector2 val = Aim(c); Vector2 val2 = c.Pos + val * 1.2f; Vector2 val3 = val2 + val * 45f; Bolt.Spawn(val2, val3, Color.red, 0.9f, 0f, 0.3f); Bolt.Spawn(val2, val3, Color.white, 0.3f, 0f, 0.3f); Fx.Flash(val2, 2f, Color.red, 0.25f); for (int i = 0; i < 30; i++) { Fx.Spark(Vector2.Lerp(val2, val3, Random.value), Random.insideUnitCircle * 6f, 0.35f, 0.25f, Color.Lerp(Color.red, Color.yellow, Random.value)); } if (!c.Mine) { return; } foreach (Player item in FoesNear(c.P.teamID, c.Pos, 50f)) { if (SegmentDistance(Vector2.op_Implicit(((Component)item).transform.position), val2, val3) < 1.6f) { Hurt(item, (float)dmg, c.P, c.Pos); } } }; } public static Act BlackHole(double force, double radius, double s) { return delegate(Ctx c) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) float r = (float)radius; float f = (float)force; Zone.Spawn(c.P, c.At, r, (float)s, 0.2f, Shapes.Void).Tick = delegate(Zone zz) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0073: 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_008b: Unknown result type (might be due to invalid IL or missing references) Ring.Spawn(zz.Pos, r * 0.35f, Shapes.Void, fx: false); if (!zz.Mine) { return; } foreach (Player item in FoesNear(zz.Team, zz.Pos, r)) { HealthHandler healthHandler = item.data.healthHandler; Vector2 val = zz.Pos - Vector2.op_Implicit(((Component)item).transform.position); Kick(healthHandler, ((Vector2)(ref val)).normalized * f * 0.25f); } }; }; } public static Act Mine(double dmg, double radius) { return delegate(Ctx c) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) float d = (float)dmg; float r = (float)radius; Zone.Spawn(c.P, c.Pos, 0.7f, 15f, 0.1f, Color.red).Tick = delegate(Zone zz) { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) if (!(zz.Age < 0.7f) && FoesNear(zz.Team, zz.Pos, 2.4f).Count != 0) { zz.Finish(); zz.OnEnd = null; Blast(zz.Owner, zz.Mine, zz.Pos, d, r, Shapes.Fire); } }; }; } public static Act Turret(double dmg, double s) { return delegate(Ctx c) { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) float d = (float)dmg; Zone zone = Zone.Spawn(c.P, c.Pos + Vector2.up, 0.9f, (float)s, 0.7f, Color.cyan); zone.Sides = 4; zone.Spin = 1.5f; zone.Tick = delegate(Zone zz) { //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) Player val = (from p in FoesNear(zz.Team, zz.Pos, 18f) orderby Vector2.Distance(Vector2.op_Implicit(((Component)p).transform.position), zz.Pos) select p).FirstOrDefault(); if (!((Object)(object)val == (Object)null)) { Bolt.Spawn(zz.Pos, Vector2.op_Implicit(((Component)val).transform.position), Color.cyan, 0.15f, 0.3f); if (zz.Mine) { Hurt(val, d, zz.Owner, zz.Pos); } } }; }; } public static Act Aura(double dps, double radius, double s, Color? color = null) { return delegate(Ctx c) { //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) float d = (float)dps * 0.5f; float r = (float)radius; Zone.Spawn(c.P, c.Pos, r, (float)s, 0.5f, (Color)(((??)color) ?? Shapes.Fire), follow: true).Tick = delegate(Zone zz) { //IL_0010: 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) if (!zz.Mine) { return; } foreach (Player item in FoesNear(zz.Team, zz.Pos, r)) { Hurt(item, d, zz.Owner, zz.Pos); } }; }; } public static Act Puddle(double slow, double dps, double radius, double s, Color? color = null) { return delegate(Ctx c) { //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) float d = (float)dps * 0.5f; float r = (float)radius; float sl = (float)slow; Zone.Spawn(c.P, c.At, r, (float)s, 0.5f, (Color)(((??)color) ?? Shapes.Toxic)).Tick = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Unknown result type (might be due to invalid IL or missing references) foreach (Player item in FoesNear(zz.Team, zz.Pos, r)) { if (sl > 0f && item.data.view.IsMine) { item.data.stats.RPCA_AddSlow(sl, false); } if (zz.Mine) { Hurt(item, d, zz.Owner, zz.Pos); } } }; }; } public static Act Mend(double hps, double s) { return delegate(Ctx c) { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) float h = (float)hps * 0.5f; Zone.Spawn(c.P, c.Pos, 1.5f, (float)s, 0.5f, Shapes.Heal, follow: true).Tick = delegate(Zone zz) { if (Alive(zz.Owner)) { zz.Owner.data.healthHandler.Heal(h); } }; }; } public static Act SawBlades(int n, double dmg, double s) { return delegate(Ctx c) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) Zone zone = Zone.Spawn(c.P, c.Pos, 3f, (float)s, 0f, new Color(0.8f, 0.8f, 0.85f), follow: true); zone.ShowRing = false; if ((Object)(object)zone.Glow != (Object)null) { zone.Glow.GlowAlpha = 0.06f; zone.Glow.Rate = 0f; } Saws saws = ((Component)zone).gameObject.AddComponent(); saws.Zone = zone; saws.Count = n; saws.Damage = (float)dmg; saws.Orbit = 3f; saws.Speed = 4f; saws.Build(new Color(0.85f, 0.85f, 0.9f)); }; } public static Act Rewind(double seconds) { return delegate(Ctx c) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: 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) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) Fx.Poof(c.Pos, Color.cyan); if (c.Mine) { Vector2? val = History.Ago(c.P, (float)seconds); if (val.HasValue) { Fx.Poof(val.Value, Color.cyan); Move(c.P, val.Value); } } }; } public static Act Recall(double seconds, double heal) { return delegate(Ctx c) { Rewind(seconds)(c); c.H.Heal((float)heal); }; } public static Act SayAny(params string[] lines) { return delegate(Ctx c) { Say(lines[c.R.Next(lines.Length)])(c); }; } public static Act Inflate(double m, double s) { return delegate(Ctx c) { CharacterStatModifiers t = c.S; float x = (float)m; Buffs.Add((float)s, delegate { CharacterStatModifiers obj = t; obj.sizeMultiplier *= x; Body.Refresh(t); }, delegate { CharacterStatModifiers obj = t; obj.sizeMultiplier /= x; Body.Refresh(t); }); }; } public static Act Upsidedown(double s) { return BuffGrav(-0.7, s); } public static Act Confetti(int rings = 6) { return delegate(Ctx c) { //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) Vector2 val = default(Vector2); for (int i = 0; i < rings; i++) { ((Vector2)(ref val))..ctor((float)(c.R.NextDouble() * 10.0 - 5.0), (float)(c.R.NextDouble() * 10.0 - 5.0)); Ring.Spawn(c.Pos + val, 1f + (float)c.R.NextDouble() * 2.5f, new Color((float)c.R.NextDouble(), (float)c.R.NextDouble(), (float)c.R.NextDouble())); } }; } public static Act Scatter(double force, double radius) { return delegate(Ctx c) { //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) foreach (Player item in Foes(c, (float)radius)) { double num = c.R.NextDouble() * Math.PI * 2.0; if (c.Mine) { Kick(item.data.healthHandler, new Vector2((float)Math.Cos(num), (float)Math.Sin(num)) * (float)force); } } }; } public static Act HealFoes(double amount, double radius) { return delegate(Ctx c) { foreach (Player item in Foes(c, (float)radius)) { item.data.healthHandler.Heal((float)amount); } }; } public static Act Smite(double fraction, double radius) { return delegate(Ctx c) { //IL_0001: 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) Ring.Spawn(c.Pos, (float)radius, new Color(1f, 0.9f, 0.4f)); if (!c.Mine) { return; } foreach (Player item in Foes(c, (float)radius)) { Hurt(item, (float)fraction * item.data.maxHealth, c.P); } }; } private static float Rf(float a, float b) { return Random.Range(a, b); } private static LineRenderer BeamLine(GameObject host, Color c, float width) { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0043: 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) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) GameObject val = new GameObject("ARSNL_Beam"); val.transform.SetParent(host.transform, false); LineRenderer obj = val.AddComponent(); ((Renderer)obj).sharedMaterial = Fx.Additive; obj.useWorldSpace = true; obj.positionCount = 2; obj.widthMultiplier = width; Color startColor = (obj.endColor = c); obj.startColor = startColor; ((Renderer)obj).sortingOrder = 103; return obj; } private static Vector2 Rot(Vector2 v, float degrees) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) return Vector2.op_Implicit(Quaternion.Euler(0f, 0f, degrees) * Vector2.op_Implicit(v)); } public static Act Lighthouse(double dps, double seconds, int beams) { return delegate(Ctx c) { //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_00d4: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) float d = (float)dps; int n = Mathf.Max(1, beams); float phase = (float)(c.R.NextDouble() * 360.0); float speed = 110f + (float)n * 15f; Zone zone = Zone.Spawn(c.P, c.Pos, 1f, (float)seconds, 0.15f, Color.red, follow: true); zone.ShowRing = false; LineRenderer[] outer = (LineRenderer[])(object)new LineRenderer[n]; LineRenderer[] core = (LineRenderer[])(object)new LineRenderer[n]; for (int i = 0; i < n; i++) { Color c2 = Fx.T(Color.HSVToRGB(Mathf.Repeat((float)i / (float)n * 0.5f, 1f), 1f, 1f)); c2.a = 0.55f; outer[i] = BeamLine(((Component)zone).gameObject, c2, 1f); core[i] = BeamLine(((Component)zone).gameObject, Color.white, 0.25f); } Func dirOf = delegate(Zone zz, int num2) { //IL_0038: Unknown result type (might be due to invalid IL or missing references) float num = (phase + zz.Age * speed + (float)num2 * 360f / (float)n) * ((float)Math.PI / 180f); return new Vector2(Mathf.Cos(num), Mathf.Sin(num)); }; zone.Frame = delegate(Zone zz) { //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_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0033: 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) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //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) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00e6: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0114: Unknown result type (might be due to invalid IL or missing references) float num = Mathf.Clamp01(zz.Age * 4f); for (int j = 0; j < n; j++) { Vector2 val = dirOf(zz, j); Vector2 val2 = zz.Pos + val * 1.2f; Vector2 val3 = zz.Pos + val * 40f * num; outer[j].SetPosition(0, Vector2.op_Implicit(val2)); outer[j].SetPosition(1, Vector2.op_Implicit(val3)); core[j].SetPosition(0, Vector2.op_Implicit(val2)); core[j].SetPosition(1, Vector2.op_Implicit(val3)); outer[j].widthMultiplier = 0.9f + 0.25f * Mathf.Sin(Time.time * 35f + (float)j); if (Random.value < 0.6f) { Fx.Spark(Vector2.Lerp(val2, val3, Random.value), Random.insideUnitCircle * 4f, 0.25f, 0.22f, outer[j].startColor); } } }; zone.Tick = delegate(Zone zz) { //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) if (!zz.Mine) { return; } foreach (Player item in FoesNear(zz.Team, zz.Pos, 41f)) { for (int j = 0; j < n; j++) { Vector2 val = dirOf(zz, j); if (SegmentDistance(Vector2.op_Implicit(((Component)item).transform.position), zz.Pos, zz.Pos + val * 40f) < 1.3f) { Hurt(item, d * 0.15f, zz.Owner, zz.Pos); break; } } } }; }; } public static Act IonCannon(double dmg) { return delegate(Ctx c) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_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_0096: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_010d: Unknown result type (might be due to invalid IL or missing references) //IL_0121: Unknown result type (might be due to invalid IL or missing references) //IL_0153: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) //IL_015d: Unknown result type (might be due to invalid IL or missing references) //IL_017a: Unknown result type (might be due to invalid IL or missing references) //IL_0195: Unknown result type (might be due to invalid IL or missing references) Camera main = Camera.main; if (!((Object)(object)main == (Object)null)) { float left = main.ViewportToWorldPoint(new Vector3(0f, 0.5f, 10f)).x; float right = main.ViewportToWorldPoint(new Vector3(1f, 0.5f, 10f)).x; float top = main.ViewportToWorldPoint(new Vector3(0.5f, 1.1f, 10f)).y; float bottom = main.ViewportToWorldPoint(new Vector3(0.5f, -0.1f, 10f)).y; bool ltr = c.R.NextDouble() < 0.5; float d = (float)dmg; HashSet hit = new HashSet(); Zone zone = Zone.Spawn(c.P, new Vector2(ltr ? left : right, (top + bottom) / 2f), 0.5f, 2.4f, 0f, Color.cyan); zone.ShowRing = false; if ((Object)(object)zone.Glow != (Object)null) { zone.Glow.Rate = 0f; } Color glowCol = Fx.T(Color.cyan); glowCol.a = 0.6f; LineRenderer outer = BeamLine(((Component)zone).gameObject, glowCol, 2.4f); LineRenderer core = BeamLine(((Component)zone).gameObject, Color.white, 0.7f); Say("ION CANNON ONLINE")(c); zone.Frame = delegate(Zone zz) { //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_014a: Unknown result type (might be due to invalid IL or missing references) //IL_016d: Unknown result type (might be due to invalid IL or missing references) //IL_017d: Unknown result type (might be due to invalid IL or missing references) //IL_0196: Unknown result type (might be due to invalid IL or missing references) //IL_01c1: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Unknown result type (might be due to invalid IL or missing references) //IL_01f4: Unknown result type (might be due to invalid IL or missing references) //IL_01fe: Unknown result type (might be due to invalid IL or missing references) //IL_0225: Unknown result type (might be due to invalid IL or missing references) //IL_022a: Unknown result type (might be due to invalid IL or missing references) //IL_022f: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Unknown result type (might be due to invalid IL or missing references) float num = Mathf.Clamp01((zz.Age - 0.6f) / 1.8f); float num2 = Mathf.Lerp(ltr ? left : right, ltr ? right : left, num); ((Component)zz).transform.position = Vector2.op_Implicit(new Vector2(num2, (top + bottom) / 2f)); outer.SetPosition(0, new Vector3(num2, top)); outer.SetPosition(1, new Vector3(num2, bottom)); core.SetPosition(0, new Vector3(num2, top)); core.SetPosition(1, new Vector3(num2, bottom)); bool flag = zz.Age >= 0.6f; outer.widthMultiplier = (flag ? (2.4f + Mathf.Sin(Time.time * 50f) * 0.4f) : 0.15f); core.widthMultiplier = (flag ? 0.7f : 0.05f); if (!flag) { return; } for (int i = 0; i < 5; i++) { Fx.Spark(new Vector2(num2, Rf(bottom, top)), new Vector2(Rf(-8f, 8f), Rf(-2f, 2f)), 0.35f, 0.3f, glowCol); } foreach (Player item in FoesNear(zz.Team, zz.Pos, 999f)) { if (!(Mathf.Abs(((Component)item).transform.position.x - num2) > 1.5f) && hit.Add(item)) { Fx.Explosion(Vector2.op_Implicit(((Component)item).transform.position), 3.5f, Color.cyan); if (zz.Mine) { Hurt(item, d, zz.Owner, Vector2.op_Implicit(((Component)item).transform.position + Vector3.up)); } } } }; } }; } public static Act SpiritBomb(double dmg) { return delegate(Ctx c) { //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) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) Player src = c.P; bool mine = c.Mine; float d = (float)dmg; Zone zone = Zone.Spawn(src, c.Pos + Vector2.up * 4.5f, 0.3f, 1.6f, 0f, Shapes.Holy); zone.Frame = delegate(Zone zz) { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) ((Component)zz).transform.position = Vector2.op_Implicit(Vector2.op_Implicit(((Component)zz.Owner).transform.position) + Vector2.up * 4.5f); zz.Radius = Mathf.Lerp(0.3f, 2.6f, zz.Age / 1.6f); for (int i = 0; i < 3; i++) { Vector2 pos = zz.Pos; Vector2 insideUnitCircle = Random.insideUnitCircle; Vector2 val = pos + ((Vector2)(ref insideUnitCircle)).normalized * Rf(5f, 8f); Fx.Spark(val, (zz.Pos - val) / 0.35f, 0.35f, 0.25f, Color.Lerp(Shapes.Holy, Color.white, 0.4f)); } }; zone.OnEnd = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0032: 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) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 90f); Vector2 dir = (((Object)(object)val != (Object)null) ? (Vector2.op_Implicit(((Component)val).transform.position) - zz.Pos) : Vector2.down); Orb(src, zz.Pos, dir, 16f, 2.3f, 4f, Shapes.Holy, 90f, delegate(Vector2 at) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0018: 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_002d: 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) //IL_003d: 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_0057: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, at, d, 8f, Shapes.Holy, 1.6f); Fx.Explosion(at, 9f, Color.white); Fx.Flash(at, 18f, Shapes.Holy, 0.5f); GamefeelManager.GameFeel(Vector2.up * 4f); }); }; }; } public static Act Tornado(double force, double seconds) { return delegate(Ctx c) { //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) float f = (float)force; Color wind = new Color(0.85f, 0.92f, 1f); Zone zone = Zone.Spawn(c.P, c.Pos + Aim(c) * 4f, 2.6f, (float)seconds, 0.2f, wind); zone.Sides = 6; zone.Star = true; zone.Spin = 14f; zone.Frame = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //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) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_007c: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00d4: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_00e8: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_0100: Unknown result type (might be due to invalid IL or missing references) //IL_0107: Unknown result type (might be due to invalid IL or missing references) //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011b: Unknown result type (might be due to invalid IL or missing references) //IL_012b: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 60f); Vector2 val2 = (((Object)(object)val != (Object)null) ? Vector2.op_Implicit(((Component)val).transform.position) : zz.Pos) + new Vector2(Mathf.Sin(zz.Age * 3f) * 2f, 0f); ((Component)zz).transform.position = Vector2.op_Implicit(Vector2.MoveTowards(zz.Pos, val2, 6.5f * Time.deltaTime)); for (int i = 0; i < 4; i++) { float num = Rf(0f, (float)Math.PI * 2f); Vector2 val3 = new Vector2(Mathf.Cos(num), Mathf.Sin(num) * 1.7f) * 2.6f * Rf(0.3f, 1f); Vector2 val4 = new Vector2(0f - val3.y, val3.x); Vector2 normalized = ((Vector2)(ref val4)).normalized; Fx.Spark(zz.Pos + val3, normalized * 9f + Vector2.up * 3f, 0.35f, 0.22f, wind); } }; zone.Tick = delegate(Zone zz) { //IL_0010: 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_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) if (!zz.Mine) { return; } foreach (Player item in FoesNear(zz.Team, zz.Pos, 3f)) { HealthHandler healthHandler = item.data.healthHandler; Vector2 val = new Vector2(Rf(-1f, 1f), 1.4f); Kick(healthHandler, ((Vector2)(ref val)).normalized * f * 0.4f); Hurt(item, f * 0.08f, zz.Owner, zz.Pos); } }; }; } public static Act Volcano(int n, double dmg, double seconds) { return delegate(Ctx c) { //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) Player src = c.P; bool mine = c.Mine; float d = (float)dmg; Random rng = new Random(c.R.Next()); Zone zone = Zone.Spawn(src, c.Pos, 1.6f, (float)seconds, (float)seconds / (float)Mathf.Max(1, n), Shapes.Fire); zone.Sides = 3; zone.Star = true; zone.Spin = 2f; zone.Tick = delegate(Zone zz) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_007f: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) Fx.Geyser(zz.Pos, 1.5f, Shapes.Fire); Vector2 p = zz.Pos + new Vector2((float)(rng.NextDouble() * 26.0 - 13.0), (float)(rng.NextDouble() * 6.0 - 1.0)); WarnAt(src, p, 3f, 0.7f, Color.red, delegate { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, p, d, 3f, Shapes.Fire); }); }; }; } public static Act Tsunami(double force, double dmg) { return delegate(Ctx c) { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) float sign = ((Aim(c).x >= 0f) ? 1f : (-1f)); float f = (float)force; float d = (float)dmg; HashSet hit = new HashSet(); Zone zone = Zone.Spawn(c.P, c.Pos + new Vector2(sign * 2f, 0f), 3.4f, 2.2f, 0.1f, Shapes.Ice); zone.Frame = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) ((Component)zz).transform.position = Vector2.op_Implicit(zz.Pos + new Vector2(sign * 18f * Time.deltaTime, 0f)); for (int i = 0; i < 5; i++) { Fx.Spark(zz.Pos + new Vector2(Rf(-1f, 1f), Rf(-3f, 3f)), new Vector2(sign * Rf(4f, 11f), Rf(2f, 9f)), 0.5f, 0.3f, Color.Lerp(Shapes.Ice, Color.white, Rf(0f, 0.6f))); } }; zone.Tick = delegate(Zone zz) { //IL_0007: 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_0042: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) foreach (Player item in FoesNear(zz.Team, zz.Pos, 3.8f)) { if (hit.Add(item)) { Fx.Shards(Vector2.op_Implicit(((Component)item).transform.position), 2.5f, Shapes.Ice); if (zz.Mine) { Hurt(item, d, zz.Owner, zz.Pos); HealthHandler healthHandler = item.data.healthHandler; Vector2 val = new Vector2(sign, 0.6f); Kick(healthHandler, ((Vector2)(ref val)).normalized * f); } } } }; }; } public static Act TimeStop(double seconds) { return delegate(Ctx c) { //IL_0009: 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_0038: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) float num = (float)seconds; Fx.Flash(c.Pos, 50f, new Color(0.55f, 0.6f, 0.9f, 0.45f), 0.9f); Ring.Spawn(c.Pos, 30f, Color.white, fx: false); Zone zone = Zone.Spawn(c.P, c.Pos, 4f, num, 0f, Color.white, follow: true); zone.Sides = 12; zone.Spin = -1.5f; foreach (Player item in FoesNear(c.P.teamID, c.Pos, 999f)) { item.data.stunHandler.AddStun(num); Fx.Shards(Vector2.op_Implicit(((Component)item).transform.position), 2.5f, Color.white); } Say("TIME STOP")(c); }; } public static Act FlipT(double seconds) { return delegate(Ctx c) { //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) //IL_004e: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Gravity g = ((Component)c.T).GetComponent(); if (!((Object)(object)g == (Object)null)) { Fx.Geyser(Vector2.op_Implicit(((Component)c.T).transform.position), 1.5f, Shapes.Void); Buffs.Add((float)seconds, delegate { Gravity obj = g; obj.gravityForce *= -0.8f; }, delegate { Gravity obj = g; obj.gravityForce /= -0.8f; }); } } }; } public static Act Tether(double dps, double seconds) { return delegate(Ctx c) { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: 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) Player t = c.T; if (Alive(t)) { float d = (float)dps; Zone zone = Zone.Spawn(c.P, c.Pos, 0.6f, (float)seconds, 0.25f, Shapes.Blood, follow: true); zone.ShowRing = false; Color col = Fx.T(Shapes.Blood); col.a = 0.85f; LineRenderer line = BeamLine(((Component)zone).gameObject, col, 0.35f); zone.Frame = delegate(Zone zz) { //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0021: 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_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) if (!Alive(t)) { zz.Finish(); } else { line.SetPosition(0, Vector2.op_Implicit(zz.Pos)); line.SetPosition(1, ((Component)t).transform.position); line.widthMultiplier = 0.25f + 0.12f * Mathf.Sin(Time.time * 30f); Fx.Spark(Vector2.Lerp(Vector2.op_Implicit(((Component)t).transform.position), zz.Pos, Random.value), Random.insideUnitCircle * 2f, 0.25f, 0.18f, col); } }; zone.Tick = delegate(Zone zz) { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0071: 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) if (Alive(t)) { if (zz.Mine) { Hurt(t, d * 0.25f, zz.Owner, zz.Pos); HealthHandler healthHandler = t.data.healthHandler; Vector2 val = zz.Pos - Vector2.op_Implicit(((Component)t).transform.position); Kick(healthHandler, ((Vector2)(ref val)).normalized * 6f); } if (Alive(zz.Owner)) { zz.Owner.data.healthHandler.Heal(d * 0.12f); } } }; } }; } public static Act Prism(double dmg) { return delegate(Ctx c) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //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) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: 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_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004b: 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_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_011c: Unknown result type (might be due to invalid IL or missing references) //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) Vector2 val = Aim(c); for (int i = 0; i < 6; i++) { Vector2 val2 = Rot(val, -25f + 10f * (float)i); Vector2 val3 = c.Pos + val2 * 1.2f; Vector2 b = val3 + val2 * 40f; Bolt.Spawn(val3, b, Color.HSVToRGB((float)i / 6f, 1f, 1f), 0.4f, 0f, 0.3f); if (c.Mine) { foreach (Player item in FoesNear(c.P.teamID, c.Pos, 42f)) { if (SegmentDistance(Vector2.op_Implicit(((Component)item).transform.position), val3, b) < 1.2f) { Hurt(item, (float)dmg, c.P, c.Pos); } } } } Fx.Flash(c.Pos + val * 1.5f, 2.5f, Color.white); }; } public static Act Comet(double dmg) { return delegate(Ctx c) { //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) //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) Camera main = Camera.main; if (!((Object)(object)main == (Object)null)) { Player src = c.P; bool mine = c.Mine; float d = (float)dmg; Vector2 at = c.At; bool flag = c.R.NextDouble() < 0.5; float x = main.ViewportToWorldPoint(new Vector3(flag ? (-0.05f) : 1.05f, 0.5f, 10f)).x; Vector2 val = default(Vector2); ((Vector2)(ref val))..ctor(x, at.y + 7f); Orb(src, val, at - val, 34f, 1.1f, 3f, Shapes.Fire, 40f, delegate(Vector2 at2) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, at2, d, 6f, Shapes.Fire, 1.2f); FieldAt(src, at2, 4f, 3f, d * 0.25f, 0f, Shapes.Fire); }, delegate(Zone zz) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) Fx.Rise(zz.Pos, Random.insideUnitCircle * 2f, 0.6f, 0.6f, Shapes.Fire); }); } }; } public static Act BlackSun(double seconds, double dps) { return delegate(Ctx c) { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001f: 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) //IL_002e: 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) float d = (float)dps; Zone zone = Zone.Spawn(c.P, c.Pos + Vector2.up * 6f, 6f, (float)seconds, 0.25f, Shapes.Void); zone.Sides = 8; zone.Star = true; zone.Spin = -2f; zone.Frame = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0017: 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_0021: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) ((Component)zz).transform.position = Vector2.op_Implicit(Vector2.Lerp(zz.Pos, Vector2.op_Implicit(((Component)zz.Owner).transform.position) + Vector2.up * 6f, 1f - Mathf.Exp(-4f * Time.deltaTime))); }; zone.Tick = delegate(Zone zz) { //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_0058: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) if (!zz.Mine) { return; } foreach (Player item in FoesNear(zz.Team, zz.Pos, 9f)) { HealthHandler healthHandler = item.data.healthHandler; Vector2 val = zz.Pos - Vector2.op_Implicit(((Component)item).transform.position); Kick(healthHandler, ((Vector2)(ref val)).normalized * 8f); Hurt(item, d * 0.25f, zz.Owner, zz.Pos); } }; }; } public static Act SummonDragon(double dmg) { return delegate(Ctx c) { //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_00d6: Unknown result type (might be due to invalid IL or missing references) //IL_00db: Unknown result type (might be due to invalid IL or missing references) float d = (float)dmg; float phase = (float)(c.R.NextDouble() * 6.28); Zone zone = Zone.Spawn(c.P, c.Pos + Vector2.up * 3f, 1.1f, 999f, 1.6f, Shapes.Fire); zone.Sides = 3; zone.Star = true; zone.Spin = 2f; if ((Object)(object)zone.Glow != (Object)null) { zone.Glow.GlowAlpha = 0.6f; zone.Glow.Rate = 25f; } zone.Frame = delegate(Zone zz) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0010: 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) //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) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) Vector2 val = Vector2.op_Implicit(((Component)zz.Owner).transform.position) + new Vector2(Mathf.Sin(Time.time * 0.9f + phase) * 3f, 4f); ((Component)zz).transform.position = Vector2.op_Implicit(Vector2.Lerp(zz.Pos, val, 1f - Mathf.Exp(-4f * Time.deltaTime))); }; zone.Tick = delegate(Zone zz) { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0034: 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_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) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 28f); if (!((Object)(object)val == (Object)null)) { Vector2 v = Vector2.op_Implicit(((Component)val).transform.position) - zz.Pos; Player src = zz.Owner; bool mine = zz.Mine; Fx.Burst(zz.Pos, 12, 7f, Shapes.Fire, 0.3f); for (int i = 0; i < 5; i++) { Orb(src, zz.Pos, Rot(v, -16f + 8f * (float)i), 24f, 0.35f, 1.3f, Shapes.Fire, 0f, delegate(Vector2 at) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, at, d * 0.4f, 2f, Shapes.Fire, 0.2f); }); } } }; Fx.Poof(zone.Pos, Shapes.Fire); }; } public static Act SummonClone(double dmg, double seconds = 999.0) { return delegate(Ctx c) { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001f: 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) //IL_002e: 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) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) float d = (float)dmg; Zone zone = Zone.Spawn(c.P, c.Pos + Vector2.right * 2f, 0.8f, (float)seconds, 0.6f, Color.white); if ((Object)(object)zone.Glow != (Object)null) { zone.Glow.GlowAlpha = 0.5f; zone.Glow.Rate = 10f; } zone.Frame = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0017: 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_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) ((Component)zz).transform.position = Vector2.op_Implicit(Vector2.Lerp(zz.Pos, Vector2.op_Implicit(((Component)zz.Owner).transform.position) + new Vector2(2.2f, 1.2f), 1f - Mathf.Exp(-6f * Time.deltaTime))); }; zone.Tick = delegate(Zone zz) { //IL_0014: 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_0058: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_007c: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 25f); if (!((Object)(object)val == (Object)null)) { Player src = zz.Owner; bool mine = zz.Mine; Orb(src, zz.Pos, Vector2.op_Implicit(((Component)val).transform.position) - zz.Pos, 30f, 0.3f, 1.5f, Color.white, 80f, delegate(Vector2 at) { //IL_000c: 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) Blast(src, mine, at, d, 1.8f, Color.white, 0.3f); }); } }; Fx.Poof(zone.Pos, Color.white); }; } public static Act Supernova(double dmg) { return delegate(Ctx c) { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_007c: 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_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) Player src = c.P; bool mine = c.Mine; float d = (float)dmg; HashSet hit = new HashSet(); Zone zone = Zone.Spawn(src, c.Pos, 0.5f, 1.4f, 0f, Shapes.Holy); if ((Object)(object)zone.Glow != (Object)null) { zone.Glow.Rate = 0f; } Fx.Flash(c.Pos, 8f, Color.white, 0.3f); zone.Frame = delegate(Zone zz) { //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0034: 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_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_00cf: Unknown result type (might be due to invalid IL or missing references) //IL_00d4: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) //IL_0121: Unknown result type (might be due to invalid IL or missing references) //IL_0126: Unknown result type (might be due to invalid IL or missing references) //IL_012c: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Unknown result type (might be due to invalid IL or missing references) //IL_0136: Unknown result type (might be due to invalid IL or missing references) //IL_0139: Unknown result type (might be due to invalid IL or missing references) //IL_0143: Unknown result type (might be due to invalid IL or missing references) zz.Radius = Mathf.Lerp(0.5f, 40f, zz.Age / 1.4f); Vector2 val; for (int i = 0; i < 10; i++) { val = Random.insideUnitCircle; Vector2 normalized = ((Vector2)(ref val)).normalized; Fx.Spark(zz.Pos + normalized * zz.Radius, normalized * 6f, 0.3f, 0.3f, Color.Lerp(Shapes.Holy, Color.white, Rf(0f, 0.5f))); } foreach (Player item in FoesNear(zz.Team, zz.Pos, zz.Radius)) { if (hit.Add(item)) { Fx.Explosion(Vector2.op_Implicit(((Component)item).transform.position), 2.5f, Shapes.Holy); if (mine) { Hurt(item, d, src, zz.Pos); HealthHandler healthHandler = item.data.healthHandler; val = Vector2.op_Implicit(((Component)item).transform.position) - zz.Pos; Kick(healthHandler, ((Vector2)(ref val)).normalized * 40f); } } } }; GamefeelManager.GameFeel(Vector2.up * 3f); }; } internal static void Shards(Player src, Vector2 from, Vector2 dir, int n, float spread, float speed, ShardHit hit, float dmg, bool homing, int generations) { //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: 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_011a: Unknown result type (might be due to invalid IL or missing references) bool mine = src.data.view.IsMine; Color color = BulletSplit.ColorOf(hit); for (int i = 0; i < n; i++) { float num = ((spread >= 360f) ? ((float)i * 360f / (float)n) : ((n == 1) ? 0f : ((0f - spread) / 2f + spread * (float)i / (float)(n - 1)))); Vector2 d = Vector2.op_Implicit(Quaternion.Euler(0f, 0f, num) * Vector2.op_Implicit(dir)); float radius = ((generations > 0) ? 0.32f : 0.24f); int gen = generations; Orb(src, from + d * 0.6f, d, speed, radius, 1.6f, color, homing ? 520f : 0f, delegate(Vector2 at) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_004d: Unknown result type (might be due to invalid IL or missing references) ShardImpact(src, mine, at, hit, dmg); if (gen > 0) { Shards(src, at, -d, 3, 120f, speed * 0.8f, hit, dmg * 0.7f, homing, gen - 1); } }); } } private static void ShardImpact(Player src, bool mine, Vector2 at, ShardHit hit, float dmg) { //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_003d: 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_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) //IL_00f2: Unknown result type (might be due to invalid IL or missing references) //IL_0100: Unknown result type (might be due to invalid IL or missing references) //IL_010e: Unknown result type (might be due to invalid IL or missing references) //IL_0129: Unknown result type (might be due to invalid IL or missing references) //IL_018d: Unknown result type (might be due to invalid IL or missing references) //IL_0195: Unknown result type (might be due to invalid IL or missing references) //IL_0145: Unknown result type (might be due to invalid IL or missing references) //IL_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_0156: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_015e: Unknown result type (might be due to invalid IL or missing references) //IL_0168: Unknown result type (might be due to invalid IL or missing references) switch (hit) { case ShardHit.Explode: Blast(src, mine, at, dmg, 3f, Shapes.Fire, 0.6f); break; case ShardHit.Shock: Detonate(Bomb.Shock, src, at, dmg, 2f); break; case ShardHit.Frost: Blast(src, mine, at, dmg * 0.6f, 2f, Shapes.Ice, 0.2f); { foreach (Player item in FoesNear(src.teamID, at, 2.2f)) { item.data.stunHandler.AddStun(0.3f); } break; } case ShardHit.Fire: Blast(src, mine, at, dmg * 0.6f, 1.8f, Shapes.Fire, 0.2f); FieldAt(src, at, 1.6f, 2f, dmg * 0.6f, 0f, Shapes.Fire); break; case ShardHit.Void: Blast(src, mine, at, dmg * 0.5f, 2f, Shapes.Void, 0f); if (!mine) { break; } { foreach (Player item2 in FoesNear(src.teamID, at, 5f)) { Vector2 val = at - Vector2.op_Implicit(((Component)item2).transform.position); Shove(item2, ((Vector2)(ref val)).normalized * 20f); } break; } default: Blast(src, mine, at, dmg, 1.7f, Color.magenta, 0.3f); break; } } private static Player NearestFoe(int team, Vector2 pos, float range) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) return (from p in FoesNear(team, pos, range) orderby Vector2.Distance(Vector2.op_Implicit(((Component)p).transform.position), pos) select p).FirstOrDefault(); } private static void Chase(Zone z, float speed, float keepAway = 0f) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //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) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(z.Team, z.Pos, 45f); Vector2 val2 = (((Object)(object)val != (Object)null) ? Vector2.op_Implicit(((Component)val).transform.position) : (Vector2.op_Implicit(((Component)z.Owner).transform.position) + new Vector2(-1.5f, 2f))); if (!((Object)(object)val != (Object)null) || !(keepAway > 0f) || !(Vector2.Distance(val2, z.Pos) < keepAway)) { ((Component)z).transform.position = Vector2.op_Implicit(Vector2.MoveTowards(z.Pos, val2, speed * Time.deltaTime)); } } private static void Circle(Zone z, float radius, float speed, float phase) { //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0031: 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) //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) float num = Time.time * speed + phase; ((Component)z).transform.position = Vector2.op_Implicit(Vector2.op_Implicit(((Component)z.Owner).transform.position) + new Vector2(Mathf.Cos(num), Mathf.Sin(num)) * radius); } private static void Hover(Zone z, Vector2 offset) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //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) Vector2 val = Vector2.op_Implicit(((Component)z.Owner).transform.position) + offset; ((Component)z).transform.position = Vector2.op_Implicit(Vector2.Lerp(z.Pos, val, 1f - Mathf.Exp(-6f * Time.deltaTime))); } public static Act Summon(Pet kind, double power, double seconds = 999.0) { return delegate(Ctx c) { //IL_0042: 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_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_00e5: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: 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_014b: Unknown result type (might be due to invalid IL or missing references) //IL_0199: Unknown result type (might be due to invalid IL or missing references) //IL_01a5: Unknown result type (might be due to invalid IL or missing references) //IL_01f3: Unknown result type (might be due to invalid IL or missing references) //IL_01ff: Unknown result type (might be due to invalid IL or missing references) //IL_024d: Unknown result type (might be due to invalid IL or missing references) //IL_0259: Unknown result type (might be due to invalid IL or missing references) //IL_0294: Unknown result type (might be due to invalid IL or missing references) //IL_02a0: Unknown result type (might be due to invalid IL or missing references) //IL_02db: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_0335: Unknown result type (might be due to invalid IL or missing references) //IL_0341: Unknown result type (might be due to invalid IL or missing references) //IL_038f: Unknown result type (might be due to invalid IL or missing references) //IL_03aa: Unknown result type (might be due to invalid IL or missing references) //IL_03e2: Unknown result type (might be due to invalid IL or missing references) //IL_03ee: Unknown result type (might be due to invalid IL or missing references) //IL_059c: Unknown result type (might be due to invalid IL or missing references) //IL_05bc: Unknown result type (might be due to invalid IL or missing references) //IL_05af: Unknown result type (might be due to invalid IL or missing references) float p = (float)power; float seconds2 = (float)seconds; float phase = (float)(c.R.NextDouble() * Math.PI * 2.0); Vector2 pos = c.Pos + Vector2.up * 2f; Zone zone; switch (kind) { case Pet.Sprite: zone = Zone.Spawn(c.P, pos, 0.45f, seconds2, 0.8f, Shapes.Volt); zone.Frame = delegate(Zone zz) { Circle(zz, 2.6f, 3f, phase); }; zone.Tick = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_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) //IL_0066: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 15f); if (!((Object)(object)val == (Object)null)) { Bolt.Spawn(zz.Pos, Vector2.op_Implicit(((Component)val).transform.position), Shapes.Volt, 0.14f, 0.6f); if (zz.Mine) { Hurt(val, p, zz.Owner, zz.Pos); } } }; break; case Pet.Hound: zone = Zone.Spawn(c.P, pos, 0.7f, seconds2, 0.4f, Shapes.Blood); zone.Frame = delegate(Zone zz) { Chase(zz, 15f); }; zone.Tick = delegate(Zone zz) { //IL_0007: 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_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 1.6f); if (!((Object)(object)val == (Object)null)) { Ring.Spawn(Vector2.op_Implicit(((Component)val).transform.position), 1.2f, Shapes.Blood); if (zz.Mine) { Hurt(val, p, zz.Owner, zz.Pos); } } }; break; case Pet.Imp: zone = Zone.Spawn(c.P, pos, 0.55f, seconds2, 0f, Color.red); zone.Frame = delegate(Zone zz) { //IL_0024: Unknown result type (might be due to invalid IL or missing references) Chase(zz, 12f); if (zz.Age > 0.4f && (Object)(object)NearestFoe(zz.Team, zz.Pos, 1.6f) != (Object)null) { zz.Finish(); } }; zone.OnEnd = delegate(Zone zz) { //IL_000d: 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) Blast(zz.Owner, zz.Mine, zz.Pos, p, 4.5f, Shapes.Fire); }; break; case Pet.Fairy: zone = Zone.Spawn(c.P, pos, 0.4f, seconds2, 1f, Shapes.Heal); zone.Frame = delegate(Zone zz) { //IL_001c: Unknown result type (might be due to invalid IL or missing references) Hover(zz, new Vector2(Mathf.Sin(Time.time * 2f) * 1.5f, 2.2f)); }; zone.Tick = delegate(Zone zz) { //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) //IL_0042: Unknown result type (might be due to invalid IL or missing references) if (Alive(zz.Owner)) { zz.Owner.data.healthHandler.Heal(p); Ring.Spawn(Vector2.op_Implicit(((Component)zz.Owner).transform.position), 1.4f, Shapes.Heal); } }; break; case Pet.Elemental: zone = Zone.Spawn(c.P, pos, 2.4f, seconds2, 0.5f, Shapes.Fire); zone.Frame = delegate(Zone zz) { Chase(zz, 6f); }; zone.Tick = delegate(Zone zz) { //IL_0010: 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) if (!zz.Mine) { return; } foreach (Player item in FoesNear(zz.Team, zz.Pos, 2.6f)) { Hurt(item, p * 0.5f, zz.Owner, zz.Pos); } }; break; case Pet.Wisp: zone = Zone.Spawn(c.P, pos, 0.45f, seconds2, 3f, Shapes.Ice); zone.Frame = delegate(Zone zz) { Circle(zz, 3f, -2.2f, phase); }; zone.Tick = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_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) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 13f); if (!((Object)(object)val == (Object)null)) { Bolt.Spawn(zz.Pos, Vector2.op_Implicit(((Component)val).transform.position), Shapes.Ice, 0.2f, 0.2f); Ring.Spawn(Vector2.op_Implicit(((Component)val).transform.position), 2.2f, Shapes.Ice); val.data.stunHandler.AddStun(p); } }; break; case Pet.Drone: zone = Zone.Spawn(c.P, pos, 0.5f, seconds2, 0.9f, Color.cyan); zone.Frame = delegate(Zone zz) { //IL_0023: Unknown result type (might be due to invalid IL or missing references) Hover(zz, new Vector2(Mathf.Cos(Time.time * 1.5f + phase) * 1.8f, 2.8f)); }; zone.Tick = delegate(Zone zz) { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 25f); if (!((Object)(object)val == (Object)null)) { Vector2 pos2 = zz.Pos; Player src = zz.Owner; bool mine = zz.Mine; Orb(src, pos2, Vector2.op_Implicit(((Component)val).transform.position) - pos2, 28f, 0.35f, 1.5f, Color.cyan, 120f, delegate(Vector2 hit) { //IL_000c: 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) Blast(src, mine, hit, p, 2.5f, Color.cyan, 0.4f); }); } }; break; case Pet.Bat: zone = Zone.Spawn(c.P, pos, 0.35f, seconds2, 0.6f, Shapes.Void); zone.Frame = delegate(Zone zz) { Chase(zz, 18f); }; zone.Tick = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0022: 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_0037: 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_006b: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 1.4f); if (!((Object)(object)val == (Object)null)) { Bolt.Spawn(zz.Pos, Vector2.op_Implicit(((Component)zz.Owner).transform.position), Shapes.Blood, 0.08f, 0.3f); if (zz.Mine) { Hurt(val, p, zz.Owner, zz.Pos); } if (Alive(zz.Owner)) { zz.Owner.data.healthHandler.Heal(p); } } }; break; case Pet.Ghost: zone = Zone.Spawn(c.P, pos, 0.8f, seconds2, 1f, Color.white); zone.Frame = delegate(Zone zz) { Chase(zz, 8f); }; zone.Tick = delegate(Zone zz) { //IL_0007: 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_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 1.8f); if (!((Object)(object)val == (Object)null)) { Ring.Spawn(Vector2.op_Implicit(((Component)val).transform.position), 2f, Shapes.Void); val.data.silenceHandler.RPCA_AddSilence(1f); if (zz.Mine) { Hurt(val, p, zz.Owner, zz.Pos); } } }; break; case Pet.Orbiter: zone = Zone.Spawn(c.P, pos, 0.8f, seconds2, 0.3f, new Color(0.6f, 0.5f, 0.4f)); zone.Frame = delegate(Zone zz) { Circle(zz, 2.8f, 4f, phase); }; zone.Tick = delegate(Zone zz) { //IL_0010: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0075: 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 (!zz.Mine) { return; } foreach (Player item2 in FoesNear(zz.Team, zz.Pos, 1.4f)) { Hurt(item2, p, zz.Owner, zz.Pos); HealthHandler healthHandler = item2.data.healthHandler; Vector2 val = Vector2.op_Implicit(((Component)item2).transform.position) - zz.Pos; Kick(healthHandler, ((Vector2)(ref val)).normalized * 25f); } }; break; default: zone = Zone.Spawn(c.P, pos, 0.6f, seconds2, 2.5f, Shapes.Holy); zone.Frame = delegate(Zone zz) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) Hover(zz, new Vector2(0f, 3.2f)); }; zone.Tick = delegate(Zone zz) { //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0075: 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_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) if (Alive(zz.Owner)) { zz.Owner.data.healthHandler.Heal(p * 0.5f); } Player val = NearestFoe(zz.Team, zz.Pos, 25f); if (!((Object)(object)val == (Object)null)) { Vector2 val2 = Vector2.op_Implicit(((Component)val).transform.position); Bolt.Spawn(val2 + Vector2.up * 35f, val2, Shapes.Holy, 0.4f, 2f, 0.3f); Blast(zz.Owner, zz.Mine, val2, p, 2.5f, Shapes.Holy, 0.4f); } }; break; } switch (kind) { case Pet.Sprite: zone.Sides = 5; zone.Star = true; zone.Spin = 4f; break; case Pet.Hound: zone.Sides = 3; zone.Spin = 6f; break; case Pet.Imp: zone.Sides = 8; zone.Star = true; zone.Spin = 9f; break; case Pet.Fairy: zone.Sides = 4; zone.Star = true; zone.Spin = 2f; break; case Pet.Elemental: zone.Sides = 7; zone.Star = true; zone.Spin = 1.5f; break; case Pet.Wisp: zone.Sides = 6; zone.Spin = -2f; break; case Pet.Drone: zone.Sides = 4; zone.Spin = 8f; break; case Pet.Bat: zone.Sides = 3; zone.Star = true; zone.Spin = 5f; break; case Pet.Orbiter: zone.Sides = 8; zone.Spin = 3f; break; case Pet.Angel: zone.Sides = 4; zone.Star = true; zone.Spin = 1f; break; } if ((Object)(object)zone.Glow != (Object)null) { zone.Glow.GlowAlpha = 0.55f; zone.Glow.Rate = 14f; } Fx.Poof(zone.Pos, ((Object)(object)zone.Glow != (Object)null) ? zone.Glow.Color : Color.white); }; } private static bool HitsWall(Vector2 p, float r) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) Collider2D[] array = Physics2D.OverlapCircleAll(p, r); foreach (Collider2D val in array) { if (!((Object)(object)val == (Object)null) && !val.isTrigger && !((Object)(object)((Component)val).GetComponentInParent() != (Object)null) && !((Object)(object)((Component)val).GetComponentInParent() != (Object)null)) { return true; } } return false; } internal static void Orb(Player src, Vector2 from, Vector2 dir, float speed, float radius, float life, Color color, float homing, Action boom, Action trail = null) { //IL_002e: 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_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) Zone zone = Zone.Spawn(src, from, radius, life, 0f, color); Vector2 v = ((dir == Vector2.zero) ? Vector2.right : ((Vector2)(ref dir)).normalized) * speed; zone.Frame = delegate(Zone zz) { //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: 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) //IL_0038: 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_0048: 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_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0058: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Unknown result type (might be due to invalid IL or missing references) float deltaTime = Time.deltaTime; if (homing > 0f) { Player val = NearestFoe(zz.Team, zz.Pos, 35f); if ((Object)(object)val != (Object)null) { Vector3 val2 = Vector2.op_Implicit(v); Vector2 val3 = Vector2.op_Implicit(((Component)val).transform.position) - zz.Pos; v = Vector2.op_Implicit(Vector3.RotateTowards(val2, Vector2.op_Implicit(((Vector2)(ref val3)).normalized * speed), homing * ((float)Math.PI / 180f) * deltaTime, 0f)); } } ((Component)zz).transform.position = Vector2.op_Implicit(zz.Pos + v * deltaTime); trail?.Invoke(zz); if (FoesNear(zz.Team, zz.Pos, radius + 0.7f).Count > 0 || (zz.Age > 0.12f && HitsWall(zz.Pos, radius * 0.6f))) { zz.Finish(); } }; zone.OnEnd = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) boom(zz.Pos); }; } public static Act Fireball(double dmg) { return delegate(Ctx c) { //IL_0032: 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) //IL_0042: 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_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) Player src = c.P; bool mine = c.Mine; float d = (float)dmg; Orb(src, c.Pos + Aim(c) * 1.5f, Aim(c), 26f, 0.8f, 2f, Shapes.Fire, 0f, delegate(Vector2 at) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, at, d, 4.5f, Shapes.Fire); FieldAt(src, at, 3.5f, 3f, d * 0.3f, 0f, Shapes.Fire); }); }; } public static Act IceLance(double stun) { return delegate(Ctx c) { //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) Player src = c.P; float s = (float)stun; Orb(src, c.Pos + Aim(c) * 1.5f, Aim(c), 45f, 0.45f, 1.5f, Shapes.Ice, 0f, delegate(Vector2 at) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) Detonate(Bomb.Cryo, src, at, s, 4f); }); }; } public static Act ArcaneMissiles(int n, double dmg) { return delegate(Ctx c) { //IL_002c: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) Player src = c.P; bool mine = c.Mine; float d = (float)dmg; Vector2 val = Aim(c); for (int i = 0; i < n; i++) { float num = ((float)i - (float)(n - 1) / 2f) * 25f; Vector2 val2 = Vector2.op_Implicit(Quaternion.Euler(0f, 0f, num) * Vector2.op_Implicit(val)); Orb(src, c.Pos + val2 * 1.2f, val2, 22f, 0.35f, 3f, Color.magenta, 360f, delegate(Vector2 at) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) Blast(src, mine, at, d, 1.8f, Color.magenta, 0.3f); }); } }; } public static Act VoidOrb(double force) { return delegate(Ctx c) { //IL_0031: 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) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) Player src = c.P; float f = (float)force; float nextPull = 0f; Orb(src, c.Pos + Aim(c) * 1.5f, Aim(c), 9f, 1.1f, 3f, Shapes.Void, 0f, delegate(Vector2 at) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) Detonate(Bomb.Void, src, at, f * 1.5f, 7f); }, delegate(Zone zz) { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) if (!(Time.time < nextPull)) { nextPull = Time.time + 0.25f; Ring.Spawn(zz.Pos, 6f, Shapes.Void, fx: false); if (zz.Mine) { foreach (Player item in FoesNear(zz.Team, zz.Pos, 6f)) { HealthHandler healthHandler = item.data.healthHandler; Vector2 val = zz.Pos - Vector2.op_Implicit(((Component)item).transform.position); Kick(healthHandler, ((Vector2)(ref val)).normalized * f * 0.25f); } } } }); }; } public static Act BallLightning(double dmg) { return delegate(Ctx c) { //IL_0031: 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) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) Player src = c.P; float d = (float)dmg; float nextZap = 0f; Orb(src, c.Pos + Aim(c) * 1.5f, Aim(c), 11f, 0.9f, 3f, Shapes.Volt, 0f, delegate(Vector2 at) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) Detonate(Bomb.Shock, src, at, d * 1.5f, 4f); }, delegate(Zone zz) { //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) if (!(Time.time < nextZap)) { nextZap = Time.time + 0.3f; Player val = NearestFoe(zz.Team, zz.Pos, 7f); if (!((Object)(object)val == (Object)null)) { Bolt.Spawn(zz.Pos, Vector2.op_Implicit(((Component)val).transform.position), Shapes.Volt, 0.15f, 0.8f); if (zz.Mine) { Hurt(val, d * 0.3f, zz.Owner, zz.Pos); } } } }); }; } internal static void Shove(Player p, Vector2 v) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) Kick(p.data.healthHandler, v); } internal static void SpawnImp(Player src, Vector2 at, float dmg) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) Zone zone = Zone.Spawn(src, at, 0.55f, 7f, 0f, Color.red); zone.Sides = 8; zone.Star = true; zone.Spin = 9f; zone.Frame = delegate(Zone zz) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //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) //IL_0021: 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) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) Player val = NearestFoe(zz.Team, zz.Pos, 45f); Vector2 val2 = (((Object)(object)val != (Object)null) ? Vector2.op_Implicit(((Component)val).transform.position) : zz.Pos); ((Component)zz).transform.position = Vector2.op_Implicit(Vector2.MoveTowards(zz.Pos, val2, 13f * Time.deltaTime)); if (zz.Age > 0.4f && (Object)(object)NearestFoe(zz.Team, zz.Pos, 1.6f) != (Object)null) { zz.Finish(); } }; zone.OnEnd = delegate(Zone zz) { //IL_000d: 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) Blast(zz.Owner, zz.Mine, zz.Pos, dmg, 4f, Shapes.Fire); }; Fx.Poof(at, Color.red); } public static Act Ambush(double dmg) { return delegate(Ctx c) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) if (Alive(c.T)) { Vector2 val = Vector2.op_Implicit(((Component)c.T).transform.position) + new Vector2((c.R.NextDouble() < 0.5) ? (-3f) : 3f, 1.5f); Fx.Poof(c.Pos, Shapes.Void); Fx.Poof(val, Shapes.Void); if (c.Mine) { Move(c.P, val); } Blast(c.P, c.Mine, val, (float)dmg, 4f, Shapes.Void); } }; } public static Act Imps(int n, double dmg) { return delegate(Ctx c) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) for (int i = 0; i < n; i++) { SpawnImp(c.P, c.Pos + new Vector2((float)i - (float)n / 2f, 1.5f), (float)dmg); } }; } public static Act Splinters(int n, double dmg) { return delegate(Ctx c) { //IL_0009: Unknown result type (might be due to invalid IL or missing references) Detonate(Bomb.Splinter, c.P, c.At, (float)dmg, n); }; } } public sealed class CardDef { public int Index; private Fx.Style look; private bool hasLook; public string Name; public string Desc; public Rarity Rarity; public CardThemeColorType Theme; public bool Single; public readonly List Stats = new List(); public readonly List Rules = new List(); public Action Setup = delegate { }; public Action OnFoe; public bool IsLegendary; private readonly List> attachments = new List>(); internal bool HasBounces; private static readonly KeyValuePair>[] WildPool = new KeyValuePair>[49] { W("Fire trail", delegate(CardDef d) { d.FireTrail(10.0); }), W("Frost trail", delegate(CardDef d) { d.FrostTrail(0.25); }), W("Toxic trail", delegate(CardDef d) { d.ToxicTrail(7.0); }), W("Storm bullets", delegate(CardDef d) { d.StormRounds(7.0); }), W("Magnet bullets", delegate(CardDef d) { d.MagnetRounds(20.0); }), W("Ricochet seek", delegate(CardDef d) { if (!d.HasBounces) { d.G(delegate(Gun g) { g.reflects = 2; }); } d.Seek(3); }), W("Satellites", delegate(CardDef d) { d.Satellite(0.9); }), W("Shard impact", delegate(CardDef d) { d.Splinter(9.0, 2); }), W("Splits x3", delegate(CardDef d) { d.Split(SplitPattern.Fan, 3, 8.0); }), W("Starburst", delegate(CardDef d) { d.Split(SplitPattern.Ring, 6, 6.0, ShardHit.Pop, 0.35); }), W("Spark shots", delegate(CardDef d) { d.OnShoot(0.12, Do.Fireworks(2, 5.0)).Cd(1.0); }), W("Wall tunneling", delegate(CardDef d) { d.G(delegate(Gun g) { g.ignoreWalls = true; }); }), W("Tiny rockets", delegate(CardDef d) { d.Rockets(10.0, 2.5); }), W("Frost impact", delegate(CardDef d) { d.Cryo(0.25, 2.5); }), W("Shock impact", delegate(CardDef d) { d.Shock(9.0, 2); }), W("Napalm impact", delegate(CardDef d) { d.Napalm(8.0, 2.5); }), W("Imp hits", delegate(CardDef d) { d.OnHit(0.15, Do.Imps(1, 25.0)).Cd(2.0); }), W("Thunder hits", delegate(CardDef d) { d.OnHit(0.12, Do.Thunder(25.0)).Cd(2.0); }), W("Black hole hits", delegate(CardDef d) { d.OnHit(0.1, Do.BlackHole(25.0, 5.0, 1.5)).Cd(3.0); }), W("Freezing hits", delegate(CardDef d) { d.OnHit(0.12, Do.Freeze(0.4)).Cd(2.5); }), W("Vampire hits", delegate(CardDef d) { d.OnHit(0.2, Do.Leech(6.0)).Cd(1.0); }), W("Chain hits", delegate(CardDef d) { d.OnHit(0.15, Do.Zap(10.0, 2)).Cd(1.5); }), W("Burning hits", delegate(CardDef d) { d.OnHit(0.2, Do.Burn(7.0, 3.0)).Cd(1.0); }), W("Poison hits", delegate(CardDef d) { d.OnHit(0.2, Do.Poison(6.0, 3.0)).Cd(1.0); }), W("Ambush hits", delegate(CardDef d) { d.OnHit(0.08, Do.Ambush(20.0)).Cd(5.0); }), W("Kill fireworks", delegate(CardDef d) { d.OnKill(Do.Fireworks(6, 12.0), Do.Nova(20.0, 7.0)); }), W("Kill: hellhound", delegate(CardDef d) { d.OnKill(Do.Summon(Pet.Hound, 7.0)); }), W("Kill: imps", delegate(CardDef d) { d.OnKill(Do.Imps(3, 25.0)); }), W("Block: imp", delegate(CardDef d) { d.OnBlock(Do.Imps(1, 30.0)).Cd(3.0); }), W("Block: fireball", delegate(CardDef d) { d.OnBlock(Do.Fireball(30.0)).Cd(3.0); }), W("Block: missiles", delegate(CardDef d) { d.OnBlock(Do.ArcaneMissiles(2, 12.0)).Cd(3.0); }), W("Block: ambush", delegate(CardDef d) { d.OnBlock(Do.Ambush(25.0)).Cd(5.0); }), W("Block: shards", delegate(CardDef d) { d.OnBlock(Do.Splinters(4, 10.0)).Cd(3.0); }), W("Meteor timer", delegate(CardDef d) { d.Every(12.0, Do.Meteor(30.0, 4.0)); }), W("Lightning timer", delegate(CardDef d) { d.Every(10.0, Do.Thunder(20.0)); }), W("Rain timer", delegate(CardDef d) { d.Every(20.0, Do.Rain(4, 20.0)); }), W("Firework timer", delegate(CardDef d) { d.Every(9.0, Do.Fireworks(4, 8.0)); }), W("Turret timer", delegate(CardDef d) { d.Every(14.0, Do.Turret(6.0, 4.0)); }), W("Spell timer", delegate(CardDef d) { d.Every(15.0, Do.OneOf(Do.Fireball(35.0), Do.IceLance(0.6), Do.BallLightning(20.0), Do.VoidOrb(30.0))); }), W("Shockwave landing", delegate(CardDef d) { d.OnLand(Do.Nova(12.0, 5.0)).Cd(1.5); }), W("Revenge zap", delegate(CardDef d) { d.OnHurt(Do.Zap(14.0, 0)).Cd(2.0); }), W("Reload saws", delegate(CardDef d) { d.OnReload(Do.SawBlades(2, 12.0, 3.0)).Cd(3.0); }), W("Panic rewind", delegate(CardDef d) { d.OnLow(0.25, Do.Recall(3.0, 30.0)); }), W("Start: sprite", delegate(CardDef d) { d.OnStart(Do.Summon(Pet.Sprite, 7.0)); }), W("Start: fairy", delegate(CardDef d) { d.OnStart(Do.Summon(Pet.Fairy, 3.0)); }), W("Start: pet rock", delegate(CardDef d) { d.OnStart(Do.Summon(Pet.Orbiter, 8.0)); }), W("Empty: airstrike", delegate(CardDef d) { d.OnEmpty(Do.Airstrike(3, 20.0)).Cd(4.0); }), W("Laser shots", delegate(CardDef d) { d.OnShoot(0.06, Do.Laser(22.0)).Cd(1.0); }), W("Swap block", delegate(CardDef d) { d.OnBlock(0.3, Do.Swap, Do.Nova(20.0, 5.0)).Cd(3.0); }) }; private static readonly HashSet Strong = new HashSet { "Ricochet seek", "Satellites", "Splits x3", "Starburst", "Wall tunneling", "Tiny rockets", "Shock impact", "Napalm impact", "Imp hits", "Black hole hits", "Ambush hits", "Kill: hellhound", "Kill: imps", "Block: imp", "Block: fireball", "Block: missiles", "Block: ambush", "Block: shards", "Meteor timer", "Rain timer", "Turret timer", "Spell timer", "Start: sprite", "Start: pet rock", "Empty: airstrike", "Laser shots", "Panic rewind" }; private static readonly KeyValuePair>[] MildPool = WildPool.Where((KeyValuePair> w) => !Strong.Contains(w.Key)).ToArray(); internal Fx.Style Look { get { if (!hasLook) { look = Fx.From(Name); hasLook = true; } return look; } } private CardDef Payload(Bomb kind, double a, double b, string label) { return Attach(() => BulletBomb.Template(kind, (float)a, (float)b)).Stat(good: true, label, "Bullet impact"); } public CardDef Rockets(double dmg = 30.0, double radius = 4.0) { return Payload(Bomb.Explode, dmg, radius, "Explodes"); } public CardDef Napalm(double dps = 20.0, double radius = 3.5) { return Payload(Bomb.Napalm, dps, radius, "Napalm"); } public CardDef Toxic(double dps = 14.0, double radius = 4.0) { return Payload(Bomb.Toxic, dps, radius, "Toxic cloud"); } public CardDef Cryo(double stun = 0.6, double radius = 3.5) { return Payload(Bomb.Cryo, stun, radius, "Freezes"); } public CardDef VoidRounds(double force = 40.0, double radius = 5.0) { return Payload(Bomb.Void, force, radius, "Black hole"); } public CardDef Cluster(double dmg = 22.0, double radius = 3.0) { return Payload(Bomb.Cluster, dmg, radius, "Cluster bomb"); } public CardDef MineLayer(double dmg = 35.0, double radius = 4.0) { return Payload(Bomb.Mine, dmg, radius, "Leaves a mine"); } public CardDef Shock(double dmg = 18.0, int jumps = 3) { return Payload(Bomb.Shock, dmg, jumps, "Chain lightning"); } public CardDef Sticky(double dmg = 45.0, double radius = 4.5) { return Payload(Bomb.Sticky, dmg, radius, "Sticky bomb"); } public CardDef Nuke(double dmg = 110.0, double radius = 10.0) { return Payload(Bomb.Nuke, dmg, radius, "Mini-nuke"); } public CardDef TurretRounds(double dmg = 8.0, double seconds = 3.0) { return Payload(Bomb.Turret, dmg, seconds, "Builds a turret"); } public CardDef Smiting(double dmg = 30.0, double radius = 3.0) { return Payload(Bomb.Holy, dmg, radius, "Holy lightning"); } private static string Pct(double m) { double num = Math.Round((m - 1.0) * 100.0); return ((num >= 0.0) ? "+" : "") + num.ToString(CultureInfo.InvariantCulture) + "%"; } private static string Num(double v) { return ((v >= 0.0) ? "+" : "") + Math.Round(v, 2).ToString(CultureInfo.InvariantCulture); } private CardDef Stat(bool good, string amount, string name) { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Expected O, but got Unknown Stats.Add(new CardInfoStat { positive = good, amount = amount, stat = name, simepleAmount = (SimpleAmount)0 }); return this; } private CardDef G(Action f) { Action p = Setup; Setup = delegate(Gun g, CharacterStatModifiers s, Block b) { p(g, s, b); f(g); }; return this; } private CardDef P(Action f) { Action p = Setup; Setup = delegate(Gun g, CharacterStatModifiers s, Block b) { p(g, s, b); f(s); }; return this; } private CardDef B(Action f) { Action p = Setup; Setup = delegate(Gun g, CharacterStatModifiers s, Block b) { p(g, s, b); f(b); }; return this; } private CardDef Foe(Action f) { Action p = OnFoe; OnFoe = delegate(Player x) { p?.Invoke(x); f(x); }; return this; } public CardDef Dmg(double m) { return G(delegate(Gun g) { g.damage = (float)m; }).Stat(m > 1.0, Pct(m), "Damage"); } public CardDef Rate(double m) { return G(delegate(Gun g) { g.attackSpeed = (float)m; }).Stat(m < 1.0, Pct(1.0 / m), "Attack speed"); } public CardDef Reload(double m) { return G(delegate(Gun g) { g.reloadTime = (float)m; }).Stat(m < 1.0, Pct(m), "Reload time"); } public CardDef ReloadAdd(double s) { return G(delegate(Gun g) { g.reloadTimeAdd = (float)s; }).Stat(s < 0.0, Num(s) + "s", "Reload time"); } public CardDef Ammo(int n) { return G(delegate(Gun g) { g.ammo = n; }).Stat(n > 0, Num(n), "Ammo"); } public CardDef Bullets(int n) { return G(delegate(Gun g) { g.numberOfProjectiles = n; }).Stat(n > 0, Num(n), "Bullets"); } public CardDef Bursts(int n) { return G(delegate(Gun g) { g.bursts = n; g.timeBetweenBullets = 0.08f; }).Stat(n > 0, Num(n), "Bursts"); } public CardDef Bounces(int n) { HasBounces = true; return G(delegate(Gun g) { g.reflects = n; }).Stat(n > 0, Num(n), "Bounces"); } public CardDef SmartBounces(int n) { return G(delegate(Gun g) { g.smartBounce = n; }).Stat(n > 0, Num(n), "Smart bounces"); } public CardDef RandomBounces(int n) { return G(delegate(Gun g) { g.randomBounces = n; }).Stat(n > 0, Num(n), "Random bounces"); } public CardDef Speed(double m) { return G(delegate(Gun g) { g.projectileSpeed = (float)m; }).Stat(m > 1.0, Pct(m), "Bullet speed"); } public CardDef BGrav(double m) { return G(delegate(Gun g) { g.gravity = (float)m; }).Stat(m < 1.0, Pct(m), "Bullet gravity"); } public CardDef Spread(double a) { return G(delegate(Gun g) { g.spread = (float)a; }).Stat(a < 0.0, Num(a), "Spread"); } public CardDef BSize(double a) { return G(delegate(Gun g) { g.size = (float)a; }).Stat(a > 0.0, Num(a), "Bullet size"); } public CardDef Knock(double m) { return G(delegate(Gun g) { g.knockback = (float)m; }).Stat(m > 1.0, Pct(m), "Knockback"); } public CardDef Recoil(double m) { return G(delegate(Gun g) { g.recoilMuiltiplier = (float)m; }).Stat(m < 1.0, Pct(m), "Recoil"); } public CardDef BulletSlow(double a) { return G(delegate(Gun g) { g.slow = (float)a; }).Stat(a > 0.0, Num(a), "Bullet slow"); } public CardDef PctDmg(double a) { return G(delegate(Gun g) { g.percentageDamage = (float)a; }).Stat(a > 0.0, "+" + Math.Round(a * 100.0) + "%", "Max HP damage"); } public CardDef Drag(double a) { return G(delegate(Gun g) { g.drag = (float)a; }).Stat(a < 0.0, Num(a), "Bullet drag"); } public CardDef BounceDmg(double m) { return G(delegate(Gun g) { g.dmgMOnBounce = (float)m; }).Stat(m > 1.0, Pct(m), "Bounce damage"); } public CardDef BounceSpeed(double m) { return G(delegate(Gun g) { g.speedMOnBounce = (float)m; }).Stat(m > 1.0, Pct(m), "Bounce speed"); } public CardDef Falloff(double m) { return G(delegate(Gun g) { g.damageAfterDistanceMultiplier = (float)m; }).Stat(m > 1.0, Pct(m), "Distance damage"); } public CardDef Portals(int n) { return G(delegate(Gun g) { g.bulletPortal = n; }).Stat(n > 0, Num(n), "Bullet portals"); } public CardDef Fuse(double s) { return G(delegate(Gun g) { g.destroyBulletAfter = (float)s; }).Stat(good: false, Num(s) + "s", "Bullet lifetime"); } public CardDef Phase() { return G(delegate(Gun g) { g.ignoreWalls = true; }).Stat(good: true, "Yes", "Through walls"); } public CardDef Unblockable() { return G(delegate(Gun g) { g.unblockable = true; }).Stat(good: true, "Yes", "Unblockable"); } public CardDef NoAuto() { return G(delegate(Gun g) { g.dontAllowAutoFire = true; }).Stat(good: false, "Yes", "Semi-auto only"); } public CardDef Tint(float r, float g2, float b2) { return G(delegate(Gun val) { //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) val.projectileColor = new Color(r, g2, b2, 1f); }); } public CardDef Hp(double m) { return P(delegate(CharacterStatModifiers s) { s.health = (float)m; }).Stat(m > 1.0, Pct(m), "Health"); } public CardDef Move(double m) { return P(delegate(CharacterStatModifiers s) { s.movementSpeed = (float)m; }).Stat(m > 1.0, Pct(m), "Move speed"); } public CardDef Jump(double m) { return P(delegate(CharacterStatModifiers s) { s.jump = (float)m; }).Stat(m > 1.0, Pct(m), "Jump height"); } public CardDef Jumps(int n) { return P(delegate(CharacterStatModifiers s) { s.numberOfJumps = n; }).Stat(n > 0, Num(n), "Extra jumps"); } public CardDef Grav(double m) { return P(delegate(CharacterStatModifiers s) { s.gravity = (float)m; }).Stat(m < 1.0, Pct(m), "Gravity"); } public CardDef Size(double m) { return P(delegate(CharacterStatModifiers s) { s.sizeMultiplier = (float)m; }).Stat(m < 1.0, Pct(m), "Body size"); } public CardDef Regen(double v) { return P(delegate(CharacterStatModifiers s) { s.regen = (float)v; }).Stat(v > 0.0, Num(v) + "/s", "Regen"); } public CardDef Life(double a) { return P(delegate(CharacterStatModifiers s) { s.lifeSteal = (float)a; }).Stat(a > 0.0, "+" + Math.Round(a * 100.0) + "%", "Lifesteal"); } public CardDef Respawns(int n) { return P(delegate(CharacterStatModifiers s) { s.respawns = n; }).Stat(n > 0, Num(n), "Respawns"); } public CardDef Dot(double s2) { return P(delegate(CharacterStatModifiers val) { val.secondsToTakeDamageOver = (float)s2; }).Stat(s2 > 0.0, Num(s2) + "s", "Damage spread over"); } public CardDef AutoReload() { return P(delegate(CharacterStatModifiers s) { s.automaticReload = true; }).Stat(good: true, "Yes", "Auto reload"); } public CardDef BlockCd(double m) { return B(delegate(Block b) { b.cdMultiplier = (float)m; }).Stat(m < 1.0, Pct(m), "Block cooldown"); } public CardDef BlockAdd(double s) { return B(delegate(Block b) { b.cdAdd = (float)s; }).Stat(s < 0.0, Num(s) + "s", "Block cooldown"); } public CardDef Blocks(int n) { return B(delegate(Block b) { b.additionalBlocks = n; }).Stat(n > 0, Num(n), "Extra blocks"); } public CardDef BlockHeal(double v) { return B(delegate(Block b) { b.healing = (float)v; }).Stat(v > 0.0, Num(v), "Heal on block"); } public CardDef AutoBlock() { return B(delegate(Block b) { b.autoBlock = true; }).Stat(good: true, "Yes", "Auto block"); } public CardDef FoeDmg(double m) { return Foe(delegate(Player x) { Gun gun = x.data.weaponHandler.gun; gun.damage *= (float)m; }).Stat(m < 1.0, Pct(m), "Enemy damage"); } public CardDef FoeRate(double m) { return Foe(delegate(Player x) { Gun gun = x.data.weaponHandler.gun; gun.attackSpeed *= (float)m; }).Stat(m > 1.0, Pct(1.0 / m), "Enemy attack speed"); } public CardDef FoeHp(double m) { return Foe(delegate(Player x) { CharacterData data = x.data; data.maxHealth *= (float)m; }).Stat(m < 1.0, Pct(m), "Enemy health"); } public CardDef FoeMove(double m) { return Foe(delegate(Player x) { CharacterStatModifiers stats = x.data.stats; stats.movementSpeed *= (float)m; }).Stat(m < 1.0, Pct(m), "Enemy move speed"); } public CardDef FoeJump(double m) { return Foe(delegate(Player x) { CharacterStatModifiers stats = x.data.stats; stats.jump *= (float)m; }).Stat(m < 1.0, Pct(m), "Enemy jump height"); } public CardDef FoeBlock(double m) { return Foe(delegate(Player x) { Block block = x.data.block; block.cdMultiplier *= (float)m; }).Stat(m > 1.0, Pct(m), "Enemy block cooldown"); } public CardDef Note(string amount, string name, bool good = true) { return Stat(good, amount, name); } public CardDef Unique() { Single = true; return this; } private CardDef On(When w, double chance, double value, Act[] acts) { Rules.Add(new Rule { When = w, Chance = (float)chance, Value = (float)value, Acts = acts }); return this; } public CardDef Cd(double seconds) { Rules[Rules.Count - 1].Cooldown = (float)seconds; return this; } public CardDef OnShoot(params Act[] a) { return On(When.Shoot, 1.0, 0.0, a); } public CardDef OnShoot(double chance, params Act[] a) { return On(When.Shoot, chance, 0.0, a); } public CardDef OnBlock(params Act[] a) { return On(When.Block, 1.0, 0.0, a); } public CardDef OnBlock(double chance, params Act[] a) { return On(When.Block, chance, 0.0, a); } public CardDef OnHurt(params Act[] a) { return On(When.Hurt, 1.0, 0.0, a); } public CardDef OnHurt(double chance, params Act[] a) { return On(When.Hurt, chance, 0.0, a); } public CardDef OnDeal(params Act[] a) { return On(When.Deal, 1.0, 0.0, a); } public CardDef OnDeal(double chance, params Act[] a) { return On(When.Deal, chance, 0.0, a); } public CardDef OnReload(params Act[] a) { return On(When.Reload, 1.0, 0.0, a); } public CardDef OnReload(double chance, params Act[] a) { return On(When.Reload, chance, 0.0, a); } public CardDef OnEmpty(params Act[] a) { return On(When.Empty, 1.0, 0.0, a); } public CardDef OnEmpty(double chance, params Act[] a) { return On(When.Empty, chance, 0.0, a); } public CardDef OnLand(params Act[] a) { return On(When.Land, 1.0, 0.0, a); } public CardDef OnLand(double chance, params Act[] a) { return On(When.Land, chance, 0.0, a); } public CardDef OnDeath(params Act[] a) { return On(When.Death, 1.0, 0.0, a); } public CardDef OnRevive(params Act[] a) { return On(When.Revive, 1.0, 0.0, a); } public CardDef OnStart(params Act[] a) { return On(When.Start, 1.0, 0.0, a); } public CardDef OnLow(double healthFraction, params Act[] a) { return On(When.Low, 1.0, healthFraction, a); } public CardDef Every(double seconds, params Act[] a) { return On(When.Every, 1.0, seconds, a); } public CardDef Every(double seconds, double chance, params Act[] a) { return On(When.Every, chance, seconds, a); } public CardDef Legendary() { //IL_0009: Unknown result type (might be due to invalid IL or missing references) IsLegendary = true; Rarity = (Rarity)2; Legends.Names.Add(Name); if (Stats.Count >= 8) { return this; } return Stat(good: true, "LEGENDARY", "*"); } internal CardDef Attach(Func template) { attachments.Add(template); List> all = attachments; return G(delegate(Gun g) { g.objectsToSpawn = (ObjectsToSpawn[])(BulletFx.Offline ? ((Array)new ObjectsToSpawn[0]) : ((Array)((IEnumerable>)all).Select((Func, ObjectsToSpawn>)((Func t) => new ObjectsToSpawn { AddToProjectile = t(), numberOfSpawns = 0 })).ToArray())); }); } private CardDef Fly(Flight kind, double a, double b) { return Attach(() => BulletFx.Template(kind, (float)a, (float)b)); } public CardDef Homing(double turn = 200.0) { return Fly(Flight.Homing, turn, 0.0).Stat(good: true, "Yes", "Homing bullets"); } public CardDef Wavy(double amplitude = 30.0, double frequency = 12.0) { return Fly(Flight.Wave, amplitude, frequency).Stat(good: true, "Yes", "Wavy bullets"); } public CardDef Boomerang(double after = 0.55) { return Fly(Flight.Boomerang, after, 0.0).Stat(good: true, "Yes", "Boomerang bullets"); } public CardDef Accel(double rate = 2.5, double cap = 3.0) { return Fly(Flight.Accel, rate, cap).Stat(good: true, "Yes", "Accelerating bullets"); } public CardDef Spiral(double degrees = 540.0, double decay = 1.2) { return Fly(Flight.Spiral, degrees, decay).Stat(good: true, "Yes", "Spiral bullets"); } public CardDef Zigzag(double every = 0.14) { return Fly(Flight.Zigzag, every, 0.0).Stat(good: true, "Yes", "Zigzag bullets"); } public CardDef Stutter(double every = 0.35, double hold = 0.25) { return Fly(Flight.Stutter, every, hold).Stat(good: true, "Yes", "Stop-go bullets"); } public CardDef Orbit(double degrees = 400.0, double until = 1.4) { return Fly(Flight.Orbit, degrees, until).Stat(good: true, "Yes", "Orbiting bullets"); } public CardDef OnHit(params Act[] a) { return On(When.Hit, 1.0, 0.0, a); } public CardDef OnHit(double chance, params Act[] a) { return On(When.Hit, chance, 0.0, a); } public CardDef OnKill(params Act[] a) { return On(When.Kill, 1.0, 0.0, a); } private static GunAmmo AmmoOf(Player p) { return ((Component)p.data.weaponHandler.gun).GetComponentInChildren(); } public CardDef FoeSize(double m) { return Foe(delegate(Player x) { CharacterStatModifiers stats = x.data.stats; stats.sizeMultiplier *= (float)m; Body.Refresh(x.data.stats); }).Stat(m > 1.0, Pct(m), "Enemy body size"); } public CardDef FoeGrav(double m) { return Foe(delegate(Player x) { Gravity component = ((Component)x).GetComponent(); component.gravityForce *= (float)m; }).Stat(m > 1.0, Pct(m), "Enemy gravity"); } public CardDef FoeSpread(double a) { return Foe(delegate(Player x) { Gun gun = x.data.weaponHandler.gun; gun.spread += (float)a; }).Stat(a > 0.0, Num(a), "Enemy spread"); } public CardDef FoeReload(double m) { return Foe(delegate(Player x) { GunAmmo obj = AmmoOf(x); obj.reloadTimeMultiplier *= (float)m; }).Stat(m > 1.0, Pct(m), "Enemy reload time"); } public CardDef FoeAmmo(int n) { return Foe(delegate(Player x) { GunAmmo val = AmmoOf(x); val.maxAmmo = Mathf.Max(1, val.maxAmmo + n); }).Stat(n < 0, Num(n), "Enemy ammo"); } public CardDef FoeBulletSpeed(double m) { return Foe(delegate(Player x) { Gun gun = x.data.weaponHandler.gun; gun.projectileSpeed *= (float)m; }).Stat(m < 1.0, Pct(m), "Enemy bullet speed"); } public CardDef FoeKnock(double m) { return Foe(delegate(Player x) { Gun gun = x.data.weaponHandler.gun; gun.knockback *= (float)m; }).Stat(m < 1.0, Pct(m), "Enemy knockback"); } public CardDef FoeRecoil(double m) { return Foe(delegate(Player x) { Gun gun = x.data.weaponHandler.gun; gun.bodyRecoil *= (float)m; }).Stat(m > 1.0, Pct(m), "Enemy recoil"); } public CardDef FoeTint(float r, float g, float b) { return Foe(delegate(Player x) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) x.data.weaponHandler.gun.projectileColor = new Color(r, g, b, 1f); }); } public CardDef Split(SplitPattern p, int count, double dmg, ShardHit hit = ShardHit.Pop, double delay = 0.25) { string amount = ((p == SplitPattern.Stream) ? "Sprays shards" : ((p == SplitPattern.Fractal) ? ("Fractal x" + count) : ("Splits x" + count))); return Attach(() => BulletSplit.Template(p, hit, count, (float)dmg, (float)delay)).Stat(good: true, amount, "Mid-flight"); } private CardDef TrailOf(Trail kind, double a, string label) { return Attach(() => BulletTrail.Template(kind, (float)a)).Stat(good: true, label, "Bullet trail"); } public CardDef Seek(int redirects = 4) { return Attach(() => BulletFx.Template(Flight.Seek, redirects, 0f)).Stat(good: true, "Yes", "Ricochets seek foes"); } public CardDef Satellite(double orbit = 1.2, double radius = 3.0) { return Attach(() => BulletFx.Template(Flight.Satellite, (float)orbit, (float)radius)).Stat(good: true, "Yes", "Satellite bullets"); } public CardDef Splinter(double dmg = 14.0, int shards = 3) { return Payload(Bomb.Splinter, dmg, shards, "Homing shards"); } public CardDef FireTrail(double dps = 14.0) { return TrailOf(Trail.Fire, dps, "Fire"); } public CardDef FrostTrail(double slow = 0.35) { return TrailOf(Trail.Frost, slow, "Frost"); } public CardDef ToxicTrail(double dps = 10.0) { return TrailOf(Trail.Toxic, dps, "Toxic"); } public CardDef StormRounds(double dmg = 10.0) { return TrailOf(Trail.Storm, dmg, "Lightning"); } public CardDef MagnetRounds(double force = 30.0) { return TrailOf(Trail.Magnet, force, "Magnet"); } public CardDef MineTrail(double dmg = 25.0) { return TrailOf(Trail.Mines, dmg, "Mines"); } public CardDef ImpTrail(double dmg = 25.0) { return TrailOf(Trail.Imps, dmg, "Imps"); } private static KeyValuePair> W(string n, Action a) { return new KeyValuePair>(n, a); } internal void ApplyWild() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) uint num = 2166136261u; string name = Name; foreach (char c in name) { num ^= c; num *= 16777619; } KeyValuePair>[] array = (((int)Rarity == 0) ? MildPool : WildPool); KeyValuePair> keyValuePair = array[num % (uint)array.Length]; int count = Stats.Count; keyValuePair.Value(this); if (Stats.Count > count) { Stats.RemoveRange(count, Stats.Count - count); } if (Stats.Count < 8) { Stat(good: true, keyValuePair.Key, "Wild"); } } } public enum When { Shoot, Block, Hurt, Deal, Reload, Empty, Land, Death, Revive, Low, Start, Every, Hit, Kill } public sealed class Rule { public When When; public float Chance = 1f; public float Cooldown; public float Value; public Act[] Acts; } public static class Catalog { private const Rarity C = (Rarity)0; private const Rarity U = (Rarity)1; private const Rarity R = (Rarity)2; private const CardThemeColorType Red = (CardThemeColorType)0; private const CardThemeColorType Yel = (CardThemeColorType)1; private const CardThemeColorType Blu = (CardThemeColorType)2; private const CardThemeColorType Wht = (CardThemeColorType)3; private const CardThemeColorType Pur = (CardThemeColorType)4; private const CardThemeColorType Grn = (CardThemeColorType)5; private const CardThemeColorType Brn = (CardThemeColorType)6; private const CardThemeColorType Cld = (CardThemeColorType)7; private const CardThemeColorType Pnk = (CardThemeColorType)8; public static readonly List All; private static void Animals() { //IL_02cf: Unknown result type (might be due to invalid IL or missing references) //IL_0d13: Unknown result type (might be due to invalid IL or missing references) //IL_1127: Unknown result type (might be due to invalid IL or missing references) //IL_17b4: Unknown result type (might be due to invalid IL or missing references) //IL_1cf7: Unknown result type (might be due to invalid IL or missing references) //IL_2331: Unknown result type (might be due to invalid IL or missing references) New("Angry Goose", "Block: HONK, chase them away, and bite the nearest one.", (Rarity)0, (CardThemeColorType)3).OnBlock(Do.Push(32.0, 8.0), Do.Bleed(6.0, 3.0), Do.Say("HONK")).Cd(4.0); New("Peace Was Never An Option", "Goose rules. +35% damage. Hits steal their bread (speed).", (Rarity)1, (CardThemeColorType)3).Dmg(1.35).OnHit(0.2, Do.Steal(1.25, 3.0)).Cd(3.0); New("Possum In The Attic", "Every 9s something scratches you. And bites the nearest foe.", (Rarity)0, (CardThemeColorType)6).Every(9.0, Do.HurtSelf(4.0), Do.Bleed(8.0, 3.0)).Hp(1.3); New("Raccoon Hands", "Tiny criminal hands. Fast reload, and hits pickpocket HP.", (Rarity)0, (CardThemeColorType)6).Reload(0.65).Size(0.95).OnHit(0.2, Do.Leech(4.0)) .Cd(1.0); New("Trash Panda", "Empty mag: rummage through the trash for 18 HP and a mine.", (Rarity)0, (CardThemeColorType)6).OnEmpty(Do.Heal(18.0), Do.Mine(25.0, 3.5)).Cd(3.0); New("Seagull Attack", "Hits have a 30% chance to swoop: yank them toward you.", (Rarity)0, (CardThemeColorType)3).OnHit(0.3, Do.YankT(25.0), Do.Say("MINE")).Cd(2.0); New("Seagull Stole My Chips", "Enemy damage down. Every 10s, steal 10 HP from the nearest.", (Rarity)0, (CardThemeColorType)3).FoeDmg(0.93).Every(10.0, Do.Leech(10.0)); New("Bird Poop", "Bullets fall straight down. Splat: toxic puddle on impact.", (Rarity)0, (CardThemeColorType)3).BGrav(5.0).Dmg(1.3).OnHit(Do.Puddle(0.3, 5.0, 3.0, 3.0, Shapes.Heal)) .Cd(1.0); New("Pigeon Mafia", "Enemies lose jump. Every 12s the family pays someone a visit.", (Rarity)1, (CardThemeColorType)7).FoeJump(0.85).Every(12.0, Do.Airstrike(3, 20.0), Do.Say("you didn't see nothin")); New("Pigeon With One Foot", "Still out here. Regen, and landings are a little wobbly (hop).", (Rarity)0, (CardThemeColorType)7).Regen(3.0).OnLand(0.3, Do.Hop(3.0)).Cd(2.0); New("Crow Remembers", "Get hit and the attacker is marked. The crows never forget.", (Rarity)1, (CardThemeColorType)4).OnHurt(Do.MarkT(0.4, 8.0), Do.BuffDmg(1.3, 3.0)).Cd(3.0); New("Murder Of Crows", "Black bursts that home in on the nearest enemy.", (Rarity)2, (CardThemeColorType)4).Bursts(2).Tint(0.1f, 0.1f, 0.15f).Dmg(0.6) .Homing(150.0); New("Cat Knocks Glass", "Every 8s, push the nearest thing off a ledge. For no reason.", (Rarity)0, (CardThemeColorType)8).Every(8.0, Do.LaunchT(35.0), Do.YankT(-25.0), Do.Say("*pushes*")); New("Cat Zoomies At 3AM", "Every 10s: wild speed, zigzag hops, chaos.", (Rarity)0, (CardThemeColorType)8).Every(10.0, Do.BuffMove(2.2, 1.5), Do.Hop(6.0)).Zigzag(0.2); New("If I Fits I Sits", "Small body. Huge satisfaction. Landings heal a little.", (Rarity)0, (CardThemeColorType)8).Size(0.75).Hp(1.05).OnLand(Do.Heal(5.0)) .Cd(1.0); New("Tabby Tax", "Enemies lose 8% HP. Every hit taxes them 4 more for the cat.", (Rarity)1, (CardThemeColorType)1).FoeHp(0.92).OnHit(0.3, Do.Leech(4.0)).Cd(1.0); New("Orange Cat One Brain Cell", "Fast. Doesn't know why. Bullets bounce and wander.", (Rarity)0, (CardThemeColorType)1).Move(1.3).RandomBounces(2).Wavy(25.0, 6.0); New("Black Cat Crossing", "Bad luck: hits taken have a 20% chance to Hex the room.", (Rarity)1, (CardThemeColorType)4).OnHurt(0.2, Do.Silence(1.0, 9.0), Do.Stun(0.4, 9.0)).Cd(3.0); New("Dog Ate My Homework", "Blocks sometimes refund. Excuses. Also bites (bleed).", (Rarity)0, (CardThemeColorType)6).OnBlock(0.3, Do.RearmBlock).OnBlock(Do.Bleed(5.0, 2.0)).Cd(2.0); New("Who's A Good Boy", "It's you. Kills make you wag: speed boost and heal.", (Rarity)0, (CardThemeColorType)1).Move(1.15).Regen(2.0).OnKill(Do.BuffMove(1.5, 3.0), Do.Heal(20.0)); New("Bad Dog", "Bullets bite and bleed. Reload suffers. BAD.", (Rarity)0, (CardThemeColorType)0).Dmg(1.2).Reload(1.15).OnHit(0.3, Do.Bleed(6.0, 3.0)) .Cd(1.0); New("Chihuahua Fury", "Tiny. Trembling. Lethal. Bullets shake with rage.", (Rarity)1, (CardThemeColorType)0).Size(0.65).Dmg(1.35).Rate(0.85) .Hp(0.6) .Zigzag(0.06); New("Golden Retriever Energy", "Happy, big, not thinking. Bullets fetch: they come back.", (Rarity)0, (CardThemeColorType)1).Hp(1.25).Jump(1.2).Boomerang(); New("Corgi Butt", "Short legs, tall ambitions. Landings bounce enemies up.", (Rarity)0, (CardThemeColorType)1).Size(0.85).Jump(1.3).OnLand(Do.Toss(15.0, 5.0)) .Cd(1.5); New("Dachshund Long", "Dachshund very long. Bullets long: lasers on reload.", (Rarity)1, (CardThemeColorType)6).Hp(1.35).Move(0.9).OnReload(Do.Laser(25.0)) .Cd(3.0); New("Husky Argument", "Every 12s: AWOOOO. Pushes everyone away and silences them.", (Rarity)0, (CardThemeColorType)7).Every(12.0, Do.Push(28.0, 10.0), Do.Silence(0.6, 10.0), Do.Say("AWOOOOOO")); New("Bee Movie Script", "Every 3s a sting poisons the nearest foe. According to all laws.", (Rarity)1, (CardThemeColorType)1).Every(3.0, Do.Poison(3.0, 3.0)); New("Killer Hornet", "Hits sting: poison and slow. They're the size of your thumb.", (Rarity)1, (CardThemeColorType)1).OnHit(0.4, Do.Poison(6.0, 3.0), Do.Chill(0.25)).Cd(1.0).Tint(1f, 0.85f, 0f); New("Queen Bee", "A swarm of tiny homing bullets. You barely move.", (Rarity)2, (CardThemeColorType)1).Bullets(5).Dmg(0.35).Move(0.85) .Homing(); New("Ant Strength", "Ten times your weight. Tiny body, huge knockback.", (Rarity)1, (CardThemeColorType)6).Size(0.7).Dmg(1.3).Knock(2.0) .Hp(0.75); New("Fire Ant Colony", "A burning aura of ants follows you. Constantly.", (Rarity)1, (CardThemeColorType)0).Every(5.0, Do.Aura(8.0, 5.0, 5.0)); New("Cockroach Survivor", "Respawn once. Survives the nuke. Revives with a nova.", (Rarity)2, (CardThemeColorType)6).Respawns(1).Regen(3.0).Dmg(0.85) .OnRevive(Do.Nova(30.0, 8.0)); New("Giant Cockroach Flying", "Everyone screams. Enemies jump lower and shoot worse.", (Rarity)1, (CardThemeColorType)6).FoeJump(0.9).FoeSpread(0.1).Every(15.0, Do.Silence(0.8, 99.0), Do.Say("AAAAAAA")); New("Mosquito At 3AM", "Every 5s a tiny whine and bite: leech from the nearest.", (Rarity)0, (CardThemeColorType)5).Every(5.0, Do.Leech(5.0), Do.Frost(0.3, 12.0)); New("Tick Bite", "Hits latch on: bleed for 5 seconds. You never notice.", (Rarity)0, (CardThemeColorType)6).OnHit(0.3, Do.Bleed(4.0, 5.0)).Cd(1.0).Life(0.15); New("Sloth Mode", "Slow, slow, slow. Huge regen. Bullets also nap mid-flight.", (Rarity)1, (CardThemeColorType)6).Move(0.65).Regen(14.0).Stutter(0.5, 0.4); New("Snail Mail", "Bullets crawl, then accelerate like crazy. Delivered with interest.", (Rarity)0, (CardThemeColorType)5).Speed(0.4).Accel(4.0, 4.0).Dmg(1.5); New("Turbo Snail", "Snail, but it's got a racing stripe. Leaves a slime trail.", (Rarity)0, (CardThemeColorType)5).Move(1.18).Hp(1.05).Every(4.0, Do.Puddle(0.3, 0.0, 2.5, 3.0, Shapes.Heal)); New("Tortoise Beats Hare", "Slow. Inexorable. Bullets ignore walls and slowly home.", (Rarity)2, (CardThemeColorType)5).Move(0.75).Phase().Hp(1.3) .Homing(70.0); New("Hare Was Napping", "Fast and sleepy. Every 9s, 50% chance to nap. Snore heals.", (Rarity)0, (CardThemeColorType)8).Move(1.5).Every(9.0, 0.5, Do.StunSelf(0.5), Do.Heal(15.0)); New("Rabbit Multiplication", "Bullets breed: every hit has a chance to chain to more rabbits.", (Rarity)1, (CardThemeColorType)8).Bullets(2).Dmg(0.65).OnHit(0.25, Do.Zap(10.0, 3)) .Cd(1.0); New("Hedgehog Hug", "Hits taken fire spikes: everyone close bleeds.", (Rarity)0, (CardThemeColorType)6).OnHurt(0.5, Do.Nova(15.0, 6.0), Do.Bleed(4.0, 3.0)).Cd(1.5); New("Armadillo Curl", "Block: curl into a ball and roll away with saws out.", (Rarity)1, (CardThemeColorType)6).OnBlock(Do.Dash(40.0), Do.SawBlades(2, 12.0, 1.5)).Cd(3.0).Hp(1.1); New("Skunk In The Vents", "Every 6s, a stink cloud opens on the nearest enemy.", (Rarity)1, (CardThemeColorType)5).Every(6.0, Do.Puddle(0.5, 6.0, 6.0, 3.0)); New("Bear Hug", "Block pulls enemies in and crushes the nearest one.", (Rarity)1, (CardThemeColorType)6).OnBlock(Do.Pull(38.0, 11.0), Do.Freeze(0.5), Do.Bleed(6.0, 2.0)).Cd(3.0).Hp(1.15); New("Bear Market", "Enemy damage down, your speed down. Hits weaken them further.", (Rarity)1, (CardThemeColorType)6).FoeDmg(0.88).Move(0.92).OnHit(0.2, Do.WeakenT(0.8, 3.0)) .Cd(3.0); New("Bull Market", "Charging and reckless. Block rams you forward.", (Rarity)1, (CardThemeColorType)0).Dmg(1.25).Move(1.12).OnBlock(Do.Dash(50.0), Do.Nova(15.0, 4.0)) .Cd(2.0); New("Cocaine Bear", "Absolutely unhinged. Fast, strong, doomed, and leaves a trail.", (Rarity)2, (CardThemeColorType)3).Dmg(1.6).Move(1.5).Rate(0.75) .Every(8.0, Do.HurtSelf(10.0), Do.Puddle(0.4, 0.0, 5.0, 3.0, Color.white)); New("Grizzly Patience", "Stands up. Big HP. Big swing: hits launch them.", (Rarity)1, (CardThemeColorType)6).Hp(1.7).Knock(1.5).Rate(1.2) .OnHit(0.3, Do.LaunchT(30.0)) .Cd(2.0); New("Drop Bear", "Landing on someone is a meteor. Australian fact.", (Rarity)1, (CardThemeColorType)6).OnLand(Do.Nova(25.0, 7.0), Do.Stun(0.3, 7.0)).Cd(1.5); New("Honey Badger", "Doesn't care. Hits taken enrage it. Poison does nothing (regen).", (Rarity)2, (CardThemeColorType)6).OnHurt(Do.BuffDmg(1.3, 2.0), Do.BuffRate(0.8, 2.0)).Regen(5.0).Hp(1.2); New("Emu War", "You will lose this. Enemies are faster, you hit harder, emus everywhere.", (Rarity)1, (CardThemeColorType)6).FoeMove(1.08).Dmg(1.45).Every(15.0, Do.Shuffle, Do.Say("the emus have won")); New("Kangaroo Kickbox", "Block punts the nearest foe into orbit and stuns it.", (Rarity)1, (CardThemeColorType)6).OnBlock(Do.Push(52.0, 7.0), Do.LaunchT(40.0), Do.Freeze(0.3)).Cd(3.0); New("Platypus Confusion", "Mammal? Duck? Random 12s buff each battle. Hits poison (spurs).", (Rarity)1, (CardThemeColorType)5).OnStart(Do.OneOf(Do.BuffJump(1.6, 12.0), Do.BuffMove(1.6, 12.0), Do.BuffDmg(1.5, 12.0))).OnHit(0.15, Do.Poison(6.0, 3.0)).Cd(2.0); New("Duck Season", "Rabbit season! Shots push you down. Hits duck them (stun).", (Rarity)0, (CardThemeColorType)1).OnShoot(Do.Launch(-8.0)).Dmg(1.15).OnHit(0.1, Do.Freeze(0.4)) .Cd(2.0); New("Rubber Ducky Bath", "Bullets float and bob on the water. Squeak on hit.", (Rarity)0, (CardThemeColorType)1).BGrav(0.05).Wavy(15.0, 7.0).Tint(1f, 0.9f, 0.1f) .Dmg(1.05); New("Duck With A Knife", "No reason. Bigger bullets. Hits stab and bleed.", (Rarity)0, (CardThemeColorType)1).BSize(0.4).Dmg(1.15).OnHit(0.35, Do.Bleed(7.0, 3.0)) .Cd(1.0); New("Capybara Friend", "Every animal likes you. Every 8s a hot spring heals you.", (Rarity)0, (CardThemeColorType)6).Every(8.0, Do.Mend(10.0, 4.0), Do.HealFoes(5.0, 99.0)); New("Moo Deng Energy", "Small, wet, bitey and famous. Get hit: bite back.", (Rarity)1, (CardThemeColorType)8).Size(0.75).Dmg(1.2).OnHurt(0.4, Do.Bleed(8.0, 3.0), Do.Say("*bites*")) .Cd(3.0); New("Cow Tipping", "Block flips the nearest enemy skyward and upside down.", (Rarity)1, (CardThemeColorType)3).OnBlock(Do.Toss(38.0, 8.0), Do.LaunchT(30.0)).Cd(3.0); New("Spherical Cow", "Physicist's dream. Size up, gravity down. Bullets orbit.", (Rarity)1, (CardThemeColorType)3).Size(1.4).Grav(0.5).Hp(1.2) .Orbit(300.0, 1.0); New("Goat Screaming", "Every 15s: AAAAAA. Silences the area and stuns the nearest.", (Rarity)1, (CardThemeColorType)3).Every(15.0, Do.Silence(1.0, 12.0), Do.Freeze(0.6), Do.Say("AAAAAAAAAAAA")); New("Fainting Goat", "Hits taken: 20% you faint. When you get up, a nova.", (Rarity)0, (CardThemeColorType)3).Dmg(1.3).OnHurt(0.2, Do.StunSelf(0.6), Do.Nova(25.0, 6.0)); New("Alpaca Spit", "Hits splatter: they're slowed and grossed out.", (Rarity)0, (CardThemeColorType)3).OnHit(0.4, Do.SlowT(0.7, 2.0), Do.Puddle(0.3, 0.0, 2.0, 2.0, Color.white)).Cd(1.5).Dmg(1.1); New("Horse Girl Phase", "Fast, thinks about horses. Every 6s, a galloping dash.", (Rarity)0, (CardThemeColorType)8).Move(1.3).Jump(1.1).Every(6.0, Do.BuffMove(1.6, 2.0), Do.Say("*neigh*")); New("Horse With No Name", "Vast and nameless. Bullets drift across the desert.", (Rarity)0, (CardThemeColorType)6).Dmg(1.15).Wavy(10.0, 4.0); New("Pig Flying", "Now it's happened. Low gravity and the bullets fly too.", (Rarity)1, (CardThemeColorType)8).Size(1.3).Grav(0.35).Hp(1.2) .BGrav(0.1); New("Chicken Crossing Road", "Block dashes you across. Bullets never look back (accelerate).", (Rarity)0, (CardThemeColorType)3).OnBlock(Do.Dash(45.0)).Accel(2.0, 2.0); New("Headless Chicken", "Below 25% HP: run around, teleport, bullets go wild.", (Rarity)1, (CardThemeColorType)0).OnLow(0.25, Do.BuffMove(2.2, 5.0), Do.Hop(8.0), Do.BuffRate(0.6, 5.0)).RandomBounces(1); New("Rooster At 5AM", "Each battle starts with a scream: everyone stunned and shaken.", (Rarity)0, (CardThemeColorType)0).OnStart(Do.Shake(60.0), Do.Stun(0.6, 99.0), Do.Say("COCK-A-DOODLE-DOO")).Dmg(1.1); New("Owl Stare", "Perfect accuracy. Every 6s you stare: the nearest foe is marked.", (Rarity)0, (CardThemeColorType)6).Spread(-0.2).BSize(0.2).Every(6.0, Do.MarkT(0.25, 3.0)); New("Bat Sonar", "Bullets ignore walls and find their way home.", (Rarity)1, (CardThemeColorType)4).Phase().Rate(1.25).Homing(100.0); New("Vampire Bat Diet", "Lifesteal. Hits drain. Only at night. It's always night.", (Rarity)1, (CardThemeColorType)4).Life(0.3).OnHit(0.3, Do.Leech(5.0)).Cd(1.0); New("Snake In My Boot", "Hits poison. There's a snake in your boot. Jump higher.", (Rarity)0, (CardThemeColorType)5).OnHit(0.3, Do.Poison(5.0, 3.0)).Cd(1.0).Jump(1.15); New("Rattlesnake Warning", "Get hit: rattle (+fire rate) and the attacker is poisoned.", (Rarity)0, (CardThemeColorType)6).OnHurt(Do.BuffRate(0.75, 1.5), Do.Poison(6.0, 3.0)).Cd(2.0); New("Boa Constrictor Hug", "Every 7s, constrict the nearest enemy: yank, squeeze, freeze.", (Rarity)1, (CardThemeColorType)5).Every(7.0, Do.YankT(40.0), Do.Freeze(0.5), Do.Bleed(6.0, 2.0)); New("Danger Noodle", "Fast, long, feared. Bullets slither in a wave.", (Rarity)0, (CardThemeColorType)5).Rate(0.8).Move(1.1).Wavy(); New("Komodo Bite", "Every hit is a slow, inevitable doom. Poison stacks.", (Rarity)2, (CardThemeColorType)5).PctDmg(0.05).OnHit(Do.Poison(5.0, 6.0)).Cd(0.5); New("Gecko Feet", "Two extra jumps. Sticky, somehow. Landings stick foes nearby.", (Rarity)0, (CardThemeColorType)5).Jumps(2).OnLand(Do.Frost(0.3, 5.0)).Cd(2.0); New("Frog Rain", "Every 6s, frogs fall from the sky all over the map.", (Rarity)1, (CardThemeColorType)5).Every(6.0, Do.Rain(5, 10.0, Shapes.Toxic), Do.Toss(20.0, 10.0)); New("Tree Frog Moisturized", "Hydrated. Flourishing. Every 8s, a moisturizing heal field.", (Rarity)0, (CardThemeColorType)5).Regen(3.0).Move(1.08).Every(8.0, Do.Mend(8.0, 3.0)); New("Axolotl Regeneration", "Regrows limbs. Huge regen. Below 30%, regrow 50% instantly.", (Rarity)2, (CardThemeColorType)8).Regen(11.0).Size(0.85).Dmg(0.85) .OnLow(0.3, Do.HealPct(0.5)); New("Shrimp Posture", "Shrimp. Better health. Every 20s a reminder to sit up.", (Rarity)0, (CardThemeColorType)8).Hp(1.15).Every(20.0, Do.Say("fix your posture"), Do.Heal(10.0)).Note("Yes", "Fix your back"); New("Pistol Shrimp", "Real animal. Snap: every hit is a cavitation shockwave.", (Rarity)2, (CardThemeColorType)0).Dmg(1.7).Size(0.7).Hp(0.6) .Rockets(25.0); New("Crab Bucket", "Enemies are held back. Hits pull them back down into the bucket.", (Rarity)1, (CardThemeColorType)0).FoeMove(0.93).FoeJump(0.93).OnHit(0.2, Do.YankT(20.0)) .Cd(2.0); New("Lobster Immortality", "Reportedly doesn't age. +1 respawn. Returns with claws (saws).", (Rarity)2, (CardThemeColorType)0).Respawns(1).Move(0.9).OnRevive(Do.SawBlades(2, 15.0, 6.0)); New("Jellyfish Sting", "Blocks sting nearby foes, stun them, and poison the nearest.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.Nova(15.0, 7.0), Do.Stun(0.3, 7.0), Do.Poison(6.0, 3.0)).Cd(2.0); New("Octopus Eight Guns", "Eight guns. Each one wiggles independently.", (Rarity)2, (CardThemeColorType)4).Bullets(7).Spread(0.6).Dmg(0.3) .Wavy(25.0, 10.0); New("Squid Ink", "Every 8s: silence the area, blind the nearest, and jet away.", (Rarity)1, (CardThemeColorType)4).Every(8.0, Do.Silence(0.8, 9.0), Do.Hex(1.0), Do.Dash(-30.0)); New("Pufferfish", "Get hit: inflate huge and spike everyone nearby.", (Rarity)1, (CardThemeColorType)1).OnHurt(0.5, Do.Inflate(1.6, 2.0), Do.Nova(15.0, 6.0), Do.Poison(5.0, 3.0)).Cd(4.0).Hp(1.2); New("Shark Week", "Hits heal. Hits on low-HP prey: frenzy (execute below 15%).", (Rarity)2, (CardThemeColorType)7).OnDeal(Do.Heal(5.0)).Dmg(1.1).OnHit(Do.Execute(0.15)); New("Baby Shark", "Every 20s: doo doo doo. Everyone is stunned by the song.", (Rarity)0, (CardThemeColorType)8).Every(20.0, Do.Say("doo doo doo doo doo doo"), Do.Stun(0.5, 99.0)); New("Whale Fall", "Massive landing, massive everything. Landings crater.", (Rarity)2, (CardThemeColorType)2).Size(1.8).Grav(1.4).OnLand(Do.Nova(40.0, 12.0), Do.Stun(0.4, 12.0)) .Cd(2.0) .Hp(2.0); New("Sea Lion", "Excuse me, cite a source for that bullet? Hits Hex the target.", (Rarity)0, (CardThemeColorType)7).OnHit(0.2, Do.Hex(1.0), Do.Say("source?")).Cd(5.0).Dmg(1.15); New("Dolphin Assassin", "Secretly smart. Secretly evil. Bullets home and bounce smart.", (Rarity)2, (CardThemeColorType)7).SmartBounces(2).Homing(110.0).Dmg(1.05); New("Penguin Slide", "Land on your belly, slide fast, and chill the floor.", (Rarity)0, (CardThemeColorType)7).Move(1.15).Jump(0.85).OnLand(Do.BuffMove(1.4, 1.0), Do.Puddle(0.4, 0.0, 3.0, 2.0, Shapes.Ice)) .Cd(2.0); New("Sad Zoo Animal", "A big sad heal every 10 seconds. Nobody visits.", (Rarity)0, (CardThemeColorType)7).Every(10.0, Do.Mend(10.0, 3.0)).Move(0.95); New("Wombat Cube Poop", "Cube-shaped bullets. They stop and stack mid-air.", (Rarity)0, (CardThemeColorType)6).BSize(0.25).Dmg(1.12).Stutter(0.3, 0.2) .Note("Yes", "Cubes"); } private static void Arcana() { //IL_0a71: Unknown result type (might be due to invalid IL or missing references) New("Summon: Spark Sprite", "A sprite orbits you all round, zapping the nearest enemy.", (Rarity)1, (CardThemeColorType)1).OnStart(Do.Summon(Pet.Sprite, 12.0)).OnRevive(Do.Summon(Pet.Sprite, 12.0)).Note("1", "Minion"); New("Summon: Hellhound", "A hound of fire hunts down enemies and bites them, constantly.", (Rarity)2, (CardThemeColorType)0).OnStart(Do.Summon(Pet.Hound, 9.0)).OnRevive(Do.Summon(Pet.Hound, 9.0)).Note("1", "Minion"); New("Summon: Boom Imps", "Every 6s an imp spawns, sprints at the nearest enemy, and explodes.", (Rarity)2, (CardThemeColorType)0).Every(6.0, Do.Summon(Pet.Imp, 45.0, 8.0)).Note("Many", "Minions"); New("Summon: Healing Fairy", "A fairy floats beside you, healing 6 HP every second.", (Rarity)1, (CardThemeColorType)8).OnStart(Do.Summon(Pet.Fairy, 6.0)).OnRevive(Do.Summon(Pet.Fairy, 6.0)).Note("1", "Minion"); New("Summon: Fire Elemental", "A slow walking bonfire chases enemies and burns everything near it.", (Rarity)2, (CardThemeColorType)0).OnStart(Do.Summon(Pet.Elemental, 18.0)).OnRevive(Do.Summon(Pet.Elemental, 18.0)).Note("1", "Minion"); New("Summon: Frost Wisp", "A wisp circles you and freezes the nearest enemy every 3 seconds.", (Rarity)1, (CardThemeColorType)7).OnStart(Do.Summon(Pet.Wisp, 0.6)).OnRevive(Do.Summon(Pet.Wisp, 0.6)).Note("1", "Minion"); New("Summon: Attack Drone", "A drone hovers over you, firing homing rockets at the nearest enemy.", (Rarity)2, (CardThemeColorType)3).OnStart(Do.Summon(Pet.Drone, 16.0)).OnRevive(Do.Summon(Pet.Drone, 16.0)).Note("1", "Minion"); New("Summon: Bat Swarm", "Three vampire bats chase enemies, bite, and feed the health to you.", (Rarity)2, (CardThemeColorType)4).OnStart(Do.Summon(Pet.Bat, 5.0), Do.Summon(Pet.Bat, 5.0), Do.Summon(Pet.Bat, 5.0)).Note("3", "Minions"); New("Summon: Poltergeist", "A ghost drifts at enemies, silencing and hurting whoever it touches.", (Rarity)1, (CardThemeColorType)3).OnStart(Do.Summon(Pet.Ghost, 10.0)).OnRevive(Do.Summon(Pet.Ghost, 10.0)).Note("1", "Minion"); New("Summon: Pet Rock", "A rock orbits you. It bonks and knocks back anything it hits. Good rock.", (Rarity)1, (CardThemeColorType)6).OnStart(Do.Summon(Pet.Orbiter, 14.0)).OnRevive(Do.Summon(Pet.Orbiter, 14.0)).Note("Yes", "Good rock"); New("Summon: Guardian Angel", "An angel hovers above you, healing you and smiting the nearest enemy.", (Rarity)2, (CardThemeColorType)1).OnStart(Do.Summon(Pet.Angel, 30.0)).OnRevive(Do.Summon(Pet.Angel, 30.0)).Note("1", "Minion"); New("Summon: Goose Familiar", "A goose. It hunts. It honks. Peace was never an option.", (Rarity)1, (CardThemeColorType)3).OnStart(Do.Summon(Pet.Hound, 7.0), Do.Say("HONK")).Every(15.0, Do.Say("HONK")).Note("1", "Goose"); New("Summon: Twin Drones", "Two attack drones hover over you, both firing homing rockets.", (Rarity)2, (CardThemeColorType)7).OnStart(Do.Summon(Pet.Drone, 11.0), Do.Summon(Pet.Drone, 11.0)).Note("2", "Minions"); New("Summon: Skeleton Crew", "Each kill raises a skeleton hound from the body to keep hunting.", (Rarity)1, (CardThemeColorType)3).OnKill(Do.Summon(Pet.Hound, 8.0)).OnStart(Do.Summon(Pet.Hound, 6.0)).Note("1+", "Minions"); New("Summon: Imp Factory", "Kills and blocks spawn exploding imps. The factory never closes.", (Rarity)2, (CardThemeColorType)0).OnKill(Do.Summon(Pet.Imp, 40.0, 8.0), Do.Summon(Pet.Imp, 40.0, 8.0)).OnBlock(Do.Summon(Pet.Imp, 35.0, 8.0)).Cd(2.0); New("Summon: Ring Of Rocks", "Three pet rocks orbit you. A wall of bonk.", (Rarity)2, (CardThemeColorType)6).OnStart(Do.Summon(Pet.Orbiter, 12.0), Do.Summon(Pet.Orbiter, 12.0), Do.Summon(Pet.Orbiter, 12.0)).Move(0.95); New("Spell: Fireball", "Block hurls a fireball where you aim. It explodes and leaves fire.", (Rarity)2, (CardThemeColorType)0).OnBlock(Do.Fireball(55.0)).Cd(1.5); New("Spell: Ice Lance", "Block fires a fast lance of ice. Everything near the impact freezes.", (Rarity)1, (CardThemeColorType)7).OnBlock(Do.IceLance(1.0)).Cd(1.5); New("Spell: Arcane Missiles", "Block launches three homing missiles that never miss. Allegedly.", (Rarity)2, (CardThemeColorType)8).OnBlock(Do.ArcaneMissiles(3, 22.0)).Cd(1.5); New("Spell: Void Orb", "Block launches a slow orb that sucks enemies in, then implodes.", (Rarity)2, (CardThemeColorType)4).OnBlock(Do.VoidOrb(45.0)).Cd(3.0); New("Spell: Ball Lightning", "Block releases a crackling orb that zaps everything it passes.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.BallLightning(30.0)).Cd(2.5); New("Spell: Unarm Thee", "Block disarms the nearest enemy: silenced and their damage halved.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.Hex(2.0), Do.WeakenT(0.5, 3.0), Do.Say("unarmed!")).Cd(4.0); New("Spell: Floaty Floaty", "Block levitates the nearest enemy high into the air. Swish and flick.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.LaunchT(70.0), Do.SlowT(0.6, 2.0)).Cd(3.0); New("Spell: Petrify", "Block turns the nearest enemy to stone for 1.5 seconds.", (Rarity)2, (CardThemeColorType)3).OnBlock(Do.Freeze(1.5), Do.Say("petrified")).Cd(5.0); New("Spell: Polymorph", "Block turns the nearest enemy into a frog: tiny, slow, and weak.", (Rarity)2, (CardThemeColorType)5).OnBlock(Do.ShrinkT(0.4, 4.0), Do.SlowT(0.5, 4.0), Do.WeakenT(0.5, 4.0), Do.Say("ribbit")).Cd(6.0); New("Spell: Blink", "Block teleports you 15 units where you aim. Leaves a spark behind.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.Nova(15.0, 4.0), Do.Blink(15.0)).Cd(1.0); New("Spell: Time Warp", "Block rewinds you 3 seconds and heals 30. Never happened.", (Rarity)2, (CardThemeColorType)7).OnBlock(Do.Recall(3.0, 30.0)).Cd(4.0); New("Spell: Starfall", "Block calls stars down across the map and an orbital strike.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.Rain(6, 30.0, Shapes.Holy), Do.Orbital(60.0)).Cd(6.0); New("Spell: Banish", "Block hurls the nearest enemy across the map and Hexes them.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.YankT(-90.0), Do.Hex(1.5), Do.Say("begone")).Cd(4.0); New("Spell: Blood Pact", "Block drains 40 HP from the nearest enemy into you.", (Rarity)2, (CardThemeColorType)0).OnBlock(Do.Leech(40.0)).Cd(4.0); New("Spell: Instant Regret", "Block executes the nearest enemy if they're below 35% HP.", (Rarity)2, (CardThemeColorType)4).OnBlock(Do.Execute(0.35)).Cd(5.0); New("Spell: Arcane Dome", "Block raises a dome: heals you, shoves enemies, spins saws.", (Rarity)2, (CardThemeColorType)2).OnBlock(Do.Mend(15.0, 3.0), Do.Push(40.0, 9.0), Do.SawBlades(4, 15.0, 3.0)).Cd(5.0); New("Spell: Chain Lightning", "Block arcs lightning through up to six enemies.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.Zap(40.0, 5)).Cd(2.0); } private static void Bodies() { //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_087f: Unknown result type (might be due to invalid IL or missing references) New("Leg Day", "Finally. Landings send a shockwave up through your calves.", (Rarity)0, (CardThemeColorType)6).Jump(1.35).Move(1.1).OnLand(Do.Push(18.0, 6.0)) .Cd(1.5); New("Skipped Leg Day", "Huge arms, noodle legs. Every hit punches them into the air.", (Rarity)0, (CardThemeColorType)6).Dmg(1.3).Jump(0.75).OnHit(0.3, Do.LaunchT(25.0)) .Cd(1.5); New("Cardio", "Move faster. Every 6s you leave a trail of burning footprints.", (Rarity)0, (CardThemeColorType)5).Move(1.3).Every(6.0, Do.Puddle(0.0, 10.0, 3.0, 3.0, Shapes.Fire)); New("Couch Potato", "Comfortable and immovable. Every 8s, regenerate on the couch.", (Rarity)0, (CardThemeColorType)6).Hp(1.8).Move(0.7).Every(8.0, Do.Mend(8.0, 3.0)); New("Protein Shake", "Gains. Landings shake the ground. Mild regret.", (Rarity)0, (CardThemeColorType)8).Hp(1.25).Dmg(1.1).OnLand(Do.Nova(10.0, 4.0)) .Cd(2.0); New("Vitamins", "Balanced breakfast. Hits taken trigger a small heal field.", (Rarity)0, (CardThemeColorType)5).Regen(3.0).Hp(1.1).OnHurt(0.3, Do.Mend(10.0, 2.0)) .Cd(4.0); New("Energy Drink", "Fast now. Kills give a 4s sugar rush. Crash not included.", (Rarity)0, (CardThemeColorType)1).Move(1.25).Rate(0.85).Hp(0.85) .OnKill(Do.BuffRate(0.6, 4.0), Do.BuffMove(1.4, 4.0)); New("Five More Minutes", "Below 50% HP: nap for 0.4s, wake up with 40% HP back.", (Rarity)1, (CardThemeColorType)7).OnLow(0.5, Do.StunSelf(0.4), Do.HealPct(0.4), Do.Say("zzz")); New("Coffee Break", "Reloads heal you and give you the jitters (+speed).", (Rarity)0, (CardThemeColorType)6).OnReload(Do.Heal(10.0), Do.BuffMove(1.25, 2.0)); New("Second Breakfast", "An extra helping of HP. Hits drain a snack from them.", (Rarity)0, (CardThemeColorType)6).Hp(1.3).OnHit(0.2, Do.Leech(5.0)).Cd(1.0); New("Third Breakfast", "You are a problem. Landing makes the ground ripple.", (Rarity)1, (CardThemeColorType)6).Hp(1.6).Size(1.15).Regen(2.0) .OnLand(Do.Nova(15.0, 5.0)) .Cd(2.0); New("Fourth Breakfast", "No longer fits through doors. Landings are earthquakes.", (Rarity)2, (CardThemeColorType)6).Hp(2.4).Size(1.5).Move(0.75) .Regen(5.0) .OnLand(Do.Nova(30.0, 8.0), Do.Stun(0.5, 8.0)) .Cd(2.0); New("Double Jump", "Classic. Air jumps release a small shockwave below you.", (Rarity)0, (CardThemeColorType)7).Jumps(1).OnLand(0.5, Do.Push(14.0, 5.0)).Cd(1.0); New("Triple Jump", "Olympics are calling. Every landing gives a quick speed burst.", (Rarity)1, (CardThemeColorType)7).Jumps(2).OnLand(Do.BuffMove(1.3, 1.2)).Cd(1.0); New("Infinite Jump Glitch", "Not infinite. Patched to 5. Landings rewind you 1s sometimes.", (Rarity)2, (CardThemeColorType)3).Jumps(5).Grav(0.9).OnLand(0.15, Do.Rewind(1.0)) .Cd(3.0); New("Bunny Hop", "Each landing is a speed boost and a tiny hop of damage.", (Rarity)0, (CardThemeColorType)8).OnLand(Do.BuffMove(1.3, 1.0), Do.Nova(8.0, 3.0)).Cd(1.0).Jump(1.1); New("Kangaroo", "Boing. Hits punch them away like a marsupial boxer.", (Rarity)1, (CardThemeColorType)6).Jump(1.5).Knock(1.8).OnHit(0.3, Do.LaunchT(30.0)) .Cd(1.5); New("Flea", "Tiny. Huge jump. Hits make them itchy (bleeding).", (Rarity)1, (CardThemeColorType)5).Size(0.65).Jump(1.8).Hp(0.75) .OnHit(0.3, Do.Bleed(6.0, 3.0)) .Cd(1.0); New("Feather Falling", "Fall slow. Bullets float down gently and wave as they go.", (Rarity)0, (CardThemeColorType)7).Grav(0.6).BGrav(0.5).Wavy(15.0, 6.0); New("Lead Pants", "You stay down on purpose. Landings drop toxic lead.", (Rarity)0, (CardThemeColorType)6).Grav(1.5).Hp(1.25).OnLand(Do.Puddle(0.3, 6.0, 3.5, 3.0)) .Cd(2.0); New("Helium Lungs", "Light and squeaky. Every 8s you float up and everything goes upside down.", (Rarity)1, (CardThemeColorType)8).Grav(0.35).Size(0.9).Move(1.1) .Every(8.0, Do.Upsidedown(1.2), Do.Say("*squeak*")); New("Jetpack Lite", "Block blasts you upward and burns whatever's below.", (Rarity)1, (CardThemeColorType)1).OnBlock(Do.Launch(55.0), Do.Puddle(0.0, 12.0, 3.5, 2.0, Shapes.Fire)).Cd(2.0).Grav(0.85); New("Dash Cooldown", "Block dashes you forward and leaves saws behind you.", (Rarity)1, (CardThemeColorType)3).OnBlock(Do.SawBlades(2, 12.0, 2.0), Do.Dash(45.0)).Cd(2.0).BlockCd(0.9); New("Blink Step", "Block teleports you forward and stuns anything you leave behind.", (Rarity)2, (CardThemeColorType)4).OnBlock(Do.Stun(0.5, 6.0), Do.Blink(14.0)).Cd(1.5); New("Ninja Vanish", "Below 40% HP: smoke bomb, vanish, regroup, and plant a mine.", (Rarity)1, (CardThemeColorType)4).OnLow(0.4, Do.Mine(40.0, 4.0), Do.Hop(14.0), Do.BuffMove(1.4, 3.0)).Move(1.1); New("Sprint Button", "You found it. Every 8s you sprint for 3 seconds at double speed.", (Rarity)0, (CardThemeColorType)1).Move(1.3).Every(8.0, Do.BuffMove(1.6, 3.0)); New("Tank Controls", "Slow turns, heavy armor, and a cannon every reload.", (Rarity)1, (CardThemeColorType)6).Move(0.75).Hp(1.6).Dmg(1.2) .OnReload(Do.Meteor(35.0, 4.0)) .Cd(4.0); New("Roomba", "Bumps around forever with saw blades. It cleans up.", (Rarity)1, (CardThemeColorType)3).Move(1.15).Regen(2.0).Every(10.0, Do.SawBlades(2, 10.0, 6.0)) .Dmg(0.9); New("Slime Body", "Hits taken heal you and splash slime on the attacker.", (Rarity)0, (CardThemeColorType)5).OnHurt(Do.Heal(8.0), Do.Puddle(0.5, 0.0, 3.0, 2.0)).Cd(2.0).Hp(0.95); New("Turtle Shell", "Slow and hard to crack. Block spins you into a saw.", (Rarity)0, (CardThemeColorType)5).Hp(1.4).Move(0.8).BlockCd(0.85) .OnBlock(Do.SawBlades(3, 10.0, 2.0)) .Cd(4.0); New("Porcupine", "Get hit and quills fly out, bleeding everyone close.", (Rarity)1, (CardThemeColorType)6).OnHurt(Do.Nova(15.0, 7.0), Do.Bleed(6.0, 3.0)).Cd(1.5); New("Skunk", "Get hit and you release a toxic, slowing stink cloud.", (Rarity)1, (CardThemeColorType)5).OnHurt(Do.Puddle(0.5, 6.0, 6.0, 3.0), Do.Say("pee-yew")).Cd(3.0); New("Chameleon", "Every 5s you blink somewhere and your bullets go invisible-ish.", (Rarity)1, (CardThemeColorType)5).Every(5.0, Do.Hop(6.0)).Move(1.15).BSize(-0.1) .Phase(); New("Hermit Crab", "Moves rarely. Block pulls you into your shell: stun aura.", (Rarity)1, (CardThemeColorType)6).Hp(1.5).BlockCd(0.8).Move(0.8) .OnBlock(Do.Stun(0.6, 5.0)) .Cd(3.0); New("Gym Bro", "Do you even lift? Shots push you back and hits shove them harder.", (Rarity)0, (CardThemeColorType)0).Dmg(1.3).Recoil(2.5).OnHit(0.3, Do.YankT(-30.0)) .Cd(1.5); New("Wiry Nerd", "Quick and clever: every 12s you deploy a little turret.", (Rarity)0, (CardThemeColorType)3).Reload(0.75).Move(1.1).Hp(0.85) .Every(12.0, Do.Turret(8.0, 5.0)); New("Bulk Season", "Big now. Kills make you even bigger for a bit.", (Rarity)0, (CardThemeColorType)0).Hp(1.4).Size(1.2).OnKill(Do.Inflate(1.3, 6.0), Do.Heal(30.0)); New("Cut Season", "Shredded and hungry. Hits shrink them to your size.", (Rarity)0, (CardThemeColorType)1).Hp(0.8).Move(1.25).Jump(1.15) .OnHit(0.2, Do.ShrinkT(0.75, 3.0)) .Cd(3.0); New("Bones Hurt", "Your bones ache. Their bones ache. Hits bleed a little.", (Rarity)0, (CardThemeColorType)4).Regen(2.5).OnHit(0.25, Do.Bleed(5.0, 3.0)).Cd(1.0); New("Medicine Cabinet", "Reload: heal. Block: healing field. Well stocked.", (Rarity)1, (CardThemeColorType)8).OnReload(Do.Heal(8.0)).OnBlock(Do.Mend(12.0, 3.0)).Cd(3.0); New("Blood Bank", "Lifesteal with a fee. Kills make a big withdrawal.", (Rarity)1, (CardThemeColorType)0).Life(0.5).Hp(0.85).OnKill(Do.HealPct(0.4)); New("Second Wind", "Low HP: heal 35%, speed up, and a gust blows enemies away.", (Rarity)1, (CardThemeColorType)5).OnLow(0.35, Do.HealPct(0.35), Do.BuffMove(1.3, 4.0), Do.Push(40.0, 10.0)); New("Adrenaline", "Getting hit speeds you up and bullets home in briefly.", (Rarity)1, (CardThemeColorType)0).OnHurt(Do.BuffMove(1.2, 2.0), Do.BuffRate(0.85, 2.0)).Homing(60.0); New("Slow Burn", "Damage you take spreads over time. Attackers catch your fire.", (Rarity)1, (CardThemeColorType)0).Dot(2.0).Hp(1.1).OnHurt(0.3, Do.Burn(8.0, 3.0)) .Cd(2.0); New("Delayed Reaction", "Pain arrives much later. Every 15s, rewind 3 seconds.", (Rarity)2, (CardThemeColorType)4).Dot(5.0).Regen(4.0).Every(15.0, Do.Rewind(3.0)); New("Second Chance", "Respawn once. You come back with an orbital strike on the nearest foe.", (Rarity)2, (CardThemeColorType)8).Respawns(1).Dmg(0.85).OnRevive(Do.Orbital(60.0)); New("Cat Lives", "Two respawns. Always land on your feet: landings heal 6.", (Rarity)2, (CardThemeColorType)1).Respawns(2).Hp(0.6).OnLand(Do.Heal(6.0)) .Cd(1.0); New("Stuntman", "Falling is your job. Landings heal and explode for style.", (Rarity)1, (CardThemeColorType)1).OnLand(Do.Heal(12.0), Do.Nova(12.0, 4.0)).Cd(2.0).Grav(1.15); New("Flat Earth", "Falling off is impossible, you insist. Every 10s gravity agrees.", (Rarity)0, (CardThemeColorType)6).Jump(1.2).Hp(1.1).Every(10.0, Do.BuffGrav(0.2, 3.0), Do.Say("the earth is flat")); New("Round Earth", "Gravity is real and hates you. Bullets orbit like moons.", (Rarity)0, (CardThemeColorType)7).Jump(1.4).Grav(1.3).Orbit(300.0, 1.2); } static Catalog() { All = new List(); Memes(); Trolls(); Guns(); Bodies(); Shields(); Chaos(); Corporate(); Food(); Animals(); Gamers(); Minecraft(); Pokemon(); Household(); Cosmic(); Nonsense(); HeavyWeapons(); Arcana(); int count = All.Count; Unhinged(); int count2 = All.Count; Wildcards(); Splitters(); Spectacle(); Legends(); for (int i = count; i < count2; i++) { All[i].Legendary(); } HashSet hashSet = new HashSet { "Vorgath the Undying", "Pocket Nuke", "Armageddon Protocol", "Tactical Nuke", "Infinite Recursion", "Chaos Engine", "Death Ray", "Gamma Ray Burst" }; foreach (CardDef item in All) { if (hashSet.Contains(item.Name) && !item.IsLegendary) { item.Legendary(); } } Rebalance.Apply(All); foreach (CardDef item2 in All) { item2.ApplyWild(); } } private static CardDef New(string name, string desc, Rarity rarity, CardThemeColorType theme) { //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) CardDef cardDef = new CardDef { Index = All.Count, Name = name, Desc = desc, Rarity = rarity, Theme = theme }; All.Add(cardDef); return cardDef; } private static void Legends() { //IL_0240: Unknown result type (might be due to invalid IL or missing references) New("Vorgath the Undying", "Death is a suggestion. Vorgath declined. Every bullet hunts. Every hit feeds him.", (Rarity)2, (CardThemeColorType)4).Unique().Hp(5.0).Dmg(3.0) .Rate(0.6) .Respawns(5) .Regen(25.0) .Life(1.5) .BlockCd(0.5) .Homing(260.0) .Tint(0.55f, 0f, 1f) .OnStart(Do.Say("VORGATH RISES"), Do.Shake(60.0), Do.SawBlades(4, 40.0, 15.0)) .OnHit(Do.Leech(15.0), Do.Wither(20.0, 3.0)) .Cd(0.3) .OnKill(Do.Thunder(150.0), Do.Say("ANOTHER SOUL")) .Every(10.0, Do.Orbital(150.0)) .OnLow(0.35, Do.HealPct(1.0), Do.Nova(120.0, 14.0), Do.BlackHole(60.0, 12.0, 4.0), Do.Shake(40.0)) .Cd(5.0) .OnRevive(Do.HealPct(1.0), Do.Nova(200.0, 18.0), Do.Stun(1.5, 18.0), Do.Rain(8, 60.0, Shapes.Void), Do.Say("YOU CANNOT KILL WHAT REFUSES")) .OnDeath(Do.Nova(150.0, 14.0)); } private static void Chaos() { //IL_0720: Unknown result type (might be due to invalid IL or missing references) //IL_07b0: Unknown result type (might be due to invalid IL or missing references) //IL_083b: Unknown result type (might be due to invalid IL or missing references) New("Dice Goblin", "Every 8s, roll a d6: heal, rage, mud, teleport, meteor, or a turret.", (Rarity)1, (CardThemeColorType)8).Every(8.0, Do.OneOf(Do.Heal(25.0), Do.BuffDmg(1.5, 3.0), Do.BuffMove(0.7, 3.0), Do.Hop(9.0), Do.Meteor(35.0, 4.0), Do.Turret(8.0, 4.0))); New("Wheel Of Fortune", "Block spins the wheel: orbital, heal, freeze, swap, ouch, or saws.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.OneOf(Do.Orbital(70.0), Do.HealPct(0.5), Do.Stun(0.8, 12.0), Do.Swap, Do.HurtSelf(25.0), Do.SawBlades(4, 15.0, 4.0))).Cd(3.0); New("Chaos Theory", "A butterfly flaps. Every 4s, 25% chance: teleport, and the old spot explodes.", (Rarity)1, (CardThemeColorType)4).Every(4.0, 0.25, Do.Nova(20.0, 4.0), Do.Hop(16.0)).Dmg(1.1); New("Murphy's Law", "Big damage. Anything that can go wrong does: hits taken might stun you.", (Rarity)1, (CardThemeColorType)0).Dmg(1.5).OnHurt(0.25, Do.StunSelf(0.3), Do.Say("of course")); New("Schrodinger's Bullet", "Every bullet either explodes or heals them. You won't know until it lands.", (Rarity)1, (CardThemeColorType)4).Dmg(1.4).OnHit(0.4, Do.OneOf(Do.Boom(30.0, 4.0), Do.HealT(15.0))).Cd(1.0); New("Quantum Tunneling", "Bullets phase through walls. You do too, sometimes.", (Rarity)2, (CardThemeColorType)3).Phase().Every(6.0, 0.5, Do.Blink(8.0)).Dmg(0.8) .Stutter(0.25, 0.08); New("Time Dilation", "Block slows time around you. Everyone nearby moves at half speed.", (Rarity)1, (CardThemeColorType)7).OnBlock(Do.Frost(1.0, 12.0)).BlockCd(1.1).Stutter(0.5, 0.2); New("Deja Vu", "Every 6s, you've been here before. Rewind 2 seconds. I've been in this place.", (Rarity)1, (CardThemeColorType)8).Every(6.0, Do.Rewind(2.0)).Bounces(2).BounceDmg(1.1); New("Glitched Texture", "Purple-black bullets that zigzag through reality. Somehow stronger.", (Rarity)0, (CardThemeColorType)4).Tint(0.8f, 0f, 0.8f).Zigzag(0.1).Dmg(1.2); New("Missing Semicolon", "Random teleports, bullets stutter, and somehow it compiles.", (Rarity)0, (CardThemeColorType)3).Every(7.0, Do.Hop(6.0)).Rate(0.85).Stutter(0.35, 0.1); New("Segmentation Fault", "Huge damage. Hits taken: 10% chance you crash. Core dumped.", (Rarity)0, (CardThemeColorType)0).Dmg(1.45).OnHurt(0.1, Do.StunSelf(0.5), Do.Say("segfault (core dumped)")); New("Stack Overflow", "Bullets on bullets on bullets, recursing in spirals.", (Rarity)2, (CardThemeColorType)3).Bullets(3).Bursts(1).Dmg(0.4) .Reload(1.3) .Spiral(400.0, 2.0); New("Memory Leak", "Ammo grows. Reload grows. Every 5s it leaks poison at your feet.", (Rarity)0, (CardThemeColorType)5).Ammo(8).ReloadAdd(1.0).Every(5.0, Do.Puddle(0.2, 6.0, 3.0, 4.0)); New("Works On My Machine", "Huge damage. Every 12s a random bug: lag, teleport, or upside down.", (Rarity)1, (CardThemeColorType)3).Dmg(1.7).Every(12.0, Do.OneOf(Do.StunSelf(0.3), Do.Hop(8.0), Do.Upsidedown(1.0))); New("Git Push Force", "Block force-pushes everyone far away and rewrites their history.", (Rarity)2, (CardThemeColorType)3).OnBlock(Do.Push(70.0, 11.0), Do.Say("git push --force")).BlockAdd(0.7); New("Rubber Duck", "Block heals you while you explain the bug out loud.", (Rarity)0, (CardThemeColorType)1).OnBlock(Do.Heal(20.0), Do.SayAny("so basically...", "wait I see it", "quack")).Cd(3.0); New("Meteor Strike", "Landings call a meteor down on the nearest enemy. 3s cooldown.", (Rarity)2, (CardThemeColorType)0).OnLand(Do.Meteor(45.0, 5.0)).Cd(3.0).Grav(1.3); New("Earthquake", "Every 5s the ground splits: everyone tossed up, rocks fall.", (Rarity)2, (CardThemeColorType)6).Every(5.0, Do.Toss(32.0, 12.0), Do.Rain(3, 18.0, Shapes.Fire), Do.Shake(50.0)); New("Tornado Warning", "Every 6s a tornado spins at the nearest foe, pulling and cutting.", (Rarity)2, (CardThemeColorType)7).Every(6.0, Do.BlackHole(30.0, 6.0, 2.5), Do.Puddle(0.0, 10.0, 6.0, 2.5, Shapes.Ice)); New("Whirlpool", "Every 8s a whirlpool opens under the nearest enemy and drags them in.", (Rarity)1, (CardThemeColorType)2).Every(8.0, Do.BlackHole(35.0, 8.0, 3.0)); New("Acid Rain", "Every 6s acid falls across the whole map. Bring an umbrella.", (Rarity)1, (CardThemeColorType)5).Every(6.0, Do.Rain(5, 12.0, Shapes.Toxic)); New("Blizzard", "Every 4s a cold front slows everyone. 25% chance it freezes the nearest.", (Rarity)1, (CardThemeColorType)7).Every(4.0, Do.Frost(0.8, 15.0), Do.Maybe(0.25, Do.Freeze(0.8))); New("Thunderstorm", "Every 4s lightning strikes the nearest enemy. Count the seconds.", (Rarity)2, (CardThemeColorType)1).Every(4.0, Do.Thunder(30.0), Do.Shake(20.0)); New("Wild Fire", "Every 3s, flames spread from you to the nearest enemy.", (Rarity)1, (CardThemeColorType)0).Every(3.0, Do.Nova(10.0, 6.0), Do.Burn(6.0, 3.0)); New("Bee Swarm", "Every 2s the bees find the nearest enemy. Poison stings, forever.", (Rarity)1, (CardThemeColorType)1).Every(2.0, Do.Poison(3.0, 3.0), Do.Say("bzzz")); New("Wizard Hat", "Block casts a random spell: frost, fireball, gust, heal, or lightning.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.OneOf(Do.Freeze(0.8), Do.Meteor(35.0, 4.0), Do.Push(30.0, 9.0), Do.Mend(12.0, 3.0), Do.Zap(20.0, 3))).Cd(2.0); New("Magic Missile", "Homing bullets. They always hit. It's in the rules.", (Rarity)2, (CardThemeColorType)8).Homing(360.0).Dmg(0.75).Spread(0.15); New("Fireball, Just One", "Each reload hurls a fireball meteor at the nearest enemy.", (Rarity)2, (CardThemeColorType)0).OnReload(Do.Meteor(50.0, 5.0)).Reload(1.25); New("Counterspell", "Getting hit has a 30% chance to Hex the caster. Denied.", (Rarity)2, (CardThemeColorType)4).OnHurt(0.3, Do.Hex(1.5), Do.Silence(0.8, 8.0)).Cd(3.0); New("Polymorph Self", "Every 9s you turn into something: tiny and fast, or huge and slow.", (Rarity)1, (CardThemeColorType)8).Every(9.0, Do.OneOf(Do.Combo(Do.Inflate(0.6, 4.0), Do.BuffMove(1.6, 4.0)), Do.Combo(Do.Inflate(1.6, 4.0), Do.BuffMove(0.7, 4.0)))); New("Necromancy", "Revive once. Your return raises two turrets from the grave.", (Rarity)2, (CardThemeColorType)4).Respawns(1).OnRevive(Do.Nova(50.0, 10.0), Do.Turret(12.0, 8.0), Do.Turret(12.0, 8.0)); New("Cursed Idol", "Double damage and lifesteal. Every 6s, the idol takes its toll.", (Rarity)2, (CardThemeColorType)4).Dmg(2.0).Life(0.3).Every(6.0, Do.HurtSelf(8.0)); New("Monkey's Paw", "Huge HP. Every 8s, a wish backfires: stun, shrink, or swap.", (Rarity)2, (CardThemeColorType)6).Hp(2.5).Every(8.0, 0.5, Do.OneOf(Do.StunSelf(0.4), Do.Inflate(0.6, 3.0), Do.Swap)); New("Deal With The Devil", "Huge damage. Kills feed the devil: big heal, and a burning aura.", (Rarity)2, (CardThemeColorType)0).Dmg(2.5).Hp(0.45).Life(0.4) .OnKill(Do.HealPct(0.5), Do.Aura(20.0, 5.0, 4.0)); New("Dragon Hoard", "So much ammo. Empty mag: breathe fire on everything ahead.", (Rarity)2, (CardThemeColorType)1).Ammo(25).Move(0.8).OnEmpty(Do.Laser(40.0), Do.Burn(10.0, 3.0)) .Cd(3.0); New("Excalibur?", "Probably just a stick. Kills summon holy light on the next enemy.", (Rarity)2, (CardThemeColorType)2).Dmg(1.6).Hp(1.2).OnKill(Do.Thunder(80.0)); New("Stick", "It's a stick. Hits whack them upward 20% of the time.", (Rarity)0, (CardThemeColorType)6).Knock(1.5).OnHit(0.2, Do.LaunchT(20.0)).Cd(1.0); New("Bigger Stick", "Speak softly. Hits knock them out cold briefly.", (Rarity)1, (CardThemeColorType)6).Knock(3.0).Dmg(1.3).Rate(1.15) .OnHit(0.25, Do.Freeze(0.4)) .Cd(2.0); New("Rock", "Good old rock. Nothing beats that. Hits drop more rocks on them.", (Rarity)0, (CardThemeColorType)6).Hp(1.2).Knock(1.2).OnHit(0.15, Do.Meteor(20.0, 3.0)) .Cd(3.0); New("Paper", "Thin but covers rock. Hits wrap them up and slow them.", (Rarity)0, (CardThemeColorType)3).Hp(0.9).BSize(0.4).Rate(0.85) .OnHit(0.3, Do.SlowT(0.7, 2.0)) .Cd(2.0); New("Scissors", "Running with these is advised against. Hits cut and bleed.", (Rarity)0, (CardThemeColorType)0).Move(1.2).Dmg(1.15).Hp(0.85) .OnHit(0.35, Do.Bleed(7.0, 3.0)) .Cd(1.0); New("Bread", "It's just bread. Below 60% HP, heals 30. It's good bread.", (Rarity)0, (CardThemeColorType)6).OnLow(0.6, Do.Heal(30.0), Do.Say("bread")); New("Cheese Strategy", "Stay back. Very back. Every 10s you plant a turret and walk away.", (Rarity)1, (CardThemeColorType)1).Falloff(1.5).Move(1.15).Every(10.0, Do.Turret(8.0, 6.0)); New("Goose On The Loose", "Honk. Every 5s you chase the nearest foe, bite, and steal their speed.", (Rarity)1, (CardThemeColorType)3).Every(5.0, Do.Push(30.0, 7.0), Do.Steal(1.3, 2.0), Do.Bleed(4.0, 2.0)).Every(20.0, Do.Say("HONK")); New("Crab Rave", "Sideways speed and every landing throws a sideways shockwave party.", (Rarity)0, (CardThemeColorType)0).Move(1.3).OnLand(Do.Push(15.0, 5.0), Do.Confetti(4)).Cd(1.5); New("Possum Mode", "Below 25% HP: play dead, heal 70%, and 2 mines appear.", (Rarity)1, (CardThemeColorType)6).OnLow(0.25, Do.StunSelf(0.6), Do.HealPct(0.7), Do.Mine(40.0, 4.0)); New("Capybara Calm", "Nothing bothers you. A healing hot spring follows you everywhere.", (Rarity)1, (CardThemeColorType)6).Regen(4.0).Hp(1.2).Every(8.0, Do.Mend(8.0, 4.0)); New("Tiny Hat", "Does nothing except make you feel fantastic. Kills: you tip the hat.", (Rarity)0, (CardThemeColorType)8).Note("Yes", "Fantastic").Move(1.03).OnKill(Do.Say("*tips tiny hat*")); New("Blank Card", "It has no stats. Every 20s it does something. Do you trust it?", (Rarity)1, (CardThemeColorType)3).Note("???", "Nothing").Every(20.0, Do.OneOf(Do.Orbital(60.0), Do.Heal(40.0), Do.Swap, Do.HurtSelf(5.0), Do.Rain(4, 20.0))); New("Extra Pickle", "Slight improvement to all of life. Hits sometimes add brine.", (Rarity)0, (CardThemeColorType)5).Dmg(1.03).Hp(1.03).Move(1.03) .Regen(0.5) .OnHit(0.1, Do.Poison(4.0, 3.0)) .Cd(2.0); } private static void Corporate() { New("Synergy", "+10% everything. Hits chain to anyone nearby. Leverage the network.", (Rarity)0, (CardThemeColorType)3).Dmg(1.1).Hp(1.1).Move(1.1) .OnHit(0.15, Do.Zap(10.0, 2)) .Cd(2.0); New("Circle Back", "Bullets loop around and come back to the matter at hand.", (Rarity)0, (CardThemeColorType)3).Orbit(360.0, 1.1).Dmg(1.05); New("Per My Last Email", "Hits mark the target for 40% more damage. As previously discussed.", (Rarity)1, (CardThemeColorType)0).OnHit(0.3, Do.MarkT(0.4, 4.0), Do.Say("as previously discussed")).Cd(6.0).Dmg(1.15); New("Quick Sync", "This meeting could have been a bullet. Reloads fire a laser.", (Rarity)0, (CardThemeColorType)3).Reload(0.85).OnReload(Do.Laser(20.0)).Cd(3.0); New("Mandatory Fun", "Every 15s: fireworks that hurt. You will enjoy it.", (Rarity)0, (CardThemeColorType)8).Every(15.0, Do.Fireworks(8, 12.0), Do.Say("FUN IS MANDATORY")).Dmg(1.05); New("Trust Exercise", "Block: everyone trades places, then everyone is stunned. Bonding.", (Rarity)2, (CardThemeColorType)8).OnBlock(Do.Shuffle, Do.Stun(0.4, 99.0)).Cd(6.0); New("Pizza Over Raises", "Reloads heal you. Kills throw a pizza party healing field.", (Rarity)0, (CardThemeColorType)1).OnReload(Do.Heal(7.0)).OnKill(Do.Mend(15.0, 3.0)); New("Exposure Bucks", "Paid in being seen. Bigger, tougher, and the nearest foe is marked.", (Rarity)0, (CardThemeColorType)1).Size(1.2).Hp(1.25).Every(8.0, Do.MarkT(0.2, 4.0)); New("Hostile Takeover", "Hits steal 25% of their damage for 3s. It's just business.", (Rarity)2, (CardThemeColorType)4).OnHit(0.3, Do.WeakenT(0.75, 3.0), Do.BuffDmg(1.25, 3.0)).Cd(3.0).FoeDmg(0.9); New("Golden Parachute", "When you die, you get paid: an airstrike on the nearest foe.", (Rarity)1, (CardThemeColorType)1).OnDeath(Do.Airstrike(5, 30.0), Do.Say("severance package deployed")); New("Middle Management", "Does nothing. Every 10s a turret does your work for you.", (Rarity)1, (CardThemeColorType)3).Hp(1.15).Every(10.0, Do.Turret(8.0, 5.0), Do.Say("delegating")); New("Stolen Stapler", "Small, spiteful, quick. Hits sometimes staple them in place.", (Rarity)0, (CardThemeColorType)0).Rate(0.8).Dmg(0.9).OnHit(0.15, Do.Freeze(0.3)) .Cd(2.0); New("Printer Jam", "Enemies reload slower. Hits sometimes jam them completely.", (Rarity)1, (CardThemeColorType)3).FoeReload(1.2).OnHit(0.15, Do.Hex(0.8), Do.Say("PAPER JAM")).Cd(4.0); New("PC Load Letter", "What does that mean. Enemy reload suffers. Hits shove them away.", (Rarity)0, (CardThemeColorType)3).FoeReload(1.1).FoeAmmo(-1).OnHit(0.2, Do.YankT(-25.0)) .Cd(2.0); New("Out Of Office", "Below 30% HP: teleport away and leave a turret to take messages.", (Rarity)1, (CardThemeColorType)7).OnLow(0.3, Do.Turret(10.0, 6.0), Do.Hop(15.0), Do.Say("auto-reply: on vacation")); New("Two Weeks Notice", "Every shot's your last. Hits burn bridges (and people).", (Rarity)1, (CardThemeColorType)0).Dmg(1.4).Ammo(-1).Move(1.1) .OnHit(0.4, Do.Burn(8.0, 3.0)) .Cd(1.0); New("Performance Review", "Every 20s you get rated: rampage, slump, or a bonus meteor.", (Rarity)0, (CardThemeColorType)3).Every(20.0, Do.OneOf(Do.BuffDmg(1.8, 5.0), Do.BuffDmg(0.6, 5.0), Do.Meteor(40.0, 4.0)), Do.SayAny("meets expectations", "needs improvement", "exceeds expectations")); New("Improvement Plan", "Regen, plus a healing field every 10s. They're watching.", (Rarity)0, (CardThemeColorType)5).Regen(3.0).Every(10.0, Do.Mend(8.0, 3.0)); New("Cubicle Farm", "A small box. Lower block cooldown, and blocks raise saw walls.", (Rarity)0, (CardThemeColorType)6).BlockCd(0.8).Move(0.9).OnBlock(Do.SawBlades(2, 10.0, 2.0)) .Cd(4.0); New("Open Floor Plan", "Nowhere to hide. Everyone is bigger and someone is always marked.", (Rarity)1, (CardThemeColorType)3).FoeSize(1.15).Size(1.15).Dmg(1.1) .Every(5.0, Do.MarkT(0.15, 5.0)); New("Standing Desk", "Your legs hurt. Landings give bonus speed.", (Rarity)0, (CardThemeColorType)3).Jump(1.25).OnLand(Do.BuffMove(1.25, 1.5)).Cd(2.0); New("Ergonomic Chair", "Costs a fortune. Lumbar support. Hits taken heal you a bit.", (Rarity)0, (CardThemeColorType)2).Hp(1.3).Move(0.92).OnHurt(0.3, Do.Heal(10.0)) .Cd(2.0); New("Free Office Snacks", "Heal when you land. Kills spawn a snack-table healing field.", (Rarity)0, (CardThemeColorType)1).OnLand(Do.Heal(6.0)).Cd(1.0).OnKill(Do.Mend(12.0, 3.0)); New("Casual Friday", "Comfortable pants, fast feet, and every 6s a little dance hop.", (Rarity)0, (CardThemeColorType)2).Move(1.2).Every(6.0, Do.Hop(5.0), Do.Confetti(3)); New("Monday", "Everyone is slower. Every 10s everyone naps, including you.", (Rarity)0, (CardThemeColorType)7).FoeMove(0.85).Move(0.92).Every(10.0, Do.Stun(0.4, 99.0), Do.StunSelf(0.2), Do.Say("ugh, monday")); New("Friday At 4:59", "Below 50% HP: double speed and you blink toward the exit.", (Rarity)1, (CardThemeColorType)1).OnLow(0.5, Do.BuffMove(2.0, 4.0), Do.Blink(12.0)); New("Reply All Apocalypse", "Hits flood the room: lightning chains to every enemy nearby.", (Rarity)2, (CardThemeColorType)0).OnHit(0.25, Do.Zap(12.0, 5), Do.Say("please remove me from this thread")).Cd(4.0); New("Unsubscribe", "Block silences everyone close and Hexes the nearest.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.Silence(0.8, 9.0), Do.Hex(1.5)).Cd(3.0); New("Calendar Invite", "Every 10s, yank the nearest enemy in. Attendance is mandatory.", (Rarity)1, (CardThemeColorType)3).Every(10.0, Do.YankT(55.0), Do.Stun(0.3, 4.0)); New("Meeting That Could Be Mail", "Every 12s everyone near you is stuck in a meeting (stunned).", (Rarity)2, (CardThemeColorType)3).Every(12.0, Do.Stun(0.6, 14.0), Do.Say("let's take this offline")); New("Low-Hanging Fruit", "Huge, slow bullets. Hits execute anyone below 15% HP.", (Rarity)1, (CardThemeColorType)5).BSize(0.5).Speed(0.85).OnHit(Do.Execute(0.15)); New("Move The Needle", "Bullets accelerate and hit harder over distance. KPIs up.", (Rarity)0, (CardThemeColorType)3).Accel(1.5, 2.0).Falloff(1.3).Dmg(1.05); New("Boil The Ocean", "Every 6s, a huge faint burning aura. Everyone in it simmers.", (Rarity)1, (CardThemeColorType)0).Every(6.0, Do.Aura(6.0, 18.0, 6.0)); New("Think Outside The Box", "Bullets go through walls and swerve around obstacles.", (Rarity)2, (CardThemeColorType)3).Phase().Wavy(20.0, 8.0).Hp(0.85); New("Pivot", "Block throws you backward and drops a mine where you were.", (Rarity)0, (CardThemeColorType)3).OnBlock(Do.Mine(30.0, 4.0), Do.Dash(-40.0)).Cd(2.0); New("Disruptor", "Enemies' aim spreads. Your bullets zigzag. Very innovative.", (Rarity)1, (CardThemeColorType)1).FoeSpread(0.15).Zigzag(0.15); New("Thought Leader", "Every 25s, a hot take. Everyone near you is silenced by it.", (Rarity)0, (CardThemeColorType)8).Every(25.0, Do.Silence(1.0, 12.0), Do.SayAny("what can ROUNDS teach us about B2B sales", "agree?", "I was rejected by 40 guns. Here's what I learned")).Dmg(1.12); New("LinkedIn Influencer", "Get hit and you post about it. The attacker is marked.", (Rarity)0, (CardThemeColorType)7).OnHurt(0.3, Do.MarkT(0.3, 4.0), Do.Say("humbled to announce I was shot")).Cd(8.0).Hp(1.15); New("Unpaid Overtime", "Extra rounds. Empty mag: 30% chance of one more lap, unpaid.", (Rarity)0, (CardThemeColorType)0).Ammo(6).Reload(1.15).OnEmpty(0.3, Do.Refill) .Cd(4.0); New("Hot Desking", "Every 8s you trade spots with the nearest enemy. Sorry.", (Rarity)2, (CardThemeColorType)4).Every(8.0, Do.Swap, Do.Stun(0.2, 4.0)).Hp(1.15); New("Tax Season", "Enemies lose HP. Every hit skims a little for you.", (Rarity)1, (CardThemeColorType)3).FoeHp(0.9).OnHit(0.4, Do.Leech(5.0)).Cd(1.0); New("Audit", "Hits take a slice of max HP and mark them for a full review.", (Rarity)2, (CardThemeColorType)3).PctDmg(0.08).Rate(1.15).OnHit(0.3, Do.MarkT(0.3, 3.0)) .Cd(2.0); New("Offshore Account", "Big regen, tax-free. Below 30% HP, your money rewinds 3s.", (Rarity)1, (CardThemeColorType)2).Regen(9.0).Hp(0.75).OnLow(0.3, Do.Rewind(3.0)); New("Pyramid Scheme", "Bullets split into a pyramid. Hits chain downline.", (Rarity)1, (CardThemeColorType)1).Bullets(4).Dmg(0.45).Spread(0.2) .OnHit(0.2, Do.Zap(8.0, 2)) .Cd(1.0); New("Multilevel Marketing", "Bursts that spiral. Hun, are you ready to be your own boss?", (Rarity)0, (CardThemeColorType)8).Bursts(2).Dmg(0.6).Spiral(300.0, 2.0); New("Crypto Bro", "Each reload: to the moon (double damage) or a rug pull (half).", (Rarity)1, (CardThemeColorType)1).OnReload(Do.OneOf(Do.BuffDmg(2.0, 3.0), Do.BuffDmg(0.5, 3.0)), Do.SayAny("to the moon", "rug pulled")).Dmg(1.15); New("Rug Pull", "Block yanks the floor out: everyone tossed up and silenced.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.Toss(45.0, 10.0), Do.Silence(0.6, 10.0), Do.Say("liquidity removed")).Cd(6.0); New("Whitepaper", "Thin, accelerating bullets with big damage. Nobody read page two.", (Rarity)0, (CardThemeColorType)3).BSize(-0.1).Dmg(1.45).Reload(1.2) .Accel(1.5, 2.0); New("Venture Capital", "First 10s: huge damage and speed. Bullets home in. Then burnout.", (Rarity)2, (CardThemeColorType)1).OnStart(Do.BuffDmg(2.5, 10.0), Do.BuffMove(1.4, 10.0)).Homing(60.0).Hp(0.9); New("Burn Rate", "Lose 4 HP every 4s. Your bullets set everything ablaze.", (Rarity)1, (CardThemeColorType)0).Every(4.0, Do.HurtSelf(4.0)).Dmg(1.3).OnHit(Do.Burn(10.0, 3.0)) .Cd(1.0) .Tint(1f, 0.4f, 0f); New("Series A Funding", "Everything's slightly better. Every 15s, a small turret.", (Rarity)0, (CardThemeColorType)1).Dmg(1.08).Hp(1.08).Reload(0.92) .Move(1.08) .Every(15.0, Do.Turret(6.0, 5.0)); New("Series F Funding", "Everything is great. Nothing makes sense. Orbital strikes, somehow.", (Rarity)2, (CardThemeColorType)1).Dmg(1.3).Hp(1.3).Reload(0.8) .Move(1.15) .Every(14.0, Do.Orbital(60.0)); New("Layoffs", "Hits have a 25% chance to stun the target and bleed them dry.", (Rarity)1, (CardThemeColorType)0).OnHit(0.25, Do.Freeze(0.4), Do.Bleed(6.0, 3.0)).Cd(3.0); New("Restructuring", "Every 9s you teleport. Every 18s everyone shuffles. New org chart.", (Rarity)1, (CardThemeColorType)3).Every(9.0, Do.Hop(12.0)).Every(18.0, Do.Shuffle).Dmg(1.1); New("Severance", "Big damage. When you die, enemies get a payout (heal). Contract.", (Rarity)0, (CardThemeColorType)4).OnDeath(Do.HealFoes(20.0, 99.0)).Dmg(1.4); New("HR Complaint", "Get hit: 30% chance the attacker is Hexed pending review.", (Rarity)1, (CardThemeColorType)3).OnHurt(0.3, Do.Hex(1.5), Do.Say("HR has been notified")).Cd(5.0); New("Team Lunch", "Every 10s everyone heals. Even them. Teamwork.", (Rarity)0, (CardThemeColorType)1).Every(10.0, Do.Mend(10.0, 3.0), Do.HealFoes(8.0, 99.0)); New("Birthday Sheet Cake", "Every 20s, fireworks and cake. Nobody wants a corner piece.", (Rarity)0, (CardThemeColorType)8).Every(20.0, Do.Fireworks(5, 8.0), Do.Heal(20.0)); New("Employee Of The Month", "+15% damage, a framed photo, and kills grant a 5s bonus.", (Rarity)0, (CardThemeColorType)1).Dmg(1.15).OnKill(Do.BuffDmg(1.4, 5.0)).Note("Yes", "Framed photo"); New("Parking Validation", "Blocks refund themselves 30% of the time. Ticket stamped.", (Rarity)0, (CardThemeColorType)3).OnBlock(0.3, Do.RearmBlock, Do.Say("validated")); New("Lanyard", "It holds your ID. It also swings: blocks spin out a saw.", (Rarity)0, (CardThemeColorType)2).Dmg(1.1).OnBlock(Do.SawBlades(1, 15.0, 3.0)).Cd(4.0); New("Motivational Poster", "HANG IN THERE. Below 40% HP, heal. Bullets home in a little.", (Rarity)0, (CardThemeColorType)7).OnLow(0.4, Do.HealPct(0.25), Do.Say("HANG IN THERE")).Homing(40.0); New("Water Cooler Gossip", "Enemies jump lower. Every 15s a rumor shuffles everyone.", (Rarity)0, (CardThemeColorType)7).FoeJump(0.9).Every(15.0, Do.Shuffle, Do.Say("did you hear about Dave?")); New("Dave From Accounting", "Nobody knows Dave's job. Dave is sturdy and audits the nearest foe.", (Rarity)0, (CardThemeColorType)6).Hp(1.45).Dmg(0.9).Every(10.0, Do.MarkT(0.25, 4.0)); New("Brenda From HR", "Brenda has seen things. Block: everyone nearby stunned, one Hexed.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.Stun(0.5, 8.0), Do.Hex(1.0)).Cd(4.0).Hp(1.1); New("Intern With A Gun", "Why did we hand this to the intern? Bullets zigzag in panic.", (Rarity)0, (CardThemeColorType)0).Rate(0.75).Spread(0.2).Dmg(1.1) .Zigzag(0.1); New("Coffee Machine Broken", "Enemies are slow and sleepy. Hits make them even sleepier.", (Rarity)1, (CardThemeColorType)6).FoeMove(0.92).FoeRate(1.08).OnHit(0.3, Do.SlowT(0.7, 2.0)) .Cd(2.0); New("Keynote Speech", "Every 30s: fireworks, applause, and the whole room is stunned.", (Rarity)1, (CardThemeColorType)3).Every(30.0, Do.Fireworks(6, 10.0), Do.Stun(1.0, 99.0), Do.Say("thank you. no, thank YOU.")).Hp(1.2); New("PowerPoint Transition", "Every 6s you star-wipe forward. Bullets fly in one by one.", (Rarity)0, (CardThemeColorType)3).Every(6.0, Do.Blink(6.0)).Move(1.1).Stutter(0.25, 0.1); New("Excel Goblin", "Tiny bullets. Every hit can throw a #REF! error: zap.", (Rarity)1, (CardThemeColorType)5).Bullets(3).Dmg(0.45).BSize(-0.1) .OnHit(0.15, Do.Zap(8.0, 1)) .Cd(1.0); New("Merged Cell", "Fewer, much bigger bullets. Every hit explodes.", (Rarity)1, (CardThemeColorType)3).Ammo(-1).BSize(1.0).Dmg(1.4) .Rockets(25.0); New("Ctrl+Alt+Delete", "Below 20% HP: blast, heal 40%, teleport. Task ended.", (Rarity)2, (CardThemeColorType)3).OnLow(0.2, Do.Nova(50.0, 10.0), Do.HealPct(0.4), Do.Hop(12.0)); New("Blame The Intern", "Get hit and lightning strikes the nearest enemy instead.", (Rarity)0, (CardThemeColorType)0).OnHurt(Do.Thunder(20.0), Do.Push(20.0, 6.0)).Cd(2.0); New("Throw Under The Bus", "Block swaps you with the nearest foe. A meteor follows them.", (Rarity)1, (CardThemeColorType)1).OnBlock(Do.Swap, Do.Meteor(40.0, 4.0)).Cd(4.0).Dmg(1.05); New("Scope Creep", "Every block grows your bullets and damage for 4s. And grows.", (Rarity)0, (CardThemeColorType)5).OnBlock(Do.BuffBullet(1.0, 4.0), Do.BuffDmg(1.2, 4.0)); New("Technical Debt", "Huge damage now. Every 10s, 50% chance it comes due.", (Rarity)1, (CardThemeColorType)0).Dmg(1.7).Every(10.0, 0.5, Do.StunSelf(0.5), Do.Say("technical debt has come due")); New("Legacy Code", "Massive HP. Bullets stutter. Nobody dares touch it.", (Rarity)2, (CardThemeColorType)6).Hp(2.2).Move(0.75).Rate(1.2) .Stutter(0.35, 0.2); New("Agile Sprint", "Every 10s, a 2s sprint wrapped in a burning aura.", (Rarity)0, (CardThemeColorType)1).Every(10.0, Do.BuffMove(1.8, 2.0), Do.Aura(10.0, 3.0, 2.0)); New("Waterfall Method", "Falls fast. Lands hard. Every landing cascades outward.", (Rarity)1, (CardThemeColorType)2).Grav(1.5).OnLand(Do.Nova(15.0, 6.0), Do.Push(15.0, 6.0)).Cd(1.5); New("Stand-Up Meeting", "Every 12s you stand still. So does everyone near you.", (Rarity)1, (CardThemeColorType)3).Every(12.0, Do.StunSelf(0.3), Do.Stun(0.6, 10.0)).Dmg(1.3); New("Ticket Closed: Won't Fix", "Enemy bullets fly slower. Complaints bounce back as lightning.", (Rarity)1, (CardThemeColorType)3).FoeBulletSpeed(0.85).OnHurt(0.2, Do.Zap(10.0, 0)).Cd(2.0); New("It's A Feature", "Bullets spiral, bounce, and zigzag. Marketing approved.", (Rarity)1, (CardThemeColorType)8).RandomBounces(3).Spiral(250.0, 1.5).Zigzag(0.25); New("Hotfix In Prod", "Empty mag: instant heal and refill. No tests were run.", (Rarity)0, (CardThemeColorType)0).OnEmpty(Do.Heal(25.0), Do.Refill).Cd(6.0).Reload(1.1); New("Works Fine In Staging", "Shots backfire 8% of the time. Hits explode 20% of the time.", (Rarity)0, (CardThemeColorType)1).OnShoot(0.08, Do.HurtSelf(5.0)).OnHit(0.2, Do.Boom(18.0, 3.0)).Cd(1.0) .Dmg(1.2); New("Sprint Retrospective", "On death, a meteor shower of action items falls on the map.", (Rarity)1, (CardThemeColorType)7).OnDeath(Do.Rain(5, 25.0), Do.SayAny("we should've communicated more", "action items to follow", "skill issue, per the data")).Dmg(1.1); New("Blockchain Solution", "Blocks chain lightning between every enemy. Nobody asked.", (Rarity)2, (CardThemeColorType)3).Blocks(2).BlockAdd(0.8).OnBlock(Do.Zap(14.0, 4)) .Cd(1.0); New("AI-Powered", "Homing bullets. Sometimes it hallucinates and teleports you.", (Rarity)1, (CardThemeColorType)3).Homing(150.0).OnShoot(0.05, Do.Hop(4.0)).Cd(2.0); New("Prompt Engineer", "Tell your bullets to be better. They home in, a little.", (Rarity)0, (CardThemeColorType)3).Dmg(1.07).Speed(1.07).Homing(50.0); New("Metaverse Headset", "Legless. Fast. Every 8s you glitch 2 seconds back in time.", (Rarity)1, (CardThemeColorType)4).Jump(0.6).Move(1.5).Every(8.0, Do.Rewind(2.0)); New("Thought-Out Roadmap", "+20% HP now. Q4 deliverable: an orbital strike every 20s.", (Rarity)0, (CardThemeColorType)2).Hp(1.2).Every(20.0, Do.Orbital(60.0)); New("Quarterly Earnings", "Every 15s: a gift, a loss, or a rally. Line goes up. Or down.", (Rarity)0, (CardThemeColorType)1).Every(15.0, Do.OneOf(Do.Heal(40.0), Do.HurtSelf(15.0), Do.BuffDmg(1.6, 5.0)), Do.SayAny("beat expectations", "missed expectations")); New("Stock Buyback", "Hits buy back some HP. Kills buy back most of it.", (Rarity)1, (CardThemeColorType)1).OnDeal(Do.Heal(5.0)).OnKill(Do.HealPct(0.6)); New("Bankruptcy", "Below 25% HP: everyone is pushed away as a crater opens.", (Rarity)1, (CardThemeColorType)0).OnLow(0.25, Do.Push(50.0, 20.0), Do.Nova(30.0, 10.0), Do.Say("chapter 11, baby")); New("Bailout", "Below 15% HP: a huge heal and a turret. Taxpayer funded.", (Rarity)1, (CardThemeColorType)1).OnLow(0.15, Do.HealPct(0.75), Do.Turret(10.0, 5.0)); New("Too Big To Fail", "You are gigantic. Every landing is a market crash.", (Rarity)2, (CardThemeColorType)1).Size(1.7).Hp(2.2).Move(0.8) .OnLand(Do.Nova(25.0, 8.0), Do.Shake(20.0)) .Cd(2.0); New("Corporate Retreat", "Below 40% HP, drop a healing field and dash backward fast.", (Rarity)0, (CardThemeColorType)8).OnLow(0.4, Do.Mend(12.0, 3.0), Do.Dash(-55.0), Do.BuffMove(1.5, 3.0)); New("Ping Pong Table", "We have fun here. Bullets bounce a lot and speed up.", (Rarity)0, (CardThemeColorType)5).Bounces(6).BounceSpeed(1.08).Dmg(0.85) .OnHit(0.1, Do.Say("*pok*")) .Cd(4.0); New("Beanbag Conference Room", "Landings heal. Hits sink them into a slowing beanbag.", (Rarity)0, (CardThemeColorType)6).OnLand(Do.Heal(8.0)).Cd(1.0).Hp(1.15) .OnHit(0.2, Do.SlowT(0.6, 2.0)) .Cd(3.0); New("CEO Mindset", "Up at 4 AM. Huge damage. Kills: you fire everyone (nova).", (Rarity)2, (CardThemeColorType)0).Dmg(1.8).FoeHp(1.1).OnKill(Do.Nova(50.0, 12.0), Do.Say("you're fired")); } private static void Cosmic() { //IL_0287: Unknown result type (might be due to invalid IL or missing references) //IL_0509: Unknown result type (might be due to invalid IL or missing references) //IL_09fa: Unknown result type (might be due to invalid IL or missing references) New("Heat Death Of Universe", "Everything slows. Everyone. Forever. Every 10s, a little more.", (Rarity)2, (CardThemeColorType)7).FoeMove(0.9).FoeRate(1.1).Move(0.95) .Every(10.0, Do.Frost(0.5, 99.0)); New("Big Bang", "Each battle starts with a bang: enemies blasted outward and burned.", (Rarity)2, (CardThemeColorType)1).OnStart(Do.Push(80.0, 99.0), Do.Nova(30.0, 99.0), Do.Shake(80.0)); New("Big Crunch", "Every 20s the universe collapses: everyone pulled to you, then a nova.", (Rarity)2, (CardThemeColorType)4).Every(20.0, Do.Pull(70.0, 99.0), Do.Nova(40.0, 8.0), Do.Shake(40.0)); New("Dark Matter", "Enemies are heavier. Every 10s their gravity spikes even more.", (Rarity)1, (CardThemeColorType)4).FoeGrav(1.3).Every(10.0, Do.LaunchT(-40.0)); New("Dark Energy", "Everyone's being pushed apart. Every 6s. The expansion accelerates.", (Rarity)1, (CardThemeColorType)4).Every(6.0, Do.Push(18.0, 99.0)).Accel(1.5, 2.5); New("Black Hole Sun", "Every 8s a black hole opens on the nearest enemy for 3 seconds.", (Rarity)2, (CardThemeColorType)4).Every(8.0, Do.BlackHole(40.0, 8.0, 3.0)); New("Event Horizon", "Close enemies can't escape: a constant slowing, damaging aura.", (Rarity)1, (CardThemeColorType)4).Every(2.0, Do.Frost(0.4, 8.0)).Every(6.0, Do.Aura(6.0, 8.0, 6.0, Shapes.Void)); New("Spaghettification", "Enemies get stretched. Bigger bodies. Hits shrink-stretch them.", (Rarity)1, (CardThemeColorType)4).FoeSize(1.2).OnHit(0.2, Do.ShrinkT(0.6, 2.0)).Cd(3.0); New("Moon Landing Hoax", "Very low gravity. Bullets float like it's a soundstage.", (Rarity)0, (CardThemeColorType)7).Grav(0.3).BGrav(0.3).Note("Yes", "Fake"); New("Flat Earth Society", "Bullets travel straight. No gravity. They fall off the edge (accelerate).", (Rarity)0, (CardThemeColorType)6).BGrav(0.01).Speed(1.1).Accel(1.0, 2.0); New("Birds Aren't Real", "Every 18s the drones activate: lasers and a global slow.", (Rarity)1, (CardThemeColorType)3).Every(18.0, Do.Frost(0.7, 99.0), Do.Laser(35.0), Do.Say("they're watching")); New("Tin Foil Bullets", "They reflect signals. Bounces home in on the nearest brain.", (Rarity)0, (CardThemeColorType)3).Bounces(3).SmartBounces(1).Tint(0.8f, 0.8f, 0.85f); New("Area 51 Raid", "Naruto run. Very fast. Every 10s you blink past the guards.", (Rarity)2, (CardThemeColorType)1).Move(1.8).Hp(0.7).Dmg(0.9) .Every(10.0, Do.Blink(12.0)); New("Alien Abduction", "Every 15s a beam abducts the nearest enemy straight up.", (Rarity)1, (CardThemeColorType)5).Every(15.0, Do.LaunchT(80.0), Do.Hex(1.5), Do.Say("*probing noises*")); New("Crop Circles", "Every 8s, crop circles burn into the ground around you.", (Rarity)0, (CardThemeColorType)5).Every(8.0, Do.Confetti(10), Do.Aura(8.0, 7.0, 3.0, Shapes.Heal)).Dmg(1.1); New("Bigfoot Blurry Photo", "Big. Unclear. Every 12s you move and leave a giant footprint (crater).", (Rarity)1, (CardThemeColorType)6).Size(1.4).Hp(1.5).Every(12.0, Do.Nova(25.0, 6.0), Do.Hop(10.0)); New("Loch Ness Bullshit", "Enemies swear they saw something. Every 15s a tentacle drags them.", (Rarity)0, (CardThemeColorType)2).FoeSpread(0.1).Every(15.0, Do.YankT(50.0), Do.Say("there it is!")); New("Mothman Prophecy", "Low gravity. On death the bridge falls: meteor shower.", (Rarity)1, (CardThemeColorType)4).OnDeath(Do.Rain(6, 25.0), Do.Say("the bridge...")).Grav(0.7).Dmg(1.1); New("Bermuda Triangle", "Bullets vanish through portals and come back from strange angles.", (Rarity)1, (CardThemeColorType)2).Portals(3).Dmg(0.9).Spiral(200.0, 1.0); New("Illuminati Confirmed", "Triangle bullets. Every 15s the eye opens: orbital strike.", (Rarity)2, (CardThemeColorType)1).Bullets(2).Bursts(1).Dmg(0.7) .Every(15.0, Do.Orbital(60.0), Do.Say("confirmed")); New("Reptilian Overlord", "Every 25s your true face is revealed: everyone stunned, nearest bitten.", (Rarity)2, (CardThemeColorType)5).Every(25.0, Do.Stun(0.7, 99.0), Do.Poison(10.0, 3.0), Do.Say("*blinks sideways*")).Hp(1.2); New("Simulation Theory", "Every 12s the world hitches: everyone shuffles. Bullets lag.", (Rarity)2, (CardThemeColorType)3).Every(12.0, Do.Shuffle, Do.Say("rendering error")).Stutter(0.4, 0.1); New("Mandela Effect", "Berenstein. Your bullets were always homing. You remember.", (Rarity)1, (CardThemeColorType)4).Dmg(1.12).Homing(70.0).Note("Berenstein", "Spelled"); New("Time Traveler Tourist", "Every 11s you rewind 3 seconds. You've seen how this ends.", (Rarity)1, (CardThemeColorType)7).Every(11.0, Do.Rewind(3.0)).Move(1.1); New("Grandfather Paradox", "Huge damage. When you die, your enemies heal. Paradox.", (Rarity)1, (CardThemeColorType)4).OnDeath(Do.HealFoes(30.0, 99.0)).Dmg(1.6); New("Schrodinger's Cat", "Each battle, the box opens: full heal and speed, or -40 HP.", (Rarity)1, (CardThemeColorType)8).OnStart(Do.OneOf(Do.Combo(Do.HealPct(1.0), Do.BuffMove(1.4, 10.0)), Do.HurtSelf(40.0))).Dmg(1.3); New("Quantum Entanglement", "Whenever you're hit, every enemy on the map feels it too.", (Rarity)2, (CardThemeColorType)3).OnHurt(Do.Nova(15.0, 99.0)).Cd(1.0); New("Sharknado", "Every 8s: sharks, tornado, teeth. Enemies flung and bleeding.", (Rarity)2, (CardThemeColorType)7).Every(8.0, Do.Scatter(55.0, 15.0), Do.Bleed(8.0, 3.0), Do.BlackHole(20.0, 6.0, 2.0), Do.Shake(35.0)); New("Cloudy With Meatballs", "Every 6s meatballs rain across the map. Delicious. Lethal.", (Rarity)1, (CardThemeColorType)0).Every(6.0, Do.Rain(4, 15.0, Shapes.Blood)); New("Rains Of Fire", "Every 4s fire falls on the nearest enemy.", (Rarity)1, (CardThemeColorType)0).Every(4.0, Do.Meteor(15.0, 4.0)); New("Solar Flare", "Every 12s the sun flares: everyone blinded, nearest one burns.", (Rarity)2, (CardThemeColorType)1).Every(12.0, Do.Stun(0.5, 99.0), Do.StunSelf(0.25), Do.Burn(12.0, 3.0)); New("Lunar Eclipse", "Every 18s the moon goes dark: +80% damage and homing bullets for 4s.", (Rarity)1, (CardThemeColorType)7).Every(18.0, Do.BuffDmg(1.8, 4.0)).Homing(40.0); New("Mercury Retrograde", "Enemy reloads worsen. Every 15s the planets misalign: everyone shuffles.", (Rarity)0, (CardThemeColorType)4).FoeReload(1.14).Every(15.0, Do.Shuffle); New("Horoscope Says No", "Every 25s a bad prophecy: 5 harm to you, a mark on them.", (Rarity)0, (CardThemeColorType)4).Every(25.0, Do.HurtSelf(5.0), Do.MarkT(0.3, 6.0), Do.SayAny("avoid bullets today", "Leo is plotting against you")).Dmg(1.2); New("Tarot The Tower", "Below 35% HP, everything collapses: nova, meteor shower, quake.", (Rarity)2, (CardThemeColorType)4).OnLow(0.35, Do.Nova(80.0, 15.0), Do.Rain(6, 30.0), Do.Shake(60.0)); New("Tarot The Fool", "Every 12s you leap off a cliff. Land in a shockwave.", (Rarity)0, (CardThemeColorType)8).Every(12.0, Do.Launch(40.0)).Jump(1.15).OnLand(0.4, Do.Nova(15.0, 6.0)) .Cd(3.0); New("Crystal Healing", "Doesn't work. Placebo field every 15s. It counts.", (Rarity)0, (CardThemeColorType)8).Regen(1.0).Every(15.0, Do.Mend(4.0, 4.0)).Note("No", "Science", good: false); New("Essential Oils", "Cures everything, per your aunt. Hits taken: lavender heal.", (Rarity)0, (CardThemeColorType)5).Regen(3.0).OnHurt(0.2, Do.Heal(10.0), Do.Say("have you tried lavender")).Cd(5.0); New("Ancient Curse", "Open the tomb. Huge power. Hits curse their damage. Random harm.", (Rarity)2, (CardThemeColorType)4).Dmg(1.7).Every(7.0, 0.3, Do.HurtSelf(14.0)).OnHit(0.3, Do.WeakenT(0.7, 3.0)) .Cd(2.0); New("Cursed Monkey", "Every 20s a wish is granted terribly. Or wonderfully.", (Rarity)1, (CardThemeColorType)6).Every(20.0, Do.OneOf(Do.BuffDmg(2.0, 5.0), Do.HurtSelf(20.0), Do.Stun(0.5, 12.0), Do.Shuffle, Do.Orbital(60.0))); New("Haunted Doll", "Every 13s it's closer. The nearest enemy is pulled in and hexed.", (Rarity)1, (CardThemeColorType)4).Every(13.0, Do.Yoink, Do.Hex(1.0), Do.Say("*giggle*")); New("Poltergeist", "Every 5s furniture flies: enemies thrown about and hit.", (Rarity)1, (CardThemeColorType)3).Every(5.0, Do.Scatter(25.0, 12.0), Do.Nova(8.0, 12.0)); New("Friendly Ghost", "Bullets go through walls. Nice about it: hits heal you a bit.", (Rarity)1, (CardThemeColorType)3).Phase().Dmg(0.75).Regen(2.0) .OnHit(0.3, Do.Heal(4.0)) .Cd(1.0); New("Not So Friendly Ghost", "Bullets go through walls and home in. Not nice about it.", (Rarity)2, (CardThemeColorType)4).Phase().Dmg(1.0).Rate(1.2) .Homing(120.0); New("Zombie Apocalypse", "Revive twice, slow. Brains. Hits infect (poison).", (Rarity)2, (CardThemeColorType)5).Respawns(2).Move(0.7).Dmg(0.85) .OnHit(0.3, Do.Poison(5.0, 4.0)) .Cd(1.0); New("Vampire Sparkle", "Sparkly lifesteal. Hits leave glitter (fireworks).", (Rarity)1, (CardThemeColorType)8).Life(0.35).OnHit(0.15, Do.Confetti(4), Do.Leech(5.0)).Cd(1.0) .Tint(1f, 0.8f, 1f); New("Werewolf Night Shift", "Every 20s you transform: huge, fast, strong, bleeding claws.", (Rarity)2, (CardThemeColorType)6).Every(20.0, Do.BuffDmg(1.6, 5.0), Do.BuffMove(1.5, 5.0), Do.Inflate(1.3, 5.0)).OnHit(0.2, Do.Bleed(6.0, 3.0)).Cd(1.0); New("Mummy Wrap", "Bandaged. Regen. Hits wrap them up (slow).", (Rarity)0, (CardThemeColorType)3).Regen(3.0).Hp(1.1).Move(0.95) .OnHit(0.2, Do.SlowT(0.7, 2.0)) .Cd(2.0); New("Frankenstein's Bolts", "IT'S ALIVE. Every reload chains lightning through everyone.", (Rarity)1, (CardThemeColorType)1).OnReload(Do.Zap(20.0, 4)).Cd(2.0); New("Grim Reaper Intern", "First day. Hits on low-HP foes reap them (execute below 12%).", (Rarity)1, (CardThemeColorType)4).PctDmg(0.04).Dmg(0.9).OnHit(Do.Execute(0.12)); New("Death Takes A Holiday", "One respawn, very relaxed. When you return, death works a shift for you.", (Rarity)2, (CardThemeColorType)7).Respawns(1).Regen(2.0).OnRevive(Do.Execute(0.5), Do.Thunder(40.0)); New("Purgatory Waiting Room", "Enemies reload longer. Every 15s everyone near you is frozen in line.", (Rarity)0, (CardThemeColorType)7).FoeReload(1.15).Every(15.0, Do.Stun(0.5, 12.0), Do.Say("now serving 4,000,212")); New("Heaven's Gate Bouncer", "Block: heaven kicks the nearest out. Launched into orbit.", (Rarity)1, (CardThemeColorType)1).OnBlock(Do.Toss(55.0, 7.0), Do.LaunchT(60.0), Do.Smite(0.05, 7.0)).Cd(3.0); New("Hell's Customer Service", "Every 30s, hold music plays. Everyone is silenced. And burning.", (Rarity)1, (CardThemeColorType)0).Every(30.0, Do.Say("your call is important to us"), Do.Silence(0.8, 99.0), Do.Burn(6.0, 6.0)).Dmg(1.2); New("Deus Ex Machina", "Below 15% HP, something absurd saves you: full heal, nova, orbital.", (Rarity)2, (CardThemeColorType)1).OnLow(0.15, Do.HealPct(1.0), Do.Nova(60.0, 15.0), Do.Orbital(80.0), Do.Say("how convenient")); New("Plot Twist", "Get hit: 25% chance you swap places with the attacker. Twist.", (Rarity)1, (CardThemeColorType)8).OnHurt(0.25, Do.Swap, Do.Say("plot twist")).Cd(3.0); New("Chosen One", "Destiny. +30% everything. Kills prove it: holy light.", (Rarity)2, (CardThemeColorType)1).Dmg(1.3).Hp(1.3).Move(1.1) .OnKill(Do.Thunder(50.0)); New("Not The Chosen One", "Close enough. +5% damage. Every 30s someone says 'not you'.", (Rarity)0, (CardThemeColorType)3).Dmg(1.05).Hp(1.05).Every(30.0, Do.Say("not you")); New("Prophecy Misread", "Was about ANOTHER guy. Slower, tougher. Hits taken: oops, a nova.", (Rarity)0, (CardThemeColorType)4).Hp(1.25).Move(0.92).OnHurt(0.15, Do.Nova(20.0, 6.0)) .Cd(3.0); New("Wizard Was Late", "He arrives exactly when he means to. Every 25s: heal and a meteor.", (Rarity)1, (CardThemeColorType)3).Every(25.0, Do.HealPct(0.4), Do.Meteor(50.0, 5.0), Do.Say("a wizard is never late")); New("Sword In A Stone", "Heavy. Stuck. Big damage. Kills: you pull it free (buff).", (Rarity)1, (CardThemeColorType)3).Dmg(1.5).Move(0.85).Knock(1.3) .OnKill(Do.BuffMove(1.6, 5.0), Do.BuffRate(0.7, 5.0)); New("Dragon Tax Evasion", "Enemies lose HP. Every 10s a dragon breathes on the nearest.", (Rarity)2, (CardThemeColorType)0).FoeHp(0.88).Dmg(1.1).Every(10.0, Do.Laser(30.0), Do.Burn(10.0, 3.0)); New("Bard Disaster", "Every 18s the bard sings: silence nearby foes and you heal.", (Rarity)1, (CardThemeColorType)8).Every(18.0, Do.Silence(1.0, 13.0), Do.Mend(8.0, 3.0), Do.Say("toss a coin")); New("Goblin Accountant", "Each reload adds 25% damage for 4s. Audited. Kills: gold (heal).", (Rarity)0, (CardThemeColorType)5).OnReload(Do.BuffDmg(1.25, 4.0)).OnKill(Do.Heal(20.0)); New("Elf Ears", "Sharper hearing. Sniper accuracy. Bullets accelerate like arrows.", (Rarity)0, (CardThemeColorType)5).Spread(-0.15).Falloff(1.2).Accel(2.0, 2.0); New("Dwarf Height", "Short and furious. Hits knock people over (launch).", (Rarity)0, (CardThemeColorType)6).Size(0.8).Knock(1.7).Hp(1.1) .OnHit(0.25, Do.LaunchT(20.0)) .Cd(1.0); New("Unicorn Horn", "Rainbow bullets that bounce and spiral. They hurt.", (Rarity)1, (CardThemeColorType)8).Tint(0.8f, 0.5f, 1f).Dmg(1.2).Bounces(1) .Spiral(300.0, 1.5); New("Kraken Tax", "Every 16s tentacles grab everyone close: pull, stun, squeeze.", (Rarity)2, (CardThemeColorType)2).Every(16.0, Do.Pull(45.0, 15.0), Do.Stun(0.3, 15.0), Do.Nova(15.0, 15.0)); New("Ragnarok Tuesday", "Every 22s the world ends: map-wide fire, meteors, and quakes.", (Rarity)2, (CardThemeColorType)0).Every(22.0, Do.Nova(30.0, 99.0), Do.Rain(5, 20.0), Do.Shake(75.0)); New("Olympus Has Fallen", "Enemies lose HP. Zeus throws one last bolt every 15s.", (Rarity)1, (CardThemeColorType)1).FoeHp(0.92).Every(15.0, Do.Thunder(35.0)); } private static void Food() { //IL_0416: Unknown result type (might be due to invalid IL or missing references) //IL_0579: Unknown result type (might be due to invalid IL or missing references) //IL_0608: Unknown result type (might be due to invalid IL or missing references) //IL_0f6d: Unknown result type (might be due to invalid IL or missing references) //IL_10e0: Unknown result type (might be due to invalid IL or missing references) //IL_1256: Unknown result type (might be due to invalid IL or missing references) //IL_12b7: Unknown result type (might be due to invalid IL or missing references) //IL_198b: Unknown result type (might be due to invalid IL or missing references) //IL_1a47: Unknown result type (might be due to invalid IL or missing references) //IL_1b56: Unknown result type (might be due to invalid IL or missing references) New("Gas Station Sushi", "Big buff. Every 12s, phase two: you take 10 and spew poison.", (Rarity)1, (CardThemeColorType)5).Dmg(1.5).Every(12.0, Do.HurtSelf(10.0), Do.Puddle(0.2, 8.0, 5.0, 3.0), Do.Say("the sushi has entered phase two")); New("Forbidden Mayonnaise", "Don't ask. Massive lifesteal. Hits glaze them, slowing.", (Rarity)2, (CardThemeColorType)3).Life(0.7).Move(0.9).OnHit(0.3, Do.SlowT(0.75, 2.0)) .Cd(2.0); New("Unseasoned Chicken", "Bland and reliable. Every 20s, a sprinkle of salt (zap).", (Rarity)0, (CardThemeColorType)3).Hp(1.12).Every(20.0, Do.Zap(15.0, 0), Do.Say("*one grain of salt*")); New("Spicy Water", "It's seltzer. Bullets fizz and wobble. You feel alive.", (Rarity)0, (CardThemeColorType)7).Move(1.08).Rate(0.95).Wavy(10.0, 15.0); New("Ghost Pepper", "Every hit sets them on fire. 30% of the time, you too.", (Rarity)1, (CardThemeColorType)0).Dmg(1.4).OnHit(Do.Burn(10.0, 3.0)).Cd(1.0) .OnDeal(0.3, Do.HurtSelf(4.0)); New("Carolina Reaper", "Below 50% HP you hit a 7: fire nova and a 5s burning aura.", (Rarity)2, (CardThemeColorType)0).OnLow(0.5, Do.Nova(50.0, 12.0), Do.Aura(25.0, 6.0, 5.0), Do.BuffMove(1.5, 4.0)); New("Milk", "Below 40% HP, relief from everything. Calms the burn.", (Rarity)0, (CardThemeColorType)3).OnLow(0.4, Do.HealPct(0.35), Do.Mend(6.0, 3.0)); New("Expired Milk", "Below 40% HP: you blow up in a toxic cloud. Everyone suffers.", (Rarity)1, (CardThemeColorType)5).OnLow(0.4, Do.Nova(40.0, 10.0), Do.Puddle(0.4, 10.0, 8.0, 4.0), Do.HurtSelf(10.0)); New("Pineapple Pizza", "Divisive. Hits disgust them so much they move slower.", (Rarity)0, (CardThemeColorType)1).FoeMove(0.95).OnHit(0.25, Do.SlowT(0.7, 2.0)).Cd(2.0); New("Deep Dish", "Full, slow, glad. Landings splash hot cheese around you.", (Rarity)0, (CardThemeColorType)0).Hp(1.5).Move(0.82).OnLand(Do.Puddle(0.3, 6.0, 4.0, 2.0, Shapes.Holy)) .Cd(2.0); New("Thin Crust", "Small, crispy, quick. Bullets are thin and fast.", (Rarity)0, (CardThemeColorType)1).Size(0.85).Move(1.15).Hp(0.9) .Accel(2.0, 2.0); New("Stuffed Crust", "Secretly more health. Kills reveal the hidden cheese (heal).", (Rarity)0, (CardThemeColorType)1).Hp(1.3).Size(1.1).OnKill(Do.HealPct(0.3)); New("Cold Pizza Breakfast", "Full heal at the start of every battle. Breakfast of champions.", (Rarity)0, (CardThemeColorType)0).OnStart(Do.HealPct(1.0), Do.Say("breakfast of champions")).Regen(1.0); New("Hot Dog Water", "Don't drink it. Big regen. Landings splash it on people.", (Rarity)0, (CardThemeColorType)6).Regen(6.0).Jump(0.8).OnLand(Do.Puddle(0.3, 0.0, 4.0, 2.0, Shapes.Toxic)) .Cd(2.0); New("Taco Tuesday", "Every 7s a speed burst. Kills drop a salsa fire puddle.", (Rarity)0, (CardThemeColorType)1).Every(7.0, Do.BuffMove(1.5, 2.0)).OnKill(Do.Puddle(0.0, 12.0, 4.0, 3.0, Shapes.Fire)); New("Taco Bell Express", "Shooting launches you backward in a toxic cloud. Unstoppable.", (Rarity)1, (CardThemeColorType)4).OnShoot(Do.Dash(-14.0), Do.Puddle(0.0, 5.0, 2.0, 1.5)).Cd(0.6).Rate(0.85); New("Bean Burrito", "Every shot gives a gentle boost upward. Lingering consequences.", (Rarity)0, (CardThemeColorType)6).OnShoot(Do.Launch(11.0)).Cd(0.3).Grav(0.9) .Every(6.0, Do.Puddle(0.2, 4.0, 3.0, 3.0)); New("Beano", "Removes side effects. Slight regen. Hits taken cleanse with a heal.", (Rarity)0, (CardThemeColorType)5).Regen(2.0).OnHurt(0.2, Do.Heal(10.0)).Cd(3.0); New("Spoonful Of Cinnamon", "Bad idea. Blocks puff a blinding, choking cloud.", (Rarity)0, (CardThemeColorType)6).OnBlock(Do.Frost(0.5, 9.0), Do.Hex(1.0), Do.HurtSelf(3.0)).Cd(2.0); New("Laundry Pod", "Do not. Huge damage. Bullets are bubbly and wavy. Lose HP. Do not.", (Rarity)1, (CardThemeColorType)8).Dmg(1.7).Every(5.0, Do.HurtSelf(6.0)).Wavy(20.0, 10.0); New("Raw Cookie Dough", "You were warned. Worth it. Hits make them sticky and slow.", (Rarity)0, (CardThemeColorType)1).Hp(1.2).OnHurt(0.1, Do.StunSelf(0.3)).OnHit(0.2, Do.Chill(0.3)) .Cd(2.0); New("Fruitcake", "Indestructible. Nobody wants you here. Landings thud and stun.", (Rarity)1, (CardThemeColorType)6).Hp(2.0).Dmg(0.75).Move(0.9) .OnLand(Do.Stun(0.3, 5.0)) .Cd(3.0); New("Soggy Cereal", "You waited too long. Heal slow, shoot slow, bullets droop.", (Rarity)0, (CardThemeColorType)7).Regen(5.0).Rate(1.15).BGrav(1.5); New("Cereal With Water", "We're out of milk. Deranged damage. Bullets zigzag in horror.", (Rarity)1, (CardThemeColorType)7).Dmg(1.3).Zigzag(0.2).Note("Why", "Would you"); New("Crunch Wrap", "A hexagon of protection. Blocks fold six saws around you.", (Rarity)1, (CardThemeColorType)1).BlockCd(0.85).OnBlock(Do.SawBlades(6, 8.0, 2.0)).Cd(5.0); New("Protein Bar", "Tastes like drywall. +HP. Hits knock them back harder.", (Rarity)0, (CardThemeColorType)6).Hp(1.2).Knock(1.4); New("Drywall", "Tastes like a protein bar. +More HP. You are basically a wall.", (Rarity)0, (CardThemeColorType)3).Hp(1.35).Move(0.9).OnHurt(0.2, Do.Push(20.0, 5.0)) .Cd(2.0); New("Kale Smoothie", "Self-righteous regen. Every 15s you tell everyone about it.", (Rarity)0, (CardThemeColorType)5).Regen(4.0).Every(15.0, Do.Mend(6.0, 3.0), Do.Say("I'm on a cleanse")); New("Wheatgrass Shot", "Quick and awful. Faster gun, and every hit is a tiny leech.", (Rarity)0, (CardThemeColorType)5).Regen(2.0).Rate(0.9).OnHit(0.2, Do.Leech(3.0)) .Cd(1.0); New("Five Hour Energy", "Five seconds of energy every 15 seconds. Bullets accelerate.", (Rarity)0, (CardThemeColorType)1).Every(15.0, Do.BuffMove(1.5, 5.0), Do.BuffRate(0.75, 5.0)).Accel(1.5, 2.0); New("Nine Coffees", "Your hands are vibrating. Fire rate way up. Bullets jitter.", (Rarity)1, (CardThemeColorType)6).Rate(0.55).Spread(0.2).Hp(0.9) .Zigzag(0.08); New("Decaf Betrayal", "Enemies shoot slower and hits make them drowsy. Betrayal.", (Rarity)1, (CardThemeColorType)6).FoeRate(1.12).OnHit(0.2, Do.SlowT(0.7, 2.0)).Cd(3.0); New("Pumpkin Spice", "Orange, basic bullets. Hits give them seasonal burns.", (Rarity)0, (CardThemeColorType)1).Tint(1f, 0.55f, 0.1f).Dmg(1.08).OnHit(0.25, Do.Burn(6.0, 3.0)) .Cd(1.0); New("Avocado Toast", "This is why you can't afford a house. +HP. Kills: brunch heal.", (Rarity)0, (CardThemeColorType)5).Hp(1.25).Move(0.95).OnKill(Do.Heal(30.0)); New("Sourdough Starter", "Named Gerald. Every 10s Gerald grows you a little. Regen.", (Rarity)1, (CardThemeColorType)6).Regen(3.0).Hp(1.1).Every(10.0, Do.Inflate(1.1, 9.0)) .Note("Gerald", "Name"); New("Gluten", "It's in everything. Enemies are bloated. Hits bloat them more.", (Rarity)0, (CardThemeColorType)1).FoeSize(1.1).OnHit(0.2, Do.ShrinkT(1.25, 3.0)).Cd(3.0); New("Bread Stapled To A Tree", "Why. Nobody knows. Hits nail them in place briefly.", (Rarity)0, (CardThemeColorType)6).Knock(1.5).OnHit(0.15, Do.Freeze(0.5)).Cd(3.0) .Note("Why", "Is it there"); New("Sandwich In The Toaster", "Don't. Block sets everything nearby on fire.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.Nova(20.0, 7.0), Do.Aura(15.0, 7.0, 2.0)).Cd(3.0); New("Fork In The Toaster", "Every 10s you electrocute yourself and arc to everyone nearby.", (Rarity)1, (CardThemeColorType)1).Every(10.0, Do.Zap(30.0, 4), Do.HurtSelf(8.0), Do.Shake(40.0)); New("Gum Under The Desk", "Sticky bullets. Hits glue them in a gum puddle.", (Rarity)0, (CardThemeColorType)8).Drag(2.5).OnHit(0.35, Do.Puddle(0.6, 0.0, 2.5, 3.0, Shapes.Heal)).Cd(2.0); New("Swallowed Gum", "Stays with you for seven years. +Respawn. -Damage.", (Rarity)2, (CardThemeColorType)8).Respawns(1).Dmg(0.75).OnRevive(Do.Say("it stayed for seven years"), Do.Heal(20.0)); New("Mystery Meat", "Every 8s, something happens. Don't ask. It was possum.", (Rarity)0, (CardThemeColorType)0).Every(8.0, Do.OneOf(Do.Heal(30.0), Do.HurtSelf(12.0), Do.BuffDmg(1.5, 3.0), Do.Poison(8.0, 3.0), Do.Meteor(30.0, 4.0), Do.Say("it was possum"))); New("Cafeteria Pudding", "Soft. Slow. Blocks heal and leave a slowing pudding puddle.", (Rarity)0, (CardThemeColorType)6).OnBlock(Do.Heal(10.0), Do.Puddle(0.5, 0.0, 4.0, 3.0, Shapes.Holy)).Cd(3.0); New("School Pizza", "Rectangular. Greatest food in history. Kills: second helping.", (Rarity)1, (CardThemeColorType)1).Hp(1.25).Dmg(1.15).Move(1.05) .OnKill(Do.HealPct(0.25)); New("Chicken Nugget Dinosaur", "Rawr. Tiny, beloved, and every 8s it roars (stun).", (Rarity)0, (CardThemeColorType)1).Size(0.85).Dmg(1.12).Every(8.0, Do.Stun(0.3, 6.0), Do.Say("RAWR")); New("Dino Nugget Bulk Pack", "So many nuggets. So many bullets. They swarm and home.", (Rarity)1, (CardThemeColorType)1).Bullets(3).Dmg(0.5).Ammo(4) .Homing(90.0); New("Sauce Packet", "Block squirts sauce everywhere: scatter and slowing puddle.", (Rarity)0, (CardThemeColorType)0).OnBlock(Do.Scatter(22.0, 9.0), Do.Puddle(0.4, 0.0, 5.0, 2.0, Shapes.Blood)).Cd(2.0); New("Mustard Gas Station", "It's a gas station that sells mustard. A yellow aura of poison.", (Rarity)1, (CardThemeColorType)5).Every(6.0, Do.Aura(8.0, 8.0, 6.0, Shapes.Holy)); New("Half A Sandwich", "Someone ate half. Hits steal the other half back from them.", (Rarity)0, (CardThemeColorType)6).Hp(1.1).OnHit(0.2, Do.Leech(5.0)).Cd(1.0); New("Sad Desk Salad", "Eaten alone at 1 PM. Reloads heal. Nobody notices.", (Rarity)0, (CardThemeColorType)5).OnReload(Do.Heal(8.0)).Move(0.97); New("Ketchup On Steak", "The enemy's chef weeps. Hits weaken them with sorrow.", (Rarity)1, (CardThemeColorType)0).FoeDmg(0.92).OnHit(0.25, Do.WeakenT(0.8, 3.0)).Cd(3.0); New("Well-Done Steak", "Absolutely cooked. +Damage. Hits char them (burn).", (Rarity)0, (CardThemeColorType)0).Dmg(1.2).Hp(0.92).OnHit(0.3, Do.Burn(7.0, 3.0)) .Cd(1.0); New("Medium Rare", "Perfection. +10% to most things. Hits bleed, just a little.", (Rarity)0, (CardThemeColorType)0).Dmg(1.1).Hp(1.1).Reload(0.9) .OnHit(0.2, Do.Bleed(4.0, 3.0)) .Cd(1.0); New("Blue Cheese Bullets", "They smell. Hits poison and slow.", (Rarity)0, (CardThemeColorType)7).OnHit(0.35, Do.Poison(5.0, 3.0), Do.Chill(0.25)).Cd(1.5).Dmg(1.05); New("String Cheese", "Peeling it is half the fun. Bullets bounce and wave.", (Rarity)0, (CardThemeColorType)1).Bounces(2).Speed(1.1).Wavy(15.0, 10.0); New("Cheese Wheel", "Rolling damage. Huge, heavy bullet that explodes on contact.", (Rarity)1, (CardThemeColorType)1).BSize(1.5).Speed(0.8).BGrav(1.3) .Dmg(1.2) .Rockets(25.0); New("Nacho Average Card", "Slightly better than average. Hits are cheesy (tiny burn).", (Rarity)0, (CardThemeColorType)1).Dmg(1.09).Move(1.04).OnHit(0.2, Do.Burn(4.0, 2.0)) .Cd(1.0); New("Lettuce Pray", "Get hit: 40% chance a holy light heals you and smites them.", (Rarity)0, (CardThemeColorType)5).OnHurt(0.4, Do.Heal(15.0), Do.Thunder(12.0)).Cd(2.0); New("Olive Garden Breadsticks", "When you're here, you're family. Endless healing fields.", (Rarity)1, (CardThemeColorType)6).Every(5.0, Do.Mend(6.0, 4.0)); New("Waffle House Shift", "On death, a brawl: everyone stunned and blown back.", (Rarity)1, (CardThemeColorType)1).OnDeath(Do.Stun(1.0, 12.0), Do.Nova(40.0, 12.0), Do.Push(40.0, 12.0)); New("Waffle House Star", "Can't be stopped. Kills restore your shift energy (heal + speed).", (Rarity)2, (CardThemeColorType)1).Dmg(1.4).Hp(1.3).OnKill(Do.HealPct(0.3), Do.BuffMove(1.4, 4.0)); New("Mall Pretzel", "Salty and overpriced. Bullets twist into spirals.", (Rarity)0, (CardThemeColorType)6).FoeJump(0.9).Spiral(360.0, 2.0); New("Corn Dog", "Food on a stick. Stick damage. Hits poke them upward.", (Rarity)0, (CardThemeColorType)1).Knock(1.4).Dmg(1.1).OnHit(0.2, Do.LaunchT(18.0)) .Cd(1.0); New("Fried Everything", "Bullets are golden, greasy, fast, and set things on fire.", (Rarity)1, (CardThemeColorType)1).Tint(0.95f, 0.75f, 0.2f).Drag(-0.3).Speed(1.25) .OnHit(0.3, Do.Burn(7.0, 2.0)) .Cd(1.0); New("Deep Fried Butter", "Big damage. Every 6s your heart skips (0.2s stun).", (Rarity)1, (CardThemeColorType)1).Dmg(1.6).Every(6.0, Do.StunSelf(0.2), Do.Say("*heart skips*")); New("Butter Stick", "Eaten like a banana. Slippery movement. Enemies slip on hits.", (Rarity)0, (CardThemeColorType)1).Move(1.3).Drag(-0.2).OnHit(0.2, Do.LaunchT(20.0)) .Cd(2.0); New("Soup Is A Drink", "Hot take. Empty mag: heal 20 and splash scalding soup.", (Rarity)0, (CardThemeColorType)0).OnEmpty(Do.Heal(20.0), Do.Puddle(0.0, 10.0, 4.0, 2.0, Shapes.Fire)).Cd(3.0); New("Cereal Is Soup", "Hotter take. Blocks freeze everyone near you in disbelief.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.Stun(0.4, 7.0), Do.Say("cereal is soup")).Cd(3.0); New("Hot Dog Is A Taco", "Heresy. Every 10s you teleport. The old spot burns.", (Rarity)0, (CardThemeColorType)1).Every(10.0, Do.Puddle(0.0, 10.0, 3.0, 3.0, Shapes.Fire), Do.Hop(10.0)).Dmg(1.1); New("Pop-Tart, Unfrosted", "Why would they make this. Slight HP. That's it. Truly.", (Rarity)0, (CardThemeColorType)3).Hp(1.08).Note("Why", "Though"); New("Molten Pop-Tart Center", "Touching it burns. Hit taken: the attacker catches fire.", (Rarity)1, (CardThemeColorType)0).OnHurt(Do.Burn(10.0, 3.0), Do.Nova(10.0, 5.0)).Cd(1.5); New("Microwaved Fish", "Everyone in the building hates you. A permanent stink aura.", (Rarity)1, (CardThemeColorType)7).FoeMove(0.92).Every(4.0, Do.Aura(4.0, 6.0, 4.0, Shapes.Toxic)); New("Microwave Popcorn", "Every 5s pop pop pop: fireworks of tiny explosions.", (Rarity)0, (CardThemeColorType)1).Every(5.0, Do.Fireworks(5, 6.0)); New("Burnt Popcorn", "The fire alarm's going off. Big stun and everything burns.", (Rarity)1, (CardThemeColorType)0).Every(14.0, Do.Stun(0.5, 16.0), Do.Aura(10.0, 10.0, 2.0), Do.Say("BEEP BEEP BEEP")); New("Sour Patch Cards", "First they're sour (hits poison). Then they're sweet (hits heal you).", (Rarity)0, (CardThemeColorType)5).OnHit(0.25, Do.OneOf(Do.Poison(6.0, 3.0), Do.Heal(8.0))).Cd(1.0); New("Candy Corn", "Nobody likes it. Nobody can get rid of it. Respawn-ish HP.", (Rarity)0, (CardThemeColorType)1).Hp(1.15).OnLow(0.2, Do.HealPct(0.2), Do.Say("it's still here")).Note("Yes", "Unwanted"); New("Warheads Challenge", "Your face does a thing. Hits make THEIR face do a thing (stun).", (Rarity)0, (CardThemeColorType)5).OnHit(0.15, Do.Freeze(0.3)).Cd(2.0).Dmg(1.15); New("Pop Rocks And Soda", "Urban legend. On death: a huge fizzy explosion and fireworks.", (Rarity)1, (CardThemeColorType)8).OnDeath(Do.Nova(70.0, 12.0), Do.Push(40.0, 12.0), Do.Fireworks(6, 15.0)); New("Cinnamon Roll Boy", "Too pure for this world. Heals everyone near you. Even them.", (Rarity)0, (CardThemeColorType)8).Regen(4.0).Dmg(0.85).Hp(1.1) .Every(10.0, Do.Mend(8.0, 3.0)); New("Beef Jerky", "Tough. Chewy. Damage you take spreads out over time.", (Rarity)0, (CardThemeColorType)6).Hp(1.25).Dot(1.5); New("Beef Between Players", "Get hit and you mark the attacker. Now it's personal.", (Rarity)1, (CardThemeColorType)0).OnHurt(Do.MarkT(0.4, 5.0), Do.Say("oh it's beef now")).Cd(5.0); New("Lunchable", "Assemble it yourself: a mini turret, a heal, and +1 ammo.", (Rarity)0, (CardThemeColorType)1).Size(0.9).Regen(2.0).Ammo(1) .Every(14.0, Do.Turret(6.0, 5.0)); New("Capri Sun Straw Stab", "Failed four times. Hits pierce: they bleed.", (Rarity)0, (CardThemeColorType)1).FoeReload(1.1).OnHit(0.25, Do.Bleed(6.0, 3.0)).Cd(1.0); New("Juice Box", "A small refreshment. Reloads give a sugar rush.", (Rarity)0, (CardThemeColorType)8).Reload(0.88).OnReload(Do.BuffMove(1.25, 2.0)); New("Sippy Cup", "Spillproof block. Blocks heal 10.", (Rarity)0, (CardThemeColorType)2).BlockCd(0.88).BlockHeal(10.0); New("Baby Food Diet", "Tiny body. Big health somehow. Bullets are tiny too.", (Rarity)1, (CardThemeColorType)8).Size(0.8).Hp(1.25).BSize(-0.1) .Rate(0.85); New("Eat The Rich", "Hits leech, and chip a slice of their max HP. Kills: feast.", (Rarity)1, (CardThemeColorType)0).OnHit(0.4, Do.Leech(5.0)).Cd(1.0).PctDmg(0.04) .OnKill(Do.HealPct(0.4)); New("Eat Your Vegetables", "Your mother is right. Regen. Every 20s she checks on you.", (Rarity)0, (CardThemeColorType)5).Regen(2.5).Hp(1.05).Every(20.0, Do.Heal(15.0), Do.Say("did you eat your vegetables")); New("Bottomless Fries", "Ammo, ammo, ammo. Empty mag? Free refill.", (Rarity)0, (CardThemeColorType)1).Ammo(8).Dmg(0.9).OnEmpty(0.5, Do.Refill) .Cd(5.0); New("Ball Pit Nachos", "Nobody knows how long these have been here. Poison bullets.", (Rarity)0, (CardThemeColorType)1).Every(12.0, 0.3, Do.HurtSelf(15.0)).Dmg(1.15).OnHit(0.3, Do.Poison(6.0, 3.0)) .Cd(1.0); New("Grandma's Cooking", "Below 40% HP, she heals 60% and tells you you're thin.", (Rarity)1, (CardThemeColorType)8).OnLow(0.4, Do.HealPct(0.6), Do.Mend(8.0, 3.0), Do.Say("you look thin")); New("Grandma's Hard Candy", "Unknown age. Hits stick them in place (slow).", (Rarity)0, (CardThemeColorType)8).Hp(1.1).OnHit(0.2, Do.SlowT(0.6, 2.0)).Cd(2.0); New("Thanksgiving Coma", "Below 30% HP: full heal. Then you fall asleep for 1.2 seconds.", (Rarity)1, (CardThemeColorType)6).OnLow(0.3, Do.HealPct(1.0), Do.StunSelf(1.2), Do.Say("zzz")); New("Leftovers", "Reloads have a 35% chance to heal 30. Still good. Probably.", (Rarity)0, (CardThemeColorType)6).OnReload(0.35, Do.Heal(30.0)); New("Food Poisoning", "Hits poison them and they slow down to find a bathroom.", (Rarity)1, (CardThemeColorType)5).OnHit(0.4, Do.Poison(8.0, 4.0), Do.SlowT(0.8, 2.0)).Cd(1.5).Tint(0.5f, 0.8f, 0.1f); New("Five Second Rule", "Landing has a 50% chance to rearm your block. Mostly clean.", (Rarity)1, (CardThemeColorType)6).OnLand(0.5, Do.RearmBlock).Cd(2.0); New("Bread Of Destiny", "It's prophesied. Big damage. Kills summon holy light.", (Rarity)2, (CardThemeColorType)1).Dmg(1.7).Hp(1.1).OnKill(Do.Thunder(70.0)) .Note("Yes", "Prophesied"); New("Soup Of The Day", "Every battle starts with a random 12s buff. Today it's clam.", (Rarity)0, (CardThemeColorType)0).OnStart(Do.OneOf(Do.BuffDmg(1.4, 12.0), Do.BuffMove(1.4, 12.0), Do.BuffRate(0.7, 12.0), Do.BuffJump(1.5, 12.0)), Do.SayAny("today: clam", "today: tomato", "today: mystery")); New("Chef's Kiss", "Accurate bullets. Kills get a little kiss from the chef.", (Rarity)0, (CardThemeColorType)8).Dmg(1.15).Spread(-0.05).OnKill(Do.Confetti(8), Do.Say("*chef's kiss*")); } private static void Gamers() { New("Git Gud", "Hits mark the target. Kills tell them to git gud.", (Rarity)0, (CardThemeColorType)0).Dmg(1.12).OnHit(0.25, Do.MarkT(0.25, 3.0)).Cd(2.0) .OnKill(Do.Say("git gud")); New("Press Any Key", "Where's the any key? Faster reload, and reloads zap someone.", (Rarity)0, (CardThemeColorType)3).Reload(0.8).OnReload(Do.Zap(12.0, 0)).Cd(2.0); New("Noob Tube", "Huge, slow, lobbed bullets that explode on hit. Shameless.", (Rarity)1, (CardThemeColorType)1).BSize(1.0).Speed(0.65).BGrav(1.6) .Dmg(1.2) .Rockets(40.0, 5.5); New("Camper", "You don't move. Every 8s you drop a turret on your spot.", (Rarity)1, (CardThemeColorType)6).Move(0.7).Dmg(1.35).Falloff(1.4) .Every(8.0, Do.Turret(10.0, 7.0)); New("Spawn Camper", "First 5s of each battle: triple damage and an airstrike on spawn.", (Rarity)2, (CardThemeColorType)0).OnStart(Do.BuffDmg(2.5, 5.0), Do.Airstrike(4, 30.0)); New("Teabag", "Every landing tells them what you think. And drops a mine.", (Rarity)0, (CardThemeColorType)8).OnLand(0.3, Do.Mine(20.0, 3.0), Do.Say("*crouches repeatedly*")).Cd(5.0).Jump(1.2); New("360 No Scope", "Bullets spin out in a full circle, then go for the kill.", (Rarity)2, (CardThemeColorType)1).Orbit(720.0, 0.5).Speed(1.6).Dmg(1.2); New("Aimbot Allegations", "Your bullets hard-lock onto people. Very suspicious.", (Rarity)2, (CardThemeColorType)3).Homing(500.0).Dmg(0.85).FoeHp(1.05); New("Smurf Account", "Started from level 1, somehow very good. Kills: hop away.", (Rarity)1, (CardThemeColorType)8).Size(0.85).Dmg(1.3).Reload(0.85) .OnKill(Do.Hop(10.0), Do.Say("ez")); New("Hardstuck Bronze", "Solid, unremarkable, forever. Every 20s, a bronze participation heal.", (Rarity)0, (CardThemeColorType)6).Hp(1.2).Regen(1.0).Every(20.0, Do.Heal(20.0), Do.Say("hardstuck")); New("Thrown Controller", "Below 30% HP: throw a fit. Controller hits the nearest foe (stun).", (Rarity)0, (CardThemeColorType)0).OnLow(0.3, Do.Push(40.0, 12.0), Do.Freeze(1.0), Do.Shake(50.0)); New("Mom Says Dinner", "Every 30s everybody stops for dinner. You get dessert (heal).", (Rarity)1, (CardThemeColorType)8).Every(30.0, Do.Stun(0.6, 99.0), Do.StunSelf(0.4), Do.Heal(25.0), Do.Say("DINNER IS READY")).Dmg(1.3); New("Mom Unplugged The WiFi", "Every 12s the nearest enemy lags out: rewound, frozen, confused.", (Rarity)1, (CardThemeColorType)8).FoeRate(1.1).Every(12.0, Do.Freeze(0.8), Do.Hex(1.0)); New("Day One Patch", "Fixes everything. Small bonus to most stats. Bullets stabilized.", (Rarity)0, (CardThemeColorType)3).Dmg(1.06).Hp(1.06).Reload(0.94) .Spread(-0.05); New("Season Pass", "More content later: every 25s an unlock (random effect).", (Rarity)0, (CardThemeColorType)1).Ammo(4).Every(25.0, Do.OneOf(Do.Turret(10.0, 6.0), Do.SawBlades(3, 12.0, 5.0), Do.Orbital(50.0), Do.Mend(10.0, 4.0))); New("Microtransactions", "Shots cost 1 HP. Bullets home in. Pay to win.", (Rarity)1, (CardThemeColorType)1).OnShoot(Do.HurtSelf(1.0)).Dmg(1.4).Homing(90.0); New("Pay To Win", "Everything up, and every 15s a premium orbital strike.", (Rarity)2, (CardThemeColorType)1).Dmg(1.3).Hp(1.3).Move(1.1) .Every(15.0, Do.Orbital(55.0)) .Note("$99", "Cost", good: false); New("Battle Pass Grind", "Every 10s a tier reward: heal, damage, or a turret.", (Rarity)0, (CardThemeColorType)1).Every(10.0, Do.OneOf(Do.Heal(15.0), Do.BuffDmg(1.3, 4.0), Do.Turret(6.0, 4.0))); New("Loot Goblin", "Run. Hits taken make you faster and drop gold (mines).", (Rarity)0, (CardThemeColorType)1).OnHurt(Do.BuffMove(1.5, 2.0), Do.Mine(20.0, 3.0)).Cd(2.0).Size(0.9); New("Escort Mission", "Everyone walks slow. A turret follows you around (sort of).", (Rarity)1, (CardThemeColorType)3).FoeMove(0.85).Move(0.9).Dmg(1.2) .Every(9.0, Do.Turret(8.0, 6.0)); New("Water Level", "Everyone hates this. Enemies float and every 10s a whirlpool opens.", (Rarity)1, (CardThemeColorType)2).FoeGrav(0.75).FoeJump(0.85).Every(10.0, Do.BlackHole(25.0, 7.0, 3.0)); New("Boss Music Starts", "Below 50% HP: PHASE TWO. Damage, fire rate, saw blades, and rain.", (Rarity)2, (CardThemeColorType)0).OnLow(0.5, Do.BuffDmg(1.8, 10.0), Do.BuffRate(0.7, 10.0), Do.SawBlades(4, 18.0, 10.0), Do.Rain(6, 25.0), Do.Say("PHASE TWO")); New("Quicksave", "Below 25% HP: load your quicksave (rewind 4s, heal 30%).", (Rarity)2, (CardThemeColorType)3).OnLow(0.25, Do.Rewind(4.0), Do.HealPct(0.3), Do.Say("quickload")); New("Cheat Code", "Up up down down. +Damage +HP +Speed. Bullets home in.", (Rarity)2, (CardThemeColorType)3).Dmg(1.25).Hp(1.25).Move(1.2) .Homing(100.0); New("Clipping Through Floor", "Bullets phase through walls. Every 12s you clip somewhere.", (Rarity)0, (CardThemeColorType)3).Every(12.0, Do.Hop(8.0)).Phase().Dmg(0.8); New("Hitbox Moment", "Enemies get bigger. Your bullets get bigger. That counted.", (Rarity)0, (CardThemeColorType)0).FoeSize(1.1).BSize(0.3); New("RNGesus", "Hits have a 20% chance of divine intervention: smite, heal, or freeze.", (Rarity)1, (CardThemeColorType)1).OnHit(0.2, Do.OneOf(Do.Thunder(40.0), Do.Heal(30.0), Do.Freeze(0.8))).Cd(2.0); New("Tank Main", "You stand in front. Block taunts: yanks everyone toward you.", (Rarity)1, (CardThemeColorType)2).Hp(1.8).Move(0.85).Dmg(0.9) .OnBlock(Do.Pull(35.0, 14.0), Do.Say("I'm the tank")) .Cd(4.0); New("Healer Main", "Every 8s a healing field. Yes, the enemies get some too.", (Rarity)0, (CardThemeColorType)8).Every(8.0, Do.Mend(12.0, 3.0), Do.HealFoes(8.0, 12.0)).Dmg(0.95); New("Jungle Diff", "Every 15s you gank: blink to the nearest foe and stun them.", (Rarity)1, (CardThemeColorType)5).Every(15.0, Do.Swap, Do.Freeze(0.6), Do.Say("jungle diff")).Dmg(1.15); New("FF At 15", "On death, a surrender vote nobody passes. And an airstrike.", (Rarity)0, (CardThemeColorType)7).OnDeath(Do.Airstrike(3, 25.0), Do.Say("/ff")).Dmg(1.15); New("Mic Spammer", "Every 20s an airhorn: shaky screens and everyone near you silenced.", (Rarity)0, (CardThemeColorType)0).Every(20.0, Do.Shake(55.0), Do.Silence(1.0, 14.0), Do.Say("*airhorn*")).Reload(0.88); New("Ping 999", "Get hit and you lag: rewind 1.5 seconds. Your connection is bad.", (Rarity)1, (CardThemeColorType)0).OnHurt(0.3, Do.Rewind(1.5)).Cd(3.0).Stutter(0.3, 0.15); New("Packet Loss", "Bullets stutter mid-flight but hit harder when they arrive.", (Rarity)0, (CardThemeColorType)0).Stutter(0.25, 0.15).Dmg(1.3); New("Desync", "Every 5s you're somewhere slightly different. So are your bullets.", (Rarity)1, (CardThemeColorType)3).Every(5.0, Do.Hop(4.0)).Move(1.2).Zigzag(0.2); New("Frame Drop", "Every 15s, everyone slows to 5 FPS. Bullets stutter.", (Rarity)0, (CardThemeColorType)3).Every(15.0, Do.Frost(0.8, 99.0)).Rate(0.9).Stutter(0.5, 0.1); New("Potato Graphics", "Bullets look like garbage. They work. Hits explode in pixels.", (Rarity)0, (CardThemeColorType)6).Tint(0.5f, 0.45f, 0.3f).Dmg(1.1).OnHit(0.15, Do.Confetti(4), Do.Boom(12.0, 2.0)) .Cd(1.0); New("RTX On", "Ray-traced bullets: they bounce off walls perfectly and fire lasers.", (Rarity)1, (CardThemeColorType)3).Tint(0.7f, 1f, 0.9f).Dmg(1.2).Rate(1.15) .Bounces(2) .OnReload(Do.Laser(30.0)) .Cd(3.0); New("RGB Adds FPS", "Scientifically correct. Fire rate up. Kills throw RGB fireworks.", (Rarity)0, (CardThemeColorType)8).Rate(0.8).Tint(1f, 0f, 0.7f).OnKill(Do.Fireworks(6, 10.0)); New("Gamer Chair", "Ten thousand dollars of comfort. Regen, and you spin (saws).", (Rarity)1, (CardThemeColorType)0).Regen(6.0).Hp(1.1).Every(12.0, Do.SawBlades(2, 12.0, 4.0)); New("Gamer Fuel", "Neon green, unregulated. Fast everything. Shots leave toxic drips.", (Rarity)0, (CardThemeColorType)5).Move(1.15).Rate(0.85).Reload(0.9) .Hp(0.85) .OnHit(0.2, Do.Poison(4.0, 3.0)) .Cd(1.0); New("Cable Management", "None. Every 10s a cable trips the nearest enemy (launch + slow).", (Rarity)0, (CardThemeColorType)3).FoeMove(0.95).Every(10.0, Do.LaunchT(25.0), Do.SlowT(0.6, 2.0)); New("Streamer Mode", "Every 22s chat donates: random effect and a thank-you.", (Rarity)0, (CardThemeColorType)8).Every(22.0, Do.OneOf(Do.Meteor(40.0, 4.0), Do.Heal(30.0), Do.Fireworks(6, 10.0)), Do.SayAny("thanks for the sub", "POG", "chat is this real")).Dmg(1.12); New("Chat Decides", "Each block, chat picks something awful or wonderful.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.OneOf(Do.Heal(30.0), Do.HurtSelf(15.0), Do.Orbital(60.0), Do.Hop(12.0), Do.Launch(50.0), Do.Upsidedown(1.5), Do.BlackHole(30.0, 7.0, 3.0))).Cd(2.0); New("Backseat Chat", "Enemies lose accuracy. Every 12s chat Hexes the nearest one.", (Rarity)0, (CardThemeColorType)4).FoeSpread(0.08).Every(12.0, Do.Hex(1.0), Do.SayAny("just dodge", "skill issue", "L")); New("Frame Perfect", "Tiny block window, huge reward: perfect parries stun and buff you.", (Rarity)2, (CardThemeColorType)1).BlockCd(0.75).OnBlock(Do.BuffDmg(1.5, 1.5), Do.Freeze(0.5)).Hp(0.85); New("Min-Maxer", "One stat huge. Everything else ruined. Hits execute below 15%.", (Rarity)2, (CardThemeColorType)3).Dmg(2.2).Hp(0.55).Move(0.8) .OnHit(Do.Execute(0.15)); New("Ragdoll Physics", "Get hit and you go flying. So does the attacker.", (Rarity)0, (CardThemeColorType)3).OnHurt(0.5, Do.Launch(38.0), Do.LaunchT(30.0)).Cd(2.0).Hp(1.15); New("Open World Bug", "Every 14s gravity reverses. Bullets also fall upward.", (Rarity)1, (CardThemeColorType)4).Every(14.0, Do.Upsidedown(1.2)).Dmg(1.2).BGrav(0.2); New("Early Access", "Unfinished. Bullets bounce randomly and zigzag. Unstable.", (Rarity)0, (CardThemeColorType)3).BSize(0.4).RandomBounces(2).Zigzag(0.2) .OnShoot(0.05, Do.StunSelf(0.2)) .Cd(2.0); New("Abandoned Kickstarter", "All promise. Every 20s a stretch goal: a turret that dies fast.", (Rarity)0, (CardThemeColorType)1).Dmg(1.1).Every(20.0, Do.Turret(8.0, 2.0)).Note("+50%", "Promised damage", good: false); New("Steam Sale", "You saved 80%. Ammo up. Kills give you a free reload.", (Rarity)0, (CardThemeColorType)2).Ammo(4).Reload(0.95).OnKill(Do.Refill); New("Unplayed Library", "You own so much. +Max HP. Every 20s, launch a random game.", (Rarity)0, (CardThemeColorType)2).Hp(1.25).Every(20.0, Do.OneOf(Do.Shuffle, Do.Upsidedown(1.0), Do.Rain(3, 15.0))); New("Achievement Get", "Kills unlock achievements: fireworks and a 3s damage boost.", (Rarity)0, (CardThemeColorType)1).OnKill(Do.Fireworks(5, 10.0), Do.BuffDmg(1.3, 3.0), Do.SayAny("achievement: breathed", "achievement: existed", "achievement: shot a bullet")).Move(1.08); New("Silent Protagonist", "Immune to dialogue. Hits silence their dialogue too.", (Rarity)1, (CardThemeColorType)3).OnHit(0.2, Do.Hex(1.0)).Cd(3.0).Hp(1.1); New("Crouch Walk Forever", "Stealth section. Slow, big damage. Kills: vanish.", (Rarity)1, (CardThemeColorType)4).Move(0.72).Dmg(1.55).OnKill(Do.Hop(12.0)); New("Fetch Quest", "Every 12s, the nearest enemy is fetched to you and marked.", (Rarity)0, (CardThemeColorType)3).Every(12.0, Do.Yoink, Do.MarkT(0.3, 4.0)).Dmg(1.1); New("Tutorial Popup", "Press BLOCK to BLOCK. Blocks stun the nearest foe, just to show you.", (Rarity)0, (CardThemeColorType)7).BlockCd(0.85).OnBlock(Do.Freeze(0.3)).Cd(3.0) .OnStart(Do.Say("Press BLOCK to BLOCK")); New("Infinite Loading Screen", "Enemies reload longer. Every 15s, everyone near you buffers.", (Rarity)1, (CardThemeColorType)7).FoeReload(1.15).Every(15.0, Do.Stun(0.5, 12.0), Do.Say("loading...")); New("Corrupted Save", "Each battle, 40% chance you lose 25 HP. Big damage. Bullets glitch.", (Rarity)0, (CardThemeColorType)4).OnStart(Do.Maybe(0.4, Do.HurtSelf(25.0))).Dmg(1.35).Zigzag(0.3); New("New Game Plus", "Everything's better, enemies too. Kills drop meteors.", (Rarity)1, (CardThemeColorType)1).Dmg(1.35).Hp(1.35).FoeDmg(1.15) .FoeHp(1.15) .OnKill(Do.Rain(4, 20.0)); New("Hard Mode", "Enemies buffed. You get double damage and bullets accelerate.", (Rarity)2, (CardThemeColorType)0).Dmg(2.0).FoeHp(1.2).Accel(1.5, 2.0); New("Easy Mode", "Enemies nerfed. Bullets home in gently. Your dignity: gone.", (Rarity)1, (CardThemeColorType)8).FoeDmg(0.85).Homing(60.0).Note("None", "Dignity", good: false); New("Pause Menu Abuse", "Every 16s, everyone freezes. Except you.", (Rarity)2, (CardThemeColorType)3).Every(16.0, Do.Stun(0.6, 99.0), Do.Say("*paused*")); New("Alt-F4 Pro Tip", "Block teleports you far away and leaves a crater. Trust me.", (Rarity)1, (CardThemeColorType)3).OnBlock(Do.Nova(20.0, 5.0), Do.Hop(20.0)).Cd(3.0); New("Dark Souls Moment", "On death: YOU DIED. Your bloodstain becomes a trap (mine).", (Rarity)0, (CardThemeColorType)0).OnDeath(Do.Mine(50.0, 5.0), Do.Say("YOU DIED")).Dmg(1.15).Hp(0.95); New("Praise The Sun", "Every 18s: heal, pose, and holy light strikes the nearest.", (Rarity)0, (CardThemeColorType)1).Every(18.0, Do.HealPct(0.3), Do.Thunder(30.0), Do.Say("\\[T]/")); New("Sweaty Tryhard", "Every stat up a bit. Hits mark targets. Not fun at parties.", (Rarity)1, (CardThemeColorType)0).Dmg(1.12).Move(1.12).Reload(0.88) .BlockCd(0.88) .OnHit(0.15, Do.MarkT(0.2, 3.0)) .Cd(2.0); New("Bot Lobby", "Enemies are worse at everything. Every 10s they walk into a wall.", (Rarity)2, (CardThemeColorType)3).FoeDmg(0.9).FoeMove(0.9).FoeSpread(0.1) .Every(10.0, Do.Stun(0.4, 99.0)); } private static void Guns() { New("Pew Pew", "Small gun noises. Every 10th-ish shot crackles with static.", (Rarity)0, (CardThemeColorType)1).Rate(0.85).OnHit(0.12, Do.Zap(15.0, 1)).Cd(1.0); New("Big Iron", "On your hip. Slow to draw, and every hit stuns like a verdict.", (Rarity)1, (CardThemeColorType)1).Dmg(1.6).Rate(1.25).OnHit(0.35, Do.Freeze(0.4)) .Cd(1.5); New("Nerf This", "Foam darts that home in like they're angry about it.", (Rarity)0, (CardThemeColorType)8).Rate(0.5).Dmg(0.55).Ammo(4) .Homing(160.0); New("Marshmallow Rounds", "Soft, slow, toasted: hits set them gently on fire.", (Rarity)0, (CardThemeColorType)8).BSize(0.5).Speed(0.7).OnHit(0.4, Do.Burn(8.0, 3.0)) .Cd(1.0); New("Bowling Ball", "Huge bullet. Strikes explode and scatter the pins.", (Rarity)1, (CardThemeColorType)6).BSize(1.2).Dmg(1.4).Speed(0.6) .BGrav(1.5) .Rockets(30.0, 5.0); New("BB Gun", "You'll shoot your eye out. Hits have a 15% chance to Hex.", (Rarity)0, (CardThemeColorType)3).Rate(0.55).Dmg(0.5).BSize(-0.1) .Ammo(3) .OnHit(0.15, Do.Hex(0.7)) .Cd(2.0); New("Shotgun Wedding", "Six pellets. Kills throw a confetti reception.", (Rarity)1, (CardThemeColorType)0).Bullets(5).Spread(0.25).Dmg(0.45) .Rate(1.5) .OnKill(Do.Fireworks(8, 15.0)); New("Sniper's Regret", "Giant accelerating shot. Hits mark the target for 50% more damage.", (Rarity)2, (CardThemeColorType)7).Dmg(2.3).Ammo(-2).Reload(1.4) .Accel(3.0) .OnHit(Do.MarkT(0.5, 4.0)); New("Minigun Energy", "Fire rate goes brrr. Bullets wobble from the vibration.", (Rarity)2, (CardThemeColorType)1).Rate(0.3).Dmg(0.55).Ammo(10) .Wavy(10.0, 25.0); New("Money Printer", "Brrr. Every reload prints a turret and resets your block.", (Rarity)2, (CardThemeColorType)1).Rate(0.55).OnReload(Do.RearmBlock, Do.Turret(8.0, 4.0)).Cd(4.0) .Dmg(0.8); New("Boomerang Mode", "Bullets fly out and come back for a second helping.", (Rarity)1, (CardThemeColorType)6).Boomerang(0.5).Bounces(1).Dmg(1.1); New("Pinball Wizard", "Bullets bounce, speed up, and zap whatever they touch.", (Rarity)2, (CardThemeColorType)8).Bounces(5).BounceSpeed(1.2).Dmg(0.85) .OnHit(0.3, Do.Zap(12.0, 1)) .Cd(1.0); New("Trick Shot", "Bounces home in. Kills make you say something smug.", (Rarity)2, (CardThemeColorType)1).SmartBounces(2).Bounces(2).OnKill(Do.SayAny("nothing personnel", "get 360'd", "too easy")); New("Wall Hacks", "Bullets phase through walls and the enemy is always marked. Reported.", (Rarity)2, (CardThemeColorType)3).Phase().Dmg(0.85).Every(4.0, Do.MarkT(0.2, 4.0)); New("Warp Bullets", "Bullets wrap around portals and stutter between dimensions.", (Rarity)1, (CardThemeColorType)4).Portals(1).Speed(1.1).Stutter(0.3, 0.12); New("Blender Mode", "Bullets spin in tight spirals and bounce at random. Puree.", (Rarity)1, (CardThemeColorType)4).Spiral(700.0, 0.8).RandomBounces(4).Dmg(0.85); New("Gravity Rounds", "Heavy bullets. Hits open a tiny black hole.", (Rarity)1, (CardThemeColorType)6).BGrav(3.0).Dmg(1.25).VoidRounds(30.0); New("Zero-G Rounds", "Bullets ignore gravity and orbit for a moment before leaving.", (Rarity)0, (CardThemeColorType)7).BGrav(0.05).Orbit(360.0, 0.9).Speed(1.15); New("Railgun", "Very fast, very straight. Every shot also fires a laser.", (Rarity)2, (CardThemeColorType)7).Speed(3.0).Dmg(1.3).Reload(1.3) .Ammo(-1) .OnShoot(Do.Laser(25.0), Do.Shake(25.0)) .Cd(0.6); New("Lazy Bullets", "They stop for naps mid-flight, then hit really hard.", (Rarity)0, (CardThemeColorType)5).Stutter(0.4, 0.3).Dmg(1.45).Speed(0.8); New("Espresso Shot", "Bullets accelerate. Hits give you a jittery speed boost.", (Rarity)0, (CardThemeColorType)6).Accel(3.0, 2.5).OnHit(Do.BuffMove(1.2, 1.5)).Cd(1.0); New("Decaf", "Calm, accurate, and hits make them drowsy and slow.", (Rarity)0, (CardThemeColorType)6).Spread(-0.1).Dmg(1.15).OnHit(0.4, Do.SlowT(0.75, 2.0)) .Cd(2.0); New("Spray And Pray", "Wild spread, big mag. Prayer: 10% of hits call down holy thunder.", (Rarity)0, (CardThemeColorType)3).Rate(0.6).Spread(0.3).Ammo(5) .OnHit(0.1, Do.Thunder(30.0)) .Cd(2.0); New("Laser Pointer", "Block fires a real laser. The cat is not happy about it.", (Rarity)1, (CardThemeColorType)0).Spread(-0.2).Speed(1.4).OnBlock(Do.Laser(40.0)) .Cd(3.0); New("Thicc Bullets", "Wide rounds. Hits knock the target up into the air.", (Rarity)0, (CardThemeColorType)0).BSize(0.6).Dmg(1.1).OnHit(0.3, Do.LaunchT(22.0)) .Cd(1.5); New("Tiny Bullets", "Hard to see. Zigzag like a fly. Easy to underestimate.", (Rarity)0, (CardThemeColorType)3).BSize(-0.15).Speed(1.4).Rate(0.85) .Zigzag(0.12); New("Double Tap", "Two bursts per pull. Second hit in a row bleeds them.", (Rarity)1, (CardThemeColorType)1).Bursts(1).Dmg(0.7).OnHit(0.3, Do.Bleed(8.0, 3.0)) .Cd(1.0); New("Triple Threat", "Three bursts. Every hit has a chance to chain lightning.", (Rarity)1, (CardThemeColorType)0).Bursts(2).Dmg(0.55).Reload(1.2) .OnHit(0.2, Do.Zap(12.0, 2)) .Cd(1.0); New("Burst Fire Blues", "Bursts with sadness. Hits make the target blue (frozen).", (Rarity)0, (CardThemeColorType)7).Bursts(1).Rate(1.2).Dmg(0.8) .OnHit(0.2, Do.Freeze(0.5)) .Cd(2.0); New("Extended Mag", "More bullets. Running dry drops a mine as a tip.", (Rarity)0, (CardThemeColorType)1).Ammo(5).OnEmpty(Do.Mine(30.0, 4.0)).Cd(5.0); New("Drum Mag", "Too many bullets. Reloads spin out a saw blade ring.", (Rarity)1, (CardThemeColorType)1).Ammo(15).Reload(1.5).OnReload(Do.SawBlades(3, 12.0, 3.0)) .Cd(5.0); New("Six Shooter", "Six rounds. Empty mag fans the hammer: lightning to the nearest foe.", (Rarity)1, (CardThemeColorType)6).Ammo(3).Dmg(1.1).OnEmpty(Do.Zap(30.0, 2)) .Cd(3.0); New("One In The Chamber", "One shot, instant reload, and it homes in. Make it count.", (Rarity)2, (CardThemeColorType)0).Ammo(-3).Reload(0.15).Dmg(2.1) .Homing(160.0); New("Quickdraw", "Lightning reloads. Each reload fires a laser out of spite.", (Rarity)1, (CardThemeColorType)3).Reload(0.5).Dmg(0.9).OnReload(Do.Laser(22.0)) .Cd(2.5); New("Auto Loader", "Reloads itself. Reloading builds a short healing field.", (Rarity)1, (CardThemeColorType)3).AutoReload().Reload(0.9).OnReload(Do.Mend(8.0, 2.0)) .Cd(4.0); New("Bolt Action", "Semi-auto. Massive hits that knock them flat and stun.", (Rarity)1, (CardThemeColorType)6).NoAuto().Dmg(1.9).Rate(1.3) .OnHit(Do.Freeze(0.35)) .Cd(1.0); New("Poison Darts", "Hits poison the target for 4 seconds. Smells awful.", (Rarity)1, (CardThemeColorType)5).OnHit(Do.Poison(8.0, 4.0)).Cd(1.0).Dmg(0.95) .Tint(0.2f, 1f, 0.2f); New("Freeze Ray", "Hits stack chill on the target. Enough chill and they're ice.", (Rarity)1, (CardThemeColorType)7).OnHit(Do.Chill(0.35)).OnHit(0.12, Do.Freeze(0.8)).Cd(2.0) .Dmg(0.8) .Tint(0.4f, 0.8f, 1f); New("Vampire Rounds", "Bloodsucking bullets. Hits leech and bleed.", (Rarity)1, (CardThemeColorType)4).OnHit(0.5, Do.Leech(6.0), Do.Bleed(5.0, 2.0)).Cd(0.6).Life(0.2) .Tint(0.6f, 0f, 0f); New("Percent Based Justice", "Hits deal a slice of max HP. Below 15%? Executed.", (Rarity)2, (CardThemeColorType)4).PctDmg(0.08).Dmg(0.8).OnHit(Do.Execute(0.15)); New("Executioner", "Hits execute anyone below 20% HP. A big red line from the sky.", (Rarity)2, (CardThemeColorType)0).OnHit(Do.Execute(0.2)).Dmg(1.05); New("Unblockable Rage", "Bullets ignore block. Every hit sets them on fire. Rage.", (Rarity)2, (CardThemeColorType)0).Unblockable().Reload(1.5).Dmg(0.8) .OnHit(Do.Burn(8.0, 2.0)) .Cd(1.0); New("Sneaky Bullets", "Wavy bullets that hurt more up close. Sneaky sneaky.", (Rarity)0, (CardThemeColorType)4).Wavy(20.0, 9.0).Falloff(0.75).Dmg(1.4); New("Long Range Lover", "Accelerating bullets that hit harder the farther they go.", (Rarity)1, (CardThemeColorType)7).Accel().Falloff(1.7).Dmg(0.85); New("Fuse Bullets", "Short-lived bullets. Every hit has a 50% chance to blow up.", (Rarity)0, (CardThemeColorType)0).Fuse(0.5).Dmg(1.5).Speed(1.3) .Rockets(22.0, 3.5); New("Sticky Bullets", "Heavy drag. Hits glue them in a slowing puddle.", (Rarity)0, (CardThemeColorType)5).Drag(3.0).Dmg(1.3).OnHit(0.4, Do.Puddle(0.5, 0.0, 3.0, 3.0)) .Cd(2.0); New("Greased Bullets", "Slick bullets slide through the air and slow whoever they hit.", (Rarity)0, (CardThemeColorType)1).Drag(-0.5).Speed(1.35).OnHit(0.4, Do.Chill(0.3)) .Cd(1.0); New("Hello Kitty Tracer", "Pink homing bullets. Kills throw pink fireworks.", (Rarity)0, (CardThemeColorType)8).Tint(1f, 0.3f, 0.8f).Homing(90.0).OnKill(Do.Fireworks(6, 10.0)); New("Cursed Ammo", "Shots sometimes bite back. Hits always curse their damage.", (Rarity)1, (CardThemeColorType)4).Dmg(1.4).OnShoot(0.12, Do.HurtSelf(6.0)).OnHit(0.4, Do.WeakenT(0.75, 3.0)) .Cd(2.0); New("Ammo Goblin", "Empty mags make you hop, refill a jump, and steal 10 HP.", (Rarity)0, (CardThemeColorType)5).OnEmpty(Do.Launch(25.0), Do.AirJump(1), Do.Leech(10.0)).Cd(2.0).Ammo(2); } private static void HeavyWeapons() { New("Rocket Launcher", "Every bullet is a rocket. Walls, floors, faces: everything explodes.", (Rarity)2, (CardThemeColorType)0).Rockets(40.0, 5.0).Dmg(1.3).Ammo(-1) .Speed(0.9) .Tint(1f, 0.4f, 0.1f); New("Grenade Launcher", "Lobbed bombs that bounce once, then blow up wherever they land.", (Rarity)2, (CardThemeColorType)6).Rockets(45.0, 5.5).BGrav(2.5).Speed(0.7) .Bounces(1) .Dmg(1.2); New("Cluster Launcher", "Each shot explodes, then six more bombs go off around it.", (Rarity)2, (CardThemeColorType)0).Cluster(28.0, 3.2).Dmg(1.1).Reload(1.15); New("Sticky Launcher", "Bombs stick where they land and detonate a second later. Huge.", (Rarity)2, (CardThemeColorType)4).Sticky(60.0, 5.0).Dmg(1.1).Speed(0.85); New("Pocket Nuke", "Semi-auto. Every shot is a mini-nuke with a fallout cloud. Run.", (Rarity)2, (CardThemeColorType)1).Nuke(120.0).NoAuto().Ammo(-2) .Reload(1.5) .Speed(0.7); New("Bazooka Joe", "Comic-strip rockets: they spiral, then explode with gusto.", (Rarity)1, (CardThemeColorType)8).Rockets().Spiral(250.0, 1.5).Dmg(1.1); New("Firework Launcher", "Rockets that arc, explode, and throw celebratory fireworks.", (Rarity)1, (CardThemeColorType)8).Rockets(25.0).BGrav(1.5).OnHit(Do.Fireworks(5, 12.0)) .Cd(1.0) .Dmg(1.1); New("Mortar Strike", "Shots fly high and come down as artillery. Lands an airstrike too.", (Rarity)2, (CardThemeColorType)6).Rockets(35.0, 5.0).BGrav(3.0).Speed(1.3) .OnHit(Do.Airstrike(3, 30.0)) .Cd(2.0); New("Seeker Missiles", "Homing rockets that hunt the nearest enemy and explode.", (Rarity)2, (CardThemeColorType)0).Homing(240.0).Rockets(32.0).Accel(1.5, 2.0) .Dmg(1.15); New("Carpet Bomber", "Five bombs per shot. The floor is no longer a floor.", (Rarity)2, (CardThemeColorType)0).Bullets(4).Spread(0.3).Rockets(20.0, 3.5) .BGrav(2.0) .Dmg(0.8); New("Inferno Thrower", "Short, wide, fast. Every shot leaves napalm. Everything burns.", (Rarity)2, (CardThemeColorType)0).Napalm(24.0).Bullets(3).Spread(0.35) .Fuse(0.45) .Rate(0.5) .Dmg(0.5); New("Napalm Rifle", "Bullets splash burning napalm wherever they land.", (Rarity)1, (CardThemeColorType)0).Napalm(18.0).Dmg(1.15).Tint(1f, 0.5f, 0f); New("Acid Sprayer", "Toxic rounds that leave a choking, slowing cloud on impact.", (Rarity)1, (CardThemeColorType)5).Toxic(16.0, 4.5).Bullets(2).Spread(0.2) .Dmg(0.8); New("Freeze Cannon", "Cryo rounds freeze everything near the impact. Then shatter (hit).", (Rarity)2, (CardThemeColorType)7).Cryo(0.8, 4.0).Dmg(1.3).Tint(0.5f, 0.9f, 1f) .OnHit(Do.Boom(20.0, 3.0)) .Cd(1.0); New("Tesla Coil", "Every bullet chains lightning to up to four enemies on impact.", (Rarity)2, (CardThemeColorType)1).Shock(25.0, 4).Dmg(1.1).Tint(0.6f, 0.8f, 1f); New("Storm Caller", "Bullets land as holy lightning. Every 6s, a thunderstorm.", (Rarity)2, (CardThemeColorType)1).Smiting(35.0, 3.5).Every(6.0, Do.Thunder(40.0)); New("Black Hole Gun", "Every impact opens a black hole that sucks enemies in.", (Rarity)2, (CardThemeColorType)4).VoidRounds(45.0, 6.0).Dmg(1.1).Rate(1.2) .Tint(0.4f, 0f, 0.8f); New("Gravity Hammer", "Huge bullet, huge knockback, impacts crater with a black hole.", (Rarity)2, (CardThemeColorType)4).BSize(1.0).Knock(3.0).VoidRounds(35.0) .Rockets() .Rate(1.3); New("Plasma Rifle", "Fast glowing bolts that explode and burn on contact.", (Rarity)2, (CardThemeColorType)8).Rockets(22.0, 3.5).Speed(1.6).Rate(0.75) .OnHit(Do.Burn(12.0, 3.0)) .Cd(0.5) .Tint(1f, 0.2f, 1f); New("Bee Cannon", "Shoots a swarm of homing bees. Each impact releases a toxic cloud.", (Rarity)2, (CardThemeColorType)1).Bullets(5).Homing(260.0).Toxic(8.0, 3.0) .Dmg(0.4) .Wavy(20.0, 20.0); New("Sentry Gun", "Every bullet that lands builds a small turret. Yes, every bullet.", (Rarity)2, (CardThemeColorType)3).TurretRounds(9.0).Rate(1.25).Dmg(0.9); New("Mine Layer", "Every bullet leaves a mine where it lands. Map control: total.", (Rarity)2, (CardThemeColorType)0).MineLayer(40.0, 4.5).Dmg(0.9); New("Drone Swarm", "Bullets orbit you, then home in, then build a turret.", (Rarity)2, (CardThemeColorType)3).Orbit(400.0, 0.8).Homing().TurretRounds(7.0, 2.5) .Dmg(0.8); New("Orbital Uplink", "Every 5s an orbital laser hits the nearest enemy. No questions.", (Rarity)2, (CardThemeColorType)7).Every(5.0, Do.Orbital(70.0)).Dmg(1.1); New("Airstrike Beacon", "Every hit calls in a five-bomb airstrike. Cooldown 2s.", (Rarity)2, (CardThemeColorType)0).OnHit(Do.Airstrike(5, 30.0)).Cd(2.0).Dmg(1.1); New("Saw Launcher", "Every shot spins up saw blades around you. Permanent spin.", (Rarity)2, (CardThemeColorType)3).OnShoot(Do.SawBlades(2, 18.0, 2.5)).Cd(1.2).Dmg(1.1); New("Laser Rifle", "Every shot also fires a piercing laser. Walls don't matter.", (Rarity)2, (CardThemeColorType)0).OnShoot(Do.Laser(28.0)).Cd(0.35).Phase() .Dmg(0.9); New("Death Ray", "Semi-auto. Every pull fires a massive laser. Then another.", (Rarity)2, (CardThemeColorType)0).NoAuto().OnShoot(Do.Laser(70.0), Do.Laser(40.0)).Cd(0.5) .Rate(1.4); New("Railgun Prime", "Accelerating slugs through walls. Each one explodes on impact.", (Rarity)2, (CardThemeColorType)7).Accel(4.0, 4.0).Phase().Rockets(35.0, 3.5) .Dmg(1.5) .Ammo(-2); New("Meteor Staff", "Every reload rains six meteors across the map.", (Rarity)2, (CardThemeColorType)0).OnReload(Do.Rain(6, 35.0)).Reload(0.9); New("Boomstick", "Eight pellets. Every pellet explodes. Point blank is a crater.", (Rarity)2, (CardThemeColorType)0).Bullets(7).Spread(0.45).Fuse(0.5) .Rockets(15.0, 2.5) .Dmg(0.6); New("Dragon's Breath", "Shotgun shells of fire: napalm everywhere they touch.", (Rarity)2, (CardThemeColorType)0).Bullets(5).Spread(0.4).Napalm(14.0, 2.5) .Fuse(0.6) .Dmg(0.5); New("Chainsaw Gun", "Saw blades orbit you constantly. Shots bleed whatever they touch.", (Rarity)2, (CardThemeColorType)3).Every(4.0, Do.SawBlades(4, 22.0, 4.0)).OnHit(Do.Bleed(10.0, 3.0)).Cd(0.5); New("Ground Pound Boots", "Landings detonate like a bomb and stun everyone nearby.", (Rarity)2, (CardThemeColorType)6).OnLand(Do.Nova(45.0, 9.0), Do.Stun(0.6, 9.0), Do.Shake(25.0)).Cd(1.0).Grav(1.4) .Jumps(1); New("Rocket Jump", "Every shot rockets you upward. Landings explode. Bullets too.", (Rarity)2, (CardThemeColorType)1).OnShoot(Do.Launch(15.0)).Cd(0.3).OnLand(Do.Nova(30.0, 6.0)) .Cd(1.0) .Rockets(20.0, 3.0); New("Gun That Shoots Bombs", "It's a gun. It shoots bombs. Cluster bombs. That leave mines.", (Rarity)2, (CardThemeColorType)0).Cluster().MineLayer(25.0, 3.5).Dmg(1.1); New("The Everything Gun", "Homing, exploding, freezing, shocking. Why choose.", (Rarity)2, (CardThemeColorType)8).Homing(140.0).Rockets(18.0, 3.0).Cryo(0.3, 3.0) .Shock(12.0, 2) .Dmg(0.9); New("Microwave Cannon", "Every 3s, a cooking aura burns everything near you. Bullets reheat.", (Rarity)2, (CardThemeColorType)1).Every(3.0, Do.Aura(16.0, 7.0, 3.0)).Napalm(10.0, 2.5); New("Snowball Gatling", "Fast snowballs that freeze on impact. Winter has arrived.", (Rarity)2, (CardThemeColorType)7).Rate(0.4).Cryo(0.3, 2.5).Dmg(0.55) .Ammo(8) .Tint(1f, 1f, 1f); New("Holy Hand Grenade", "Count to three. Lobbed grenades call down holy lightning and explode.", (Rarity)2, (CardThemeColorType)1).BGrav(2.0).Speed(0.8).Smiting(40.0, 4.0) .Sticky(40.0, 4.0) .OnShoot(0.1, Do.Say("one, two, FIVE")) .Cd(3.0); New("Tactical Nuke", "Kills call in a tactical nuke on the next enemy. Killstreaks, baby.", (Rarity)2, (CardThemeColorType)1).OnKill(Do.Orbital(150.0), Do.Rain(6, 40.0), Do.Say("TACTICAL NUKE INCOMING")).Dmg(1.3); New("Gamma Ray Burst", "Every 12s a beam across the whole screen, aimed where you look.", (Rarity)2, (CardThemeColorType)4).Every(12.0, Do.Laser(120.0), Do.Laser(60.0), Do.Shake(40.0)).Dmg(1.1); New("Hive Mind", "Bullets home, poison, and each hit summons a swarm to the next foe.", (Rarity)2, (CardThemeColorType)1).Homing(180.0).OnHit(Do.Poison(8.0, 3.0), Do.Zap(12.0, 3)).Cd(0.5) .Dmg(0.85); New("Ballistic Banana", "Bananas boomerang back and explode. Very slippery.", (Rarity)1, (CardThemeColorType)1).Boomerang(0.5).Rockets(25.0, 3.5).OnHit(Do.LaunchT(25.0)) .Cd(1.0) .Tint(1f, 0.95f, 0.2f); New("Pinata Cannon", "Every impact is a candy cluster bomb. Fireworks on kill.", (Rarity)1, (CardThemeColorType)8).Cluster(16.0, 2.5).OnKill(Do.Fireworks(10, 15.0)).Dmg(1.05); New("Toilet Paper Launcher", "Bullets wave like streamers, wrap enemies (slow) and burst.", (Rarity)1, (CardThemeColorType)3).Wavy(30.0, 10.0).Rockets(15.0, 3.0).OnHit(Do.SlowT(0.6, 2.0)) .Cd(1.0); New("Shopping Cart Cannon", "Huge, slow, wobbly carts that explode and scatter the aisle.", (Rarity)1, (CardThemeColorType)6).BSize(1.3).Speed(0.6).Zigzag(0.3) .Rockets(40.0, 5.0) .Dmg(1.2); New("Garden Gnome Mortar", "Lobbed gnomes. On landing, a gnome mine waits for victims.", (Rarity)1, (CardThemeColorType)5).BGrav(2.2).MineLayer().Rockets(15.0, 3.0); New("Wrecking Ball", "One enormous bullet. Massive knockback. Craters everything.", (Rarity)2, (CardThemeColorType)3).Ammo(-3).BSize(2.5).Knock(4.0) .Rockets(60.0, 6.0) .Dmg(2.0) .Speed(0.7); New("Armageddon Protocol", "Every 15s: meteor shower, airstrike, and an orbital laser.", (Rarity)2, (CardThemeColorType)0).Every(15.0, Do.Rain(8, 35.0), Do.Airstrike(5, 30.0), Do.Orbital(90.0)).Hp(1.2); } private static void Household() { //IL_06e1: Unknown result type (might be due to invalid IL or missing references) //IL_0caf: Unknown result type (might be due to invalid IL or missing references) //IL_112d: Unknown result type (might be due to invalid IL or missing references) //IL_1205: Unknown result type (might be due to invalid IL or missing references) New("Lego Underfoot", "Every 6s you scatter Legos: mines nobody wants to step on.", (Rarity)1, (CardThemeColorType)0).Every(6.0, Do.Mine(20.0, 3.0)).OnLand(0.2, Do.HurtSelf(3.0)).Cd(2.0) .Dmg(1.15); New("Stubbed Toe", "Get hit: hop in pain, then RAGE. Double damage for 2 seconds.", (Rarity)0, (CardThemeColorType)0).OnHurt(0.3, Do.Launch(25.0), Do.BuffDmg(2.0, 2.0), Do.Say("OW")).Cd(3.0); New("Smoke Alarm Low Battery", "Every 25s: *chirp*. Everyone nearby is stunned looking for it.", (Rarity)0, (CardThemeColorType)3).Every(25.0, Do.Stun(0.5, 14.0), Do.Shake(20.0), Do.Say("*chirp*")).Hp(1.2); New("IKEA Instructions", "Bullets assembled wrong: they bounce, spiral, and hit hard.", (Rarity)1, (CardThemeColorType)1).RandomBounces(3).Spiral(300.0, 1.5).Dmg(1.25); New("One Screw Left Over", "It's fine. Every 15s something falls off and explodes.", (Rarity)0, (CardThemeColorType)3).Every(15.0, 0.5, Do.StunSelf(0.3), Do.Nova(20.0, 5.0)).Hp(1.35); New("Roomba Rebellion", "Every 6s a Roomba-turret deploys and starts cleaning (zapping).", (Rarity)1, (CardThemeColorType)3).Every(6.0, Do.Turret(6.0, 4.0), Do.Push(15.0, 5.0)); New("Sock Eater Dryer", "Enemies lose ammo. Hits eat their socks (slow).", (Rarity)1, (CardThemeColorType)7).FoeAmmo(-1).OnHit(0.2, Do.SlowT(0.7, 2.0)).Cd(2.0); New("Wet Socks", "Enemies are sad and slow. Hits make their socks wetter.", (Rarity)0, (CardThemeColorType)7).FoeMove(0.95).OnHit(0.25, Do.Chill(0.3)).Cd(1.0); New("Fitted Sheet Fold", "Nobody can do it. Block wraps the nearest enemy (freeze).", (Rarity)0, (CardThemeColorType)3).BlockCd(1.1).Hp(1.4).OnBlock(Do.Freeze(0.7)) .Cd(3.0); New("Junk Drawer", "Every block grabs something: tape, batteries, a mine, a turret.", (Rarity)0, (CardThemeColorType)6).OnBlock(Do.OneOf(Do.Heal(8.0), Do.Push(12.0, 7.0), Do.Mine(25.0, 3.5), Do.Refill, Do.Turret(5.0, 3.0))).Cd(2.0); New("Tupperware Avalanche", "Reloads open the cupboard: everything nearby scattered and hurt.", (Rarity)1, (CardThemeColorType)2).OnReload(Do.Scatter(30.0, 10.0), Do.Nova(12.0, 8.0)).Cd(3.0); New("Leaf Blower Neighbor", "Every 8s, at 7 AM, a gust blows everyone across the map.", (Rarity)0, (CardThemeColorType)5).Every(8.0, Do.Push(30.0, 15.0), Do.Say("*VRRRRRR*")); New("HOA Violation", "Enemies move and jump less. Hits fine them (leech).", (Rarity)1, (CardThemeColorType)3).FoeMove(0.93).FoeJump(0.93).OnHit(0.25, Do.Leech(5.0)) .Cd(2.0); New("Karen Ask Manager", "Get hit: stun the area, demand a manager, mark the attacker.", (Rarity)1, (CardThemeColorType)1).OnHurt(0.3, Do.Stun(0.5, 9.0), Do.MarkT(0.4, 5.0), Do.Say("I want your manager")).Cd(6.0); New("Garage Door Malfunction", "Every 12s the garage door slams on the nearest foe.", (Rarity)0, (CardThemeColorType)3).Every(12.0, Do.Meteor(35.0, 4.0), Do.Say("*CLUNK*")); New("Ceiling Fan Bonk", "Jump higher. Saw blades spin over your head. Sometimes it hurts.", (Rarity)1, (CardThemeColorType)3).Jump(1.45).Every(8.0, Do.SawBlades(3, 10.0, 4.0)).OnLand(0.1, Do.HurtSelf(8.0)) .Cd(2.0); New("Couch Cushion Fort", "Below 40% HP, build a fort: block rearms, heal, saw walls.", (Rarity)0, (CardThemeColorType)6).OnLow(0.4, Do.RearmBlock, Do.HealPct(0.2), Do.SawBlades(4, 10.0, 5.0)); New("Floor Is Lava", "The floor burns. Every landing spawns lava. Air is safe.", (Rarity)1, (CardThemeColorType)0).OnLand(Do.Puddle(0.0, 12.0, 3.5, 3.0, Shapes.Fire), Do.HurtSelf(3.0)).Cd(1.0).Jumps(3) .Jump(1.3); New("Slipper Throw", "Your mother's aim. Homing slippers with huge knockback.", (Rarity)2, (CardThemeColorType)8).Homing(220.0).Knock(3.0).Dmg(1.2); New("Wooden Spoon", "Discipline. Short range, hits stun like a stern look.", (Rarity)1, (CardThemeColorType)6).Knock(2.0).Dmg(1.3).Fuse(0.8) .OnHit(0.3, Do.Freeze(0.4)) .Cd(2.0); New("Grandpa's Recliner", "Permanent. Unmovable. Every 10s, a nap heals you.", (Rarity)0, (CardThemeColorType)6).Hp(1.6).Move(0.78).Every(10.0, Do.Mend(8.0, 3.0)); New("Remote Under Cushion", "Enemies can't find it. Every 12s you change their channel (swap).", (Rarity)0, (CardThemeColorType)6).FoeReload(1.1).Every(12.0, Do.Shuffle); New("Thermostat War", "Every 10s: heatwave (burning aura) or AC blast (freeze nearest).", (Rarity)0, (CardThemeColorType)7).Every(10.0, Do.OneOf(Do.Aura(12.0, 6.0, 4.0), Do.Freeze(0.8))); New("Cold Side Of Pillow", "Blocking is relaxing. Heal and chill everyone close.", (Rarity)0, (CardThemeColorType)7).BlockHeal(14.0).BlockCd(0.95).OnBlock(Do.Frost(0.5, 7.0)) .Cd(2.0); New("3AM Thoughts", "Every 20s a thought won't leave: you stun yourself and the nearest.", (Rarity)0, (CardThemeColorType)4).Every(20.0, Do.Freeze(0.6), Do.SayAny("remember that thing from 2012", "do fish know they're wet", "you left the oven on")).Dmg(1.15); New("Oven Left On", "Every 15s, 50% chance the kitchen explodes. You're in it.", (Rarity)1, (CardThemeColorType)0).Every(15.0, 0.5, Do.HurtSelf(14.0), Do.Nova(35.0, 8.0), Do.Aura(10.0, 6.0, 3.0)).Dmg(1.35); New("Spider In The Shower", "Get hit: AAAA. Everyone is pushed away and webbed (slowed).", (Rarity)1, (CardThemeColorType)4).OnHurt(0.35, Do.Push(38.0, 14.0), Do.Frost(0.5, 14.0), Do.Say("AAAAAA")).Cd(5.0); New("Burn This House Down", "Block sets everything ablaze: huge fire ring and burning aura.", (Rarity)2, (CardThemeColorType)0).OnBlock(Do.Nova(35.0, 20.0), Do.Aura(15.0, 10.0, 4.0), Do.Shake(40.0)).BlockAdd(1.2); New("Ladder Accident", "Shots push you up. Falls hurt them: landings crush nearby.", (Rarity)0, (CardThemeColorType)1).OnShoot(Do.Launch(7.0)).Cd(0.3).Grav(1.25) .OnLand(Do.Nova(15.0, 5.0)) .Cd(2.0); New("Bees In The Wall", "Every 3s, buzzing: the nearest enemy is stung (poison).", (Rarity)1, (CardThemeColorType)1).Every(3.0, Do.Poison(4.0, 3.0), Do.Nova(4.0, 8.0)); New("Plumber Crack", "Everybody saw. Every 22s everyone is stunned in horror.", (Rarity)1, (CardThemeColorType)2).Every(22.0, Do.Stun(0.8, 99.0), Do.Say("*everyone saw*")); New("Clogged Toilet", "Enemy bullets are slow. Every 10s a sewage puddle opens on them.", (Rarity)0, (CardThemeColorType)6).FoeBulletSpeed(0.88).Every(10.0, Do.Puddle(0.5, 6.0, 5.0, 4.0, Shapes.Toxic)); New("Plunger Launcher", "Hits stick a plunger on them and yank them toward you.", (Rarity)1, (CardThemeColorType)6).OnHit(0.4, Do.YankT(30.0)).Cd(1.0).Dmg(1.1); New("Vacuum Cleaner", "Every 4s a vacuum opens on the nearest enemy and sucks them in.", (Rarity)1, (CardThemeColorType)3).Every(4.0, Do.BlackHole(25.0, 6.0, 1.5)); New("Static Shock Socks", "Every landing zaps the nearest foe. Chain lightning on carpet.", (Rarity)0, (CardThemeColorType)1).OnLand(Do.Zap(12.0, 2)).Cd(1.0); New("Mattress Store Sale", "Always happening. Blocks heal and bounce you up.", (Rarity)0, (CardThemeColorType)2).BlockHeal(18.0).OnBlock(Do.Launch(30.0)).Cd(2.0); New("Sleep Paralysis Demon", "Every 25s the demon appears: everyone close frozen, the nearest hexed.", (Rarity)2, (CardThemeColorType)4).Every(25.0, Do.Stun(1.2, 13.0), Do.Hex(2.0), Do.Say("*stares*")); New("Alarm Snoozed Twice", "Each battle: you sleep in (1s stun), then wake up angry (+stats).", (Rarity)1, (CardThemeColorType)7).OnStart(Do.StunSelf(1.0), Do.BuffDmg(1.5, 10.0)).Dmg(1.3).Hp(1.2); New("Forgot Why I Walked In", "Every 13s you teleport, forget why, and drop a mine.", (Rarity)0, (CardThemeColorType)8).Every(13.0, Do.Mine(25.0, 4.0), Do.Hop(10.0), Do.StunSelf(0.2)).Dmg(1.2); New("Car Keys Were In Hand", "Reload faster. Empty mags reveal the keys (instant refill).", (Rarity)0, (CardThemeColorType)1).Reload(0.82).OnEmpty(0.3, Do.Refill, Do.Say("they were in my hand")).Cd(4.0); New("Parallel Parking", "Bullets take several tries: bounce, stutter, eventually park.", (Rarity)0, (CardThemeColorType)3).Bounces(4).Dmg(0.95).Stutter(0.3, 0.12); New("Check Engine Light", "On since 2019. Fast. Every 15s, 30% chance the engine explodes.", (Rarity)0, (CardThemeColorType)0).Move(1.2).Every(15.0, 0.3, Do.Nova(30.0, 6.0), Do.HurtSelf(10.0)).Note("On", "Warning", good: false); New("Duct Tape Fix", "Below 50% HP, patch yourself up. Hits tape the target (slow).", (Rarity)0, (CardThemeColorType)3).OnLow(0.5, Do.Heal(35.0)).OnHit(0.2, Do.SlowT(0.7, 2.0)).Cd(2.0); New("WD-40", "If it doesn't move and should: speed up, slick bullets.", (Rarity)0, (CardThemeColorType)2).Move(1.14).Reload(0.9).Drag(-0.3); New("Fridge Light Mystery", "Does it turn off? Every 10s a small heal and a cold puddle.", (Rarity)0, (CardThemeColorType)7).Every(10.0, Do.Heal(18.0), Do.Puddle(0.3, 0.0, 3.0, 3.0, Shapes.Ice)); New("Weird Basement Door", "Every 18s you are elsewhere. Something follows you out (black hole).", (Rarity)1, (CardThemeColorType)4).Every(18.0, Do.BlackHole(25.0, 6.0, 2.0), Do.Hop(17.0)).Hp(1.25); New("Mysterious Stain", "It's growing. Hits leave a spreading stain that slows.", (Rarity)0, (CardThemeColorType)6).Tint(0.4f, 0.3f, 0.1f).OnHit(0.3, Do.Puddle(0.4, 3.0, 3.0, 4.0, Shapes.Toxic)).Cd(2.0); New("Mother-In-Law Visit", "All enemy stats suffer. Yours too. Every 20s, passive-aggressive Hex.", (Rarity)2, (CardThemeColorType)4).FoeDmg(0.85).FoeMove(0.85).Dmg(0.9) .Move(0.9) .Every(20.0, Do.Silence(1.0, 99.0)); New("Divorced Dad Energy", "Only sees you on weekends. Big damage. Every 15s he takes the kids.", (Rarity)1, (CardThemeColorType)6).Dmg(1.5).Rate(1.2).Every(15.0, Do.Swap, Do.Say("see you saturday")); New("Dad Went For Milk", "On death, he leaves forever. One big pop, and a turret in his chair.", (Rarity)1, (CardThemeColorType)3).OnDeath(Do.Nova(55.0, 10.0), Do.Turret(12.0, 8.0), Do.Say("be right back")); New("Dad Joke", "Every 22s a groan-worthy joke: everyone is slowed by the cringe.", (Rarity)0, (CardThemeColorType)3).Every(22.0, Do.Frost(0.6, 99.0), Do.SayAny("hi hungry, I'm dad", "why did the bullet cross the map", "that's my boy")); New("Baby On Board", "Enemies should slow down. Hits remind them (slow).", (Rarity)0, (CardThemeColorType)8).FoeMove(0.97).Hp(1.17).OnHit(0.2, Do.SlowT(0.8, 2.0)) .Cd(2.0); New("Toddler Tantrum", "Below 50% HP: everyone pushed, screamed at, and the floor burns.", (Rarity)0, (CardThemeColorType)0).OnLow(0.5, Do.Push(42.0, 12.0), Do.Aura(12.0, 6.0, 4.0), Do.Say("NOOOOOO")); New("Teenager Sigh", "Every 16s, a massive exhale: push and silence everyone nearby.", (Rarity)0, (CardThemeColorType)4).Every(16.0, Do.Push(15.0, 15.0), Do.Silence(0.6, 15.0), Do.Say("*sigh*")).Rate(0.88); New("Grandma Wallet Photos", "Every 30s: everyone is stunned looking at photos. For a while.", (Rarity)1, (CardThemeColorType)8).Every(30.0, Do.Stun(1.4, 14.0), Do.Say("this is little Timmy")); New("Neighbor's Wifi", "Slightly stolen speed. Every 10s, steal some more.", (Rarity)0, (CardThemeColorType)3).Move(1.1).Every(10.0, Do.Steal(1.2, 4.0)); New("Package Stolen", "Enemies lose ammo. Every 12s you steal their HP package.", (Rarity)1, (CardThemeColorType)6).FoeAmmo(-2).Every(12.0, Do.Leech(12.0)); New("Amazon Next Day", "Reloads arrive quickly. Each reload delivers a drone strike.", (Rarity)1, (CardThemeColorType)1).Reload(0.7).Ammo(-1).OnReload(Do.Meteor(25.0, 3.0)) .Cd(3.0); New("Assembly Required", "Each battle starts with the manual (0.7s stun), then a free turret.", (Rarity)0, (CardThemeColorType)3).OnStart(Do.StunSelf(0.7), Do.Turret(10.0, 10.0)).Hp(1.3).Dmg(1.1); New("Sink Full Of Dishes", "Every 11s a slap to morale. Plates fly at the nearest enemy.", (Rarity)0, (CardThemeColorType)7).Every(11.0, Do.HurtSelf(3.0), Do.Airstrike(3, 15.0)).Regen(3.0).Dmg(1.15); New("Laundry Chair", "The chair holds everything. +HP. Block: clothes avalanche (stun).", (Rarity)0, (CardThemeColorType)6).Hp(1.22).OnBlock(Do.Stun(0.3, 6.0)).Cd(3.0); New("Shower Thoughts", "Every 21s, an epiphany: reload faster, and a 4s damage boost.", (Rarity)0, (CardThemeColorType)7).Every(21.0, Do.BuffDmg(1.4, 4.0), Do.SayAny("your stomach thinks all potatoes are mashed", "nothing is on fire, fire is on things")).Reload(0.9); New("Lost Sock Odyssey", "Bullets vanish through portals and come back from orbit.", (Rarity)1, (CardThemeColorType)7).Portals(2).Orbit(300.0, 0.8).Rate(1.05); New("Bad Haircut", "Bigger head. Every 10s everyone stares (stunned).", (Rarity)0, (CardThemeColorType)0).Size(1.18).Dmg(1.18).Every(10.0, Do.Stun(0.3, 10.0), Do.Say("did you get a haircut?")); New("Ironing Board Ambush", "Landings have a 30% chance to smack and stun the nearest.", (Rarity)0, (CardThemeColorType)3).OnLand(0.3, Do.Freeze(0.5), Do.Stun(0.3, 8.0)).Cd(2.0); New("Toaster Bath", "Every 20s: heal 50%, or a 35 HP electric shock to everyone.", (Rarity)1, (CardThemeColorType)0).Every(20.0, Do.OneOf(Do.HealPct(0.5), Do.Combo(Do.HurtSelf(35.0), Do.Zap(40.0, 4)))); New("Coupon Clipper", "30% of reloads are free: refill and a little heal. 30% off.", (Rarity)0, (CardThemeColorType)1).OnReload(0.3, Do.Refill, Do.Heal(5.0)); New("Hoarder House", "So much stuff. HP and ammo way up. Every 10s junk falls on people.", (Rarity)1, (CardThemeColorType)6).Hp(1.5).Ammo(10).Move(0.75) .Every(10.0, Do.Rain(3, 15.0)); New("Marie Kondo'd", "No joy here. Ammo gone. Kills spark joy (heal + fireworks).", (Rarity)1, (CardThemeColorType)8).Ammo(-2).Dmg(1.5).Reload(0.8) .OnKill(Do.HealPct(0.3), Do.Fireworks(5, 8.0)); } private static void Memes() { New("Skill Issue", "Your hits mark them. Marked foes take 30% more from you. Diagnosed.", (Rarity)0, (CardThemeColorType)0).OnHit(0.3, Do.MarkT(0.3, 3.0)).Cd(2.0).Dmg(1.1); New("Touch Grass", "Every landing sprouts a healing field. Go outside. Win.", (Rarity)0, (CardThemeColorType)5).OnLand(Do.Mend(8.0, 2.0)).Cd(3.0).Regen(1.0); New("Ratio", "Every hit has a 25% chance to zap them twice and post about it.", (Rarity)0, (CardThemeColorType)3).OnHit(0.25, Do.Zap(14.0, 1), Do.Say("RATIO")).Cd(3.0); New("L + Bozo", "Kills summon a lightning strike on the next fool in line.", (Rarity)1, (CardThemeColorType)0).OnKill(Do.Thunder(60.0), Do.Say("L + BOZO")).Dmg(1.15); New("Cope", "Get hit, gain speed and a slow heal. Healthy coping.", (Rarity)0, (CardThemeColorType)8).OnHurt(Do.BuffMove(1.35, 2.0), Do.Mend(6.0, 3.0)).Cd(4.0); New("Seethe", "Get hit and the attacker catches fire. You seethe outwardly.", (Rarity)1, (CardThemeColorType)0).OnHurt(Do.Burn(10.0, 3.0), Do.BuffRate(0.8, 2.0)).Cd(2.0); New("Mald", "Below 40% HP you become a furnace: burning aura for 5 seconds.", (Rarity)1, (CardThemeColorType)0).OnLow(0.4, Do.Aura(30.0, 5.0, 5.0), Do.BuffDmg(1.5, 5.0)); New("No Cap", "Bullets accelerate forever. That's not cap, that's physics.", (Rarity)0, (CardThemeColorType)1).Accel(2.0).Ammo(2); New("Sus", "Every 7s you vent to a random nearby spot and stab the closest crewmate.", (Rarity)1, (CardThemeColorType)4).Every(7.0, Do.Hop(10.0), Do.Bleed(8.0, 3.0), Do.Say("*vent noises*")).Move(1.1); New("Emergency Meeting", "Block drags everyone in and Hexes the nearest suspect.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.Pull(30.0, 14.0), Do.Hex(1.5), Do.Say("EMERGENCY MEETING")).Cd(4.0); New("Big Chungus Energy", "Absolute unit. Landings cause small earthquakes.", (Rarity)0, (CardThemeColorType)6).Hp(1.6).Size(1.4).Move(0.85) .OnLand(Do.Nova(12.0, 5.0)) .Cd(1.5); New("Smol Bean", "Tiny, quick, and every 6s shrinks the nearest enemy to match.", (Rarity)0, (CardThemeColorType)8).Size(0.7).Hp(0.8).Move(1.2) .Every(6.0, Do.ShrinkT(0.7, 3.0)); New("Stonks", "Each reload rains dividends: three explosive market corrections.", (Rarity)1, (CardThemeColorType)1).OnReload(Do.Airstrike(3, 22.0)).Cd(4.0); New("Not Stonks", "Massive damage, but every 10s the market crashes on YOU.", (Rarity)1, (CardThemeColorType)1).Dmg(1.7).Every(10.0, Do.HurtSelf(8.0), Do.Say("not stonks")); New("Diamond Hands", "Blocking crystallizes the attacker in place for a second.", (Rarity)1, (CardThemeColorType)7).OnBlock(Do.Freeze(1.0)).Cd(4.0).Hp(1.15); New("Paper Hands", "Get hit, panic-dash away and leave a mine where you stood.", (Rarity)0, (CardThemeColorType)3).OnHurt(Do.Mine(30.0, 4.0), Do.Dash(35.0)).Cd(3.0).Hp(0.9); New("To The Moon", "Blocking launches you skyward and drops a meteor on the nearest enemy.", (Rarity)1, (CardThemeColorType)1).OnBlock(Do.Meteor(40.0, 4.0), Do.Launch(40.0)).Cd(3.0); New("Chad Stance", "Bullets home in. You don't aim. They come to you.", (Rarity)1, (CardThemeColorType)0).Homing(140.0).Dmg(1.15).Hp(1.1); New("Virgin Walk", "Awkward zigzag bullets. Quick little legs.", (Rarity)0, (CardThemeColorType)8).Zigzag(0.15).Move(1.3).Dmg(0.9); New("Ohio Moment", "Bullets spiral out of control. Gravity takes a day off.", (Rarity)0, (CardThemeColorType)4).Spiral(500.0, 1.0).BGrav(0.4).RandomBounces(2); New("Bussin", "Hits drain health straight into your mouth. No cap.", (Rarity)0, (CardThemeColorType)5).OnHit(0.4, Do.Leech(6.0)).Life(0.15); New("Mid", "Exactly average. Bullets wobble with mediocrity.", (Rarity)0, (CardThemeColorType)3).Wavy(12.0, 10.0).Dmg(1.05).Hp(1.05) .Move(1.05); New("Rizz", "Block pulls them in and steals their walking speed. W.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.Pull(20.0, 10.0), Do.Steal(1.3, 3.0)).Cd(3.0); New("Sigma Grindset", "Reloading spawns a turret. It also grinds.", (Rarity)2, (CardThemeColorType)3).OnReload(Do.Turret(10.0, 6.0)).Cd(6.0).Reload(0.9); New("Gyatt", "So large it has its own gravity. Pulls enemies every 5s.", (Rarity)0, (CardThemeColorType)6).Size(1.25).Hp(1.3).Every(5.0, Do.Pull(18.0, 9.0)); New("Yeet", "Hits launch enemies into orbit. 30% chance. 100% yeet.", (Rarity)0, (CardThemeColorType)1).OnHit(0.3, Do.LaunchT(45.0), Do.Say("YEET")).Cd(1.5).Knock(1.5); New("Bonk", "Hits have a 20% chance to bonk them stupid. Stun included.", (Rarity)1, (CardThemeColorType)6).OnHit(0.2, Do.Freeze(0.6), Do.Say("*bonk*")).Cd(2.0); New("Go To Horny Jail", "Hits sentence them: launched up, then shrunk for 3 seconds.", (Rarity)1, (CardThemeColorType)8).OnHit(0.25, Do.LaunchT(30.0), Do.ShrinkT(0.7, 3.0)).Cd(3.0); New("This Is Fine", "Below 30% HP you heal 30% while standing in a fire you started.", (Rarity)0, (CardThemeColorType)0).OnLow(0.3, Do.HealPct(0.3), Do.Aura(16.0, 4.0, 4.0), Do.Say("this is fine")); New("Press F", "When you die, an orbital strike pays respects on the nearest enemy.", (Rarity)1, (CardThemeColorType)4).OnDeath(Do.Orbital(70.0), Do.Say("F")); New("Doge Mode", "Such speed. Very rewind. Every 9s, wow, you go back 2 seconds.", (Rarity)1, (CardThemeColorType)1).Move(1.2).Jump(1.2).Every(9.0, Do.Rewind(2.0)); New("Harambe Tribute", "Respawn once. Your return shakes the jungle. Never forget.", (Rarity)2, (CardThemeColorType)6).Respawns(1).OnRevive(Do.Nova(60.0, 10.0), Do.Push(40.0, 10.0), Do.Say("NEVER FORGET")); New("Rickroll", "Block gives you up, lets you down, and pulls you all around.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.OneOf(Do.Swap, Do.Shuffle, Do.Pull(25.0, 12.0)), Do.Say("never gonna give you up")).Cd(4.0).Blocks(1); New("Bottom Text", "Top text: bullets. Bottom text: they explode on hit sometimes.", (Rarity)0, (CardThemeColorType)3).OnHit(0.2, Do.Boom(18.0, 3.0)).Cd(1.5).Dmg(1.1); New("Keyboard Warrior", "Snipes from afar with accelerating bullets. Cowardly. Effective.", (Rarity)0, (CardThemeColorType)3).Accel(3.0, 3.5).Falloff(1.4).Hp(0.85); New("Reply Guy", "Get hit and lightning auto-replies to whoever did it.", (Rarity)1, (CardThemeColorType)0).OnHurt(Do.Zap(22.0, 0)).Cd(1.5); New("Main Character", "Plot armor: 1 respawn. Your comeback episode has fireworks.", (Rarity)2, (CardThemeColorType)1).Respawns(1).Hp(1.2).OnRevive(Do.Fireworks(8, 15.0)) .OnStart(Do.Say("the protagonist has entered")); New("NPC Behaviour", "Sturdy, predictable, and every 8s says one of three lines.", (Rarity)0, (CardThemeColorType)6).Hp(1.35).Move(0.9).Every(8.0, Do.SayAny("nice weather", "I used to be an adventurer", "have you heard of the high elves")); New("Side Quest", "Every 12s a meteor falls on whoever's nearest. Not your problem.", (Rarity)1, (CardThemeColorType)5).Every(12.0, Do.Meteor(45.0, 4.0)).Regen(2.0); New("Speedrun Any%", "Everything's faster. Kills refund your block for the skip.", (Rarity)1, (CardThemeColorType)1).Move(1.3).Rate(0.8).Reload(0.8) .Hp(0.75) .OnKill(Do.RearmBlock); New("Lag Spike", "Every 8s you rubberband back 2 seconds in time. Ping: yes.", (Rarity)1, (CardThemeColorType)3).Every(8.0, Do.Rewind(2.0)).Move(1.15).Stutter(0.4, 0.15); New("Have You Tried Rebooting", "Empty mag: full refill and your block resets. Classic IT.", (Rarity)0, (CardThemeColorType)3).OnEmpty(Do.Refill, Do.RearmBlock).Cd(4.0).Ammo(-1); New("Ctrl+Z", "Below 25% HP: rewind 3 seconds and heal 40. Undo, undo, undo.", (Rarity)2, (CardThemeColorType)7).OnLow(0.25, Do.Recall(3.0, 40.0), Do.Say("ctrl+z")); New("404 Bullet Not Found", "Bullets phase through walls and home in. Found you.", (Rarity)2, (CardThemeColorType)3).Phase().Homing(120.0).Dmg(0.75); New("Blue Screen", "Get hit, 30% chance the attacker freezes for 1 second. Fatal error.", (Rarity)1, (CardThemeColorType)7).OnHurt(0.3, Do.Freeze(1.0), Do.Say(":(")).Cd(3.0); New("Gaslight", "Hits slow them and Hex them. They never could shoot, actually.", (Rarity)1, (CardThemeColorType)4).OnHit(0.25, Do.Hex(1.0), Do.Chill(0.3)).Cd(2.0); New("Gatekeep", "Every 10s a barrier of saws spins around you. Keep the gate.", (Rarity)1, (CardThemeColorType)4).Every(10.0, Do.SawBlades(3, 14.0, 5.0)).FoeBlock(1.15); New("Girlboss", "Kills grant a damage buff and a victory lap. Slay.", (Rarity)1, (CardThemeColorType)8).OnKill(Do.BuffDmg(1.4, 6.0), Do.BuffMove(1.4, 6.0)).Dmg(1.15).BlockCd(0.9); New("Certified Classic", "Boomerang bullets. They always come back, like a good meme.", (Rarity)0, (CardThemeColorType)6).Boomerang(0.5).Dmg(1.15); New("It's Free Real Estate", "Extra jump. Every landing leaves a mine. Free lots.", (Rarity)0, (CardThemeColorType)1).Jumps(1).OnLand(Do.Mine(25.0, 3.5)).Cd(4.0); } private static void Minecraft() { //IL_0489: Unknown result type (might be due to invalid IL or missing references) //IL_110a: Unknown result type (might be due to invalid IL or missing references) //IL_11e6: Unknown result type (might be due to invalid IL or missing references) //IL_125e: Unknown result type (might be due to invalid IL or missing references) //IL_1312: Unknown result type (might be due to invalid IL or missing references) New("Creeper Hug", "On death, ssssss... a 1-second fuse, then a massive explosion.", (Rarity)1, (CardThemeColorType)5).OnDeath(Do.Meteor(90.0, 12.0), Do.Say("ssssss"), Do.Shake(50.0)); New("Aw Man", "Every 10s: so we back in the mine. Plant a creeper mine.", (Rarity)0, (CardThemeColorType)5).Every(10.0, Do.Mine(35.0, 5.0), Do.Say("aw man")).Dmg(1.1); New("Very Nice House You Had", "Block: a creeper detonates your house. Everyone nearby. You too.", (Rarity)1, (CardThemeColorType)5).OnBlock(Do.Nova(55.0, 10.0), Do.HurtSelf(12.0), Do.Say("that's a very nice house")).Cd(3.0); New("Full Diamond Armor", "Nobody can stop you. Hits taken have a chance to deflect.", (Rarity)2, (CardThemeColorType)7).Hp(1.8).Move(0.92).BlockCd(0.9) .OnHurt(0.25, Do.Zap(15.0, 0)) .Cd(2.0); New("Full Netherite", "40 hours of mining. Fireproof: hits taken ignite the attacker.", (Rarity)2, (CardThemeColorType)4).Hp(2.1).Dmg(1.2).Move(0.88) .OnHurt(0.3, Do.Burn(10.0, 3.0)) .Cd(2.0); New("Leather Tunic", "Better than nothing. Dyed pink. Kills give you a 10 HP patch.", (Rarity)0, (CardThemeColorType)6).Hp(1.1).OnKill(Do.Heal(10.0)); New("Golden Apple", "Below 50% HP, eat it: absorption heal and a speed boost.", (Rarity)1, (CardThemeColorType)1).OnLow(0.5, Do.HealPct(0.5), Do.Mend(8.0, 4.0), Do.BuffMove(1.3, 3.0)); New("Enchanted Golden Apple", "Below 30% HP: full heal, strength, speed, and regeneration.", (Rarity)2, (CardThemeColorType)1).OnLow(0.3, Do.HealPct(1.0), Do.BuffDmg(1.5, 6.0), Do.BuffMove(1.4, 6.0), Do.Mend(12.0, 6.0)); New("Totem Of Undying", "Survive death once in a burst of green: full heal, knockback, fireworks.", (Rarity)2, (CardThemeColorType)1).Respawns(1).OnRevive(Do.HealPct(1.0), Do.Push(50.0, 12.0), Do.Fireworks(8, 10.0)); New("Ender Pearl", "Block throws a pearl: blink forward 16 and take 5. Worth it.", (Rarity)2, (CardThemeColorType)4).OnBlock(Do.Blink(16.0), Do.HurtSelf(5.0)).Cd(1.5); New("Don't Look At Him", "Every 12s you teleport behind the nearest enemy. Hits teleport them.", (Rarity)1, (CardThemeColorType)4).Every(12.0, Do.Swap, Do.Say("*enderman noises*")).OnHit(0.1, Do.Shuffle).Cd(5.0); New("Water Bucket Clutch", "Landings heal 18 and splash a slowing puddle. You meant to do that.", (Rarity)1, (CardThemeColorType)2).OnLand(Do.Heal(18.0), Do.Puddle(0.4, 0.0, 4.0, 2.0, Shapes.Ice)).Cd(2.0).Grav(1.15); New("Bed In The Nether", "Block: you may not rest now. Massive explosion. Intentional game design.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.Nova(45.0, 11.0), Do.Aura(15.0, 6.0, 2.0), Do.Say("you may not rest now")).Cd(6.0); New("TNT Minecart", "Every 8s a minecart rolls in and explodes on the nearest enemy.", (Rarity)1, (CardThemeColorType)0).Every(8.0, Do.Meteor(35.0, 6.0), Do.Shake(30.0)); New("Punching Trees", "Bare hands. Slow, satisfying. Hits knock blocks loose (launch).", (Rarity)0, (CardThemeColorType)6).Rate(1.25).Knock(1.6).Dmg(1.2) .OnHit(0.25, Do.LaunchT(20.0)) .Cd(1.0); New("Wooden Pickaxe", "First tool. Breaks immediately. Hits mine a little HP.", (Rarity)0, (CardThemeColorType)6).Dmg(1.08).Ammo(-1).OnHit(0.25, Do.Leech(4.0)) .Cd(1.0); New("Stone Tier", "A respectable upgrade. Hits chip like cobblestone.", (Rarity)0, (CardThemeColorType)3).Dmg(1.15).Hp(1.05).Knock(1.2); New("Iron Tier", "We're getting somewhere. Kills drop an iron turret.", (Rarity)0, (CardThemeColorType)3).Dmg(1.2).Hp(1.1).OnKill(Do.Turret(8.0, 5.0)); New("Diamond Sword", "Sharpness V. Sweeping edge: hits cleave everyone near the target.", (Rarity)2, (CardThemeColorType)7).Dmg(1.6).Knock(1.3).Tint(0.3f, 0.9f, 1f) .OnHit(0.4, Do.Boom(18.0, 4.0)) .Cd(1.0); New("Diamonds!", "Every 25s you found diamonds. You tell everyone. Big heal.", (Rarity)0, (CardThemeColorType)7).Every(25.0, Do.Say("DIAMONDS!"), Do.Heal(25.0), Do.Confetti()).Dmg(1.12); New("Mining At Y-Level -59", "Bullets dig through walls. Every 15s, find diamonds (heal).", (Rarity)2, (CardThemeColorType)6).Phase().Move(0.9).Dmg(0.9) .Every(15.0, Do.Heal(20.0)); New("Gravel Falling", "Landings drop gravel on the nearest enemy. Small meteor.", (Rarity)0, (CardThemeColorType)3).OnLand(Do.Meteor(15.0, 3.0)).Cd(2.0).Grav(1.2); New("Dirt House", "Starter home. Ugly, safe. Block spawns dirt walls (saws).", (Rarity)0, (CardThemeColorType)6).Hp(1.2).BlockCd(0.92).OnBlock(Do.SawBlades(2, 8.0, 2.0)) .Cd(4.0); New("Cobblestone Fortress", "Gray, square, hard to crack. A turret on the battlements.", (Rarity)1, (CardThemeColorType)3).Hp(1.5).Move(0.82).BlockCd(0.85) .Every(14.0, Do.Turret(8.0, 7.0)); New("Hrmm", "Hrmm. Hrm hrmm. Every 18s a villager trades: random buff.", (Rarity)0, (CardThemeColorType)6).Every(18.0, Do.OneOf(Do.BuffDmg(1.4, 5.0), Do.BuffMove(1.4, 5.0), Do.Heal(25.0)), Do.SayAny("hrmm", "hrm hrm", "HRMM")).Hp(1.15); New("Emerald Trade", "Each reload, 30% chance of a good deal: heal and damage boost.", (Rarity)1, (CardThemeColorType)5).OnReload(0.3, Do.Heal(20.0), Do.BuffDmg(1.3, 3.0)); New("Iron Golem", "Big friend. Block throws the nearest enemy into the sky.", (Rarity)2, (CardThemeColorType)3).Hp(1.8).Size(1.3).OnBlock(Do.Toss(50.0, 8.0), Do.LaunchT(55.0)) .Cd(3.0) .Move(0.85); New("Skeleton Aim", "Perfectly accurate, somehow. Bullets curve to hit. Rattle.", (Rarity)1, (CardThemeColorType)3).Spread(-0.3).Homing(90.0).Hp(0.9); New("Phantom Insomnia", "Haven't slept in days. Every 11s, phantoms dive on the nearest foe.", (Rarity)1, (CardThemeColorType)7).Move(1.3).Rate(0.85).Every(11.0, Do.Airstrike(2, 25.0), Do.Maybe(0.5, Do.StunSelf(0.4))); New("Wither Effect", "Bullets wither: dark damage over time and a slice of max HP.", (Rarity)2, (CardThemeColorType)4).PctDmg(0.05).Tint(0.1f, 0.1f, 0.1f).OnHit(Do.Wither(8.0, 4.0)) .Cd(1.0); New("Warden Sonic Boom", "Every 9s, a sonic laser that ignores walls. Then a shockwave.", (Rarity)2, (CardThemeColorType)7).Every(9.0, Do.Laser(45.0), Do.Nova(20.0, 10.0), Do.Shake(55.0)); New("Sculk Shrieker", "Get hit and the shrieker screams: area silence and darkness.", (Rarity)1, (CardThemeColorType)7).OnHurt(0.3, Do.Silence(0.8, 12.0), Do.Hex(1.5)).Cd(4.0); New("Beacon", "Passive speed, strength, and a beam of light every 12s.", (Rarity)2, (CardThemeColorType)7).Move(1.15).Dmg(1.2).Regen(4.0) .Every(12.0, Do.Orbital(50.0)); New("Potion Of Swiftness", "Every 12s, four seconds of speed and swift bullets.", (Rarity)0, (CardThemeColorType)7).Every(12.0, Do.BuffMove(1.6, 4.0), Do.BuffRate(0.8, 4.0)); New("Potion Of Leaping", "Every 12s, four seconds of jump. Landings shake the ground.", (Rarity)0, (CardThemeColorType)5).Every(12.0, Do.BuffJump(1.8, 4.0)).OnLand(Do.Push(15.0, 5.0)).Cd(2.0); New("Splash Potion Of Harming", "Block throws harm: everyone nearby hurt and poisoned.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.Nova(25.0, 9.0), Do.Puddle(0.2, 8.0, 8.0, 3.0)).Cd(2.0); New("Bow With Power V", "Fully charged. Arrows accelerate and pin the target in place.", (Rarity)1, (CardThemeColorType)6).Dmg(1.6).Rate(1.35).Accel(2.0, 2.0) .OnHit(0.3, Do.Freeze(0.4)) .Cd(2.0); New("Multishot Crossbow", "Three bolts per pull. Each one wiggles slightly.", (Rarity)1, (CardThemeColorType)6).Bullets(2).Spread(0.15).Dmg(0.75) .Wavy(8.0); New("Trident Riptide", "Block launches you where you aim with a lightning strike.", (Rarity)2, (CardThemeColorType)2).OnBlock(Do.Dash(60.0), Do.Nova(15.0, 6.0), Do.Thunder(25.0)).Cd(2.0); New("Shield Slowdown", "Holding up a shield. Blocks reflect lightning at the attacker.", (Rarity)0, (CardThemeColorType)2).BlockCd(0.75).Move(0.9).OnBlock(Do.Zap(10.0, 0)) .Cd(1.0); New("Elytra", "Low gravity, high speed. Block: firework boost forward.", (Rarity)2, (CardThemeColorType)4).Grav(0.35).Move(1.3).Hp(0.9) .OnBlock(Do.Dash(45.0), Do.Confetti(4)) .Cd(2.0); New("Firework Rocket", "Block rockets you up and the launch blast hurts everyone near.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.Launch(55.0), Do.Fireworks(6, 12.0)).Cd(3.0); New("Slime Block", "Landings bounce you back up and fling nearby enemies too.", (Rarity)0, (CardThemeColorType)5).OnLand(Do.Launch(35.0), Do.Toss(25.0, 5.0)).Cd(1.0); New("Honey Block", "Sticky. Hits glue them in a honey puddle. Bees approve.", (Rarity)0, (CardThemeColorType)1).OnHit(0.3, Do.Puddle(0.6, 0.0, 3.0, 3.0, Shapes.Holy)).Cd(2.0).Speed(0.85); New("Cobweb Trap", "Block traps the nearest enemy in a web: frozen and slowed.", (Rarity)1, (CardThemeColorType)3).OnBlock(Do.Freeze(0.8), Do.Frost(1.0, 8.0)).Cd(3.0); New("Soul Sand", "Enemies move slower. Every 10s soul sand opens under the nearest.", (Rarity)1, (CardThemeColorType)6).FoeMove(0.9).Every(10.0, Do.Puddle(0.6, 4.0, 4.0, 4.0, Shapes.Void)); New("Packed Ice Road", "You're fast and can't quite stop. Leave ice everywhere.", (Rarity)0, (CardThemeColorType)7).Move(1.45).Jump(0.92).Every(4.0, Do.Puddle(0.3, 0.0, 3.0, 3.0, Shapes.Ice)); New("Two Blocks Deep", "Hole in the ground. Regen. Enemies fall in (yanked down).", (Rarity)0, (CardThemeColorType)6).Hp(1.2).Jump(0.8).Regen(2.0) .Every(9.0, Do.YankT(30.0)); New("Lava Bucket", "Block pours lava on everyone near. 30% chance you're in it.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.Puddle(0.0, 20.0, 6.0, 3.0, Shapes.Fire), Do.Maybe(0.3, Do.HurtSelf(15.0))).Cd(3.0); New("Fall Damage", "Landings hurt you 5. But your bullets hit like an anvil.", (Rarity)0, (CardThemeColorType)0).Dmg(1.5).OnLand(Do.HurtSelf(5.0)).Cd(1.0); New("Flint And Steel", "Hits have a 30% chance to set the target on fire.", (Rarity)0, (CardThemeColorType)0).OnHit(0.3, Do.Burn(10.0, 4.0)).Cd(1.0); New("Rotten Flesh", "Reloads heal 18, but you get hunger (slow) for a bit.", (Rarity)0, (CardThemeColorType)5).OnReload(Do.Heal(18.0), Do.BuffMove(0.8, 1.5)); New("Cake On A Pressure Plate", "Every 15s, cake. Everyone's a little healed. The cake is also a mine.", (Rarity)0, (CardThemeColorType)8).Every(15.0, Do.Heal(20.0), Do.HealFoes(10.0, 12.0), Do.Mine(30.0, 4.0)); New("Hunger Bar Empty", "You can't sprint. But you hit like a truck. Kills: steak (heal).", (Rarity)1, (CardThemeColorType)0).Move(0.75).Dmg(1.7).OnKill(Do.HealPct(0.4)); New("Redstone Contraption", "Every 7s, something fires. Nobody understands how it works.", (Rarity)1, (CardThemeColorType)0).Every(7.0, Do.OneOf(Do.Push(30.0, 10.0), Do.Pull(30.0, 10.0), Do.Refill, Do.RearmBlock, Do.Laser(30.0), Do.Turret(8.0, 4.0))); New("Herobrine", "Removed in a previous update. Every 30s he appears. Lightning, fear.", (Rarity)2, (CardThemeColorType)3).Every(30.0, Do.Thunder(60.0), Do.Stun(0.6, 99.0), Do.Say("herobrine removed")).Dmg(1.25); New("Night Mobs", "Every 6s things gather: you pull everyone in, then they bleed.", (Rarity)1, (CardThemeColorType)4).Every(6.0, Do.Pull(20.0, 15.0), Do.Nova(8.0, 15.0), Do.Bleed(5.0, 3.0)); New("Respawn Point Set", "One respawn. You come back at your bed with full HP and a turret.", (Rarity)2, (CardThemeColorType)8).Respawns(1).OnRevive(Do.Say("respawn point set"), Do.HealPct(1.0), Do.Turret(10.0, 6.0)); New("Wandering Trader", "Every 20s he appears, teleports you, and sells you a random buff.", (Rarity)0, (CardThemeColorType)7).Every(20.0, Do.Hop(9.0), Do.OneOf(Do.BuffDmg(1.4, 5.0), Do.BuffMove(1.4, 5.0)), Do.SayAny("buy a fern", "llama sold separately")).Hp(1.15); New("Creative Mode", "Infinite everything. Well: 4 jumps, 20 ammo, low gravity, flight.", (Rarity)2, (CardThemeColorType)3).Jumps(4).Ammo(20).Grav(0.6) .Hp(0.85); } private static void Nonsense() { //IL_04ef: Unknown result type (might be due to invalid IL or missing references) //IL_063b: Unknown result type (might be due to invalid IL or missing references) //IL_1087: Unknown result type (might be due to invalid IL or missing references) //IL_143d: Unknown result type (might be due to invalid IL or missing references) //IL_14d0: Unknown result type (might be due to invalid IL or missing references) //IL_1bd9: Unknown result type (might be due to invalid IL or missing references) //IL_1d96: Unknown result type (might be due to invalid IL or missing references) New("This Card Is Lying", "This card gives you no damage and does not make hits explode.", (Rarity)0, (CardThemeColorType)4).Dmg(1.2).OnHit(0.15, Do.Boom(15.0, 3.0)).Cd(2.0); New("This Card Is Also Lying", "The other card is telling the truth. Also: no healing field.", (Rarity)0, (CardThemeColorType)4).Hp(1.15).Every(10.0, Do.Mend(6.0, 3.0)); New("Read The Card", "Nobody reads the card. If you did: hits have a 10% chance to stun.", (Rarity)0, (CardThemeColorType)3).Dmg(1.1).OnHit(0.1, Do.Freeze(0.5)).Cd(3.0); New("Card Of Mild Inconvenience", "Every 11s you pause. A tiny pause. So do they.", (Rarity)0, (CardThemeColorType)3).Every(11.0, Do.StunSelf(0.1), Do.Stun(0.3, 10.0)).Dmg(1.15); New("Card That Hates You", "Every 12s it hits you personally. Then it hits them harder.", (Rarity)0, (CardThemeColorType)0).Every(12.0, Do.HurtSelf(6.0), Do.Thunder(30.0), Do.Say("I hate you specifically")).Dmg(1.2); New("Card That Loves You", "Every 12s it hugs you (heal) and glares at your enemies (mark).", (Rarity)0, (CardThemeColorType)8).Every(12.0, Do.Heal(20.0), Do.MarkT(0.2, 4.0), Do.Say("you're doing great")); New("Oops All Bullets", "Absurd bullet count. Absurdly weak. Absurdly wavy.", (Rarity)2, (CardThemeColorType)1).Bullets(12).Dmg(0.15).Spread(0.5) .Ammo(5) .Wavy(20.0, 15.0); New("Oops No Bullets", "One bullet. Giant. Homing. Explodes. Please aim (you don't need to).", (Rarity)2, (CardThemeColorType)0).Ammo(-3).Dmg(2.5).Reload(1.8) .BSize(1.5) .Homing(120.0) .Rockets(50.0, 6.0); New("Sentient Gun", "Every 15s it speaks and fires itself at the nearest enemy.", (Rarity)1, (CardThemeColorType)4).Every(15.0, Do.Laser(35.0), Do.SayAny("I remember everything", "aim lower", "you are my favorite", "they know")).Rate(0.85); New("Unionized Bullets", "Slower, but they all get dental. Every 20s they strike (stun all).", (Rarity)0, (CardThemeColorType)2).Speed(0.85).Dmg(1.2).Every(20.0, Do.Stun(0.5, 99.0), Do.Say("what do we want")); New("Bullet On Strike", "Every 18s your gun refuses. Then it unloads a picket line of lasers.", (Rarity)1, (CardThemeColorType)1).Every(18.0, Do.StunSelf(0.4), Do.Laser(30.0), Do.Say("what do we want")).Dmg(1.3); New("Bullet Therapy", "Bullets are working through some things. Hits heal you a bit.", (Rarity)0, (CardThemeColorType)8).Life(0.15).Rate(1.1).OnHit(0.3, Do.Heal(4.0)) .Cd(1.0) .Note("Yes", "Validated"); New("Bullets Have Feelings", "Every hit apologizes and heals you 3. Kills: tears (slow puddle).", (Rarity)0, (CardThemeColorType)8).OnDeal(Do.Heal(3.0)).Dmg(1.05).OnKill(Do.Puddle(0.4, 0.0, 5.0, 3.0, Shapes.Ice)); New("Bullet With Anxiety", "Spread goes everywhere. Bullets zigzag in panic. So do your thoughts.", (Rarity)0, (CardThemeColorType)7).Spread(0.3).Rate(0.75).Zigzag(0.1); New("Bullet With Confidence", "Very straight. Very fast. Accelerates out of sheer self-belief.", (Rarity)0, (CardThemeColorType)1).Spread(-0.25).Dmg(1.1).Accel(2.0, 2.5); New("Middle Child Bullet", "Ignored. Goes through walls unnoticed. Sometimes acts out (explodes).", (Rarity)1, (CardThemeColorType)3).Phase().Dmg(0.8).OnHit(0.2, Do.Boom(20.0, 3.0)) .Cd(2.0); New("Soup Gun", "It shoots soup. Hits leave a hot, slowing soup puddle.", (Rarity)0, (CardThemeColorType)0).Speed(0.7).OnHit(0.4, Do.Puddle(0.4, 6.0, 3.0, 3.0, Shapes.Fire)).Cd(1.5) .Life(0.15); New("Bee Gun", "It shoots bees. Homing bees. When bees get in the gun, they get in everything.", (Rarity)2, (CardThemeColorType)1).Bullets(5).Dmg(0.35).Homing(250.0) .Wavy(20.0, 20.0) .OnHit(0.2, Do.Poison(3.0, 3.0)) .Cd(0.5) .Tint(1f, 0.85f, 0f); New("Gun Gun", "A gun that shoots guns. Each gun fires a turret where it lands.", (Rarity)2, (CardThemeColorType)3).BSize(1.0).Dmg(1.6).Rate(1.4) .BGrav(1.5) .TurretRounds(); New("Sword Gun", "It's a sword. No, a gun. Bullets boomerang like a thrown blade.", (Rarity)1, (CardThemeColorType)0).Knock(2.0).Dmg(1.3).Fuse(0.9) .Boomerang(0.35) .OnHit(0.3, Do.Bleed(6.0, 3.0)) .Cd(1.0); New("Fish Gun", "Flopping everywhere. Bullets wiggle and bounce and bounce.", (Rarity)0, (CardThemeColorType)2).Bounces(5).RandomBounces(1).Wavy(35.0, 18.0); New("Baguette Launcher", "Honk honk. Long crusty bullets that accelerate. Hits stun (bonk).", (Rarity)0, (CardThemeColorType)6).Accel(2.0, 2.0).Knock(1.5).Dmg(1.1) .OnHit(0.15, Do.Freeze(0.4)) .Cd(2.0); New("Tiny Violin", "Get hit: the violin plays, you regen, and the attacker cries (slow).", (Rarity)0, (CardThemeColorType)8).OnHurt(0.3, Do.SlowT(0.7, 2.0), Do.Say("*tiny violin plays*")).Cd(5.0).Regen(3.0); New("Clown Shoes", "Honk. Awkward walk. Huge jumps. Landings honk and stun.", (Rarity)0, (CardThemeColorType)0).Move(0.9).Jump(1.5).OnLand(0.3, Do.Stun(0.3, 5.0), Do.Say("honk")) .Cd(3.0); New("Clown Car", "Every 7s too many of you: confetti, teleport, and a decoy explodes.", (Rarity)1, (CardThemeColorType)8).Every(7.0, Do.Confetti(12), Do.Nova(15.0, 4.0), Do.Hop(6.0)); New("Clown Horn Block", "Block goes HONK: everyone nearby stunned and pushed.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.Stun(0.5, 8.0), Do.Push(25.0, 8.0), Do.Say("honk")).Cd(4.0); New("Pie To The Face", "Hits have a 20% chance to pie them: blinded (Hex) and slowed.", (Rarity)0, (CardThemeColorType)8).OnHit(0.2, Do.Hex(1.0), Do.SlowT(0.7, 2.0), Do.Say("*splat*")).Cd(3.0); New("Inflatable Tube Man", "Every 5s you're huge for a moment, flailing saw blade arms.", (Rarity)1, (CardThemeColorType)0).Every(5.0, Do.Inflate(1.6, 1.5), Do.SawBlades(2, 10.0, 1.5)); New("Balloon Body", "Light and round. Pops on landing sometimes: explosion.", (Rarity)0, (CardThemeColorType)8).Size(1.3).Grav(0.3).Hp(0.85) .OnLand(0.15, Do.HurtSelf(10.0), Do.Nova(30.0, 6.0)) .Cd(2.0); New("Upside Down Day", "Every 9s gravity flips for you AND your bullets.", (Rarity)1, (CardThemeColorType)4).Every(9.0, Do.Upsidedown(1.0)).Jump(1.2).Spiral(180.0, 0.5); New("Gravity Is A Suggestion", "Block reverses your gravity and tosses everyone near you.", (Rarity)0, (CardThemeColorType)4).OnBlock(Do.Upsidedown(1.4), Do.Toss(30.0, 8.0)).Cd(2.0); New("Sudden Inflation", "Get hit and you swell up, knocking everyone away.", (Rarity)0, (CardThemeColorType)0).OnHurt(0.35, Do.Inflate(1.4, 3.0), Do.Push(30.0, 6.0)).Cd(3.0).Hp(1.15); New("Honey I Shrunk Me", "Block shrinks you for 3s. Also shrinks the nearest enemy more.", (Rarity)0, (CardThemeColorType)8).OnBlock(Do.Inflate(0.55, 3.0), Do.ShrinkT(0.5, 3.0)).Cd(3.0); New("Everyone Is Enormous", "All enemies are bigger. Every 10s they get even bigger.", (Rarity)1, (CardThemeColorType)1).FoeSize(1.25).Dmg(1.1).Every(10.0, Do.ShrinkT(1.3, 4.0)); New("Barbie Bullets", "Enemy bullets are pink. Yours are pink and home in. Fabulous.", (Rarity)0, (CardThemeColorType)8).FoeTint(1f, 0.2f, 0.7f).Tint(1f, 0.4f, 0.8f).Homing(60.0); New("Goth Phase", "Enemy bullets are black. Hits wither them. They're going through something.", (Rarity)0, (CardThemeColorType)4).FoeTint(0.05f, 0.05f, 0.05f).Dmg(1.1).OnHit(0.25, Do.Wither(5.0, 3.0)) .Cd(1.0); New("Musical Chairs", "Every 15s the music stops: everyone trades places and is stunned.", (Rarity)2, (CardThemeColorType)8).Every(15.0, Do.Shuffle, Do.Stun(0.4, 99.0), Do.Say("the music stopped")); New("Spin The Bottle", "Block: the bottle spins. Swap with someone. Awkward. Then a kiss (heal).", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.Shuffle, Do.Heal(15.0)).Cd(4.0); New("Everybody Clap", "Every 10s: confetti, applause, and the clap stuns everyone near you.", (Rarity)0, (CardThemeColorType)8).Every(10.0, Do.Confetti(14), Do.Heal(8.0), Do.Stun(0.3, 8.0), Do.Say("*clap*")); New("Wrong Number", "Every 28s: have you considered your car's warranty? Everyone Hexed.", (Rarity)0, (CardThemeColorType)3).Every(28.0, Do.Silence(1.0, 99.0), Do.Say("we've been trying to reach you")).Hp(1.2); New("Extended Warranty", "One more respawn. Terms apply: you come back slower.", (Rarity)2, (CardThemeColorType)3).Respawns(1).Dmg(0.85).OnRevive(Do.BuffMove(0.7, 4.0), Do.Say("claim approved")); New("Fine Print", "Tiny text, serious damage. Hits mark them (see clause 4b).", (Rarity)0, (CardThemeColorType)3).Dmg(1.25).Size(0.92).Hp(0.92) .OnHit(0.2, Do.MarkT(0.25, 3.0)) .Cd(2.0); New("Sir This Is A Wendy's", "Every 20s someone reminds you where you are. Fries rain down.", (Rarity)0, (CardThemeColorType)0).Every(20.0, Do.Rain(4, 15.0, Shapes.Holy), Do.Say("sir, this is a drive-thru")).Dmg(1.12); New("Nobody:", "Absolutely nobody: hits have a chance to chain lightning.", (Rarity)0, (CardThemeColorType)3).Dmg(1.1).OnHit(0.15, Do.Zap(12.0, 2)).Cd(1.0); New("Literally Me", "Stares into the distance. Every 15s, a dramatic slow-motion moment.", (Rarity)0, (CardThemeColorType)7).Hp(1.15).Move(1.05).Every(15.0, Do.Frost(0.8, 99.0), Do.BuffDmg(1.5, 3.0), Do.Say("literally me")); New("Unspeakable Horror", "Every 16s it speaks. Silence falls. Everyone near you bleeds.", (Rarity)2, (CardThemeColorType)4).Every(16.0, Do.Silence(1.0, 99.0), Do.Bleed(10.0, 4.0), Do.Nova(20.0, 10.0), Do.Say("...")); New("Boneless Bones", "You are a sack. Low gravity, big HP, landings bounce enemies.", (Rarity)0, (CardThemeColorType)8).Hp(1.3).Grav(0.65).Jump(0.8) .OnLand(Do.Toss(18.0, 5.0)) .Cd(2.0); New("One Sock", "Absurdly small bonus. It's one sock. Every 30s, it finds its pair.", (Rarity)0, (CardThemeColorType)3).Move(1.01).Every(30.0, Do.BuffMove(1.5, 5.0), Do.Say("found the other sock")); New("Literally Just A Rock", "It's a rock. Every 10s a rock falls on someone. Respect the rock.", (Rarity)0, (CardThemeColorType)6).Dmg(1.05).Every(10.0, Do.Meteor(25.0, 3.0)).Note("Yes", "Rock"); New("Hyperfixation", "Nine days thinking about one enemy. The nearest is permanently marked.", (Rarity)2, (CardThemeColorType)3).Spread(-0.4).Dmg(1.3).Every(3.0, Do.MarkT(0.3, 3.5)); New("Pocket Sand", "Block throws sand: the nearest is Hexed and everyone slowed.", (Rarity)0, (CardThemeColorType)1).OnBlock(Do.Frost(0.9, 7.0), Do.Hex(1.5), Do.Say("sha-sha!")).Cd(5.0); New("Moist", "Every 20s this word pops up and everyone near you gets wet (slowed).", (Rarity)0, (CardThemeColorType)2).Every(20.0, Do.Puddle(0.5, 0.0, 8.0, 4.0, Shapes.Ice), Do.Say("moist")).Regen(2.0); New("Damp Bullets", "Slightly slower, slightly warmer. Hits leave a damp puddle.", (Rarity)0, (CardThemeColorType)2).Speed(0.92).Life(0.1).OnHit(0.3, Do.Puddle(0.3, 0.0, 2.5, 2.0, Shapes.Ice)) .Cd(2.0); New("Yeehaw", "Every 16s: YEEHAW. Speed boost and a lasso yanks the nearest in.", (Rarity)0, (CardThemeColorType)6).Every(16.0, Do.BuffMove(1.7, 3.0), Do.YankT(45.0), Do.Say("YEEHAW")); New("Horse Armor DLC", "$2.50. A small health nudge. Hits taken: 10% chance it works.", (Rarity)0, (CardThemeColorType)1).Hp(1.05).OnHurt(0.1, Do.Heal(25.0)).Cd(5.0) .Note("$2.50", "Cost", good: false); New("Hippity Hoppity", "Your property. Every 6s nearby foes are launched and you take their stuff.", (Rarity)1, (CardThemeColorType)8).Every(6.0, Do.Toss(25.0, 9.0), Do.Leech(6.0)); New("Chungus Among Us", "Fat, suspicious, and proud. Every 10s: vent, then stab.", (Rarity)1, (CardThemeColorType)4).Size(1.25).Every(10.0, Do.Swap, Do.Bleed(10.0, 3.0)).Hp(1.3); New("Hamster Wheel", "Moving is all you do. Very fast. Leaves a trail of zaps.", (Rarity)0, (CardThemeColorType)1).Move(1.55).Dmg(0.85).Every(3.0, Do.Nova(6.0, 4.0)); New("Flat Tire", "Enemies go a bit slower. Hits pop their tires (slow).", (Rarity)0, (CardThemeColorType)3).FoeMove(0.92).OnHit(0.2, Do.SlowT(0.7, 2.0)).Cd(2.0); New("Ice Cream Headache", "Get hit: brain freeze. You, them, everyone nearby.", (Rarity)0, (CardThemeColorType)7).OnHurt(0.25, Do.Stun(0.5, 9.0), Do.Freeze(0.5), Do.StunSelf(0.2)).Cd(3.0); New("Brain Fog", "Enemies shoot worse. Every 12s the fog rolls in (Hex all).", (Rarity)0, (CardThemeColorType)7).FoeSpread(0.08).Reload(1.05).Every(12.0, Do.Silence(0.5, 99.0)); New("Existential Dread", "Every 19s you pause and consider. So does everyone else. Then: rage.", (Rarity)1, (CardThemeColorType)4).Every(19.0, Do.StunSelf(0.4), Do.Stun(0.6, 99.0), Do.BuffDmg(1.5, 4.0), Do.SayAny("why are we shooting", "what is a round", "was any of this real")).Dmg(1.3); New("Why Are You Reading This", "Stop reading. Start shooting. +20% reload. Hits Hex readers.", (Rarity)0, (CardThemeColorType)3).Reload(0.8).OnHit(0.1, Do.Hex(0.7)).Cd(3.0); New("Absolutely Nothing", "This card does nothing and you picked it. (Every 60s: orbital strike.)", (Rarity)1, (CardThemeColorType)3).Every(60.0, Do.Orbital(100.0)).Note("0", "Effect", good: false); New("Slightly Less Than Nothing", "You lost a tiny bit of damage. For free. Kills give it back.", (Rarity)0, (CardThemeColorType)0).Dmg(0.99).OnKill(Do.BuffDmg(1.3, 5.0)); New("Second Blank Card", "It's blank too. It still has friends. Every 20s: random spell.", (Rarity)1, (CardThemeColorType)3).Every(20.0, Do.OneOf(Do.Meteor(40.0, 4.0), Do.Heal(30.0), Do.Zap(25.0, 3), Do.Turret(8.0, 5.0))).Note("???", "Nothing"); New("Sentient Toaster Union", "Every 14s, toast is demanded: everyone shoved, toasty burns.", (Rarity)0, (CardThemeColorType)1).Every(14.0, Do.Push(24.0, 12.0), Do.Aura(10.0, 12.0, 2.0), Do.Say("BREAD OR DEATH")); New("Forgot To Reload IRL", "Reload takes longer. Bullets feel guilty: they home and hit harder.", (Rarity)0, (CardThemeColorType)0).Reload(1.25).Dmg(1.3).Homing(60.0); New("Tax Fraud Pigeon", "Every 13s it swaps you with someone and steals 10 HP. No receipts.", (Rarity)1, (CardThemeColorType)7).Every(13.0, Do.Swap, Do.Leech(10.0)).Dmg(1.1); New("Haunted Crocs", "Sport mode. Fast, cursed, comfortable. Landings summon ghost hands (pull).", (Rarity)1, (CardThemeColorType)5).Move(1.35).Every(17.0, 0.4, Do.Hop(9.0)).OnLand(0.3, Do.Pull(18.0, 8.0)) .Cd(3.0); New("Wizard Of Mild Weather", "Every 9s a light breeze and a gentle 10-damage drizzle.", (Rarity)0, (CardThemeColorType)7).Every(9.0, Do.Scatter(14.0, 12.0), Do.Rain(2, 10.0, Shapes.Ice)); New("Emotional Support Grenade", "Get hit, 25% chance: it believes in you. Loudly. (Heal + blast.)", (Rarity)1, (CardThemeColorType)8).OnHurt(0.25, Do.Nova(26.0, 9.0), Do.Heal(12.0), Do.Say("you've got this!")).Cd(2.5); New("Legally Distinct Hedgehog", "Gotta go reasonably fast. Landings spin-dash into enemies.", (Rarity)0, (CardThemeColorType)2).Move(1.4).OnLand(0.4, Do.Dash(30.0), Do.Nova(10.0, 4.0)).Cd(2.0); New("The Card Before Vorgath", "It knows what comes next. It's terrified. Every 20s: a premonition.", (Rarity)2, (CardThemeColorType)4).Hp(1.4).Dmg(1.4).Move(0.85) .OnStart(Do.Say("he is coming")) .Every(20.0, Do.Orbital(50.0), Do.Say("he is coming")); New("Vorgath's Dry Cleaning", "Vorgath left this behind. +1 respawn. Smells like eternity (burns).", (Rarity)1, (CardThemeColorType)4).Respawns(1).Hp(0.75).OnRevive(Do.Aura(15.0, 5.0, 5.0, Shapes.Void)); } private static void Pokemon() { //IL_0ba1: Unknown result type (might be due to invalid IL or missing references) //IL_0f40: Unknown result type (might be due to invalid IL or missing references) //IL_0fbe: Unknown result type (might be due to invalid IL or missing references) New("Magikarp Used Splash", "Block: Splash! But nothing happened. 5% of the time, a tidal wave.", (Rarity)0, (CardThemeColorType)2).OnBlock(Do.OneOf(Do.Say("But nothing happened!"), Do.Say("But nothing happened!"), Do.Say("But nothing happened!"), Do.Push(70.0, 20.0))).Cd(3.0); New("Gyarados Glow-Up", "Below 40% HP the useless fish evolves: rampage and Hyper Beam lasers.", (Rarity)2, (CardThemeColorType)2).OnLow(0.4, Do.BuffDmg(2.2, 8.0), Do.BuffMove(1.4, 8.0), Do.Laser(60.0), Do.Shake(45.0)).Every(3.0, 0.3, Do.Laser(30.0)); New("Thunderbolt", "Hits have a 25% chance to call lightning and paralyze the target.", (Rarity)1, (CardThemeColorType)1).OnHit(0.25, Do.Thunder(25.0), Do.Freeze(0.4)).Cd(2.0).Dmg(1.05); New("Thunder Wave", "Block paralyzes everyone close: stun and slow, with arcing sparks.", (Rarity)1, (CardThemeColorType)1).OnBlock(Do.Stun(0.5, 9.0), Do.Frost(0.5, 9.0), Do.Zap(8.0, 3)).Cd(3.0); New("Pika Pika", "Small, fast, and every 6s a spark leaps to the nearest foe.", (Rarity)0, (CardThemeColorType)1).Every(6.0, Do.Zap(14.0, 1), Do.SayAny("pika", "pika pika", "PIKAAAA")).Move(1.15).Size(0.9); New("Blasting Off Again", "On death, you blast off and a star falls on the nearest foe.", (Rarity)0, (CardThemeColorType)4).OnDeath(Do.Launch(70.0), Do.Meteor(50.0, 5.0), Do.Say("looks like I'm blasting off again!")).Dmg(1.12); New("Psyduck Headache", "Get hit: head hurts. 25% chance it unleashes a psychic blast.", (Rarity)1, (CardThemeColorType)1).OnHurt(0.25, Do.Stun(0.6, 10.0), Do.Nova(25.0, 10.0), Do.StunSelf(0.25)).Cd(3.0); New("Snorlax Is Blocking", "Immovable. Enormous. Asleep. Landing on people: Body Slam.", (Rarity)2, (CardThemeColorType)2).Hp(2.8).Size(1.6).Move(0.6) .Regen(8.0) .OnLand(Do.Nova(30.0, 7.0), Do.Stun(0.5, 7.0)) .Cd(2.0); New("Used Rest", "Below 30% HP, sleep for 1.5s and fully heal. Zzz.", (Rarity)1, (CardThemeColorType)8).OnLow(0.3, Do.HealPct(1.0), Do.StunSelf(1.5), Do.Say("zzz")); New("Slowpoke Delay", "Reacts to damage five seconds later. Bullets slowly accelerate.", (Rarity)1, (CardThemeColorType)8).Dot(4.0).Move(0.85).Hp(1.2) .Accel(1.0, 2.5); New("Ditto Face", "Every 10s you swap with the nearest enemy and copy their size.", (Rarity)1, (CardThemeColorType)8).Every(10.0, Do.Swap, Do.Inflate(1.2, 4.0)).Note("Yes", "Sus smile"); New("Mew Under The Truck", "It's real. My cousin saw it. +1 respawn. Bullets are psychic (homing).", (Rarity)2, (CardThemeColorType)8).Respawns(1).Homing(80.0); New("MissingNo", "Every 8s reality glitches: everyone shuffles, bullets go haywire.", (Rarity)2, (CardThemeColorType)3).Every(8.0, Do.Shuffle, Do.Confetti(8)).Dmg(1.2).Zigzag(0.15) .RandomBounces(1); New("Nurse Joy", "Every 12s: heal 45%. We hope to see you again!", (Rarity)2, (CardThemeColorType)8).Every(12.0, Do.HealPct(0.45), Do.Say("We hope to see you again!")); New("Potion", "Below 50% HP, spray a potion: heal 25.", (Rarity)0, (CardThemeColorType)8).OnLow(0.5, Do.Heal(25.0), Do.Mend(4.0, 2.0)); New("Hyper Potion", "Below 50% HP, heal 200, somehow.", (Rarity)1, (CardThemeColorType)8).OnLow(0.5, Do.Heal(200.0)); New("Max Revive", "Respawn once at full health with a holy flash.", (Rarity)2, (CardThemeColorType)1).Respawns(1).OnRevive(Do.HealPct(1.0), Do.Smite(0.1, 12.0)); New("Master Ball", "Bullets can't be blocked and always find their target.", (Rarity)2, (CardThemeColorType)4).Unblockable().Homing(250.0).Ammo(-2); New("Great Ball", "Slightly better odds. Hits have a 10% chance to capture (stun).", (Rarity)0, (CardThemeColorType)2).Dmg(1.12).Speed(1.1).OnHit(0.1, Do.Freeze(0.8), Do.Say("gotcha!")) .Cd(3.0); New("Rare Candy", "Level up! All stats rise. Kills level you up again (buff).", (Rarity)1, (CardThemeColorType)8).Dmg(1.1).Hp(1.1).Move(1.08) .Reload(0.92) .OnKill(Do.BuffDmg(1.3, 8.0), Do.Say("level up!")); New("Flamethrower", "Every 3s a gout of fire hits the nearest foe. Bullets are orange.", (Rarity)1, (CardThemeColorType)0).Every(3.0, Do.Burn(8.0, 3.0), Do.Nova(10.0, 6.0)).Tint(1f, 0.35f, 0f); New("Hyper Beam", "Every reload fires a giant beam. Then you must recharge.", (Rarity)2, (CardThemeColorType)1).Dmg(1.6).OnReload(Do.Laser(80.0), Do.StunSelf(0.7)).Reload(1.2); New("Used Self-Destruct", "On death, an enormous blast. The screen goes white.", (Rarity)1, (CardThemeColorType)0).OnDeath(Do.Nova(120.0, 14.0), Do.Shake(70.0)); New("Used Explosion", "Block: blow up, take a heavy hit yourself. Huge damage.", (Rarity)2, (CardThemeColorType)0).OnBlock(Do.Nova(90.0, 13.0), Do.HurtSelf(35.0), Do.Shake(60.0)).Cd(5.0); New("Metronome", "Block does literally anything. Including orbital strikes.", (Rarity)2, (CardThemeColorType)8).OnBlock(Do.OneOf(Do.Nova(50.0, 10.0), Do.HealPct(0.4), Do.Stun(0.8, 10.0), Do.Swap, Do.Shuffle, Do.Launch(50.0), Do.Silence(1.0, 10.0), Do.HurtSelf(20.0), Do.Orbital(70.0), Do.BlackHole(30.0, 7.0, 3.0), Do.Laser(50.0))).Cd(2.0); New("Jigglypuff Sang", "Every 15s everyone close falls asleep. You draw on their faces.", (Rarity)2, (CardThemeColorType)8).Every(15.0, Do.Stun(0.9, 12.0), Do.MarkT(0.3, 4.0), Do.Say("Jiggly-puuuff")); New("Marker On Your Face", "Enemy bullets turn pink. Hits mark them. They get angry.", (Rarity)0, (CardThemeColorType)8).FoeTint(1f, 0.4f, 0.8f).FoeMove(0.95).OnHit(0.2, Do.MarkT(0.2, 3.0)) .Cd(2.0); New("Sleep Powder", "Hits have a 15% chance to put the target to sleep for 1s.", (Rarity)1, (CardThemeColorType)5).OnHit(0.15, Do.Freeze(1.0), Do.Say("zzz")).Cd(3.0); New("Stun Spore", "Block releases a paralyzing cloud that lingers.", (Rarity)0, (CardThemeColorType)5).OnBlock(Do.Frost(0.8, 8.0), Do.Puddle(0.6, 0.0, 6.0, 3.0, Shapes.Holy)).Cd(3.0); New("Poison Sting", "Hits poison. Badly. Purple, sickly bullets.", (Rarity)0, (CardThemeColorType)5).OnHit(0.4, Do.Poison(6.0, 4.0)).Cd(1.0).Tint(0.6f, 0.2f, 0.8f); New("Leech Life", "Hits drain health from the target into you.", (Rarity)0, (CardThemeColorType)5).Life(0.15).OnHit(0.35, Do.Leech(5.0)).Cd(1.0); New("Double Team", "Every 6s you blur away, leaving a decoy that explodes.", (Rarity)1, (CardThemeColorType)3).Every(6.0, Do.Nova(15.0, 4.0), Do.Hop(7.0)).Move(1.15); New("Agility", "Blocking sharply raises your speed. Bullets accelerate too.", (Rarity)0, (CardThemeColorType)8).OnBlock(Do.BuffMove(1.7, 2.5)).Accel(1.5, 2.0); New("Swords Dance", "Blocking sharply raises your attack, and saws dance around you.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.BuffDmg(1.7, 3.0), Do.SawBlades(2, 10.0, 3.0)).Cd(3.0); New("Used Harden", "It does almost nothing. +5% health. It's the effort that counts.", (Rarity)0, (CardThemeColorType)3).Hp(1.05).OnHurt(0.1, Do.Say("defense rose!")).Cd(10.0); New("Used Protect", "Block cooldown slashed. Blocks reflect a small zap.", (Rarity)1, (CardThemeColorType)2).BlockCd(0.7).Dmg(0.92).OnBlock(Do.Zap(8.0, 0)) .Cd(1.0); New("Abra Used Teleport", "Below 50% HP, you just leave. Every 10s, you also just leave.", (Rarity)0, (CardThemeColorType)4).OnLow(0.5, Do.Hop(18.0)).Every(10.0, Do.Hop(10.0)); New("Hurt Itself In Confusion", "Hits are big and confuse the target. Sometimes you hit yourself.", (Rarity)1, (CardThemeColorType)4).Dmg(1.45).OnShoot(0.1, Do.HurtSelf(7.0), Do.Say("It hurt itself in its confusion!")).Cd(5.0) .Zigzag(0.25); New("Magnitude 10", "Every 7s an earthquake launches everyone and rocks rain down.", (Rarity)2, (CardThemeColorType)6).Every(7.0, Do.Toss(40.0, 18.0), Do.Rain(3, 18.0, Shapes.Fire), Do.Shake(60.0)); New("Used Surf", "Block washes all enemies away and leaves a slowing tide.", (Rarity)1, (CardThemeColorType)2).OnBlock(Do.Push(48.0, 15.0), Do.Puddle(0.4, 0.0, 10.0, 3.0, Shapes.Ice)).Cd(3.0); New("Used Fly", "Block: fly up, then slam down on the nearest foe with a meteor.", (Rarity)1, (CardThemeColorType)7).OnBlock(Do.Launch(60.0), Do.Meteor(35.0, 4.0)).Cd(3.0); New("Whirlwind", "Get hit: 40% chance a whirlwind blows the attacker away.", (Rarity)0, (CardThemeColorType)7).OnHurt(0.4, Do.Push(35.0, 11.0), Do.YankT(-40.0)).Cd(2.0); New("Used Roar", "Every 12s you ROAR: everyone shoved away and silenced.", (Rarity)0, (CardThemeColorType)0).Every(12.0, Do.Push(45.0, 14.0), Do.Silence(0.6, 14.0), Do.Say("ROAR")); New("Bide", "Below 40% HP, unleash everything stored: a nova and an orbital.", (Rarity)1, (CardThemeColorType)3).OnLow(0.4, Do.Nova(70.0, 11.0), Do.Orbital(60.0)).Hp(1.15); New("Used Struggle", "Out of ammo? Hurt yourself and everyone near you. Desperately.", (Rarity)0, (CardThemeColorType)3).OnEmpty(Do.Nova(25.0, 7.0), Do.HurtSelf(6.0)).Cd(2.0); New("Tackle", "Normal type. Block tackles you into the nearest foe.", (Rarity)0, (CardThemeColorType)3).Dmg(1.1).Knock(1.2).OnBlock(Do.Dash(40.0), Do.Nova(12.0, 4.0)) .Cd(2.0); New("Growl", "Enemy damage fell. Every 10s, a growl weakens the nearest.", (Rarity)0, (CardThemeColorType)3).FoeDmg(0.95).Every(10.0, Do.WeakenT(0.8, 3.0), Do.Say("*growl*")); New("Tail Whip", "Enemy defense fell. Hits mark the target for extra damage.", (Rarity)0, (CardThemeColorType)3).FoeHp(0.95).OnHit(0.2, Do.MarkT(0.2, 3.0)).Cd(2.0); New("Leer", "Enemy block fell. Every 8s you stare: Hex the nearest.", (Rarity)0, (CardThemeColorType)3).FoeBlock(1.1).Every(8.0, Do.Hex(0.8)); New("Top Percentage Rattata", "Youngster insists it's the best. Hits bite (bleed). It IS the best.", (Rarity)0, (CardThemeColorType)4).Dmg(1.06).Move(1.06).OnHit(0.25, Do.Bleed(5.0, 3.0)) .Cd(1.0); New("Bug Catcher Dialogue", "Shorts are comfy and easy to wear. Move faster. Bullets swarm.", (Rarity)0, (CardThemeColorType)5).Move(1.2).Wavy(15.0, 14.0).Note("Yes", "Shorts"); New("Zubat Cave", "Every 4s a zubat bites the nearest foe and drains a little.", (Rarity)0, (CardThemeColorType)4).Every(4.0, Do.Leech(4.0), Do.Frost(0.25, 12.0)); New("Repel", "Every 5s, nothing can stand close: repel blast.", (Rarity)1, (CardThemeColorType)2).Every(5.0, Do.Push(28.0, 7.0), Do.Nova(6.0, 7.0)); New("Not The Time To Use That", "Every 25s, an old professor scolds you. And the nearest enemy.", (Rarity)0, (CardThemeColorType)3).Every(25.0, Do.Stun(0.5, 99.0), Do.Say("There's a time and place for everything!")).Reload(0.85); New("Onix Length", "Very long rock snake. Landings cause rockslides.", (Rarity)1, (CardThemeColorType)6).Hp(1.5).Knock(1.6).Size(1.2) .Move(0.9) .OnLand(Do.Meteor(20.0, 3.0)) .Cd(3.0); New("Cubone's Mom", "Sad. Below 25% HP: triple damage, and bullets are boomerang bones.", (Rarity)2, (CardThemeColorType)6).OnLow(0.25, Do.BuffDmg(3.0, 6.0), Do.Say("...")).Boomerang(0.6); New("Eevee Picks One", "Each battle, a random evolution: fire, water, electric, or psychic.", (Rarity)1, (CardThemeColorType)8).OnStart(Do.OneOf(Do.Combo(Do.Aura(15.0, 5.0, 20.0), Do.Say("flareon!")), Do.Combo(Do.Mend(6.0, 20.0), Do.Say("vaporeon!")), Do.Combo(Do.BuffRate(0.65, 20.0), Do.Say("jolteon!")), Do.Combo(Do.BuffMove(1.6, 20.0), Do.Say("espeon!")))); New("Shiny Hunting", "Sparkly bullets. 1 in 20 hits: fireworks and a jackpot blast.", (Rarity)1, (CardThemeColorType)1).Tint(1f, 0.85f, 0.4f).OnHit(0.05, Do.Fireworks(8, 15.0), Do.Boom(40.0, 6.0)).Cd(1.0); New("Super Effective", "Big damage. 20% of hits are super effective: double blast.", (Rarity)2, (CardThemeColorType)0).Dmg(1.6).Reload(1.1).OnHit(0.2, Do.Boom(30.0, 4.0), Do.Say("It's super effective!")) .Cd(3.0); New("Not Very Effective", "Weak bullets. Sturdy body. Hits taken bounce off sometimes.", (Rarity)0, (CardThemeColorType)7).Dmg(0.7).Hp(1.6).OnHurt(0.2, Do.Heal(12.0), Do.Say("It's not very effective...")) .Cd(4.0); } private static void Shields() { //IL_1030: Unknown result type (might be due to invalid IL or missing references) New("Trash Can Lid", "Works, technically. Blocks clang so loud the attacker is stunned.", (Rarity)0, (CardThemeColorType)6).BlockCd(0.85).OnBlock(0.5, Do.Freeze(0.3), Do.Say("*CLANG*")).Cd(3.0); New("Riot Shield", "Big cooldown savings. Block bashes the nearest foe away.", (Rarity)1, (CardThemeColorType)2).BlockCd(0.65).Move(0.9).OnBlock(Do.YankT(-45.0)) .Cd(2.0); New("Spam Block", "Cooldown is a feeling. Each block sparks a small zap.", (Rarity)2, (CardThemeColorType)2).BlockCd(0.4).Dmg(0.8).OnBlock(Do.Zap(8.0, 1)) .Cd(0.5); New("Patience", "Longer cooldown, double block. Second block calls a meteor.", (Rarity)1, (CardThemeColorType)7).Blocks(1).BlockAdd(0.6).OnBlock(0.5, Do.Meteor(40.0, 4.0)) .Cd(2.0); New("Double Block", "Why block once? Each block reflects a little lightning.", (Rarity)1, (CardThemeColorType)2).Blocks(1).BlockCd(1.1).OnBlock(Do.Zap(12.0, 0)) .Cd(0.3); New("Triple Block", "Why stop at two? Every block spawns a saw blade.", (Rarity)2, (CardThemeColorType)2).Blocks(2).BlockAdd(1.0).OnBlock(Do.SawBlades(1, 15.0, 3.0)) .Cd(0.3); New("Auto Parry", "You're not good. It's automatic. Parries burn the attacker.", (Rarity)2, (CardThemeColorType)3).AutoBlock().BlockCd(1.25).OnBlock(Do.Burn(10.0, 2.0)) .Cd(1.0); New("Healing Block", "Blocking heals and leaves a healing field behind.", (Rarity)0, (CardThemeColorType)8).BlockHeal(20.0).OnBlock(Do.Mend(8.0, 3.0)).Cd(4.0); New("Band-Aid Block", "Small heal, small cooldown, small hug.", (Rarity)0, (CardThemeColorType)8).BlockHeal(12.0).BlockCd(0.92); New("Medic Block", "Blocks heal well and cleanse with a holy pulse.", (Rarity)1, (CardThemeColorType)5).BlockHeal(40.0).OnBlock(Do.Smite(0.05, 8.0)).Cd(3.0) .Dmg(0.9); New("Shockwave Block", "Block blasts a ring that shoves and stuns.", (Rarity)0, (CardThemeColorType)2).OnBlock(Do.Push(30.0, 9.0), Do.Stun(0.2, 9.0)).Cd(1.0); New("Thunderclap", "Block calls a lightning bolt down on the nearest foe.", (Rarity)1, (CardThemeColorType)1).OnBlock(Do.Thunder(35.0), Do.Nova(15.0, 6.0)).Cd(2.0); New("Nuclear Block", "Block is a very large explosion with a mushroom cloud of poison.", (Rarity)2, (CardThemeColorType)0).OnBlock(Do.Nova(60.0, 15.0), Do.Puddle(0.3, 10.0, 12.0, 4.0), Do.Shake(60.0)).BlockAdd(1.5); New("Frost Block", "Block freezes the nearest foe solid and chills the rest.", (Rarity)1, (CardThemeColorType)7).OnBlock(Do.Freeze(0.8), Do.Frost(0.6, 9.0)).Cd(2.0); New("Stun Block", "Block stuns everyone nearby. Then a second shock.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.Stun(0.7, 8.0), Do.Zap(15.0, 3)).BlockAdd(0.5); New("Silent Block", "Block silences and Hexes everyone nearby. Shhh.", (Rarity)2, (CardThemeColorType)4).OnBlock(Do.Silence(1.2, 10.0)).Cd(3.0); New("Black Hole Block", "Block opens a black hole on the nearest enemy for 3 seconds.", (Rarity)2, (CardThemeColorType)4).OnBlock(Do.BlackHole(40.0, 8.0, 3.0)).Cd(4.0); New("Slingshot Block", "Pull them in, then 50% chance to sling them into orbit.", (Rarity)2, (CardThemeColorType)8).OnBlock(Do.Pull(25.0, 12.0), Do.Maybe(0.5, Do.Push(55.0, 12.0))).Cd(1.0); New("Trampoline Block", "Block tosses everyone nearby up, then drops meteors on them.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.Toss(40.0, 10.0), Do.Meteor(25.0, 4.0)).Cd(3.0); New("Vault Block", "Block launches you up and leaves a mine on the floor.", (Rarity)0, (CardThemeColorType)1).OnBlock(Do.Mine(30.0, 4.0), Do.Launch(35.0)).Cd(3.0); New("Kickflip", "Block dash, speed boost, and a sick shockwave on landing.", (Rarity)0, (CardThemeColorType)1).OnBlock(Do.Dash(30.0), Do.BuffMove(1.3, 1.0)).OnLand(0.3, Do.Nova(10.0, 5.0)).Cd(2.0); New("Sidestep", "Block moves you a few feet away. The spot you left explodes.", (Rarity)0, (CardThemeColorType)3).OnBlock(Do.Nova(15.0, 4.0), Do.Hop(5.0)).Cd(1.0); New("Phase Block", "Block blinks you forward. Your bullets phase through walls.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.Blink(10.0)).Cd(2.0).Phase() .Dmg(0.85); New("Reload Block", "Blocking reloads, and the fresh mag homes in.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.Refill).BlockAdd(0.5).Homing(80.0); New("Tactical Reload", "Reloading rearms your block and drops a little turret.", (Rarity)1, (CardThemeColorType)3).OnReload(Do.RearmBlock, Do.Turret(6.0, 3.0)).Cd(3.0).Reload(1.15); New("Second Chance Block", "25% chance a block refunds itself and rewinds you 1 second.", (Rarity)1, (CardThemeColorType)7).OnBlock(0.25, Do.RearmBlock, Do.Rewind(1.0)); New("Empowered Guard", "Blocking boosts damage and marks the nearest foe.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.BuffDmg(1.5, 2.0), Do.MarkT(0.3, 3.0)).Cd(2.0); New("Quick Guard", "Blocking boosts your fire rate and bullets home in.", (Rarity)1, (CardThemeColorType)1).OnBlock(Do.BuffRate(0.65, 2.0)).Homing(70.0); New("Fleet Guard", "Blocking gives a speed burst and steals some of theirs.", (Rarity)0, (CardThemeColorType)5).OnBlock(Do.BuffMove(1.5, 1.5), Do.Steal(1.2, 2.0)).Cd(2.0); New("Big Bullet Guard", "Blocking enlarges your bullets for 2.5s. Hits explode.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.BuffBullet(0.8, 2.5)).OnHit(0.2, Do.Boom(15.0, 3.0)).Cd(1.5); New("Moon Guard", "Blocking lowers your gravity and everyone near you floats up.", (Rarity)0, (CardThemeColorType)7).OnBlock(Do.BuffGrav(0.4, 2.5), Do.Toss(25.0, 8.0)).Cd(2.0); New("Springy Guard", "Blocking supercharges your jump and gives an air jump.", (Rarity)0, (CardThemeColorType)8).OnBlock(Do.BuffJump(1.6, 2.5), Do.AirJump(1)); New("Pain Tolerance", "More health. Each hit taken has a chance to be shrugged off.", (Rarity)0, (CardThemeColorType)0).Hp(1.25).BlockAdd(0.5).OnHurt(0.2, Do.Heal(15.0)) .Cd(2.0); New("Armor Plating", "Solid and heavy. Landing clangs into a shockwave.", (Rarity)0, (CardThemeColorType)3).Hp(1.35).Grav(1.15).Move(0.92) .OnLand(Do.Push(18.0, 5.0)) .Cd(2.0); New("Bubble Wrap", "Pop pop pop. Hits taken pop bubbles that push foes back.", (Rarity)0, (CardThemeColorType)8).Hp(1.15).OnHurt(0.4, Do.Push(18.0, 6.0), Do.Say("*pop*")).Cd(1.5); New("Mithril Vest", "Light, shiny, not cheap. Hits taken reflect a sliver of light.", (Rarity)2, (CardThemeColorType)7).Hp(1.5).Move(1.1).BlockCd(0.9) .OnHurt(Do.Zap(12.0, 0)) .Cd(1.0); New("Cardboard Armor", "Better than nothing. Barely. It says FRAGILE on it.", (Rarity)0, (CardThemeColorType)6).Hp(1.1).OnHurt(0.1, Do.Say("it says FRAGILE")).Cd(6.0); New("Tin Foil Hat", "Every 15s the voices stop. All nearby enemies get silenced.", (Rarity)0, (CardThemeColorType)3).Hp(1.1).Every(15.0, Do.Silence(1.0, 10.0), Do.Say("they can't hear us now")); New("Life Insurance", "Below 20% HP, a big payout and a bodyguard turret.", (Rarity)1, (CardThemeColorType)3).OnLow(0.2, Do.HealPct(0.6), Do.Turret(12.0, 6.0)); New("Health Potion", "Below 50% HP, a modest gulp that bubbles into healing.", (Rarity)0, (CardThemeColorType)0).OnLow(0.5, Do.HealPct(0.25), Do.Mend(10.0, 3.0)); New("Regeneration Aura", "You always feel better. Allies of yourself: just you.", (Rarity)1, (CardThemeColorType)5).Regen(6.0).Every(10.0, Do.Mend(6.0, 4.0)); New("Troll Blood", "Regenerates like crazy, burns easily. Hits taken burn back.", (Rarity)2, (CardThemeColorType)5).Regen(15.0).Hp(0.7).OnHurt(0.3, Do.Burn(8.0, 2.0)) .Cd(2.0); New("Leech Seed", "Hits plant a seed: the target bleeds and you heal.", (Rarity)1, (CardThemeColorType)5).OnHit(0.3, Do.Bleed(5.0, 4.0), Do.Heal(5.0)).Cd(1.5).Life(0.15); New("Bloodthirst", "Every hit dealt heals you. Kills heal a lot.", (Rarity)1, (CardThemeColorType)0).OnDeal(Do.Heal(6.0)).OnKill(Do.HealPct(0.3)); New("Vengeful Spirit", "When you die, curse the nearest enemy and freeze the area.", (Rarity)1, (CardThemeColorType)4).OnDeath(Do.Silence(2.0, 12.0), Do.Frost(0.8, 12.0), Do.WeakenT(0.6, 5.0)); New("Martyr", "When you die, a huge explosion and a burning crater.", (Rarity)1, (CardThemeColorType)0).OnDeath(Do.Nova(80.0, 11.0), Do.Puddle(0.0, 15.0, 6.0, 4.0, Shapes.Fire)); New("Phoenix Down", "Respawn once in a firestorm: full heal, nova and burning aura.", (Rarity)2, (CardThemeColorType)0).Respawns(1).OnRevive(Do.HealPct(1.0), Do.Nova(50.0, 11.0), Do.Aura(20.0, 5.0, 4.0)); New("Grave Dirt", "Revive once. Your return lets loose saw blades and speed.", (Rarity)1, (CardThemeColorType)6).Respawns(1).OnRevive(Do.BuffMove(1.5, 5.0), Do.BuffRate(0.7, 5.0), Do.SawBlades(3, 15.0, 5.0)).Dmg(0.75); New("Personal Space", "Every 3s, shove anyone too close. Then zap the nearest.", (Rarity)1, (CardThemeColorType)2).Every(3.0, Do.Push(25.0, 6.0), Do.Zap(8.0, 0)); New("Static Field", "Every 2s a static pulse, and half the time lightning arcs to the nearest foe.", (Rarity)1, (CardThemeColorType)7).Every(2.0, Do.Nova(8.0, 7.0), Do.Maybe(0.5, Do.Zap(10.0, 1))); } private static void Spectacle() { New("Laser Pinwheel Block", "Block spins four lasers around you for 2.5 seconds.", (Rarity)2, (CardThemeColorType)0).OnBlock(Do.Lighthouse(40.0, 2.5, 4)).Cd(6.0); New("Spirit Bomb Block", "Block gathers a giant orb overhead, then hurls it at the nearest enemy.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.SpiritBomb(110.0)).Cd(8.0); New("Tsunami Block", "Block sends a wall of water rolling across the map where you aim.", (Rarity)2, (CardThemeColorType)2).OnBlock(Do.Tsunami(55.0, 30.0)).Cd(5.0); New("Volcano Block", "Block raises a volcano at your feet that rains meteors for 4 seconds.", (Rarity)2, (CardThemeColorType)0).OnBlock(Do.Volcano(8, 30.0, 4.0)).Cd(8.0); New("Tornado Block", "Block spawns a tornado that hunts enemies and flings them skyward.", (Rarity)2, (CardThemeColorType)7).OnBlock(Do.Tornado(40.0, 4.0)).Cd(6.0); New("Supernova Block", "Block releases a shockwave that expands across the entire map.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.Supernova(45.0)).Cd(7.0); New("Prism Parry", "Block fires six rainbow lasers in a fan where you aim.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.Prism(22.0)).Cd(3.0); New("Comet Guard", "Block calls a flaming comet in from the edge of the screen.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.Comet(50.0)).Cd(4.0); New("Blood Link Block", "Block tethers the nearest enemy, draining and dragging them for 3s.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.Tether(30.0, 3.0)).Cd(5.0); New("Gravity Parry", "Block flips the nearest enemy's gravity. They fall into the sky.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.FlipT(2.0)).Cd(4.0); New("Scatterbrain Block", "Block teleports every enemy to a random spot on the map.", (Rarity)2, (CardThemeColorType)8).OnBlock(Do.ScrambleFoes).Cd(8.0); New("Dragon's Roar", "A dragon flies with you all round. Every block: a fire nova.", (Rarity)2, (CardThemeColorType)0).OnBlock(Do.Nova(25.0, 7.0)).Cd(2.0).OnStart(Do.SummonDragon(10.0)); New("Mirror Block", "Block summons a mirror clone of you for 8s. It shoots too.", (Rarity)1, (CardThemeColorType)3).OnBlock(Do.SummonClone(9.0, 8.0)).Cd(6.0); New("Disco Block", "Block throws a rainbow firework show. Every firework hurts.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.Fireworks(10, 12.0), Do.Confetti(12)).Cd(3.0); New("Thunderdome Block", "Block calls three lightning strikes and a stun ring.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.Thunder(30.0), Do.Stun(0.5, 9.0), Do.Zap(20.0, 3)).Cd(4.0); New("Frozen Moment", "Block freezes everyone near you and shatters the nearest into ice.", (Rarity)2, (CardThemeColorType)7).OnBlock(Do.Stun(0.8, 10.0), Do.Freeze(1.2), Do.Splinters(8, 10.0)).Cd(5.0); New("The Lighthouse", "Every 8s, a laser sweeps around you for 3 seconds.", (Rarity)2, (CardThemeColorType)0).Every(8.0, Do.Lighthouse(40.0, 3.0, 1)); New("Ion Cannon", "Every 14s, a screen-tall beam sweeps the entire map.", (Rarity)2, (CardThemeColorType)7).Every(14.0, Do.IonCannon(70.0)); New("Tornado Alley", "Every 10s, a tornado spawns and hunts the nearest enemy.", (Rarity)2, (CardThemeColorType)7).Every(10.0, Do.Tornado(35.0, 5.0)); New("Comet Caller", "Every 9s, a flaming comet streaks in at the nearest enemy.", (Rarity)2, (CardThemeColorType)0).Every(9.0, Do.Comet(55.0)); New("Dragon Tamer", "A dragon hovers over you all round, breathing cones of fire.", (Rarity)2, (CardThemeColorType)0).OnStart(Do.SummonDragon(14.0)).OnRevive(Do.SummonDragon(14.0)); New("Mirror Clone", "A shimmering clone of you floats beside you and shoots homing orbs.", (Rarity)2, (CardThemeColorType)3).OnStart(Do.SummonClone(10.0)).OnRevive(Do.SummonClone(10.0)); New("Soul Tether", "Hits have a 25% chance to tether the target, draining them for 3s.", (Rarity)2, (CardThemeColorType)0).OnHit(0.25, Do.Tether(30.0, 3.0)).Cd(5.0); New("Upside Down Bullets", "Hits have a 20% chance to flip the target's gravity.", (Rarity)2, (CardThemeColorType)4).OnHit(0.2, Do.FlipT(1.5)).Cd(4.0); New("Prism Cannon", "Every reload fires six rainbow lasers. Taste the rainbow.", (Rarity)2, (CardThemeColorType)8).OnReload(Do.Prism(28.0)).Cd(2.0); New("Rainbow Road", "Bullets leave fire trails, glow every color, and split into a ring.", (Rarity)2, (CardThemeColorType)8).FireTrail(10.0).Split(SplitPattern.Ring, 6, 10.0, ShardHit.Pop, 0.35); New("Time Stop", "Block stops time: every enemy on the map is frozen for 2 seconds.", (Rarity)2, (CardThemeColorType)3).Legendary().OnBlock(Do.TimeStop(2.0)).Cd(12.0); New("Black Sun", "A black sun hangs over you all round, dragging enemies in and burning them.", (Rarity)2, (CardThemeColorType)4).Legendary().OnStart(Do.BlackSun(999.0, 20.0)).OnRevive(Do.BlackSun(999.0, 20.0)); New("Kaiju", "Huge. Two dragons. Every landing is an earthquake.", (Rarity)2, (CardThemeColorType)5).Legendary().Hp(2.5).Size(1.8) .OnStart(Do.SummonDragon(12.0), Do.SummonDragon(12.0)) .OnLand(Do.Nova(35.0, 10.0), Do.Stun(0.5, 10.0)) .Cd(1.5); New("Orbital Defense Grid", "Every 6s an ion cannon sweeps the map. Every 4s, an orbital strike.", (Rarity)2, (CardThemeColorType)7).Legendary().Every(6.0, Do.IonCannon(55.0)).Every(4.0, Do.Orbital(45.0)); New("Spirit Bomb Supreme", "Every 9s, gather the energy of everyone and throw a spirit bomb.", (Rarity)2, (CardThemeColorType)1).Legendary().Every(9.0, Do.SpiritBomb(130.0)); New("Apocalypse Engine", "Every 4s: ion cannon, tornado, volcano, tsunami, comet or spirit bomb.", (Rarity)2, (CardThemeColorType)0).Legendary().Every(4.0, Do.OneOf(Do.IonCannon(50.0), Do.Tornado(35.0, 4.0), Do.Volcano(6, 25.0, 3.0), Do.Tsunami(50.0, 25.0), Do.Comet(45.0), Do.SpiritBomb(90.0))); New("Prism Lord", "Every shot fires six rainbow lasers. Every single shot.", (Rarity)2, (CardThemeColorType)8).Legendary().OnShoot(Do.Prism(12.0)).Cd(0.5) .Rate(1.2); New("Reality Scrambler", "Every 6s every enemy is teleported somewhere random. Then everyone shuffles.", (Rarity)2, (CardThemeColorType)8).Legendary().Every(6.0, Do.ScrambleFoes).Every(13.0, Do.Shuffle); New("Eternal Lighthouse", "Two lasers sweep around you for the entire round.", (Rarity)2, (CardThemeColorType)0).Legendary().OnStart(Do.Lighthouse(30.0, 999.0, 2)).OnRevive(Do.Lighthouse(30.0, 999.0, 2)); } private static void Splitters() { New("Splitter Rounds", "A moment after firing, every bullet splits into three shards.", (Rarity)1, (CardThemeColorType)8).Split(SplitPattern.Fan, 3, 12.0).Dmg(0.9); New("Shotgun Surprise", "Looks like one bullet. Bursts into a six-shard shotgun blast mid-air.", (Rarity)2, (CardThemeColorType)0).Split(SplitPattern.Wide, 6, 12.0, ShardHit.Pop, 0.15).Dmg(0.8); New("Starburst Shells", "Bullets fly, then burst into an eight-shard ring in every direction.", (Rarity)2, (CardThemeColorType)1).Split(SplitPattern.Ring, 8, 12.0, ShardHit.Pop, 0.4); New("Hydra Bullets", "Cut one down, three grow back: bullets split into three homing shards.", (Rarity)2, (CardThemeColorType)5).Split(SplitPattern.Homing, 3, 14.0).Dmg(0.85); New("Fractal Rounds", "Bullets split into three. When those hit, each splits into three more.", (Rarity)2, (CardThemeColorType)4).Split(SplitPattern.Fractal, 3, 12.0, ShardHit.Pop, 0.3); New("Bullet Fountain", "Bullets spray shards out of both sides the whole way.", (Rarity)2, (CardThemeColorType)2).Split(SplitPattern.Stream, 2, 7.0, ShardHit.Pop, 0.1).Rate(1.15); New("Cluster Fan", "Bullets split into four shards that each explode on impact.", (Rarity)2, (CardThemeColorType)0).Split(SplitPattern.Fan, 4, 18.0, ShardHit.Explode).Dmg(0.8); New("Thunder Split", "Bullets split into four shards that each chain lightning.", (Rarity)2, (CardThemeColorType)1).Split(SplitPattern.Wide, 4, 14.0, ShardHit.Shock, 0.2); New("Shatter Shot", "Bullets split into five ice shards that freeze whatever they touch.", (Rarity)2, (CardThemeColorType)7).Split(SplitPattern.Fan, 5, 9.0, ShardHit.Frost); New("Dragon Split", "Bullets split into three fire shards that leave burning ground.", (Rarity)2, (CardThemeColorType)0).Split(SplitPattern.Fan, 3, 14.0, ShardHit.Fire); New("Void Splinter", "Bullets burst into a ring of void shards that drag enemies in.", (Rarity)2, (CardThemeColorType)4).Split(SplitPattern.Ring, 6, 10.0, ShardHit.Void, 0.35); New("Mitosis", "Two bullets per shot, each splitting into three homing shards.", (Rarity)2, (CardThemeColorType)5).Bullets(1).Spread(0.15).Split(SplitPattern.Homing, 3, 10.0) .Dmg(0.7); New("Firework Shells", "Bullets arc up and burst into a ring of exploding shards.", (Rarity)2, (CardThemeColorType)8).BGrav(1.8).Split(SplitPattern.Ring, 10, 14.0, ShardHit.Explode, 0.5); New("Infinite Recursion", "Fractal, homing, exploding, sprays shards. Your PC is now a space heater.", (Rarity)2, (CardThemeColorType)3).Split(SplitPattern.Fractal, 3, 14.0, ShardHit.Explode, 0.3).Split(SplitPattern.Stream, 2, 6.0, ShardHit.Pop, 0.1).Homing(120.0) .Dmg(0.6); } private static void Trolls() { //IL_0485: Unknown result type (might be due to invalid IL or missing references) //IL_0569: Unknown result type (might be due to invalid IL or missing references) New("Russian Roulette", "Each reload spins the chamber: 1 in 6 you lose half your HP. 5 in 6, lightning.", (Rarity)1, (CardThemeColorType)0).Dmg(1.5).OnReload(Do.OneOf(Do.HurtSelf(50.0), Do.Zap(30.0, 2), Do.Zap(30.0, 2), Do.Zap(30.0, 2), Do.Zap(30.0, 2), Do.Zap(30.0, 2))); New("Double Or Nothing", "Hits gamble: they detonate for double, or you stun yourself. Feeling lucky?", (Rarity)1, (CardThemeColorType)1).OnHit(0.4, Do.OneOf(Do.Boom(40.0, 4.0), Do.StunSelf(0.5))).Cd(2.0); New("Slot Machine", "Block pulls the lever: meteor, heal, black hole, laser, or a punch in the face.", (Rarity)2, (CardThemeColorType)1).OnBlock(Do.OneOf(Do.Meteor(50.0, 5.0), Do.Heal(40.0), Do.BlackHole(30.0, 7.0, 3.0), Do.Laser(45.0), Do.HurtSelf(15.0), Do.Fireworks(6, 12.0))).Cd(3.0); New("Coin Flip", "Each battle starts with heads: 8s rampage. Tails: 8s of mud legs.", (Rarity)0, (CardThemeColorType)1).OnStart(Do.OneOf(Do.BuffDmg(1.8, 8.0), Do.BuffMove(0.6, 8.0)), Do.SayAny("heads", "tails")); New("Loot Box", "Every 10s a mystery crate: turret, saws, shield heal, or a live grenade.", (Rarity)1, (CardThemeColorType)8).Every(10.0, Do.OneOf(Do.Turret(10.0, 5.0), Do.SawBlades(3, 12.0, 4.0), Do.Heal(30.0), Do.Nova(25.0, 4.0), Do.HurtSelf(10.0))); New("Tax Collector", "Your hits skim 8 HP off the top. It's the law. Enemies deal 10% less.", (Rarity)1, (CardThemeColorType)3).OnHit(0.5, Do.Leech(8.0)).Cd(1.0).FoeDmg(0.9); New("Inflation", "Every 9s the nearest enemy swells up 40%. Bigger target, same wallet.", (Rarity)0, (CardThemeColorType)3).Every(9.0, Do.ShrinkT(1.4, 4.0), Do.Say("inflation")); New("Landlord", "Plant a mine every 8s. Rent is due on contact.", (Rarity)0, (CardThemeColorType)6).Every(8.0, Do.Mine(35.0, 4.0)).FoeMove(0.95); New("Bureaucracy", "Hits file a form: target is Hexed for 1s. Please hold.", (Rarity)1, (CardThemeColorType)3).OnHit(0.2, Do.Hex(1.0), Do.Say("please take a number")).Cd(3.0).FoeBlock(1.15); New("Wet Floor Sign", "Hits leave a slippery puddle under them. Caution advised.", (Rarity)0, (CardThemeColorType)7).OnHit(0.25, Do.Puddle(0.4, 4.0, 3.5, 4.0, Shapes.Ice)).Cd(3.0).FoeJump(0.9); New("Unpaid Intern", "A small turret works for you every 12s. It will not be paid.", (Rarity)1, (CardThemeColorType)4).Every(12.0, Do.Turret(8.0, 6.0), Do.Say("is this paid?")).FoeHp(0.95); New("Banana Peel", "Hits slip them skyward and drop them in a puddle. Classic.", (Rarity)0, (CardThemeColorType)1).OnHit(0.3, Do.LaunchT(30.0), Do.Puddle(0.3, 0.0, 3.0, 3.0, Shapes.Holy)).Cd(2.0); New("Whoopee Cushion", "Each landing lets out a toxic cloud. Rude. Effective.", (Rarity)0, (CardThemeColorType)6).OnLand(Do.Puddle(0.2, 8.0, 4.0, 2.5)).Cd(2.0); New("Fart Propulsion", "Shooting jets you upward in a puff of gas. You get used to it.", (Rarity)0, (CardThemeColorType)5).OnShoot(Do.Launch(9.0), Do.Puddle(0.0, 4.0, 2.0, 1.0)).Cd(0.4).Rate(0.9); New("Hold This", "Block swaps you with the nearest enemy and leaves them a live mine.", (Rarity)2, (CardThemeColorType)4).OnBlock(Do.Mine(40.0, 4.0), Do.Swap).Cd(4.0); New("Get Over Here", "Every 7s a chain yanks the nearest enemy in and bleeds them.", (Rarity)2, (CardThemeColorType)0).Every(7.0, Do.YankT(60.0), Do.Bleed(10.0, 3.0), Do.Say("GET OVER HERE")); New("Stop Hitting Yourself", "Get hit and your attacker gets shrunk and launched. Why are you hitting yourself?", (Rarity)1, (CardThemeColorType)0).OnHurt(Do.ShrinkT(0.7, 3.0), Do.LaunchT(30.0)).Cd(3.0); New("Reverse Card", "Get hit: 35% chance the attacker eats their own lightning.", (Rarity)1, (CardThemeColorType)8).OnHurt(0.35, Do.Zap(35.0, 0), Do.Say("no u")).Cd(1.5); New("Oops All Recoil", "Firing rockets you backward. Bullets accelerate. Physics is optional.", (Rarity)0, (CardThemeColorType)1).Recoil(5.0).Accel(2.0, 2.5).Dmg(1.15); New("Butter Fingers", "Small mag, instant reload, and bullets stutter out of your hands.", (Rarity)0, (CardThemeColorType)1).Ammo(-2).Reload(0.5).Stutter(0.3, 0.15); New("Wrong Way", "Bullets fly out, then boomerang back. Wrong way. Right way?", (Rarity)0, (CardThemeColorType)3).Boomerang(0.45).Dmg(1.25).Speed(1.2); New("Moon Shoes", "Low gravity. Each landing bounces nearby enemies up too.", (Rarity)0, (CardThemeColorType)7).Grav(0.4).Jump(1.3).OnLand(Do.Toss(20.0, 6.0)) .Cd(2.0); New("Anvil Shoes", "Heavy gravity. Landings crater the floor and stun nearby foes.", (Rarity)1, (CardThemeColorType)6).Grav(1.8).OnLand(Do.Nova(22.0, 6.0), Do.Stun(0.4, 6.0)).Cd(1.5) .Hp(1.2); New("Trust Fall", "Block: you collapse for 0.35s, then rise healing 50 with saws out.", (Rarity)1, (CardThemeColorType)8).OnBlock(Do.StunSelf(0.35), Do.Heal(50.0), Do.SawBlades(2, 12.0, 3.0)).Cd(4.0); New("Hot Potato", "Shooting burns your hands. Hits set them on fire. Pass it on.", (Rarity)1, (CardThemeColorType)0).Dmg(1.5).OnShoot(Do.HurtSelf(2.0)).OnHit(0.4, Do.Burn(12.0, 3.0)) .Cd(1.0); New("Friendly Fire Incident", "Block calls an airstrike on the enemy. And one on you. Oops.", (Rarity)1, (CardThemeColorType)0).OnBlock(Do.Airstrike(3, 35.0), Do.Nova(15.0, 3.0), Do.HurtSelf(10.0)).Cd(5.0); New("Glass Cannon Lite", "Fragile, in a fun way. Hits shatter into shrapnel.", (Rarity)0, (CardThemeColorType)0).Dmg(1.45).Hp(0.6).OnHit(0.25, Do.Boom(15.0, 3.0)) .Cd(1.0); New("Glass Cannon XL", "Triple damage. 30% HP. Kills shatter everything nearby. Do not sneeze.", (Rarity)2, (CardThemeColorType)0).Dmg(3.0).Hp(0.3).OnKill(Do.Nova(80.0, 12.0)); New("Pacifist", "Bullets tickle. You are a tank that heals everyone a little. Peace.", (Rarity)1, (CardThemeColorType)5).Dmg(0.3).Hp(2.5).Regen(8.0) .Every(6.0, Do.Mend(10.0, 3.0), Do.HealFoes(5.0, 10.0)); New("Thoughts And Prayers", "Hit taken: 20% chance a holy light smites them. Thoughts were sent.", (Rarity)0, (CardThemeColorType)8).OnHurt(0.2, Do.Thunder(30.0), Do.Heal(10.0)).Cd(3.0).Regen(2.0); New("Participation Trophy", "+5% everything. Kills give you a small parade.", (Rarity)0, (CardThemeColorType)1).Dmg(1.05).Hp(1.05).Move(1.05) .Reload(0.95) .OnKill(Do.Confetti(14), Do.Say("everyone's a winner")); New("Terms And Conditions", "Big damage. Clause 7: every 15s you are bound by contract for 0.5s.", (Rarity)0, (CardThemeColorType)3).Dmg(1.4).Every(15.0, Do.StunSelf(0.5), Do.Say("by continuing you agree")); New("Free Trial", "First 10s of each battle: double damage and homing. Then the bill.", (Rarity)1, (CardThemeColorType)1).OnStart(Do.BuffDmg(2.0, 10.0), Do.BuffRate(0.6, 10.0), Do.Say("free trial started")).Homing(80.0); New("Subscription Fee", "Lose 5 HP every 5s. In return, a monthly orbital strike.", (Rarity)1, (CardThemeColorType)0).Dmg(1.3).Every(5.0, Do.HurtSelf(5.0)).Every(15.0, Do.Orbital(70.0)); New("Unskippable Ad", "Every 12s an ad plays and Hexes every enemy near you. Skip in 5.", (Rarity)1, (CardThemeColorType)3).Every(12.0, Do.Silence(1.0, 14.0), Do.Say("this bullet brought to you by bullets")).Dmg(1.15); New("Clippy", "It looks like you ran out. Want a turret? Empty mag spawns one.", (Rarity)1, (CardThemeColorType)3).Reload(0.8).OnEmpty(Do.Turret(10.0, 5.0), Do.Say("It looks like you ran out.")).Cd(8.0); New("Reply All", "Three bullets. Every hit chains to everyone near the target.", (Rarity)1, (CardThemeColorType)3).Bullets(2).Spread(0.4).Dmg(0.65) .OnHit(0.3, Do.Zap(10.0, 3)) .Cd(1.0); New("Spam Folder", "Seven tiny bullets, all wavy, all junk. One of them is a virus.", (Rarity)1, (CardThemeColorType)5).Bullets(6).Dmg(0.3).Spread(0.3) .Wavy(25.0, 14.0) .OnHit(0.1, Do.Poison(8.0, 4.0)) .Cd(1.0); New("Mime", "Block silences every enemy nearby and traps the nearest in an invisible box.", (Rarity)2, (CardThemeColorType)3).OnBlock(Do.Silence(1.2, 10.0), Do.Freeze(0.8)).Cd(5.0); New("Sudden Silence", "Hits have a 15% chance to silence AND slow the target.", (Rarity)1, (CardThemeColorType)4).OnHit(0.15, Do.Hex(1.2), Do.Chill(0.4)).Cd(3.0); New("Ankle Biter", "Tiny and furious. Hits bleed. Bites never stop.", (Rarity)0, (CardThemeColorType)0).Size(0.75).Rate(0.75).Dmg(0.85) .OnHit(0.25, Do.Bleed(6.0, 3.0)) .Cd(1.0); New("Mosquito", "Tiny homing bullets that drain blood. You will hear it at night.", (Rarity)0, (CardThemeColorType)5).BSize(-0.1).Rate(0.6).Dmg(0.55) .Homing(220.0) .OnHit(0.3, Do.Leech(3.0)) .Cd(0.5); New("Pickpocket", "Hits steal the target's speed for 3s. Wallet not included.", (Rarity)1, (CardThemeColorType)4).OnHit(0.25, Do.Steal(1.3, 3.0)).Cd(3.0).FoeRate(1.1); New("Bait And Switch", "Block teleports you away and leaves a mine as a souvenir.", (Rarity)1, (CardThemeColorType)4).OnBlock(Do.Mine(35.0, 4.0), Do.Hop(9.0)).Cd(3.0); New("Fake Death", "Respawn once. Your fake corpse explodes 1s later. Nobody buys it.", (Rarity)2, (CardThemeColorType)8).Respawns(1).OnDeath(Do.Meteor(60.0, 5.0)).Dmg(0.9); New("Rage Quit", "On death, a meteor shower and a message for the group chat.", (Rarity)1, (CardThemeColorType)0).OnDeath(Do.Rain(6, 30.0), Do.Say("gg ez lag")); New("Sore Winner", "Kills spawn fireworks and a speed boost. Be humble. Or don't.", (Rarity)0, (CardThemeColorType)1).OnKill(Do.Fireworks(6, 10.0), Do.BuffMove(1.4, 4.0)).OnHit(Do.BuffMove(1.15, 1.0)).Cd(1.0); New("Sore Loser", "Get hit and the screen shakes and the attacker gets marked.", (Rarity)0, (CardThemeColorType)0).OnHurt(Do.Shake(30.0), Do.MarkT(0.25, 4.0)).Cd(2.0).Hp(1.15); New("Backseat Gamer", "Every 10s you shout advice. The nearest enemy slows down to listen.", (Rarity)0, (CardThemeColorType)3).Every(10.0, Do.SlowT(0.6, 3.0), Do.SayAny("just dodge", "why didn't you block", "you're so bad")).FoeJump(0.95); New("Annoying Little Brother", "Every 4s: a shove, a poke, and he takes 1 HP. Mom!", (Rarity)0, (CardThemeColorType)8).Every(4.0, Do.Push(14.0, 8.0), Do.Leech(4.0)); } private static void Unhinged() { //IL_02ef: Unknown result type (might be due to invalid IL or missing references) //IL_0339: Unknown result type (might be due to invalid IL or missing references) New("Bullet Hell", "Twelve spiral bullets per shot. Every single one explodes.", (Rarity)2, (CardThemeColorType)0).Bullets(11).Spread(0.6).Spiral(400.0, 1.0) .Rockets(12.0, 2.5) .Dmg(0.3); New("Apocalypse Now", "Every 8s: meteor shower, airstrike, orbital laser, and a quake.", (Rarity)2, (CardThemeColorType)0).Every(8.0, Do.Rain(8, 30.0), Do.Airstrike(5, 30.0), Do.Orbital(80.0), Do.Shake(60.0)); New("Infinite Imps", "Every 2s an exploding imp is born. Every 2 seconds. Forever.", (Rarity)2, (CardThemeColorType)0).Every(2.0, Do.Summon(Pet.Imp, 35.0, 6.0)).Note("Yes", "Too many imps"); New("The Zoo", "Start with a hound, a bat, a sprite, a wisp, and a rock. The zoo is open.", (Rarity)2, (CardThemeColorType)5).OnStart(Do.Summon(Pet.Hound, 8.0), Do.Summon(Pet.Bat, 5.0), Do.Summon(Pet.Sprite, 10.0), Do.Summon(Pet.Wisp, 0.5), Do.Summon(Pet.Orbiter, 12.0)); New("Nuclear Option", "Every bullet is a mini-nuke. Yes, all of them.", (Rarity)2, (CardThemeColorType)1).Nuke(80.0, 8.0).Rate(0.9).Dmg(0.8); New("Black Hole Machine Gun", "Fast bullets that each open a black hole. Physics has left.", (Rarity)2, (CardThemeColorType)4).Rate(0.45).Ammo(6).VoidRounds(30.0) .Dmg(0.6); New("Lightning God", "Every hit chains lightning to everyone. Every 3s, thunder from the sky.", (Rarity)2, (CardThemeColorType)1).Shock(25.0, 6).Every(3.0, Do.Thunder(45.0)).Dmg(1.2); New("Floor Is Literally Lava", "Every landing floods the area with fire. Every 4s, fire under the enemy.", (Rarity)2, (CardThemeColorType)0).OnLand(Do.Puddle(0.0, 30.0, 6.0, 4.0, Shapes.Fire)).Every(4.0, Do.Puddle(0.0, 25.0, 5.0, 4.0, Shapes.Fire)).Jumps(3); New("Mutually Assured", "When anyone gets hit by you, a nuke drops on them. Cooldown 3s.", (Rarity)2, (CardThemeColorType)1).OnHit(Do.Orbital(90.0), Do.Nova(30.0, 8.0)).Cd(3.0).Dmg(1.2); New("Clone Army", "Every 4s you blink, and a drone joins your army for 8 seconds.", (Rarity)2, (CardThemeColorType)3).Every(4.0, Do.Blink(8.0), Do.Summon(Pet.Drone, 10.0, 8.0)); New("Mega Magnet", "Every 3s, everyone on the map is pulled to you. Then saws.", (Rarity)2, (CardThemeColorType)4).Every(3.0, Do.Pull(60.0, 99.0), Do.SawBlades(4, 20.0, 2.0)); New("Grenade Rain", "Every shot also rains three grenades across the map.", (Rarity)2, (CardThemeColorType)0).OnShoot(Do.Rain(3, 22.0)).Cd(0.4).Rockets(20.0, 3.0); New("Freeze Frame", "Every 5s every enemy on the map freezes for 1 second. You don't.", (Rarity)2, (CardThemeColorType)7).Every(5.0, Do.Stun(1.0, 99.0), Do.Frost(0.5, 99.0), Do.Say("*freeze frame*")); New("Swap Meet", "Every hit swaps you with the target. Every block shuffles everyone.", (Rarity)2, (CardThemeColorType)8).OnHit(Do.Swap).Cd(1.0).OnBlock(Do.Shuffle) .Homing(80.0); New("Rocket Spiral Of Doom", "Homing, spiraling, accelerating, exploding, cluster-bombing rockets.", (Rarity)2, (CardThemeColorType)0).Homing().Spiral(300.0, 2.0).Accel(2.0, 2.5) .Cluster(20.0, 2.5) .Dmg(1.1); New("Haunted Arsenal", "Bullets go through walls, home in, and leave mines wherever they end.", (Rarity)2, (CardThemeColorType)4).Phase().Homing(180.0).MineLayer(30.0) .Dmg(0.9); New("Laser Light Show", "Every shot fires three lasers. Disco has never been this violent.", (Rarity)2, (CardThemeColorType)8).OnShoot(Do.Laser(25.0), Do.Laser(20.0), Do.Fireworks(2, 8.0)).Cd(0.4).Dmg(0.8); New("Gravity Tantrum", "Every 3s gravity flips for everyone near you and they're launched.", (Rarity)2, (CardThemeColorType)4).Every(3.0, Do.Upsidedown(0.8), Do.Toss(45.0, 15.0), Do.Scatter(30.0, 15.0)); New("Hydra", "Every kill summons two hellhounds. Every death summons four.", (Rarity)2, (CardThemeColorType)0).OnKill(Do.Summon(Pet.Hound, 9.0), Do.Summon(Pet.Hound, 9.0)).OnDeath(Do.Summon(Pet.Hound, 9.0), Do.Summon(Pet.Hound, 9.0), Do.Summon(Pet.Hound, 9.0), Do.Summon(Pet.Hound, 9.0)).Respawns(1); New("Time Lord", "Every 4s rewind 2s and heal. Block: everyone else is frozen.", (Rarity)2, (CardThemeColorType)7).Every(4.0, Do.Recall(2.0, 15.0)).OnBlock(Do.Stun(1.2, 99.0)).Cd(4.0); New("Bullet Sponge", "Absurd HP. Every hit taken releases a nova, saws and lightning.", (Rarity)2, (CardThemeColorType)2).Hp(4.0).Move(0.8).OnHurt(Do.Nova(25.0, 7.0), Do.SawBlades(2, 15.0, 2.0), Do.Zap(20.0, 2)) .Cd(1.0); New("Sudden Death", "Everyone has 50% HP. Your hits execute below 40%.", (Rarity)2, (CardThemeColorType)0).FoeHp(0.5).Hp(0.5).OnHit(Do.Execute(0.4)) .Dmg(1.3); New("Cursed Confetti Cannon", "Every shot throws fireworks. Every firework explodes. Party's over.", (Rarity)2, (CardThemeColorType)8).OnShoot(Do.Fireworks(4, 15.0)).Cd(0.3).Bullets(2) .Spread(0.3); New("Bouncy Castle", "Bullets bounce ten times and explode on every... well, at the end.", (Rarity)2, (CardThemeColorType)8).Bounces(10).BounceSpeed(1.1).Rockets(35.0, 5.0) .Dmg(0.9); New("Ultra Instinct", "Every hit taken: 50% chance to blink behind the attacker and stun them.", (Rarity)2, (CardThemeColorType)3).OnHurt(0.5, Do.Swap, Do.Freeze(0.8)).Cd(1.0).Move(1.3); New("Ten Turrets", "Every reload builds three turrets. Build the wall.", (Rarity)2, (CardThemeColorType)3).OnReload(Do.Turret(10.0, 8.0), Do.Turret(10.0, 8.0), Do.Turret(10.0, 8.0)).Cd(2.0); New("Final Boss", "Massive. Saws, angel, drones, auras. You are the raid.", (Rarity)2, (CardThemeColorType)4).Hp(3.0).Size(1.6).Move(0.8) .OnStart(Do.Summon(Pet.Angel, 25.0), Do.Summon(Pet.Drone, 14.0), Do.SawBlades(4, 20.0, 999.0), Do.Aura(20.0, 6.0, 999.0)); New("Exploding Everything", "Hits explode. Landings explode. Blocks explode. Reloads explode.", (Rarity)2, (CardThemeColorType)0).OnHit(Do.Boom(25.0, 4.0)).Cd(0.5).OnLand(Do.Nova(25.0, 6.0)) .Cd(1.0) .OnBlock(Do.Nova(40.0, 9.0)) .OnReload(Do.Nova(30.0, 8.0)); New("Spell Slinger", "Every block casts three spells: fireball, ice lance, missiles.", (Rarity)2, (CardThemeColorType)8).OnBlock(Do.Fireball(45.0), Do.IceLance(0.8), Do.ArcaneMissiles(3, 18.0)).Cd(1.5); New("God Mode", "Respawn 3 times. Regen 20. Bullets home and explode. Nobody likes you.", (Rarity)2, (CardThemeColorType)1).Respawns(3).Regen(20.0).Hp(2.0) .Homing(150.0) .Rockets(25.0) .Dmg(1.3); } private static void Wildcards() { New("Pinball Prophet", "Six bounces. Every bounce re-aims at the nearest enemy. Every hit sparks.", (Rarity)2, (CardThemeColorType)8).Bounces(6).Seek(6).Shock(12.0, 2) .Dmg(0.9); New("Satellite Array", "Two bullets orbit you, then lock on and fire as exploding rockets.", (Rarity)2, (CardThemeColorType)7).Satellite(1.5, 3.5).Bullets(1).Rockets(20.0, 3.0) .Dmg(0.9); New("Shrapnel Storm", "Every impact bursts into five homing shards that hunt enemies down.", (Rarity)2, (CardThemeColorType)0).Splinter(15.0, 5).Dmg(0.9); New("Comet Rounds", "Accelerating rockets that leave a burning trail across the map.", (Rarity)2, (CardThemeColorType)0).FireTrail(16.0).Accel(3.0).Rockets(25.0); New("Storm Bullets", "Slow homing bullets that zap every enemy they fly past.", (Rarity)2, (CardThemeColorType)1).StormRounds(14.0).Homing(120.0).Speed(0.8); New("Singularity Shells", "Bullets drag enemies toward them, then open a black hole on impact.", (Rarity)2, (CardThemeColorType)4).MagnetRounds(40.0).VoidRounds(35.0); New("Glacier Rounds", "Bullets leave a freezing trail and shatter into ice where they land.", (Rarity)2, (CardThemeColorType)7).FrostTrail(0.5).Cryo(); New("Plague Spreader", "Bullets drip toxic gas as they fly and burst into a toxic cloud.", (Rarity)2, (CardThemeColorType)5).ToxicTrail(12.0).Toxic(); New("Drill Rounds", "Accelerating bullets that drill through walls and explode inside cover.", (Rarity)2, (CardThemeColorType)6).Phase().Accel(4.0, 4.0).Rockets(); New("Mole Machine", "Bullets tunnel through walls, planting mines along the way.", (Rarity)2, (CardThemeColorType)6).Phase().MineTrail(30.0).Speed(0.8); New("Imp Express", "Every bullet drops exploding imps as it flies. Delivery guaranteed.", (Rarity)2, (CardThemeColorType)0).ImpTrail(30.0).Speed(0.7); New("Wall Phantom", "Bullets ghost through walls, hunt you down, and zap on the way.", (Rarity)2, (CardThemeColorType)3).Phase().Homing(250.0).StormRounds(8.0) .Dmg(0.85); New("Summoner's Fury", "Hits can spawn imps. Every 10s a hellhound joins for 10 seconds.", (Rarity)2, (CardThemeColorType)4).OnHit(0.2, Do.Imps(2, 25.0)).Cd(1.5).Every(10.0, Do.Summon(Pet.Hound, 8.0, 10.0)); New("Ninja Ambush", "Block teleports you onto the nearest enemy and slams. Kills do it again.", (Rarity)2, (CardThemeColorType)4).OnBlock(Do.Ambush(40.0)).Cd(2.0).OnKill(Do.Ambush(30.0)); New("Chaos Engine", "Every 2 seconds, something. Anything. Nobody is in control.", (Rarity)2, (CardThemeColorType)8).Every(2.0, Do.OneOf(Do.Meteor(30.0, 4.0), Do.Zap(20.0, 3), Do.Fireball(30.0), Do.IceLance(0.6), Do.Imps(2, 25.0), Do.BlackHole(30.0, 6.0, 2.0), Do.Laser(25.0), Do.Fireworks(4, 10.0), Do.Heal(15.0), Do.Swap, Do.Splinters(4, 10.0), Do.Summon(Pet.Bat, 5.0, 6.0))); New("Bullet Zoo", "Bullets drop imps, plant mines, and burst into homing shards.", (Rarity)2, (CardThemeColorType)5).ImpTrail().MineTrail(20.0).Splinter(10.0) .Dmg(0.8); } } public delegate void Act(Ctx c); public sealed class Ctx { public Player P; public CharacterData D; public HealthHandler H; public Gun G; public GunAmmo A; public Block B; public CharacterStatModifiers S; public Gravity Gr; public bool Mine; public Random R; public Player T; public Vector2 Pos => Vector2.op_Implicit(((Component)P).transform.position); public Vector2 At { get { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) if (!((Object)(object)T != (Object)null)) { return Pos; } return Vector2.op_Implicit(((Component)T).transform.position); } } } internal static class Buffs { private sealed class Entry { public float End; public Action Undo; } private static readonly List Active = new List(); public static void Add(float seconds, Action apply, Action undo) { apply(); Active.Add(new Entry { End = Time.time + seconds, Undo = undo }); } public static void Tick() { for (int num = Active.Count - 1; num >= 0; num--) { if (!(Time.time < Active[num].End)) { Entry e = Active[num]; Active.RemoveAt(num); Run(e); } } } public static void UndoAll() { foreach (Entry item in Active) { Run(item); } Active.Clear(); } private static void Run(Entry e) { try { e.Undo(); } catch (Exception ex) { Debug.LogException(ex); } } } internal sealed class Ring : MonoBehaviour { private const int Points = 40; private const float Life = 0.3f; private static Material material; private LineRenderer line; private float age; private float radius; private float spin; private int sides; private bool star; public static void Spawn(Vector2 pos, float radius, Color color, bool fx = true) { //IL_0003: 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_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Expected O, but got Unknown //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Expected O, but got Unknown if (fx) { Fx.Pulse(pos, radius, color); } if ((Object)(object)material == (Object)null) { Shader val = Shader.Find("Sprites/Default"); if ((Object)(object)val == (Object)null) { return; } material = new Material(val); } GameObject val2 = new GameObject("AbsurdArsenalRing"); val2.transform.position = Vector2.op_Implicit(pos); Ring ring = val2.AddComponent(); ring.radius = radius; ring.line = val2.AddComponent(); ((Renderer)ring.line).sharedMaterial = material; ring.line.useWorldSpace = false; ring.line.loop = true; ring.line.positionCount = 40; ring.line.widthMultiplier = 0.25f; LineRenderer obj = ring.line; Color startColor = (ring.line.endColor = Fx.T(color)); obj.startColor = startColor; if (Fx.Current.On) { ring.sides = Fx.Current.Sides; ring.star = Fx.Current.Star; ring.spin = (Fx.Current.Accent.r - Fx.Current.Accent.b) * 6f; if (ring.sides >= 3) { ring.line.positionCount = (ring.star ? (ring.sides * 2) : ring.sides); } } ((Renderer)ring.line).sortingOrder = 100; ring.Draw(0f); } private void Draw(float t) { float r = Mathf.Lerp(radius * 0.3f, radius, t); if (sides >= 3) { Shapes.Polygon(line, r, sides, spin * t, star); } else { Shapes.Circle(line, r); } line.widthMultiplier = Mathf.Lerp(0.45f, 0.02f, Mathf.Sqrt(t)); } private void Update() { age += Time.deltaTime; if (age >= 0.3f) { Object.Destroy((Object)(object)((Component)this).gameObject); } else { Draw(age / 0.3f); } } } public sealed class FxHost : MonoBehaviour { private static readonly List Live = new List(); internal CardDef Def; private Player player; private CharacterData data; private readonly List unsubscribe = new List(); private float[] readyAt; private float[] everyAt; private bool[] armed; private bool wasDead; private float nextCardCheck; private bool Owned => data.view.IsMine; private bool Playing { get { if (data.isPlaying) { return !data.dead; } return false; } } internal void Init(CardDef def, Player p) { Def = def; player = p; data = p.data; int count = def.Rules.Count; readyAt = new float[count]; everyAt = new float[count]; armed = new bool[count]; nextCardCheck = Time.time + 3f; for (int i = 0; i < count; i++) { armed[i] = true; everyAt[i] = Time.time + Tuning.Period(def.Rules[i].Value); Subscribe(i); } Live.Add(this); } private void Subscribe(int i) { Gun gun = data.weaponHandler.gun; CharacterStatModifiers stats = data.stats; Block block = data.block; switch (Def.Rules[i].When) { case When.Shoot: { Action h7 = delegate { Fire(i, 0.12f); }; Gun obj7 = gun; obj7.ShootPojectileAction = (Action)Delegate.Combine(obj7.ShootPojectileAction, h7); unsubscribe.Add(delegate { Gun obj8 = gun; obj8.ShootPojectileAction = (Action)Delegate.Remove(obj8.ShootPojectileAction, h7); }); break; } case When.Block: { Action h6 = delegate { Fire(i, 0f); }; Block obj6 = block; obj6.BlockAction = (Action)Delegate.Combine(obj6.BlockAction, h6); unsubscribe.Add(delegate { Block obj8 = block; obj8.BlockAction = (Action)Delegate.Remove(obj8.BlockAction, h6); }); break; } case When.Hurt: { Action h5 = delegate(Vector2 d, bool self) { if (!self) { Player lastSourceOfDamage = data.lastSourceOfDamage; Fire(i, 0.25f, needsLife: true, ((Object)(object)lastSourceOfDamage != (Object)null && lastSourceOfDamage.teamID != player.teamID) ? lastSourceOfDamage : null); } }; CharacterStatModifiers obj5 = stats; obj5.WasDealtDamageAction = (Action)Delegate.Combine(obj5.WasDealtDamageAction, h5); unsubscribe.Add(delegate { CharacterStatModifiers obj8 = stats; obj8.WasDealtDamageAction = (Action)Delegate.Remove(obj8.WasDealtDamageAction, h5); }); break; } case When.Deal: { Action h4 = delegate(Vector2 d, bool self) { if (!self) { Fire(i, 0.2f); } }; CharacterStatModifiers obj4 = stats; obj4.DealtDamageAction = (Action)Delegate.Combine(obj4.DealtDamageAction, h4); unsubscribe.Add(delegate { CharacterStatModifiers obj8 = stats; obj8.DealtDamageAction = (Action)Delegate.Remove(obj8.DealtDamageAction, h4); }); break; } case When.Reload: { Action h3 = delegate { Fire(i, 0.1f); }; CharacterStatModifiers obj3 = stats; obj3.OnReloadDoneAction = (Action)Delegate.Combine(obj3.OnReloadDoneAction, h3); unsubscribe.Add(delegate { CharacterStatModifiers obj8 = stats; obj8.OnReloadDoneAction = (Action)Delegate.Remove(obj8.OnReloadDoneAction, h3); }); break; } case When.Empty: { Action h2 = delegate { Fire(i, 0.1f); }; CharacterStatModifiers obj2 = stats; obj2.OutOfAmmpAction = (Action)Delegate.Combine(obj2.OutOfAmmpAction, h2); unsubscribe.Add(delegate { CharacterStatModifiers obj8 = stats; obj8.OutOfAmmpAction = (Action)Delegate.Remove(obj8.OutOfAmmpAction, h2); }); break; } case When.Land: { Action h = delegate(float sinceGrounded, Vector3 a, Vector3 b, Transform c) { if (sinceGrounded > 0.25f) { Fire(i, 0.4f); } }; CharacterData obj = data; obj.TouchGroundAction = (Action)Delegate.Combine(obj.TouchGroundAction, h); unsubscribe.Add(delegate { CharacterData obj8 = data; obj8.TouchGroundAction = (Action)Delegate.Remove(obj8.TouchGroundAction, h); }); break; } } } private void Fire(int i, float minCooldown, bool needsLife = true, Player target = null) { //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) if (!Owned || (needsLife && !Playing)) { return; } Rule rule = Def.Rules[i]; if (Time.time < readyAt[i]) { return; } float num = Tuning.Chance(rule.Chance); if (num < 1f && Random.value > num) { return; } readyAt[i] = Time.time + Mathf.Max(Tuning.Cooldown(rule.Cooldown), minCooldown); if ((Object)(object)target == (Object)null) { target = (from x in Do.FoesNear(player.teamID, Vector2.op_Implicit(((Component)player).transform.position), float.MaxValue) orderby Vector2.Distance(Vector2.op_Implicit(((Component)x).transform.position), Vector2.op_Implicit(((Component)player).transform.position)) select x).FirstOrDefault(); } NetworkingManager.RPC(typeof(FxHost), "RPC_Fire", new object[5] { player.playerID, Def.Index, i, Random.Range(0, int.MaxValue), ((Object)(object)target != (Object)null) ? target.playerID : (-1) }); } internal static void HitLanded(Player attacker, Player victim, bool killed) { FxHost[] array = Live.ToArray(); foreach (FxHost fxHost in array) { if ((Object)(object)fxHost == (Object)null || (Object)(object)fxHost.player != (Object)(object)attacker) { continue; } for (int j = 0; j < fxHost.Def.Rules.Count; j++) { When when = fxHost.Def.Rules[j].When; if (when == When.Hit) { fxHost.Fire(j, 0.15f, needsLife: true, victim); } else if (when == When.Kill && killed) { fxHost.Fire(j, 0f, needsLife: false, victim); } } } } [UnboundRPC] public static void RPC_Fire(int playerId, int cardIndex, int ruleIndex, int seed, int targetId) { Player val = ((IEnumerable)PlayerManager.instance.players).FirstOrDefault((Func)((Player x) => (Object)(object)x != (Object)null && x.playerID == playerId)); if ((Object)(object)val == (Object)null) { return; } Player t = ((targetId < 0) ? null : ((IEnumerable)PlayerManager.instance.players).FirstOrDefault((Func)((Player x) => (Object)(object)x != (Object)null && x.playerID == targetId))); Gun gun = val.data.weaponHandler.gun; Ctx c = new Ctx { P = val, D = val.data, H = val.data.healthHandler, G = gun, A = ((Component)gun).GetComponentInChildren(), B = val.data.block, S = val.data.stats, Gr = ((Component)val).GetComponent(), Mine = val.data.view.IsMine, R = new Random(seed), T = t }; Fx.Style current = Fx.Current; Fx.Current = Catalog.All[cardIndex].Look; try { Act[] acts = Catalog.All[cardIndex].Rules[ruleIndex].Acts; for (int num = 0; num < acts.Length; num++) { acts[num](c); } } finally { Fx.Current = current; } } internal static void BattleStarted() { FxHost[] array = Live.ToArray(); foreach (FxHost fxHost in array) { if ((Object)(object)fxHost == (Object)null) { continue; } for (int j = 0; j < fxHost.Def.Rules.Count; j++) { fxHost.armed[j] = true; if (fxHost.Def.Rules[j].When == When.Start) { fxHost.Fire(j, 0f, needsLife: false); } } } } private void Update() { bool dead = data.dead; for (int i = 0; i < Def.Rules.Count; i++) { Rule rule = Def.Rules[i]; switch (rule.When) { case When.Every: if (Playing && Time.time >= everyAt[i]) { everyAt[i] = Time.time + Tuning.Period(rule.Value); Fire(i, 0f); } break; case When.Low: if (Playing) { if (data.health / data.maxHealth > rule.Value) { armed[i] = true; } else if (armed[i] && Time.time >= readyAt[i]) { armed[i] = false; Fire(i, 0f); } } break; case When.Death: if (dead && !wasDead && data.isPlaying) { Fire(i, 0f, needsLife: false); } break; case When.Revive: if (!dead && wasDead && data.stats.remainingRespawns < data.stats.respawns) { Fire(i, 0f, needsLife: false); } break; } } wasDead = dead; if (Time.time >= nextCardCheck) { nextCardCheck = Time.time + 1f; if (!data.currentCards.Any((CardInfo c) => (Object)(object)c != (Object)null && c.cardName == Def.Name)) { Object.Destroy((Object)(object)this); } } } private void OnDestroy() { Live.Remove(this); foreach (Action item in unsubscribe) { item(); } } } public abstract class PackCard : CustomCard { protected abstract int Slot { get; } private CardDef Def => Catalog.All[Slot]; protected override string GetTitle() { return Def.Name; } protected override string GetDescription() { return Def.Desc; } protected override CardInfoStat[] GetStats() { return Def.Stats.ToArray(); } protected override Rarity GetRarity() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) return Def.Rarity; } protected override GameObject GetCardArt() { return null; } protected override CardThemeColorType GetTheme() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) return Def.Theme; } public override string GetModName() { return "ARSNL"; } public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers statModifiers, Block block) { cardInfo.allowMultiple = !Def.Single; Def.Setup(gun, statModifiers, block); } public override void OnAddCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats) { if (Def.OnFoe != null) { foreach (Player item in PlayerManager.instance.players.Where((Player x) => (Object)(object)x != (Object)null && x.teamID != player.teamID).ToList()) { Def.OnFoe(item); } } if (Def.Rules.Count > 0) { ((Component)player).gameObject.AddComponent().Init(Def, player); } } public override void OnRemoveCard(Player player, Gun gun, GunAmmo gunAmmo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers characterStats) { FxHost fxHost = ((Component)player).GetComponents().LastOrDefault((FxHost h) => h.Def == Def); if ((Object)(object)fxHost != (Object)null) { Object.Destroy((Object)(object)fxHost); } } } internal static class Fx { public enum Family { Plain, Fire, Toxic, Blood, Ice, Volt, Void, Holy, Heal, Danger, Tech, Ghost } public struct Style { public bool On; public Color Accent; public int Sides; public bool Star; public float Density; public float Size; public bool Rainbow; } public static Style Current; private static Texture2D texture; private static Sprite soft; private static Material additive; private static Material normal; private static ParticleSystem sparks; private static ParticleSystem glows; private static ParticleSystem rises; private static readonly Random Rng = new Random(); public static Sprite Soft { get { //IL_0026: 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) if (!((Object)(object)soft != (Object)null)) { return soft = Sprite.Create(Tex(), new Rect(0f, 0f, 64f, 64f), new Vector2(0.5f, 0.5f), 32f); } return soft; } } public static Material Additive { get { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Expected O, but got Unknown if ((Object)(object)additive != (Object)null) { return additive; } Shader val = Shader.Find("Legacy Shaders/Particles/Additive") ?? Shader.Find("Particles/Additive") ?? Shader.Find("Mobile/Particles/Additive") ?? Shader.Find("Sprites/Default"); if ((Object)(object)val == (Object)null) { return null; } additive = new Material(val) { mainTexture = (Texture)(object)Tex() }; return additive; } } public static Material Normal { get { //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Expected O, but got Unknown if ((Object)(object)normal != (Object)null) { return normal; } Shader val = Shader.Find("Sprites/Default"); if ((Object)(object)val == (Object)null) { return null; } normal = new Material(val) { mainTexture = (Texture)(object)Tex() }; return normal; } } private static ParticleSystem Sparks { get { if (!((Object)(object)sparks != (Object)null)) { return sparks = Make("ARSNL_Sparks", 0.4f, stretch: true); } return sparks; } } private static ParticleSystem Glows { get { if (!((Object)(object)glows != (Object)null)) { return glows = Make("ARSNL_Glows", 0f, stretch: false); } return glows; } } private static ParticleSystem Rises { get { if (!((Object)(object)rises != (Object)null)) { return rises = Make("ARSNL_Rises", -0.12f, stretch: false); } return rises; } } public static Style From(string name) { //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) uint num = 2166136261u; foreach (char c in name) { num ^= c; num *= 16777619; } Style result = new Style { On = true }; result.Accent = Color.HSVToRGB((float)(num % 360) / 360f, 0.55f + (float)((num >> 9) % 40) / 100f, 1f); int num2 = (int)((num >> 3) % 9); int[] array = new int[9] { 0, 0, 0, 3, 4, 5, 6, 8, 5 }; result.Sides = array[num2]; result.Star = num2 == 8 || ((num >> 13) % 3 == 0 && result.Sides >= 5); result.Density = 0.7f + (float)((num >> 17) % 9) / 10f; result.Size = 0.75f + (float)((num >> 21) % 7) / 10f; result.Rainbow = (num >> 25) % 23 == 0; return result; } public static Color T(Color c) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) if (!Current.On) { return c; } Color val = (Current.Rainbow ? Color.HSVToRGB(Mathf.Repeat(Time.time * 0.6f + (float)Rng.NextDouble() * 0.3f, 1f), 0.9f, 1f) : Current.Accent); Color result = Color.Lerp(c, val, 0.38f); result.a = c.a; return result; } private static float R(float a, float b) { return a + (float)Rng.NextDouble() * (b - a); } private static Vector2 Dir() { //IL_001c: Unknown result type (might be due to invalid IL or missing references) float num = R(0f, (float)Math.PI * 2f); return new Vector2(Mathf.Cos(num), Mathf.Sin(num)); } private static Texture2D Tex() { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Expected O, but got Unknown //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)texture != (Object)null) { return texture; } texture = new Texture2D(64, 64, (TextureFormat)4, false) { wrapMode = (TextureWrapMode)1 }; for (int i = 0; i < 64; i++) { for (int j = 0; j < 64; j++) { float num = Vector2.Distance(new Vector2((float)j + 0.5f, (float)i + 0.5f), new Vector2(32f, 32f)) / 32f; float num2 = Mathf.Clamp01(1f - num); texture.SetPixel(j, i, new Color(1f, 1f, 1f, num2 * num2)); } } texture.Apply(); return texture; } private static ParticleSystem Make(string name, float gravity, bool stretch) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Expected O, but got Unknown //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0077: 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_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Expected O, but got Unknown //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00d1: Unknown result type (might be due to invalid IL or missing references) //IL_00d6: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: Unknown result type (might be due to invalid IL or missing references) //IL_00f2: 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_0108: Unknown result type (might be due to invalid IL or missing references) //IL_0119: Unknown result type (might be due to invalid IL or missing references) //IL_011e: Unknown result type (might be due to invalid IL or missing references) //IL_012c: Unknown result type (might be due to invalid IL or missing references) //IL_0137: Unknown result type (might be due to invalid IL or missing references) //IL_013c: 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) GameObject val = new GameObject(name); Object.DontDestroyOnLoad((Object)(object)val); ParticleSystem val2 = val.AddComponent(); val2.Stop(true, (ParticleSystemStopBehavior)0); MainModule main = val2.main; ((MainModule)(ref main)).loop = true; ((MainModule)(ref main)).playOnAwake = false; ((MainModule)(ref main)).duration = 1f; ((MainModule)(ref main)).simulationSpace = (ParticleSystemSimulationSpace)1; ((MainModule)(ref main)).maxParticles = 4000; ((MainModule)(ref main)).gravityModifier = MinMaxCurve.op_Implicit(gravity); ((MainModule)(ref main)).startSpeed = MinMaxCurve.op_Implicit(0f); EmissionModule emission = val2.emission; ((EmissionModule)(ref emission)).enabled = false; ShapeModule shape = val2.shape; ((ShapeModule)(ref shape)).enabled = false; ColorOverLifetimeModule colorOverLifetime = val2.colorOverLifetime; ((ColorOverLifetimeModule)(ref colorOverLifetime)).enabled = true; Gradient val3 = new Gradient(); val3.SetKeys((GradientColorKey[])(object)new GradientColorKey[2] { new GradientColorKey(Color.white, 0f), new GradientColorKey(Color.white, 1f) }, (GradientAlphaKey[])(object)new GradientAlphaKey[3] { new GradientAlphaKey(1f, 0f), new GradientAlphaKey(0.8f, 0.5f), new GradientAlphaKey(0f, 1f) }); ((ColorOverLifetimeModule)(ref colorOverLifetime)).color = MinMaxGradient.op_Implicit(val3); SizeOverLifetimeModule sizeOverLifetime = val2.sizeOverLifetime; ((SizeOverLifetimeModule)(ref sizeOverLifetime)).enabled = true; ((SizeOverLifetimeModule)(ref sizeOverLifetime)).size = new MinMaxCurve(1f, AnimationCurve.EaseInOut(0f, 1f, 1f, 0.15f)); ParticleSystemRenderer component = val.GetComponent(); ((Renderer)component).sharedMaterial = Additive; ((Renderer)component).sortingOrder = 102; if (stretch) { component.renderMode = (ParticleSystemRenderMode)1; component.velocityScale = 0.05f; component.lengthScale = 1.2f; } val2.Play(); return val2; } private static void Emit(ParticleSystem ps, Vector2 p, Vector2 v, float life, float size, Color c) { //IL_000a: 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_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0030: 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) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) if (!((Object)(object)ps == (Object)null)) { c = T(c); if (Current.On) { size *= Current.Size; } EmitParams val = default(EmitParams); ((EmitParams)(ref val)).position = new Vector3(p.x, p.y, -0.5f); ((EmitParams)(ref val)).velocity = Vector2.op_Implicit(v); ((EmitParams)(ref val)).startLifetime = life; ((EmitParams)(ref val)).startSize = size; ((EmitParams)(ref val)).startColor = Color32.op_Implicit(c); ((EmitParams)(ref val)).applyShapeToPosition = false; EmitParams val2 = val; ps.Emit(val2, 1); } } public static void Spark(Vector2 p, Vector2 v, float life, float size, Color c) { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0009: Unknown result type (might be due to invalid IL or missing references) try { Emit(Sparks, p, v, life, size, c); } catch { } } public static void Glow(Vector2 p, Vector2 v, float life, float size, Color c) { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0009: Unknown result type (might be due to invalid IL or missing references) try { Emit(Glows, p, v, life, size, c); } catch { } } public static void Rise(Vector2 p, Vector2 v, float life, float size, Color c) { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0009: Unknown result type (might be due to invalid IL or missing references) try { Emit(Rises, p, v, life, size, c); } catch { } } private static Color Mix(Color a, Color b, float t) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0003: Unknown result type (might be due to invalid IL or missing references) return Color.Lerp(a, b, t); } private static Color Hot(Color c) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) return Mix(c, Color.white, R(0f, 0.6f)); } public static void Burst(Vector2 p, int n, float speed, Color c, float life = 0.45f, float size = 0.3f) { //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_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) if (Current.On) { n = Mathf.Max(1, (int)((float)n * Current.Density)); } for (int i = 0; i < n; i++) { Spark(p, Dir() * speed * R(0.4f, 1.1f), life * R(0.6f, 1.2f), size * R(0.6f, 1.3f), Hot(c)); } } public static void Flash(Vector2 p, float radius, Color c, float life = 0.2f, bool dark = false) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) try { FlashFx.Spawn(p, radius, dark ? c : T(c), life, dark); } catch { } } public static void Pulse(Vector2 p, float r, Color c) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) Flash(p, r * 0.7f, c * 0.6f, 0.18f); Burst(p, Mathf.Clamp((int)(r * 2.5f), 3, 18), r * 3f, c, 0.35f, 0.22f); Glitter(p, r, 4); } public static void Explosion(Vector2 p, float r, Color c) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0014: 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_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00c8: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011b: Unknown result type (might be due to invalid IL or missing references) //IL_0125: Unknown result type (might be due to invalid IL or missing references) //IL_012a: Unknown result type (might be due to invalid IL or missing references) //IL_0163: Unknown result type (might be due to invalid IL or missing references) //IL_017e: Unknown result type (might be due to invalid IL or missing references) //IL_017f: Unknown result type (might be due to invalid IL or missing references) //IL_0195: Unknown result type (might be due to invalid IL or missing references) //IL_019a: Unknown result type (might be due to invalid IL or missing references) //IL_019f: Unknown result type (might be due to invalid IL or missing references) //IL_01b3: Unknown result type (might be due to invalid IL or missing references) //IL_01b8: Unknown result type (might be due to invalid IL or missing references) //IL_01bd: Unknown result type (might be due to invalid IL or missing references) //IL_01e0: Unknown result type (might be due to invalid IL or missing references) //IL_01e1: Unknown result type (might be due to invalid IL or missing references) //IL_01eb: Unknown result type (might be due to invalid IL or missing references) Flash(p, r * 1.1f, c, 0.28f); Flash(p, r * 0.5f, Color.white, 0.14f); Glitter(p, r, 10); int num = Mathf.Clamp((int)(r * 9f * (Current.On ? Current.Density : 1f)), 10, 90); for (int i = 0; i < num; i++) { Spark(p, Dir() * r * R(2.5f, 7f), R(0.3f, 0.7f), R(0.15f, 0.4f), Mix(c, (i % 3 == 0) ? Color.yellow : Color.white, R(0f, 0.7f))); } for (int j = 0; j < num / 3; j++) { Glow(p + Dir() * R(0f, r * 0.4f), Dir() * R(0.5f, 2f) + Vector2.up * 0.8f, R(0.6f, 1.2f), r * R(0.3f, 0.6f), new Color(0.35f, 0.32f, 0.3f, 0.6f)); } for (int k = 0; k < num / 4; k++) { Rise(p + Dir() * R(0f, r * 0.6f), Vector2.up * R(1f, 3f) + Dir(), R(0.6f, 1.2f), R(0.12f, 0.25f), Mix(c, Color.yellow, 0.5f)); } } public static void Glitter(Vector2 p, float r, int n) { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0022: 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_002c: 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_0033: 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_006f: Unknown result type (might be due to invalid IL or missing references) if (!Current.On) { return; } for (int i = 0; i < n; i++) { Vector2 p2 = p + Dir() * R(0f, r); try { Emit(Glows, p2, Dir() * R(0.3f, 1.5f), R(0.4f, 0.9f), R(0.15f, 0.35f), Current.Accent); } catch { } } } public static void Radial(Vector2 p, float r, Color c, bool inward) { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00b0: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: 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_0033: 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) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0075: 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_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) int num = Mathf.Clamp((int)(r * 5f), 10, 50); for (int i = 0; i < num; i++) { Vector2 val = Dir(); float num2 = R(0.25f, 0.4f); if (inward) { Spark(p + val * r * R(0.8f, 1.1f), -val * r / num2, num2, R(0.15f, 0.3f), Hot(c)); } else { Spark(p + val * 0.5f, val * r / num2, num2, R(0.15f, 0.3f), Hot(c)); } } Flash(p, r * (inward ? 0.4f : 0.8f), c * 0.5f); } public static void Stars(Vector2 p, float r, Color c) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) Flash(p, r * 0.6f, c * 0.6f); for (int i = 0; i < 5; i++) { Bolt.Spawn(p, p + Dir() * r * R(0.5f, 0.9f), c, 0.1f, 0.6f, 0.2f); } for (int j = 0; j < 12; j++) { Rise(p + Dir() * R(0f, r * 0.7f), Dir() * 1.5f, R(0.4f, 0.8f), R(0.2f, 0.35f), Hot(c)); } } public static void Shards(Vector2 p, float r, Color c) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_004e: 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_0072: 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_009c: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) Flash(p, r * 0.8f, c * 0.6f, 0.25f); int num = Mathf.Clamp((int)(r * 4f), 8, 40); for (int i = 0; i < num; i++) { Spark(p, Dir() * r * R(1.5f, 3.5f), R(0.4f, 0.8f), R(0.2f, 0.45f), Mix(c, Color.white, R(0.2f, 0.8f))); } for (int j = 0; j < num / 2; j++) { Glow(p + Dir() * R(0f, r), Vector2.down * R(0.3f, 1f), R(0.8f, 1.4f), R(0.1f, 0.2f), Color.white); } } public static void Geyser(Vector2 p, float r, Color c) { //IL_0004: 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_0021: 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) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) for (int i = 0; i < 24; i++) { Spark(p + new Vector2(R(0f - r, r), R(-0.5f, 0.5f)), new Vector2(R(-1.5f, 1.5f), R(8f, 18f)), R(0.4f, 0.7f), R(0.15f, 0.3f), Hot(c)); } Flash(p, r * 0.6f, c * 0.5f); } public static void Healing(Vector2 p, Color c) { //IL_0004: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) for (int i = 0; i < 10; i++) { Rise(p + new Vector2(R(-1.2f, 1.2f), R(-1f, 0.6f)), new Vector2(R(-0.3f, 0.3f), R(1.5f, 3f)), R(0.6f, 1f), R(0.2f, 0.35f), Hot(c)); } Flash(p, 1.4f, c * 0.5f, 0.3f); } public static void Poof(Vector2 p, Color c) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_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) //IL_0030: 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_003b: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) Flash(p, 1.8f, c); for (int i = 0; i < 16; i++) { Vector2 val = Dir(); Spark(p + val * 2.2f, -val * 7f, 0.3f, 0.2f, Hot(c)); Glow(p, val * R(1f, 3f), R(0.3f, 0.6f), R(0.3f, 0.6f), c * 0.8f); } } public static Family FamilyOf(Color c) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_002e: 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_004b: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_0077: 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_0086: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00b3: Unknown result type (might be due to invalid IL or missing references) if (Near(c, Shapes.Fire)) { return Family.Fire; } if (Near(c, Shapes.Toxic)) { return Family.Toxic; } if (Near(c, Shapes.Blood)) { return Family.Blood; } if (Near(c, Shapes.Ice)) { return Family.Ice; } if (Near(c, Shapes.Volt)) { return Family.Volt; } if (Near(c, Shapes.Void)) { return Family.Void; } if (Near(c, Shapes.Holy) || Near(c, Color.yellow)) { return Family.Holy; } if (Near(c, Shapes.Heal)) { return Family.Heal; } if (Near(c, Color.red)) { return Family.Danger; } if (Near(c, Color.cyan) || Near(c, Color.magenta)) { return Family.Tech; } if (Near(c, Color.white)) { return Family.Ghost; } return Family.Plain; } private static bool Near(Color a, Color b) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) return Mathf.Abs(a.r - b.r) + Mathf.Abs(a.g - b.g) + Mathf.Abs(a.b - b.b) < 0.05f; } public static void Ambient(Family f, Vector2 center, float r, Color c) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00d6: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_0100: Unknown result type (might be due to invalid IL or missing references) //IL_0101: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_0138: 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_015e: Unknown result type (might be due to invalid IL or missing references) //IL_0181: Unknown result type (might be due to invalid IL or missing references) //IL_0182: Unknown result type (might be due to invalid IL or missing references) //IL_018c: Unknown result type (might be due to invalid IL or missing references) //IL_0203: Unknown result type (might be due to invalid IL or missing references) //IL_0204: Unknown result type (might be due to invalid IL or missing references) //IL_020a: Unknown result type (might be due to invalid IL or missing references) //IL_021e: Unknown result type (might be due to invalid IL or missing references) //IL_0223: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_0239: Unknown result type (might be due to invalid IL or missing references) //IL_023a: Unknown result type (might be due to invalid IL or missing references) //IL_023b: Unknown result type (might be due to invalid IL or missing references) //IL_023c: Unknown result type (might be due to invalid IL or missing references) //IL_0242: Unknown result type (might be due to invalid IL or missing references) //IL_0257: Unknown result type (might be due to invalid IL or missing references) //IL_0258: Unknown result type (might be due to invalid IL or missing references) //IL_026c: Unknown result type (might be due to invalid IL or missing references) //IL_0277: Unknown result type (might be due to invalid IL or missing references) //IL_0278: Unknown result type (might be due to invalid IL or missing references) //IL_028c: Unknown result type (might be due to invalid IL or missing references) //IL_02af: Unknown result type (might be due to invalid IL or missing references) //IL_02b0: Unknown result type (might be due to invalid IL or missing references) //IL_02bb: Unknown result type (might be due to invalid IL or missing references) //IL_02da: Unknown result type (might be due to invalid IL or missing references) //IL_02fd: Unknown result type (might be due to invalid IL or missing references) //IL_02fe: Unknown result type (might be due to invalid IL or missing references) //IL_0309: Unknown result type (might be due to invalid IL or missing references) //IL_030a: Unknown result type (might be due to invalid IL or missing references) //IL_031e: Unknown result type (might be due to invalid IL or missing references) //IL_0341: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03a0: Unknown result type (might be due to invalid IL or missing references) //IL_03b4: Unknown result type (might be due to invalid IL or missing references) //IL_03d7: Unknown result type (might be due to invalid IL or missing references) //IL_03d8: Unknown result type (might be due to invalid IL or missing references) //IL_0348: Unknown result type (might be due to invalid IL or missing references) //IL_0349: Unknown result type (might be due to invalid IL or missing references) //IL_035d: Unknown result type (might be due to invalid IL or missing references) //IL_0394: Unknown result type (might be due to invalid IL or missing references) //IL_01d3: Unknown result type (might be due to invalid IL or missing references) //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01e8: Unknown result type (might be due to invalid IL or missing references) //IL_01f7: Unknown result type (might be due to invalid IL or missing references) //IL_01f8: Unknown result type (might be due to invalid IL or missing references) //IL_01ac: Unknown result type (might be due to invalid IL or missing references) //IL_01ad: Unknown result type (might be due to invalid IL or missing references) //IL_01ae: Unknown result type (might be due to invalid IL or missing references) //IL_01b4: Unknown result type (might be due to invalid IL or missing references) //IL_01b9: Unknown result type (might be due to invalid IL or missing references) //IL_01be: Unknown result type (might be due to invalid IL or missing references) Vector2 p = center + Dir() * R(0f, r); switch (f) { case Family.Fire: Rise(p, new Vector2(R(-0.4f, 0.4f), R(1.5f, 3.5f)), R(0.4f, 0.8f), R(0.2f, 0.45f), Mix(c, Color.yellow, R(0f, 0.6f))); break; case Family.Toxic: Rise(p, new Vector2(R(-0.2f, 0.2f), R(0.4f, 1.2f)), R(0.8f, 1.4f), R(0.25f, 0.5f), c); break; case Family.Blood: Spark(p, Vector2.down * R(1f, 3f), R(0.4f, 0.7f), R(0.12f, 0.25f), c); break; case Family.Ice: Glow(p, new Vector2(R(-0.3f, 0.3f), R(-1.2f, -0.3f)), R(0.6f, 1.1f), R(0.1f, 0.22f), Mix(c, Color.white, 0.6f)); break; case Family.Volt: if (Rng.NextDouble() < 0.15) { Bolt.Spawn(center, center + Dir() * r, c, 0.07f, 0.5f, 0.1f); } Spark(p, Dir() * R(2f, 5f), 0.2f, 0.15f, Hot(c)); break; case Family.Void: { Vector2 val = center + Dir() * r * R(0.9f, 1.2f); float num = R(0.35f, 0.6f); Spark(val, (center - val) / num, num, R(0.15f, 0.3f), Mix(c, Color.white, R(0f, 0.4f))); break; } case Family.Holy: Glow(p, Vector2.up * R(0.2f, 0.8f), R(0.3f, 0.7f), R(0.15f, 0.35f), Hot(c)); break; case Family.Heal: Rise(p, new Vector2(R(-0.2f, 0.2f), R(1f, 2f)), R(0.6f, 1f), R(0.2f, 0.35f), Hot(c)); break; case Family.Danger: Spark(p, Dir() * R(0.5f, 1.5f), R(0.2f, 0.4f), R(0.12f, 0.22f), c); break; case Family.Ghost: Glow(p, Dir() * R(0.2f, 0.6f), R(0.6f, 1f), R(0.3f, 0.6f), new Color(1f, 1f, 1f, 0.5f)); break; default: Glow(p, Dir() * R(0.2f, 0.8f), R(0.4f, 0.8f), R(0.15f, 0.3f), Hot(c)); break; } } } internal sealed class FlashFx : MonoBehaviour { private SpriteRenderer sr; private float age; private float life; private float radius; private Color color; public static void Spawn(Vector2 p, float radius, Color c, float life, bool dark) { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Expected O, but got Unknown //IL_002c: 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_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) Material val = (dark ? Fx.Normal : Fx.Additive); if (!((Object)(object)val == (Object)null)) { GameObject val2 = new GameObject("ARSNL_Flash"); val2.transform.position = new Vector3(p.x, p.y, -0.4f); FlashFx flashFx = val2.AddComponent(); flashFx.sr = val2.AddComponent(); flashFx.sr.sprite = Fx.Soft; ((Renderer)flashFx.sr).sharedMaterial = val; ((Renderer)flashFx.sr).sortingOrder = 101; flashFx.life = life; flashFx.radius = radius; flashFx.color = c; flashFx.Apply(0f); } } private void Apply(float t) { //IL_002a: 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) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) float num = radius * Mathf.Lerp(0.6f, 1.2f, Mathf.Sqrt(t)); ((Component)this).transform.localScale = new Vector3(num, num, 1f); Color val = color; val.a = ((color.a <= 0f) ? 1f : color.a) * (1f - t); sr.color = val; } private void Update() { age += Time.deltaTime; if (age >= life) { Object.Destroy((Object)(object)((Component)this).gameObject); } else { Apply(age / life); } } } internal sealed class Glowing : MonoBehaviour { public Fx.Family Family; public Color Color; public float Radius; public float Rate; public float GlowAlpha = 0.22f; public bool Darken; private SpriteRenderer glow; private SpriteRenderer core; private float budget; public static Glowing Add(GameObject host, Color color, float radius, float rate, bool trail) { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Expected O, but got Unknown //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00c1: Expected O, but got Unknown //IL_00e8: Unknown result type (might be due to invalid IL or missing references) //IL_0145: Unknown result type (might be due to invalid IL or missing references) //IL_01b4: Unknown result type (might be due to invalid IL or missing references) //IL_01bb: Unknown result type (might be due to invalid IL or missing references) //IL_01c1: Unknown result type (might be due to invalid IL or missing references) //IL_01c7: Unknown result type (might be due to invalid IL or missing references) //IL_01d2: Unknown result type (might be due to invalid IL or missing references) Glowing glowing = host.AddComponent(); glowing.Family = Fx.FamilyOf(color); glowing.Color = Fx.T(color); color = glowing.Color; glowing.Radius = radius; glowing.Rate = rate; try { GameObject val = new GameObject("ARSNL_Glow"); val.transform.SetParent(host.transform, false); val.transform.localPosition = new Vector3(0f, 0f, 0.1f); glowing.glow = val.AddComponent(); glowing.glow.sprite = Fx.Soft; ((Renderer)glowing.glow).sharedMaterial = Fx.Additive; ((Renderer)glowing.glow).sortingOrder = 98; if (glowing.Family == Fx.Family.Void) { GameObject val2 = new GameObject("ARSNL_Core"); val2.transform.SetParent(host.transform, false); val2.transform.localPosition = new Vector3(0f, 0f, 0.05f); glowing.core = val2.AddComponent(); glowing.core.sprite = Fx.Soft; ((Renderer)glowing.core).sharedMaterial = Fx.Normal; ((Renderer)glowing.core).sortingOrder = 99; glowing.core.color = new Color(0f, 0f, 0f, 0.9f); } if (trail) { TrailRenderer obj = host.AddComponent(); ((Renderer)obj).sharedMaterial = Fx.Additive; obj.time = 0.3f; obj.minVertexDistance = 0.1f; obj.widthMultiplier = Mathf.Max(0.15f, radius * 1.4f); obj.widthCurve = AnimationCurve.Linear(0f, 1f, 1f, 0f); obj.startColor = color; obj.endColor = new Color(color.r, color.g, color.b, 0f); ((Renderer)obj).sortingOrder = 97; } } catch (Exception ex) { Debug.LogException(ex); } return glowing; } private void LateUpdate() { //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00b0: Unknown result type (might be due to invalid IL or missing references) //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_0138: 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) float num = 1f + 0.08f * Mathf.Sin(Time.time * 7f + (float)((Object)this).GetInstanceID()); float num2 = Mathf.Max(0.3f, Radius) * 1.25f * num; if ((Object)(object)glow != (Object)null) { ((Component)glow).transform.localScale = new Vector3(num2, num2, 1f); Color color = Color; color.a = GlowAlpha * ((Family == Fx.Family.Danger) ? (0.6f + 0.4f * Mathf.Sin(Time.time * 14f)) : 1f); glow.color = color; } if ((Object)(object)core != (Object)null) { ((Component)core).transform.localScale = new Vector3(num2 * 0.45f, num2 * 0.45f, 1f); } budget += Rate * Time.deltaTime; int num3 = Mathf.Min(8, (int)budget); budget -= num3; for (int i = 0; i < num3; i++) { Fx.Ambient(Family, Vector2.op_Implicit(((Component)this).transform.position), Radius, Color); } } } internal static class Legends { public const float RerollChance = 0.7f; public static readonly HashSet Names = new HashSet(); } [HarmonyPatch(typeof(CardChoice), "GetRanomCard")] internal static class LegendaryRerollPatch { private static int depth; private static void Postfix(CardChoice __instance, ref GameObject __result) { if (depth > 0 || (Object)(object)__result == (Object)null || Legends.Names.Count == 0) { return; } try { depth++; for (int i = 0; i < 4; i++) { CardInfo component = __result.GetComponent(); if ((Object)(object)component == (Object)null || !Legends.Names.Contains(component.cardName) || Random.value > 0.7f) { break; } GameObject value = Traverse.Create((object)__instance).Method("GetRanomCard", Array.Empty()).GetValue(); if ((Object)(object)value == (Object)null) { break; } __result = value; } } catch (Exception ex) { Debug.LogException(ex); } finally { depth--; } } } internal static class Shapes { private static Material material; public static readonly Color Fire = new Color(1f, 0.45f, 0.05f); public static readonly Color Toxic = new Color(0.4f, 1f, 0.2f); public static readonly Color Blood = new Color(0.85f, 0.05f, 0.1f); public static readonly Color Ice = new Color(0.55f, 0.9f, 1f); public static readonly Color Volt = new Color(0.55f, 0.75f, 1f); public static readonly Color Void = new Color(0.55f, 0.15f, 1f); public static readonly Color Holy = new Color(1f, 0.92f, 0.45f); public static readonly Color Heal = new Color(0.3f, 1f, 0.55f); public static LineRenderer Line(GameObject go, Color color, float width, int points, bool loop, bool world) { //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Expected O, but got Unknown if ((Object)(object)material == (Object)null) { Shader val = Shader.Find("Sprites/Default"); if ((Object)(object)val == (Object)null) { return null; } material = new Material(val); } LineRenderer obj = go.AddComponent(); ((Renderer)obj).sharedMaterial = material; obj.useWorldSpace = world; obj.loop = loop; obj.positionCount = points; obj.widthMultiplier = width; Color startColor = (obj.endColor = color); obj.startColor = startColor; ((Renderer)obj).sortingOrder = 100; return obj; } public static void Polygon(LineRenderer l, float r, int sides, float phase, bool star) { //IL_005f: Unknown result type (might be due to invalid IL or missing references) int num = (star ? (sides * 2) : sides); if (l.positionCount != num) { l.positionCount = num; } for (int i = 0; i < num; i++) { float num2 = phase + (float)i * (float)Math.PI * 2f / (float)num; float num3 = ((star && i % 2 == 1) ? (r * 0.45f) : r); l.SetPosition(i, new Vector3(Mathf.Cos(num2) * num3, Mathf.Sin(num2) * num3, 0f)); } } public static void Circle(LineRenderer l, float r, float phase = 0f) { //IL_0048: Unknown result type (might be due to invalid IL or missing references) if (l.positionCount != 48) { l.positionCount = 48; } int positionCount = l.positionCount; for (int i = 0; i < positionCount; i++) { float num = phase + (float)i * (float)Math.PI * 2f / (float)positionCount; l.SetPosition(i, new Vector3(Mathf.Cos(num) * r, Mathf.Sin(num) * r, 0f)); } } } internal sealed class Bolt : MonoBehaviour { private LineRenderer line; private float age; private float life; private float width; private LineRenderer glow; public static void Spawn(Vector2 a, Vector2 b, Color color, float width = 0.22f, float jitter = 1.1f, float life = 0.25f) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0013: Expected O, but got Unknown //IL_001c: 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) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Unknown result type (might be due to invalid IL or missing references) //IL_00f5: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00b3: Unknown result type (might be due to invalid IL or missing references) //IL_013b: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_0168: Unknown result type (might be due to invalid IL or missing references) //IL_016e: Unknown result type (might be due to invalid IL or missing references) //IL_0179: Unknown result type (might be due to invalid IL or missing references) //IL_017e: Unknown result type (might be due to invalid IL or missing references) //IL_017f: 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_01a1: Unknown result type (might be due to invalid IL or missing references) //IL_01a2: Unknown result type (might be due to invalid IL or missing references) //IL_01ac: Unknown result type (might be due to invalid IL or missing references) //IL_01b1: Unknown result type (might be due to invalid IL or missing references) //IL_01b2: Unknown result type (might be due to invalid IL or missing references) //IL_01b9: Unknown result type (might be due to invalid IL or missing references) //IL_01c0: Unknown result type (might be due to invalid IL or missing references) //IL_01c7: Unknown result type (might be due to invalid IL or missing references) color = Fx.T(color); GameObject val = new GameObject("ARSNL_Bolt"); int num = ((jitter <= 0f) ? 2 : Mathf.Clamp((int)(Vector2.Distance(a, b) / 1.2f) + 2, 2, 48)); LineRenderer val2 = Shapes.Line(val, color, width, num, loop: false, world: true); if ((Object)(object)val2 == (Object)null) { Object.Destroy((Object)(object)val); return; } Vector2 val3 = b - a; Vector2 val4 = Vector2.Perpendicular(((Vector2)(ref val3)).normalized); for (int i = 0; i < num; i++) { float num2 = (float)i / (float)(num - 1); Vector2 val5 = Vector2.Lerp(a, b, num2); if (i > 0 && i < num - 1) { val5 += val4 * Random.Range(-0.5f, 0.5f) * jitter; } val2.SetPosition(i, Vector2.op_Implicit(val5)); } Bolt bolt = val.AddComponent(); bolt.line = val2; bolt.life = life; bolt.width = width; try { GameObject val6 = new GameObject("ARSNL_BoltGlow"); val6.transform.SetParent(val.transform, false); LineRenderer val7 = val6.AddComponent(); ((Renderer)val7).sharedMaterial = Fx.Additive; val7.useWorldSpace = true; val7.positionCount = num; for (int j = 0; j < num; j++) { val7.SetPosition(j, val2.GetPosition(j)); } val7.widthMultiplier = width * 4f; Color startColor = (val7.endColor = new Color(color.r, color.g, color.b, 0.45f)); val7.startColor = startColor; ((Renderer)val7).sortingOrder = 99; bolt.glow = val7; startColor = (val2.endColor = Color.Lerp(color, Color.white, 0.5f)); val2.startColor = startColor; Fx.Burst(b, 6, 6f, color, 0.3f, 0.2f); } catch { } } private void Update() { age += Time.deltaTime; if (age >= life) { Object.Destroy((Object)(object)((Component)this).gameObject); return; } float num = age / life; line.widthMultiplier = Mathf.Lerp(width, 0.01f, num); if ((Object)(object)glow != (Object)null) { glow.widthMultiplier = Mathf.Lerp(width * 4f, 0.05f, num); } } } internal sealed class Zone : MonoBehaviour { private static readonly List Live = new List(); public Player Owner; public bool Mine; public int Team; public float Radius; public float Born; public float End; public float Period; public float NextTick; public bool Follow; public bool ShowRing = true; public Action Tick; public Action Frame; public Action OnEnd; public int Sides; public bool Star; public float Spin = 0.8f; public Glowing Glow; public Fx.Style Style; private LineRenderer line; private bool cleared; public Vector2 Pos => Vector2.op_Implicit(((Component)this).transform.position); public float Age => Time.time - Born; public static Zone Spawn(Player owner, Vector2 pos, float radius, float seconds, float period, Color color, bool follow = false) { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Expected O, but got Unknown //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_00e6: Unknown result type (might be due to invalid IL or missing references) GameObject val = new GameObject("ARSNL_Zone"); val.transform.position = Vector2.op_Implicit(pos); Zone zone = val.AddComponent(); zone.Owner = owner; zone.Mine = owner.data.view.IsMine; zone.Team = owner.teamID; zone.Radius = radius; zone.Born = Time.time; zone.End = Time.time + seconds; zone.Period = period; zone.NextTick = Time.time + period; zone.Follow = follow; zone.Style = Fx.Current; if (Fx.Current.On && zone.Sides == 0) { zone.Sides = Fx.Current.Sides; zone.Star = Fx.Current.Star; } zone.line = Shapes.Line(val, Fx.T(color), 0.14f, 48, loop: true, world: false); zone.Glow = Glowing.Add(val, color, radius, Mathf.Clamp(radius * 5f, 4f, 30f), radius < 1.3f); Live.Add(zone); return zone; } public void Finish() { End = 0f; } private void Update() { //IL_0060: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)Owner == (Object)null) { Object.Destroy((Object)(object)((Component)this).gameObject); return; } if (Time.time >= End) { if (!cleared) { Safe(OnEnd); } Object.Destroy((Object)(object)((Component)this).gameObject); return; } if (Follow) { ((Component)this).transform.position = ((Component)Owner).transform.position; } if ((Object)(object)line != (Object)null) { ((Renderer)line).enabled = ShowRing; float r = Radius * (1f + 0.06f * Mathf.Sin(Time.time * 9f)); if (Sides >= 3) { Shapes.Polygon(line, r, Sides, Time.time * Spin, Star); } else { Shapes.Circle(line, r, Time.time * Spin); } } if ((Object)(object)Glow != (Object)null) { Glow.Radius = Radius; } Safe(Frame); if (Period > 0f && Time.time >= NextTick) { NextTick += Period; Safe(Tick); } } private void Safe(Action a) { if (a == null) { return; } Fx.Style current = Fx.Current; Fx.Current = Style; try { a(this); } catch (Exception ex) { Debug.LogException(ex); } finally { Fx.Current = current; } } private void OnDestroy() { Live.Remove(this); } public static void ClearAll() { Zone[] array = Live.ToArray(); foreach (Zone zone in array) { if ((Object)(object)zone != (Object)null) { zone.cleared = true; Object.Destroy((Object)(object)((Component)zone).gameObject); } } Live.Clear(); } } internal sealed class Saws : MonoBehaviour { public Zone Zone; public int Count; public float Damage; public float Orbit; public float Speed; private LineRenderer[] blades; private readonly Dictionary nextCut = new Dictionary(); public void Build(Color color) { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Expected O, but got Unknown //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) blades = (LineRenderer[])(object)new LineRenderer[Count]; for (int i = 0; i < Count; i++) { GameObject val = new GameObject("ARSNL_Saw"); val.transform.SetParent(((Component)this).transform, false); blades[i] = Shapes.Line(val, color, 0.12f, 16, loop: true, world: false); if ((Object)(object)blades[i] != (Object)null) { Shapes.Polygon(blades[i], 0.6f, 8, 0f, star: true); } Glowing.Add(val, color, 0.5f, 6f, trail: true).GlowAlpha = 0.35f; } } private void Update() { //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00de: 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) if (blades == null || (Object)(object)Zone == (Object)null) { return; } for (int i = 0; i < Count; i++) { float num = Time.time * Speed + (float)i * (float)Math.PI * 2f / (float)Count; Vector2 val = Zone.Pos + new Vector2(Mathf.Cos(num), Mathf.Sin(num)) * Orbit; if ((Object)(object)blades[i] != (Object)null) { ((Component)blades[i]).transform.position = Vector2.op_Implicit(val); ((Component)blades[i]).transform.rotation = Quaternion.Euler(0f, 0f, Time.time * 720f); } if (!Zone.Mine) { continue; } foreach (Player item in Do.FoesNear(Zone.Team, val, 1.2f)) { if (!nextCut.TryGetValue(item, out var value) || !(Time.time < value)) { nextCut[item] = Time.time + 0.4f; Do.Hurt(item, Damage, Zone.Owner, val); } } } } } internal sealed class Afflict : MonoBehaviour { private static readonly List Live = new List(); private Player victim; private Player source; private float dps; private float end; private float next; private Color color; private bool mine; public static void Apply(Player victim, Player source, float dps, float seconds, Color color, bool mine) { //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) Afflict afflict = ((Component)victim).gameObject.AddComponent(); afflict.victim = victim; afflict.source = source; afflict.dps = dps; afflict.end = Time.time + seconds; afflict.next = Time.time + 0.5f; afflict.color = color; afflict.mine = mine; Live.Add(afflict); Ring.Spawn(Vector2.op_Implicit(((Component)victim).transform.position), 2f, color); } private void Update() { //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)victim == (Object)null || victim.data.dead || !victim.data.isPlaying || Time.time >= end) { Object.Destroy((Object)(object)this); } else if (!(Time.time < next)) { next += 0.5f; Fx.Family f = Fx.FamilyOf(color); for (int i = 0; i < 8; i++) { Fx.Ambient(f, Vector2.op_Implicit(((Component)victim).transform.position), 1.1f, color); } Fx.Flash(Vector2.op_Implicit(((Component)victim).transform.position), 1.3f, color * 0.6f); if (mine) { Do.Hurt(victim, dps * 0.5f, source); } } } private void OnDestroy() { Live.Remove(this); } public static void ClearAll() { Afflict[] array = Live.ToArray(); foreach (Afflict afflict in array) { if ((Object)(object)afflict != (Object)null) { Object.Destroy((Object)(object)afflict); } } Live.Clear(); } } internal static class Marks { private struct Mark { public int Source; public float Until; public float Extra; } private static readonly Dictionary Map = new Dictionary(); public static void Add(Player victim, Player source, float seconds, float extra) { Map[victim.playerID] = new Mark { Source = source.playerID, Until = Time.time + seconds, Extra = extra }; } public static void Bonus(Player attacker, Player victim, float damage) { //IL_0037: 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_0046: Unknown result type (might be due to invalid IL or missing references) if (Map.TryGetValue(victim.playerID, out var value) && value.Source == attacker.playerID && !(Time.time > value.Until)) { Ring.Spawn(Vector2.op_Implicit(((Component)victim).transform.position), 1.5f, Color.red); Do.Hurt(victim, damage * value.Extra, attacker); } } public static void Clear() { Map.Clear(); } } internal static class History { private static readonly Dictionary>> Trail = new Dictionary>>(); private static float next; public static void Tick() { //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00c1: Unknown result type (might be due to invalid IL or missing references) if (Time.time < next || (Object)(object)PlayerManager.instance == (Object)null) { return; } next = Time.time + 0.1f; foreach (Player player in PlayerManager.instance.players) { if (!((Object)(object)player == (Object)null) && player.data.view.IsMine && player.data.isPlaying && !player.data.dead) { if (!Trail.TryGetValue(player.playerID, out var value)) { value = (Trail[player.playerID] = new List>()); } value.Add(new KeyValuePair(Time.time, Vector2.op_Implicit(((Component)player).transform.position))); while (value.Count > 0 && Time.time - value[0].Key > 8f) { value.RemoveAt(0); } } } } public static Vector2? Ago(Player p, float seconds) { //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) if (!Trail.TryGetValue(p.playerID, out var value) || value.Count == 0) { return null; } float num = Time.time - seconds; foreach (KeyValuePair item in value) { if (item.Key >= num) { return item.Value; } } return value[value.Count - 1].Value; } public static void Clear() { Trail.Clear(); } } public enum Flight { Homing, Wave, Boomerang, Accel, Spiral, Zigzag, Stutter, Orbit, Seek, Satellite } public sealed class BulletFx : MonoBehaviour { public int Kind; public float A; public float B; private static readonly Dictionary Templates = new Dictionary(); public static bool Offline; private MoveTransform move; private SpawnedAttack attack; private float age; private float nextFlip; private float stopUntil; private float baseSpeed; private int flips; private Vector3 held; private bool turned; private int redirects; private Vector2 lastDir; private Player NearestFoe(float range) { //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)attack == (Object)null || (Object)(object)attack.spawner == (Object)null) { return null; } return (from p in Do.FoesNear(attack.spawner.teamID, Vector2.op_Implicit(((Component)this).transform.position), range) orderby Vector2.Distance(Vector2.op_Implicit(((Component)p).transform.position), Vector2.op_Implicit(((Component)this).transform.position)) select p).FirstOrDefault(); } internal static GameObject Template(Flight kind, float a, float b) { //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Expected O, but got Unknown //IL_008f: Unknown result type (might be due to invalid IL or missing references) if (Offline) { return null; } string text = "ARSNL_" + kind.ToString() + "_" + a + "_" + b; try { if (Templates.TryGetValue(text, out var value) && (Object)(object)value != (Object)null) { return value; } value = new GameObject(text); Object.DontDestroyOnLoad((Object)(object)value); value.transform.position = new Vector3(0f, -10000f, 0f); BulletFx bulletFx = value.AddComponent(); bulletFx.Kind = (int)kind; bulletFx.A = a; bulletFx.B = b; Templates[text] = value; return value; } catch { return null; } } private static Vector3 Turn(Vector3 v, float degrees) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) return Quaternion.Euler(0f, 0f, degrees) * v; } private void Update() { //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_0229: Unknown result type (might be due to invalid IL or missing references) //IL_024c: Unknown result type (might be due to invalid IL or missing references) //IL_0251: Unknown result type (might be due to invalid IL or missing references) //IL_02cb: Unknown result type (might be due to invalid IL or missing references) //IL_02e8: Unknown result type (might be due to invalid IL or missing references) //IL_02ed: Unknown result type (might be due to invalid IL or missing references) //IL_0398: Unknown result type (might be due to invalid IL or missing references) //IL_0399: Unknown result type (might be due to invalid IL or missing references) //IL_039e: Unknown result type (might be due to invalid IL or missing references) //IL_03a2: Unknown result type (might be due to invalid IL or missing references) //IL_03a7: Unknown result type (might be due to invalid IL or missing references) //IL_03aa: Unknown result type (might be due to invalid IL or missing references) //IL_03af: Unknown result type (might be due to invalid IL or missing references) //IL_02ab: Unknown result type (might be due to invalid IL or missing references) //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_0358: Unknown result type (might be due to invalid IL or missing references) //IL_04a0: Unknown result type (might be due to invalid IL or missing references) //IL_04a5: Unknown result type (might be due to invalid IL or missing references) //IL_04aa: Unknown result type (might be due to invalid IL or missing references) //IL_04ae: Unknown result type (might be due to invalid IL or missing references) //IL_04b3: Unknown result type (might be due to invalid IL or missing references) //IL_03be: Unknown result type (might be due to invalid IL or missing references) //IL_03c1: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0280: Unknown result type (might be due to invalid IL or missing references) //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_0286: Unknown result type (might be due to invalid IL or missing references) //IL_0677: Unknown result type (might be due to invalid IL or missing references) //IL_0678: Unknown result type (might be due to invalid IL or missing references) //IL_031a: Unknown result type (might be due to invalid IL or missing references) //IL_0323: Unknown result type (might be due to invalid IL or missing references) //IL_0328: Unknown result type (might be due to invalid IL or missing references) //IL_04f0: Unknown result type (might be due to invalid IL or missing references) //IL_04f5: Unknown result type (might be due to invalid IL or missing references) //IL_04fa: Unknown result type (might be due to invalid IL or missing references) //IL_0502: Unknown result type (might be due to invalid IL or missing references) //IL_0507: Unknown result type (might be due to invalid IL or missing references) //IL_050c: Unknown result type (might be due to invalid IL or missing references) //IL_050e: Unknown result type (might be due to invalid IL or missing references) //IL_0513: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_006b: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0181: 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_037f: Unknown result type (might be due to invalid IL or missing references) //IL_0384: Unknown result type (might be due to invalid IL or missing references) //IL_06c3: Unknown result type (might be due to invalid IL or missing references) //IL_06c8: Unknown result type (might be due to invalid IL or missing references) //IL_06b1: Unknown result type (might be due to invalid IL or missing references) //IL_06b6: Unknown result type (might be due to invalid IL or missing references) //IL_053a: Unknown result type (might be due to invalid IL or missing references) //IL_0542: Unknown result type (might be due to invalid IL or missing references) //IL_0549: Unknown result type (might be due to invalid IL or missing references) //IL_054e: Unknown result type (might be due to invalid IL or missing references) //IL_0552: Unknown result type (might be due to invalid IL or missing references) //IL_0557: Unknown result type (might be due to invalid IL or missing references) //IL_055f: Unknown result type (might be due to invalid IL or missing references) //IL_0563: Unknown result type (might be due to invalid IL or missing references) //IL_056a: Unknown result type (might be due to invalid IL or missing references) //IL_057d: Unknown result type (might be due to invalid IL or missing references) //IL_0587: Unknown result type (might be due to invalid IL or missing references) //IL_058c: Unknown result type (might be due to invalid IL or missing references) //IL_0591: Unknown result type (might be due to invalid IL or missing references) //IL_0596: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_01c1: Unknown result type (might be due to invalid IL or missing references) //IL_01c6: Unknown result type (might be due to invalid IL or missing references) //IL_01d1: Unknown result type (might be due to invalid IL or missing references) //IL_01d6: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e0: Unknown result type (might be due to invalid IL or missing references) //IL_01e4: Unknown result type (might be due to invalid IL or missing references) //IL_01f0: Unknown result type (might be due to invalid IL or missing references) //IL_01f5: Unknown result type (might be due to invalid IL or missing references) //IL_01fa: Unknown result type (might be due to invalid IL or missing references) //IL_0202: Unknown result type (might be due to invalid IL or missing references) //IL_0203: Unknown result type (might be due to invalid IL or missing references) //IL_0218: Unknown result type (might be due to invalid IL or missing references) //IL_021d: Unknown result type (might be due to invalid IL or missing references) //IL_041c: Unknown result type (might be due to invalid IL or missing references) //IL_0421: Unknown result type (might be due to invalid IL or missing references) //IL_042c: Unknown result type (might be due to invalid IL or missing references) //IL_0431: Unknown result type (might be due to invalid IL or missing references) //IL_0436: Unknown result type (might be due to invalid IL or missing references) //IL_043b: Unknown result type (might be due to invalid IL or missing references) //IL_043f: Unknown result type (might be due to invalid IL or missing references) //IL_0456: Unknown result type (might be due to invalid IL or missing references) //IL_0460: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Unknown result type (might be due to invalid IL or missing references) //IL_046a: Unknown result type (might be due to invalid IL or missing references) //IL_0475: Unknown result type (might be due to invalid IL or missing references) //IL_047a: Unknown result type (might be due to invalid IL or missing references) //IL_0485: Unknown result type (might be due to invalid IL or missing references) //IL_05d5: Unknown result type (might be due to invalid IL or missing references) //IL_05da: Unknown result type (might be due to invalid IL or missing references) //IL_05e5: Unknown result type (might be due to invalid IL or missing references) //IL_05ea: Unknown result type (might be due to invalid IL or missing references) //IL_05ef: Unknown result type (might be due to invalid IL or missing references) //IL_05f4: Unknown result type (might be due to invalid IL or missing references) //IL_05f8: Unknown result type (might be due to invalid IL or missing references) //IL_05c7: Unknown result type (might be due to invalid IL or missing references) //IL_05fd: Unknown result type (might be due to invalid IL or missing references) //IL_0605: Unknown result type (might be due to invalid IL or missing references) //IL_0617: Unknown result type (might be due to invalid IL or missing references) //IL_0621: Unknown result type (might be due to invalid IL or missing references) //IL_0626: Unknown result type (might be due to invalid IL or missing references) //IL_062b: Unknown result type (might be due to invalid IL or missing references) //IL_0636: Unknown result type (might be due to invalid IL or missing references) //IL_063b: Unknown result type (might be due to invalid IL or missing references) //IL_0646: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)((Component)this).transform.parent == (Object)null) { return; } if ((Object)(object)move == (Object)null) { move = ((Component)this).GetComponentInParent(); attack = ((Component)this).GetComponentInParent(); if ((Object)(object)move == (Object)null) { return; } try { ProjectileHit componentInParent = ((Component)this).GetComponentInParent(); Color val = (((Object)(object)componentInParent != (Object)null) ? componentInParent.projectileColor : Color.white); if (val.r + val.g + val.b < 0.2f) { ((Color)(ref val))..ctor(0.9f, 0.95f, 1f); } Glowing.Add(((Component)this).gameObject, val, 0.18f, 6f, trail: true).GlowAlpha = 0.45f; } catch { } } float deltaTime = Time.deltaTime; age += deltaTime; Vector3 velocity = move.velocity; if (baseSpeed <= 0f) { baseSpeed = ((Vector3)(ref velocity)).magnitude; } Vector2 val3; switch ((Flight)Kind) { case Flight.Homing: if (!(age < 0.1f) && !((Object)(object)attack == (Object)null) && !((Object)(object)attack.spawner == (Object)null)) { Player val2 = (from p in Do.FoesNear(attack.spawner.teamID, Vector2.op_Implicit(((Component)this).transform.position), 30f) orderby Vector2.Distance(Vector2.op_Implicit(((Component)p).transform.position), Vector2.op_Implicit(((Component)this).transform.position)) select p).FirstOrDefault(); if (!((Object)(object)val2 == (Object)null)) { val3 = Vector2.op_Implicit(((Component)val2).transform.position) - Vector2.op_Implicit(((Component)this).transform.position); Vector3 val4 = Vector2.op_Implicit(((Vector2)(ref val3)).normalized * ((Vector3)(ref velocity)).magnitude); move.velocity = Vector3.RotateTowards(velocity, val4, A * ((float)Math.PI / 180f) * deltaTime, 0f); } } break; case Flight.Wave: move.velocity = Turn(velocity, A * B * Mathf.Cos(age * B) * deltaTime); break; case Flight.Boomerang: if (!turned && age >= A) { turned = true; move.velocity = -velocity; } break; case Flight.Accel: if (((Vector3)(ref velocity)).magnitude < baseSpeed * B) { move.velocity = velocity * (1f + A * deltaTime); } break; case Flight.Spiral: move.velocity = Turn(velocity, A * Mathf.Exp((0f - age) * B) * deltaTime); break; case Flight.Orbit: if (age > 0.15f && age < B) { move.velocity = Turn(velocity, A * deltaTime); } break; case Flight.Zigzag: if (age >= nextFlip) { nextFlip = age + A; move.velocity = Turn(velocity, (flips == 0) ? 35f : ((flips % 2 == 1) ? (-70f) : 70f)); flips++; } break; case Flight.Seek: { val3 = Vector2.op_Implicit(velocity); Vector2 normalized3 = ((Vector2)(ref val3)).normalized; if (lastDir != Vector2.zero && Vector2.Dot(normalized3, lastDir) < 0.2f && (float)redirects < A) { Player val9 = NearestFoe(60f); if ((Object)(object)val9 != (Object)null) { redirects++; MoveTransform obj2 = move; val3 = Vector2.op_Implicit(((Component)val9).transform.position) - Vector2.op_Implicit(((Component)this).transform.position); obj2.velocity = Vector2.op_Implicit(((Vector2)(ref val3)).normalized * Mathf.Max(((Vector3)(ref velocity)).magnitude, baseSpeed) * 1.15f); Fx.Burst(Vector2.op_Implicit(((Component)this).transform.position), 6, 5f, Color.cyan, 0.25f, 0.2f); } } val3 = Vector2.op_Implicit(move.velocity); lastDir = ((Vector2)(ref val3)).normalized; break; } case Flight.Satellite: { if ((Object)(object)attack == (Object)null || (Object)(object)attack.spawner == (Object)null) { break; } Vector2 val5 = Vector2.op_Implicit(((Component)attack.spawner).transform.position); Vector2 val6 = Vector2.op_Implicit(((Component)this).transform.position) - val5; if (age < A) { float num = Mathf.Clamp(baseSpeed, 8f, 28f); val3 = new Vector2(0f - val6.y, val6.x); Vector2 normalized = ((Vector2)(ref val3)).normalized; move.velocity = Vector2.op_Implicit(normalized * num + ((Vector2)(ref val6)).normalized * (B - ((Vector2)(ref val6)).magnitude) * 5f); } else if (!turned) { turned = true; Player val7 = NearestFoe(80f); Vector2 normalized2; if (!((Object)(object)val7 != (Object)null)) { normalized2 = ((Vector2)(ref val6)).normalized; } else { val3 = Vector2.op_Implicit(((Component)val7).transform.position) - Vector2.op_Implicit(((Component)this).transform.position); normalized2 = ((Vector2)(ref val3)).normalized; } Vector2 val8 = normalized2; move.velocity = Vector2.op_Implicit(val8 * Mathf.Max(baseSpeed, 20f) * 1.5f); Fx.Burst(Vector2.op_Implicit(((Component)this).transform.position), 8, 7f, Color.cyan, 0.3f, 0.22f); } break; } case Flight.Stutter: if (stopUntil <= 0f && age >= nextFlip) { held = velocity; stopUntil = age + B; } if (stopUntil > 0f) { if (age < stopUntil) { move.velocity = Vector3.zero; break; } move.velocity = held; stopUntil = 0f; nextFlip = age + A; } break; } } } [HarmonyPatch(typeof(CharacterStatModifiers), "DealtDamage")] internal static class DealtDamagePatch { private static void Postfix(CharacterStatModifiers __instance, Vector2 damage, bool selfDamage, Player damagedPlayer) { try { if (!selfDamage && !((Object)(object)damagedPlayer == (Object)null) && Do.Quiet <= 0) { Player component = ((Component)__instance).GetComponent(); if (!((Object)(object)component == (Object)null) && component.data.view.IsMine && damagedPlayer.teamID != component.teamID) { bool killed = damagedPlayer.data.health - ((Vector2)(ref damage)).magnitude <= 0f; Marks.Bonus(component, damagedPlayer, ((Vector2)(ref damage)).magnitude); FxHost.HitLanded(component, damagedPlayer, killed); } } } catch (Exception ex) { Debug.LogException(ex); } } } internal static class Body { private static readonly MethodInfo Configure = AccessTools.Method(typeof(CharacterStatModifiers), "ConfigureMassAndSize", (Type[])null, (Type[])null); public static void Refresh(CharacterStatModifiers stats) { Configure.Invoke(stats, null); } } [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("com.absurdarsenal.rounds.cards", "Absurd Arsenal", "1.5.0")] [BepInProcess("Rounds.exe")] public sealed class AbsurdArsenalPlugin : BaseUnityPlugin { public const string ModId = "com.absurdarsenal.rounds.cards"; public const string ModName = "Absurd Arsenal"; public const string Version = "1.5.0"; public const string ModInitials = "ARSNL"; private void Start() { //IL_0069: Unknown result type (might be due to invalid IL or missing references) Unbound.RegisterCredits("Absurd Arsenal", new string[1] { "1000 terrible decisions" }, new string[0], new string[0]); if (Catalog.All.Count != 1178) { ((BaseUnityPlugin)this).Logger.LogError((object)$"Catalog has {Catalog.All.Count} cards but {1178} slots. Re-run tools/gen_slots.py."); return; } new Harmony("com.absurdarsenal.rounds.cards").PatchAll(); Slots.RegisterAll(); GameModeManager.AddHook("BattleStart", (Func)OnBattleStart); GameModeManager.AddHook("PointEnd", (Func)ClearBuffs); GameModeManager.AddHook("RoundEnd", (Func)ClearBuffs); GameModeManager.AddHook("GameEnd", (Func)ClearBuffs); GameModeManager.AddHook("PickStart", (Func)ClearBuffs); } private void Update() { Buffs.Tick(); History.Tick(); } private static IEnumerator OnBattleStart(IGameModeHandler gm) { History.Clear(); FxHost.BattleStarted(); yield break; } private static IEnumerator ClearBuffs(IGameModeHandler gm) { Buffs.UndoAll(); Zone.ClearAll(); Afflict.ClearAll(); Marks.Clear(); yield break; } } internal static class Rebalance { private static readonly Dictionary ActWeights = new Dictionary { ["Orbital"] = 4, ["IonCannon"] = 4, ["SpiritBomb"] = 4, ["TimeStop"] = 7, ["BlackSun"] = 6, ["Lighthouse"] = 4, ["Supernova"] = 3, ["Rain"] = 2, ["Airstrike"] = 2, ["Meteor"] = 1, ["BlackHole"] = 2, ["Summon"] = 2, ["SummonDragon"] = 4, ["SummonClone"] = 3, ["Imps"] = 1, ["Laser"] = 1, ["Execute"] = 3, ["Tornado"] = 3, ["Volcano"] = 3, ["Tsunami"] = 2, ["Turret"] = 1, ["SawBlades"] = 1, ["Thunder"] = 1, ["Fireball"] = 1, ["ArcaneMissiles"] = 1, ["VoidOrb"] = 2, ["BallLightning"] = 1, ["Prism"] = 2, ["ScrambleFoes"] = 2, ["Comet"] = 2, ["Ambush"] = 1, ["Shuffle"] = 1, ["Tether"] = 1, ["Splinters"] = 1, ["Recall"] = 1 }; private static readonly Dictionary ImpactWeights = new Dictionary { ["Explodes"] = 2, ["Mini-nuke"] = 6, ["Cluster bomb"] = 3, ["Sticky bomb"] = 2, ["Black hole"] = 3, ["Chain lightning"] = 2, ["Builds a turret"] = 3, ["Leaves a mine"] = 2, ["Holy lightning"] = 2, ["Napalm"] = 2, ["Toxic cloud"] = 1, ["Freezes"] = 2, ["Homing shards"] = 2 }; private const BindingFlags AllFields = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic; private static string Factory(Delegate d) { string text = d.Method.Name; if (text.StartsWith("<")) { int num = text.IndexOf('>'); if (num > 1) { text = text.Substring(1, num - 1); } } if (!text.StartsWith("get_")) { return text; } return text.Substring(4); } private static int ActScore(Delegate a, int depth) { if ((object)a == null || depth > 4) { return 0; } int value; int num = (ActWeights.TryGetValue(Factory(a), out value) ? value : 0); object target = a.Target; if (target == null) { return num; } FieldInfo[] fields = target.GetType().GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); for (int i = 0; i < fields.Length; i++) { object value2 = fields[i].GetValue(target); if (value2 is Act a2) { num = Math.Max(num, ActScore(a2, depth + 1)); } else if (value2 is Act[] array) { Act[] array2 = array; foreach (Act a3 in array2) { num = Math.Max(num, ActScore(a3, depth + 1)); } } } return num; } private static int StatScore(CardInfoStat s) { switch (s.stat) { case "Homing bullets": return 4; case "Through walls": return 2; case "Unblockable": return 2; case "Satellite bullets": return 3; case "Ricochets seek foes": return 2; case "Bullet trail": if (!(s.amount == "Imps") && !(s.amount == "Mines")) { return 1; } return 2; case "Mid-flight": if (!s.amount.StartsWith("Fractal")) { return 2; } return 3; case "Bullet impact": { if (!ImpactWeights.TryGetValue(s.amount, out var value)) { return 1; } return value; } case "Respawns": { if (!int.TryParse(s.amount.TrimStart(new char[1] { '+' }), out var result)) { return 2; } return result * 2; } default: return 0; } } public static int Score(CardDef d) { int num = 0; foreach (CardInfoStat stat in d.Stats) { num += StatScore(stat); } foreach (Rule rule in d.Rules) { int num2 = 0; Act[] acts = rule.Acts; foreach (Act a in acts) { num2 += ActScore(a, 0); } if (rule.When == When.Every && rule.Value < 7f && num2 >= 2) { num2++; } num += num2; } return num; } public static void Apply(List all) { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) foreach (CardDef item in all) { if (!item.IsLegendary) { int num = Score(item); if (num >= 11) { item.Legendary(); } else if (num >= 4) { item.Rarity = (Rarity)2; } else if (num >= 2 && (int)item.Rarity == 0) { item.Rarity = (Rarity)1; } } } } } internal static class Slots { public const int Count = 1178; public static void RegisterAll() { CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); CustomCard.BuildCard(); } } public sealed class Card000 : PackCard { protected override int Slot => 0; } public sealed class Card001 : PackCard { protected override int Slot => 1; } public sealed class Card002 : PackCard { protected override int Slot => 2; } public sealed class Card003 : PackCard { protected override int Slot => 3; } public sealed class Card004 : PackCard { protected override int Slot => 4; } public sealed class Card005 : PackCard { protected override int Slot => 5; } public sealed class Card006 : PackCard { protected override int Slot => 6; } public sealed class Card007 : PackCard { protected override int Slot => 7; } public sealed class Card008 : PackCard { protected override int Slot => 8; } public sealed class Card009 : PackCard { protected override int Slot => 9; } public sealed class Card010 : PackCard { protected override int Slot => 10; } public sealed class Card011 : PackCard { protected override int Slot => 11; } public sealed class Card012 : PackCard { protected override int Slot => 12; } public sealed class Card013 : PackCard { protected override int Slot => 13; } public sealed class Card014 : PackCard { protected override int Slot => 14; } public sealed class Card015 : PackCard { protected override int Slot => 15; } public sealed class Card016 : PackCard { protected override int Slot => 16; } public sealed class Card017 : PackCard { protected override int Slot => 17; } public sealed class Card018 : PackCard { protected override int Slot => 18; } public sealed class Card019 : PackCard { protected override int Slot => 19; } public sealed class Card020 : PackCard { protected override int Slot => 20; } public sealed class Card021 : PackCard { protected override int Slot => 21; } public sealed class Card022 : PackCard { protected override int Slot => 22; } public sealed class Card023 : PackCard { protected override int Slot => 23; } public sealed class Card024 : PackCard { protected override int Slot => 24; } public sealed class Card025 : PackCard { protected override int Slot => 25; } public sealed class Card026 : PackCard { protected override int Slot => 26; } public sealed class Card027 : PackCard { protected override int Slot => 27; } public sealed class Card028 : PackCard { protected override int Slot => 28; } public sealed class Card029 : PackCard { protected override int Slot => 29; } public sealed class Card030 : PackCard { protected override int Slot => 30; } public sealed class Card031 : PackCard { protected override int Slot => 31; } public sealed class Card032 : PackCard { protected override int Slot => 32; } public sealed class Card033 : PackCard { protected override int Slot => 33; } public sealed class Card034 : PackCard { protected override int Slot => 34; } public sealed class Card035 : PackCard { protected override int Slot => 35; } public sealed class Card036 : PackCard { protected override int Slot => 36; } public sealed class Card037 : PackCard { protected override int Slot => 37; } public sealed class Card038 : PackCard { protected override int Slot => 38; } public sealed class Card039 : PackCard { protected override int Slot => 39; } public sealed class Card040 : PackCard { protected override int Slot => 40; } public sealed class Card041 : PackCard { protected override int Slot => 41; } public sealed class Card042 : PackCard { protected override int Slot => 42; } public sealed class Card043 : PackCard { protected override int Slot => 43; } public sealed class Card044 : PackCard { protected override int Slot => 44; } public sealed class Card045 : PackCard { protected override int Slot => 45; } public sealed class Card046 : PackCard { protected override int Slot => 46; } public sealed class Card047 : PackCard { protected override int Slot => 47; } public sealed class Card048 : PackCard { protected override int Slot => 48; } public sealed class Card049 : PackCard { protected override int Slot => 49; } public sealed class Card050 : PackCard { protected override int Slot => 50; } public sealed class Card051 : PackCard { protected override int Slot => 51; } public sealed class Card052 : PackCard { protected override int Slot => 52; } public sealed class Card053 : PackCard { protected override int Slot => 53; } public sealed class Card054 : PackCard { protected override int Slot => 54; } public sealed class Card055 : PackCard { protected override int Slot => 55; } public sealed class Card056 : PackCard { protected override int Slot => 56; } public sealed class Card057 : PackCard { protected override int Slot => 57; } public sealed class Card058 : PackCard { protected override int Slot => 58; } public sealed class Card059 : PackCard { protected override int Slot => 59; } public sealed class Card060 : PackCard { protected override int Slot => 60; } public sealed class Card061 : PackCard { protected override int Slot => 61; } public sealed class Card062 : PackCard { protected override int Slot => 62; } public sealed class Card063 : PackCard { protected override int Slot => 63; } public sealed class Card064 : PackCard { protected override int Slot => 64; } public sealed class Card065 : PackCard { protected override int Slot => 65; } public sealed class Card066 : PackCard { protected override int Slot => 66; } public sealed class Card067 : PackCard { protected override int Slot => 67; } public sealed class Card068 : PackCard { protected override int Slot => 68; } public sealed class Card069 : PackCard { protected override int Slot => 69; } public sealed class Card070 : PackCard { protected override int Slot => 70; } public sealed class Card071 : PackCard { protected override int Slot => 71; } public sealed class Card072 : PackCard { protected override int Slot => 72; } public sealed class Card073 : PackCard { protected override int Slot => 73; } public sealed class Card074 : PackCard { protected override int Slot => 74; } public sealed class Card075 : PackCard { protected override int Slot => 75; } public sealed class Card076 : PackCard { protected override int Slot => 76; } public sealed class Card077 : PackCard { protected override int Slot => 77; } public sealed class Card078 : PackCard { protected override int Slot => 78; } public sealed class Card079 : PackCard { protected override int Slot => 79; } public sealed class Card080 : PackCard { protected override int Slot => 80; } public sealed class Card081 : PackCard { protected override int Slot => 81; } public sealed class Card082 : PackCard { protected override int Slot => 82; } public sealed class Card083 : PackCard { protected override int Slot => 83; } public sealed class Card084 : PackCard { protected override int Slot => 84; } public sealed class Card085 : PackCard { protected override int Slot => 85; } public sealed class Card086 : PackCard { protected override int Slot => 86; } public sealed class Card087 : PackCard { protected override int Slot => 87; } public sealed class Card088 : PackCard { protected override int Slot => 88; } public sealed class Card089 : PackCard { protected override int Slot => 89; } public sealed class Card090 : PackCard { protected override int Slot => 90; } public sealed class Card091 : PackCard { protected override int Slot => 91; } public sealed class Card092 : PackCard { protected override int Slot => 92; } public sealed class Card093 : PackCard { protected override int Slot => 93; } public sealed class Card094 : PackCard { protected override int Slot => 94; } public sealed class Card095 : PackCard { protected override int Slot => 95; } public sealed class Card096 : PackCard { protected override int Slot => 96; } public sealed class Card097 : PackCard { protected override int Slot => 97; } public sealed class Card098 : PackCard { protected override int Slot => 98; } public sealed class Card099 : PackCard { protected override int Slot => 99; } public sealed class Card100 : PackCard { protected override int Slot => 100; } public sealed class Card101 : PackCard { protected override int Slot => 101; } public sealed class Card102 : PackCard { protected override int Slot => 102; } public sealed class Card103 : PackCard { protected override int Slot => 103; } public sealed class Card104 : PackCard { protected override int Slot => 104; } public sealed class Card105 : PackCard { protected override int Slot => 105; } public sealed class Card106 : PackCard { protected override int Slot => 106; } public sealed class Card107 : PackCard { protected override int Slot => 107; } public sealed class Card108 : PackCard { protected override int Slot => 108; } public sealed class Card109 : PackCard { protected override int Slot => 109; } public sealed class Card110 : PackCard { protected override int Slot => 110; } public sealed class Card111 : PackCard { protected override int Slot => 111; } public sealed class Card112 : PackCard { protected override int Slot => 112; } public sealed class Card113 : PackCard { protected override int Slot => 113; } public sealed class Card114 : PackCard { protected override int Slot => 114; } public sealed class Card115 : PackCard { protected override int Slot => 115; } public sealed class Card116 : PackCard { protected override int Slot => 116; } public sealed class Card117 : PackCard { protected override int Slot => 117; } public sealed class Card118 : PackCard { protected override int Slot => 118; } public sealed class Card119 : PackCard { protected override int Slot => 119; } public sealed class Card120 : PackCard { protected override int Slot => 120; } public sealed class Card121 : PackCard { protected override int Slot => 121; } public sealed class Card122 : PackCard { protected override int Slot => 122; } public sealed class Card123 : PackCard { protected override int Slot => 123; } public sealed class Card124 : PackCard { protected override int Slot => 124; } public sealed class Card125 : PackCard { protected override int Slot => 125; } public sealed class Card126 : PackCard { protected override int Slot => 126; } public sealed class Card127 : PackCard { protected override int Slot => 127; } public sealed class Card128 : PackCard { protected override int Slot => 128; } public sealed class Card129 : PackCard { protected override int Slot => 129; } public sealed class Card130 : PackCard { protected override int Slot => 130; } public sealed class Card131 : PackCard { protected override int Slot => 131; } public sealed class Card132 : PackCard { protected override int Slot => 132; } public sealed class Card133 : PackCard { protected override int Slot => 133; } public sealed class Card134 : PackCard { protected override int Slot => 134; } public sealed class Card135 : PackCard { protected override int Slot => 135; } public sealed class Card136 : PackCard { protected override int Slot => 136; } public sealed class Card137 : PackCard { protected override int Slot => 137; } public sealed class Card138 : PackCard { protected override int Slot => 138; } public sealed class Card139 : PackCard { protected override int Slot => 139; } public sealed class Card140 : PackCard { protected override int Slot => 140; } public sealed class Card141 : PackCard { protected override int Slot => 141; } public sealed class Card142 : PackCard { protected override int Slot => 142; } public sealed class Card143 : PackCard { protected override int Slot => 143; } public sealed class Card144 : PackCard { protected override int Slot => 144; } public sealed class Card145 : PackCard { protected override int Slot => 145; } public sealed class Card146 : PackCard { protected override int Slot => 146; } public sealed class Card147 : PackCard { protected override int Slot => 147; } public sealed class Card148 : PackCard { protected override int Slot => 148; } public sealed class Card149 : PackCard { protected override int Slot => 149; } public sealed class Card150 : PackCard { protected override int Slot => 150; } public sealed class Card151 : PackCard { protected override int Slot => 151; } public sealed class Card152 : PackCard { protected override int Slot => 152; } public sealed class Card153 : PackCard { protected override int Slot => 153; } public sealed class Card154 : PackCard { protected override int Slot => 154; } public sealed class Card155 : PackCard { protected override int Slot => 155; } public sealed class Card156 : PackCard { protected override int Slot => 156; } public sealed class Card157 : PackCard { protected override int Slot => 157; } public sealed class Card158 : PackCard { protected override int Slot => 158; } public sealed class Card159 : PackCard { protected override int Slot => 159; } public sealed class Card160 : PackCard { protected override int Slot => 160; } public sealed class Card161 : PackCard { protected override int Slot => 161; } public sealed class Card162 : PackCard { protected override int Slot => 162; } public sealed class Card163 : PackCard { protected override int Slot => 163; } public sealed class Card164 : PackCard { protected override int Slot => 164; } public sealed class Card165 : PackCard { protected override int Slot => 165; } public sealed class Card166 : PackCard { protected override int Slot => 166; } public sealed class Card167 : PackCard { protected override int Slot => 167; } public sealed class Card168 : PackCard { protected override int Slot => 168; } public sealed class Card169 : PackCard { protected override int Slot => 169; } public sealed class Card170 : PackCard { protected override int Slot => 170; } public sealed class Card171 : PackCard { protected override int Slot => 171; } public sealed class Card172 : PackCard { protected override int Slot => 172; } public sealed class Card173 : PackCard { protected override int Slot => 173; } public sealed class Card174 : PackCard { protected override int Slot => 174; } public sealed class Card175 : PackCard { protected override int Slot => 175; } public sealed class Card176 : PackCard { protected override int Slot => 176; } public sealed class Card177 : PackCard { protected override int Slot => 177; } public sealed class Card178 : PackCard { protected override int Slot => 178; } public sealed class Card179 : PackCard { protected override int Slot => 179; } public sealed class Card180 : PackCard { protected override int Slot => 180; } public sealed class Card181 : PackCard { protected override int Slot => 181; } public sealed class Card182 : PackCard { protected override int Slot => 182; } public sealed class Card183 : PackCard { protected override int Slot => 183; } public sealed class Card184 : PackCard { protected override int Slot => 184; } public sealed class Card185 : PackCard { protected override int Slot => 185; } public sealed class Card186 : PackCard { protected override int Slot => 186; } public sealed class Card187 : PackCard { protected override int Slot => 187; } public sealed class Card188 : PackCard { protected override int Slot => 188; } public sealed class Card189 : PackCard { protected override int Slot => 189; } public sealed class Card190 : PackCard { protected override int Slot => 190; } public sealed class Card191 : PackCard { protected override int Slot => 191; } public sealed class Card192 : PackCard { protected override int Slot => 192; } public sealed class Card193 : PackCard { protected override int Slot => 193; } public sealed class Card194 : PackCard { protected override int Slot => 194; } public sealed class Card195 : PackCard { protected override int Slot => 195; } public sealed class Card196 : PackCard { protected override int Slot => 196; } public sealed class Card197 : PackCard { protected override int Slot => 197; } public sealed class Card198 : PackCard { protected override int Slot => 198; } public sealed class Card199 : PackCard { protected override int Slot => 199; } public sealed class Card200 : PackCard { protected override int Slot => 200; } public sealed class Card201 : PackCard { protected override int Slot => 201; } public sealed class Card202 : PackCard { protected override int Slot => 202; } public sealed class Card203 : PackCard { protected override int Slot => 203; } public sealed class Card204 : PackCard { protected override int Slot => 204; } public sealed class Card205 : PackCard { protected override int Slot => 205; } public sealed class Card206 : PackCard { protected override int Slot => 206; } public sealed class Card207 : PackCard { protected override int Slot => 207; } public sealed class Card208 : PackCard { protected override int Slot => 208; } public sealed class Card209 : PackCard { protected override int Slot => 209; } public sealed class Card210 : PackCard { protected override int Slot => 210; } public sealed class Card211 : PackCard { protected override int Slot => 211; } public sealed class Card212 : PackCard { protected override int Slot => 212; } public sealed class Card213 : PackCard { protected override int Slot => 213; } public sealed class Card214 : PackCard { protected override int Slot => 214; } public sealed class Card215 : PackCard { protected override int Slot => 215; } public sealed class Card216 : PackCard { protected override int Slot => 216; } public sealed class Card217 : PackCard { protected override int Slot => 217; } public sealed class Card218 : PackCard { protected override int Slot => 218; } public sealed class Card219 : PackCard { protected override int Slot => 219; } public sealed class Card220 : PackCard { protected override int Slot => 220; } public sealed class Card221 : PackCard { protected override int Slot => 221; } public sealed class Card222 : PackCard { protected override int Slot => 222; } public sealed class Card223 : PackCard { protected override int Slot => 223; } public sealed class Card224 : PackCard { protected override int Slot => 224; } public sealed class Card225 : PackCard { protected override int Slot => 225; } public sealed class Card226 : PackCard { protected override int Slot => 226; } public sealed class Card227 : PackCard { protected override int Slot => 227; } public sealed class Card228 : PackCard { protected override int Slot => 228; } public sealed class Card229 : PackCard { protected override int Slot => 229; } public sealed class Card230 : PackCard { protected override int Slot => 230; } public sealed class Card231 : PackCard { protected override int Slot => 231; } public sealed class Card232 : PackCard { protected override int Slot => 232; } public sealed class Card233 : PackCard { protected override int Slot => 233; } public sealed class Card234 : PackCard { protected override int Slot => 234; } public sealed class Card235 : PackCard { protected override int Slot => 235; } public sealed class Card236 : PackCard { protected override int Slot => 236; } public sealed class Card237 : PackCard { protected override int Slot => 237; } public sealed class Card238 : PackCard { protected override int Slot => 238; } public sealed class Card239 : PackCard { protected override int Slot => 239; } public sealed class Card240 : PackCard { protected override int Slot => 240; } public sealed class Card241 : PackCard { protected override int Slot => 241; } public sealed class Card242 : PackCard { protected override int Slot => 242; } public sealed class Card243 : PackCard { protected override int Slot => 243; } public sealed class Card244 : PackCard { protected override int Slot => 244; } public sealed class Card245 : PackCard { protected override int Slot => 245; } public sealed class Card246 : PackCard { protected override int Slot => 246; } public sealed class Card247 : PackCard { protected override int Slot => 247; } public sealed class Card248 : PackCard { protected override int Slot => 248; } public sealed class Card249 : PackCard { protected override int Slot => 249; } public sealed class Card250 : PackCard { protected override int Slot => 250; } public sealed class Card251 : PackCard { protected override int Slot => 251; } public sealed class Card252 : PackCard { protected override int Slot => 252; } public sealed class Card253 : PackCard { protected override int Slot => 253; } public sealed class Card254 : PackCard { protected override int Slot => 254; } public sealed class Card255 : PackCard { protected override int Slot => 255; } public sealed class Card256 : PackCard { protected override int Slot => 256; } public sealed class Card257 : PackCard { protected override int Slot => 257; } public sealed class Card258 : PackCard { protected override int Slot => 258; } public sealed class Card259 : PackCard { protected override int Slot => 259; } public sealed class Card260 : PackCard { protected override int Slot => 260; } public sealed class Card261 : PackCard { protected override int Slot => 261; } public sealed class Card262 : PackCard { protected override int Slot => 262; } public sealed class Card263 : PackCard { protected override int Slot => 263; } public sealed class Card264 : PackCard { protected override int Slot => 264; } public sealed class Card265 : PackCard { protected override int Slot => 265; } public sealed class Card266 : PackCard { protected override int Slot => 266; } public sealed class Card267 : PackCard { protected override int Slot => 267; } public sealed class Card268 : PackCard { protected override int Slot => 268; } public sealed class Card269 : PackCard { protected override int Slot => 269; } public sealed class Card270 : PackCard { protected override int Slot => 270; } public sealed class Card271 : PackCard { protected override int Slot => 271; } public sealed class Card272 : PackCard { protected override int Slot => 272; } public sealed class Card273 : PackCard { protected override int Slot => 273; } public sealed class Card274 : PackCard { protected override int Slot => 274; } public sealed class Card275 : PackCard { protected override int Slot => 275; } public sealed class Card276 : PackCard { protected override int Slot => 276; } public sealed class Card277 : PackCard { protected override int Slot => 277; } public sealed class Card278 : PackCard { protected override int Slot => 278; } public sealed class Card279 : PackCard { protected override int Slot => 279; } public sealed class Card280 : PackCard { protected override int Slot => 280; } public sealed class Card281 : PackCard { protected override int Slot => 281; } public sealed class Card282 : PackCard { protected override int Slot => 282; } public sealed class Card283 : PackCard { protected override int Slot => 283; } public sealed class Card284 : PackCard { protected override int Slot => 284; } public sealed class Card285 : PackCard { protected override int Slot => 285; } public sealed class Card286 : PackCard { protected override int Slot => 286; } public sealed class Card287 : PackCard { protected override int Slot => 287; } public sealed class Card288 : PackCard { protected override int Slot => 288; } public sealed class Card289 : PackCard { protected override int Slot => 289; } public sealed class Card290 : PackCard { protected override int Slot => 290; } public sealed class Card291 : PackCard { protected override int Slot => 291; } public sealed class Card292 : PackCard { protected override int Slot => 292; } public sealed class Card293 : PackCard { protected override int Slot => 293; } public sealed class Card294 : PackCard { protected override int Slot => 294; } public sealed class Card295 : PackCard { protected override int Slot => 295; } public sealed class Card296 : PackCard { protected override int Slot => 296; } public sealed class Card297 : PackCard { protected override int Slot => 297; } public sealed class Card298 : PackCard { protected override int Slot => 298; } public sealed class Card299 : PackCard { protected override int Slot => 299; } public sealed class Card300 : PackCard { protected override int Slot => 300; } public sealed class Card301 : PackCard { protected override int Slot => 301; } public sealed class Card302 : PackCard { protected override int Slot => 302; } public sealed class Card303 : PackCard { protected override int Slot => 303; } public sealed class Card304 : PackCard { protected override int Slot => 304; } public sealed class Card305 : PackCard { protected override int Slot => 305; } public sealed class Card306 : PackCard { protected override int Slot => 306; } public sealed class Card307 : PackCard { protected override int Slot => 307; } public sealed class Card308 : PackCard { protected override int Slot => 308; } public sealed class Card309 : PackCard { protected override int Slot => 309; } public sealed class Card310 : PackCard { protected override int Slot => 310; } public sealed class Card311 : PackCard { protected override int Slot => 311; } public sealed class Card312 : PackCard { protected override int Slot => 312; } public sealed class Card313 : PackCard { protected override int Slot => 313; } public sealed class Card314 : PackCard { protected override int Slot => 314; } public sealed class Card315 : PackCard { protected override int Slot => 315; } public sealed class Card316 : PackCard { protected override int Slot => 316; } public sealed class Card317 : PackCard { protected override int Slot => 317; } public sealed class Card318 : PackCard { protected override int Slot => 318; } public sealed class Card319 : PackCard { protected override int Slot => 319; } public sealed class Card320 : PackCard { protected override int Slot => 320; } public sealed class Card321 : PackCard { protected override int Slot => 321; } public sealed class Card322 : PackCard { protected override int Slot => 322; } public sealed class Card323 : PackCard { protected override int Slot => 323; } public sealed class Card324 : PackCard { protected override int Slot => 324; } public sealed class Card325 : PackCard { protected override int Slot => 325; } public sealed class Card326 : PackCard { protected override int Slot => 326; } public sealed class Card327 : PackCard { protected override int Slot => 327; } public sealed class Card328 : PackCard { protected override int Slot => 328; } public sealed class Card329 : PackCard { protected override int Slot => 329; } public sealed class Card330 : PackCard { protected override int Slot => 330; } public sealed class Card331 : PackCard { protected override int Slot => 331; } public sealed class Card332 : PackCard { protected override int Slot => 332; } public sealed class Card333 : PackCard { protected override int Slot => 333; } public sealed class Card334 : PackCard { protected override int Slot => 334; } public sealed class Card335 : PackCard { protected override int Slot => 335; } public sealed class Card336 : PackCard { protected override int Slot => 336; } public sealed class Card337 : PackCard { protected override int Slot => 337; } public sealed class Card338 : PackCard { protected override int Slot => 338; } public sealed class Card339 : PackCard { protected override int Slot => 339; } public sealed class Card340 : PackCard { protected override int Slot => 340; } public sealed class Card341 : PackCard { protected override int Slot => 341; } public sealed class Card342 : PackCard { protected override int Slot => 342; } public sealed class Card343 : PackCard { protected override int Slot => 343; } public sealed class Card344 : PackCard { protected override int Slot => 344; } public sealed class Card345 : PackCard { protected override int Slot => 345; } public sealed class Card346 : PackCard { protected override int Slot => 346; } public sealed class Card347 : PackCard { protected override int Slot => 347; } public sealed class Card348 : PackCard { protected override int Slot => 348; } public sealed class Card349 : PackCard { protected override int Slot => 349; } public sealed class Card350 : PackCard { protected override int Slot => 350; } public sealed class Card351 : PackCard { protected override int Slot => 351; } public sealed class Card352 : PackCard { protected override int Slot => 352; } public sealed class Card353 : PackCard { protected override int Slot => 353; } public sealed class Card354 : PackCard { protected override int Slot => 354; } public sealed class Card355 : PackCard { protected override int Slot => 355; } public sealed class Card356 : PackCard { protected override int Slot => 356; } public sealed class Card357 : PackCard { protected override int Slot => 357; } public sealed class Card358 : PackCard { protected override int Slot => 358; } public sealed class Card359 : PackCard { protected override int Slot => 359; } public sealed class Card360 : PackCard { protected override int Slot => 360; } public sealed class Card361 : PackCard { protected override int Slot => 361; } public sealed class Card362 : PackCard { protected override int Slot => 362; } public sealed class Card363 : PackCard { protected override int Slot => 363; } public sealed class Card364 : PackCard { protected override int Slot => 364; } public sealed class Card365 : PackCard { protected override int Slot => 365; } public sealed class Card366 : PackCard { protected override int Slot => 366; } public sealed class Card367 : PackCard { protected override int Slot => 367; } public sealed class Card368 : PackCard { protected override int Slot => 368; } public sealed class Card369 : PackCard { protected override int Slot => 369; } public sealed class Card370 : PackCard { protected override int Slot => 370; } public sealed class Card371 : PackCard { protected override int Slot => 371; } public sealed class Card372 : PackCard { protected override int Slot => 372; } public sealed class Card373 : PackCard { protected override int Slot => 373; } public sealed class Card374 : PackCard { protected override int Slot => 374; } public sealed class Card375 : PackCard { protected override int Slot => 375; } public sealed class Card376 : PackCard { protected override int Slot => 376; } public sealed class Card377 : PackCard { protected override int Slot => 377; } public sealed class Card378 : PackCard { protected override int Slot => 378; } public sealed class Card379 : PackCard { protected override int Slot => 379; } public sealed class Card380 : PackCard { protected override int Slot => 380; } public sealed class Card381 : PackCard { protected override int Slot => 381; } public sealed class Card382 : PackCard { protected override int Slot => 382; } public sealed class Card383 : PackCard { protected override int Slot => 383; } public sealed class Card384 : PackCard { protected override int Slot => 384; } public sealed class Card385 : PackCard { protected override int Slot => 385; } public sealed class Card386 : PackCard { protected override int Slot => 386; } public sealed class Card387 : PackCard { protected override int Slot => 387; } public sealed class Card388 : PackCard { protected override int Slot => 388; } public sealed class Card389 : PackCard { protected override int Slot => 389; } public sealed class Card390 : PackCard { protected override int Slot => 390; } public sealed class Card391 : PackCard { protected override int Slot => 391; } public sealed class Card392 : PackCard { protected override int Slot => 392; } public sealed class Card393 : PackCard { protected override int Slot => 393; } public sealed class Card394 : PackCard { protected override int Slot => 394; } public sealed class Card395 : PackCard { protected override int Slot => 395; } public sealed class Card396 : PackCard { protected override int Slot => 396; } public sealed class Card397 : PackCard { protected override int Slot => 397; } public sealed class Card398 : PackCard { protected override int Slot => 398; } public sealed class Card399 : PackCard { protected override int Slot => 399; } public sealed class Card400 : PackCard { protected override int Slot => 400; } public sealed class Card401 : PackCard { protected override int Slot => 401; } public sealed class Card402 : PackCard { protected override int Slot => 402; } public sealed class Card403 : PackCard { protected override int Slot => 403; } public sealed class Card404 : PackCard { protected override int Slot => 404; } public sealed class Card405 : PackCard { protected override int Slot => 405; } public sealed class Card406 : PackCard { protected override int Slot => 406; } public sealed class Card407 : PackCard { protected override int Slot => 407; } public sealed class Card408 : PackCard { protected override int Slot => 408; } public sealed class Card409 : PackCard { protected override int Slot => 409; } public sealed class Card410 : PackCard { protected override int Slot => 410; } public sealed class Card411 : PackCard { protected override int Slot => 411; } public sealed class Card412 : PackCard { protected override int Slot => 412; } public sealed class Card413 : PackCard { protected override int Slot => 413; } public sealed class Card414 : PackCard { protected override int Slot => 414; } public sealed class Card415 : PackCard { protected override int Slot => 415; } public sealed class Card416 : PackCard { protected override int Slot => 416; } public sealed class Card417 : PackCard { protected override int Slot => 417; } public sealed class Card418 : PackCard { protected override int Slot => 418; } public sealed class Card419 : PackCard { protected override int Slot => 419; } public sealed class Card420 : PackCard { protected override int Slot => 420; } public sealed class Card421 : PackCard { protected override int Slot => 421; } public sealed class Card422 : PackCard { protected override int Slot => 422; } public sealed class Card423 : PackCard { protected override int Slot => 423; } public sealed class Card424 : PackCard { protected override int Slot => 424; } public sealed class Card425 : PackCard { protected override int Slot => 425; } public sealed class Card426 : PackCard { protected override int Slot => 426; } public sealed class Card427 : PackCard { protected override int Slot => 427; } public sealed class Card428 : PackCard { protected override int Slot => 428; } public sealed class Card429 : PackCard { protected override int Slot => 429; } public sealed class Card430 : PackCard { protected override int Slot => 430; } public sealed class Card431 : PackCard { protected override int Slot => 431; } public sealed class Card432 : PackCard { protected override int Slot => 432; } public sealed class Card433 : PackCard { protected override int Slot => 433; } public sealed class Card434 : PackCard { protected override int Slot => 434; } public sealed class Card435 : PackCard { protected override int Slot => 435; } public sealed class Card436 : PackCard { protected override int Slot => 436; } public sealed class Card437 : PackCard { protected override int Slot => 437; } public sealed class Card438 : PackCard { protected override int Slot => 438; } public sealed class Card439 : PackCard { protected override int Slot => 439; } public sealed class Card440 : PackCard { protected override int Slot => 440; } public sealed class Card441 : PackCard { protected override int Slot => 441; } public sealed class Card442 : PackCard { protected override int Slot => 442; } public sealed class Card443 : PackCard { protected override int Slot => 443; } public sealed class Card444 : PackCard { protected override int Slot => 444; } public sealed class Card445 : PackCard { protected override int Slot => 445; } public sealed class Card446 : PackCard { protected override int Slot => 446; } public sealed class Card447 : PackCard { protected override int Slot => 447; } public sealed class Card448 : PackCard { protected override int Slot => 448; } public sealed class Card449 : PackCard { protected override int Slot => 449; } public sealed class Card450 : PackCard { protected override int Slot => 450; } public sealed class Card451 : PackCard { protected override int Slot => 451; } public sealed class Card452 : PackCard { protected override int Slot => 452; } public sealed class Card453 : PackCard { protected override int Slot => 453; } public sealed class Card454 : PackCard { protected override int Slot => 454; } public sealed class Card455 : PackCard { protected override int Slot => 455; } public sealed class Card456 : PackCard { protected override int Slot => 456; } public sealed class Card457 : PackCard { protected override int Slot => 457; } public sealed class Card458 : PackCard { protected override int Slot => 458; } public sealed class Card459 : PackCard { protected override int Slot => 459; } public sealed class Card460 : PackCard { protected override int Slot => 460; } public sealed class Card461 : PackCard { protected override int Slot => 461; } public sealed class Card462 : PackCard { protected override int Slot => 462; } public sealed class Card463 : PackCard { protected override int Slot => 463; } public sealed class Card464 : PackCard { protected override int Slot => 464; } public sealed class Card465 : PackCard { protected override int Slot => 465; } public sealed class Card466 : PackCard { protected override int Slot => 466; } public sealed class Card467 : PackCard { protected override int Slot => 467; } public sealed class Card468 : PackCard { protected override int Slot => 468; } public sealed class Card469 : PackCard { protected override int Slot => 469; } public sealed class Card470 : PackCard { protected override int Slot => 470; } public sealed class Card471 : PackCard { protected override int Slot => 471; } public sealed class Card472 : PackCard { protected override int Slot => 472; } public sealed class Card473 : PackCard { protected override int Slot => 473; } public sealed class Card474 : PackCard { protected override int Slot => 474; } public sealed class Card475 : PackCard { protected override int Slot => 475; } public sealed class Card476 : PackCard { protected override int Slot => 476; } public sealed class Card477 : PackCard { protected override int Slot => 477; } public sealed class Card478 : PackCard { protected override int Slot => 478; } public sealed class Card479 : PackCard { protected override int Slot => 479; } public sealed class Card480 : PackCard { protected override int Slot => 480; } public sealed class Card481 : PackCard { protected override int Slot => 481; } public sealed class Card482 : PackCard { protected override int Slot => 482; } public sealed class Card483 : PackCard { protected override int Slot => 483; } public sealed class Card484 : PackCard { protected override int Slot => 484; } public sealed class Card485 : PackCard { protected override int Slot => 485; } public sealed class Card486 : PackCard { protected override int Slot => 486; } public sealed class Card487 : PackCard { protected override int Slot => 487; } public sealed class Card488 : PackCard { protected override int Slot => 488; } public sealed class Card489 : PackCard { protected override int Slot => 489; } public sealed class Card490 : PackCard { protected override int Slot => 490; } public sealed class Card491 : PackCard { protected override int Slot => 491; } public sealed class Card492 : PackCard { protected override int Slot => 492; } public sealed class Card493 : PackCard { protected override int Slot => 493; } public sealed class Card494 : PackCard { protected override int Slot => 494; } public sealed class Card495 : PackCard { protected override int Slot => 495; } public sealed class Card496 : PackCard { protected override int Slot => 496; } public sealed class Card497 : PackCard { protected override int Slot => 497; } public sealed class Card498 : PackCard { protected override int Slot => 498; } public sealed class Card499 : PackCard { protected override int Slot => 499; } public sealed class Card500 : PackCard { protected override int Slot => 500; } public sealed class Card501 : PackCard { protected override int Slot => 501; } public sealed class Card502 : PackCard { protected override int Slot => 502; } public sealed class Card503 : PackCard { protected override int Slot => 503; } public sealed class Card504 : PackCard { protected override int Slot => 504; } public sealed class Card505 : PackCard { protected override int Slot => 505; } public sealed class Card506 : PackCard { protected override int Slot => 506; } public sealed class Card507 : PackCard { protected override int Slot => 507; } public sealed class Card508 : PackCard { protected override int Slot => 508; } public sealed class Card509 : PackCard { protected override int Slot => 509; } public sealed class Card510 : PackCard { protected override int Slot => 510; } public sealed class Card511 : PackCard { protected override int Slot => 511; } public sealed class Card512 : PackCard { protected override int Slot => 512; } public sealed class Card513 : PackCard { protected override int Slot => 513; } public sealed class Card514 : PackCard { protected override int Slot => 514; } public sealed class Card515 : PackCard { protected override int Slot => 515; } public sealed class Card516 : PackCard { protected override int Slot => 516; } public sealed class Card517 : PackCard { protected override int Slot => 517; } public sealed class Card518 : PackCard { protected override int Slot => 518; } public sealed class Card519 : PackCard { protected override int Slot => 519; } public sealed class Card520 : PackCard { protected override int Slot => 520; } public sealed class Card521 : PackCard { protected override int Slot => 521; } public sealed class Card522 : PackCard { protected override int Slot => 522; } public sealed class Card523 : PackCard { protected override int Slot => 523; } public sealed class Card524 : PackCard { protected override int Slot => 524; } public sealed class Card525 : PackCard { protected override int Slot => 525; } public sealed class Card526 : PackCard { protected override int Slot => 526; } public sealed class Card527 : PackCard { protected override int Slot => 527; } public sealed class Card528 : PackCard { protected override int Slot => 528; } public sealed class Card529 : PackCard { protected override int Slot => 529; } public sealed class Card530 : PackCard { protected override int Slot => 530; } public sealed class Card531 : PackCard { protected override int Slot => 531; } public sealed class Card532 : PackCard { protected override int Slot => 532; } public sealed class Card533 : PackCard { protected override int Slot => 533; } public sealed class Card534 : PackCard { protected override int Slot => 534; } public sealed class Card535 : PackCard { protected override int Slot => 535; } public sealed class Card536 : PackCard { protected override int Slot => 536; } public sealed class Card537 : PackCard { protected override int Slot => 537; } public sealed class Card538 : PackCard { protected override int Slot => 538; } public sealed class Card539 : PackCard { protected override int Slot => 539; } public sealed class Card540 : PackCard { protected override int Slot => 540; } public sealed class Card541 : PackCard { protected override int Slot => 541; } public sealed class Card542 : PackCard { protected override int Slot => 542; } public sealed class Card543 : PackCard { protected override int Slot => 543; } public sealed class Card544 : PackCard { protected override int Slot => 544; } public sealed class Card545 : PackCard { protected override int Slot => 545; } public sealed class Card546 : PackCard { protected override int Slot => 546; } public sealed class Card547 : PackCard { protected override int Slot => 547; } public sealed class Card548 : PackCard { protected override int Slot => 548; } public sealed class Card549 : PackCard { protected override int Slot => 549; } public sealed class Card550 : PackCard { protected override int Slot => 550; } public sealed class Card551 : PackCard { protected override int Slot => 551; } public sealed class Card552 : PackCard { protected override int Slot => 552; } public sealed class Card553 : PackCard { protected override int Slot => 553; } public sealed class Card554 : PackCard { protected override int Slot => 554; } public sealed class Card555 : PackCard { protected override int Slot => 555; } public sealed class Card556 : PackCard { protected override int Slot => 556; } public sealed class Card557 : PackCard { protected override int Slot => 557; } public sealed class Card558 : PackCard { protected override int Slot => 558; } public sealed class Card559 : PackCard { protected override int Slot => 559; } public sealed class Card560 : PackCard { protected override int Slot => 560; } public sealed class Card561 : PackCard { protected override int Slot => 561; } public sealed class Card562 : PackCard { protected override int Slot => 562; } public sealed class Card563 : PackCard { protected override int Slot => 563; } public sealed class Card564 : PackCard { protected override int Slot => 564; } public sealed class Card565 : PackCard { protected override int Slot => 565; } public sealed class Card566 : PackCard { protected override int Slot => 566; } public sealed class Card567 : PackCard { protected override int Slot => 567; } public sealed class Card568 : PackCard { protected override int Slot => 568; } public sealed class Card569 : PackCard { protected override int Slot => 569; } public sealed class Card570 : PackCard { protected override int Slot => 570; } public sealed class Card571 : PackCard { protected override int Slot => 571; } public sealed class Card572 : PackCard { protected override int Slot => 572; } public sealed class Card573 : PackCard { protected override int Slot => 573; } public sealed class Card574 : PackCard { protected override int Slot => 574; } public sealed class Card575 : PackCard { protected override int Slot => 575; } public sealed class Card576 : PackCard { protected override int Slot => 576; } public sealed class Card577 : PackCard { protected override int Slot => 577; } public sealed class Card578 : PackCard { protected override int Slot => 578; } public sealed class Card579 : PackCard { protected override int Slot => 579; } public sealed class Card580 : PackCard { protected override int Slot => 580; } public sealed class Card581 : PackCard { protected override int Slot => 581; } public sealed class Card582 : PackCard { protected override int Slot => 582; } public sealed class Card583 : PackCard { protected override int Slot => 583; } public sealed class Card584 : PackCard { protected override int Slot => 584; } public sealed class Card585 : PackCard { protected override int Slot => 585; } public sealed class Card586 : PackCard { protected override int Slot => 586; } public sealed class Card587 : PackCard { protected override int Slot => 587; } public sealed class Card588 : PackCard { protected override int Slot => 588; } public sealed class Card589 : PackCard { protected override int Slot => 589; } public sealed class Card590 : PackCard { protected override int Slot => 590; } public sealed class Card591 : PackCard { protected override int Slot => 591; } public sealed class Card592 : PackCard { protected override int Slot => 592; } public sealed class Card593 : PackCard { protected override int Slot => 593; } public sealed class Card594 : PackCard { protected override int Slot => 594; } public sealed class Card595 : PackCard { protected override int Slot => 595; } public sealed class Card596 : PackCard { protected override int Slot => 596; } public sealed class Card597 : PackCard { protected override int Slot => 597; } public sealed class Card598 : PackCard { protected override int Slot => 598; } public sealed class Card599 : PackCard { protected override int Slot => 599; } public sealed class Card600 : PackCard { protected override int Slot => 600; } public sealed class Card601 : PackCard { protected override int Slot => 601; } public sealed class Card602 : PackCard { protected override int Slot => 602; } public sealed class Card603 : PackCard { protected override int Slot => 603; } public sealed class Card604 : PackCard { protected override int Slot => 604; } public sealed class Card605 : PackCard { protected override int Slot => 605; } public sealed class Card606 : PackCard { protected override int Slot => 606; } public sealed class Card607 : PackCard { protected override int Slot => 607; } public sealed class Card608 : PackCard { protected override int Slot => 608; } public sealed class Card609 : PackCard { protected override int Slot => 609; } public sealed class Card610 : PackCard { protected override int Slot => 610; } public sealed class Card611 : PackCard { protected override int Slot => 611; } public sealed class Card612 : PackCard { protected override int Slot => 612; } public sealed class Card613 : PackCard { protected override int Slot => 613; } public sealed class Card614 : PackCard { protected override int Slot => 614; } public sealed class Card615 : PackCard { protected override int Slot => 615; } public sealed class Card616 : PackCard { protected override int Slot => 616; } public sealed class Card617 : PackCard { protected override int Slot => 617; } public sealed class Card618 : PackCard { protected override int Slot => 618; } public sealed class Card619 : PackCard { protected override int Slot => 619; } public sealed class Card620 : PackCard { protected override int Slot => 620; } public sealed class Card621 : PackCard { protected override int Slot => 621; } public sealed class Card622 : PackCard { protected override int Slot => 622; } public sealed class Card623 : PackCard { protected override int Slot => 623; } public sealed class Card624 : PackCard { protected override int Slot => 624; } public sealed class Card625 : PackCard { protected override int Slot => 625; } public sealed class Card626 : PackCard { protected override int Slot => 626; } public sealed class Card627 : PackCard { protected override int Slot => 627; } public sealed class Card628 : PackCard { protected override int Slot => 628; } public sealed class Card629 : PackCard { protected override int Slot => 629; } public sealed class Card630 : PackCard { protected override int Slot => 630; } public sealed class Card631 : PackCard { protected override int Slot => 631; } public sealed class Card632 : PackCard { protected override int Slot => 632; } public sealed class Card633 : PackCard { protected override int Slot => 633; } public sealed class Card634 : PackCard { protected override int Slot => 634; } public sealed class Card635 : PackCard { protected override int Slot => 635; } public sealed class Card636 : PackCard { protected override int Slot => 636; } public sealed class Card637 : PackCard { protected override int Slot => 637; } public sealed class Card638 : PackCard { protected override int Slot => 638; } public sealed class Card639 : PackCard { protected override int Slot => 639; } public sealed class Card640 : PackCard { protected override int Slot => 640; } public sealed class Card641 : PackCard { protected override int Slot => 641; } public sealed class Card642 : PackCard { protected override int Slot => 642; } public sealed class Card643 : PackCard { protected override int Slot => 643; } public sealed class Card644 : PackCard { protected override int Slot => 644; } public sealed class Card645 : PackCard { protected override int Slot => 645; } public sealed class Card646 : PackCard { protected override int Slot => 646; } public sealed class Card647 : PackCard { protected override int Slot => 647; } public sealed class Card648 : PackCard { protected override int Slot => 648; } public sealed class Card649 : PackCard { protected override int Slot => 649; } public sealed class Card650 : PackCard { protected override int Slot => 650; } public sealed class Card651 : PackCard { protected override int Slot => 651; } public sealed class Card652 : PackCard { protected override int Slot => 652; } public sealed class Card653 : PackCard { protected override int Slot => 653; } public sealed class Card654 : PackCard { protected override int Slot => 654; } public sealed class Card655 : PackCard { protected override int Slot => 655; } public sealed class Card656 : PackCard { protected override int Slot => 656; } public sealed class Card657 : PackCard { protected override int Slot => 657; } public sealed class Card658 : PackCard { protected override int Slot => 658; } public sealed class Card659 : PackCard { protected override int Slot => 659; } public sealed class Card660 : PackCard { protected override int Slot => 660; } public sealed class Card661 : PackCard { protected override int Slot => 661; } public sealed class Card662 : PackCard { protected override int Slot => 662; } public sealed class Card663 : PackCard { protected override int Slot => 663; } public sealed class Card664 : PackCard { protected override int Slot => 664; } public sealed class Card665 : PackCard { protected override int Slot => 665; } public sealed class Card666 : PackCard { protected override int Slot => 666; } public sealed class Card667 : PackCard { protected override int Slot => 667; } public sealed class Card668 : PackCard { protected override int Slot => 668; } public sealed class Card669 : PackCard { protected override int Slot => 669; } public sealed class Card670 : PackCard { protected override int Slot => 670; } public sealed class Card671 : PackCard { protected override int Slot => 671; } public sealed class Card672 : PackCard { protected override int Slot => 672; } public sealed class Card673 : PackCard { protected override int Slot => 673; } public sealed class Card674 : PackCard { protected override int Slot => 674; } public sealed class Card675 : PackCard { protected override int Slot => 675; } public sealed class Card676 : PackCard { protected override int Slot => 676; } public sealed class Card677 : PackCard { protected override int Slot => 677; } public sealed class Card678 : PackCard { protected override int Slot => 678; } public sealed class Card679 : PackCard { protected override int Slot => 679; } public sealed class Card680 : PackCard { protected override int Slot => 680; } public sealed class Card681 : PackCard { protected override int Slot => 681; } public sealed class Card682 : PackCard { protected override int Slot => 682; } public sealed class Card683 : PackCard { protected override int Slot => 683; } public sealed class Card684 : PackCard { protected override int Slot => 684; } public sealed class Card685 : PackCard { protected override int Slot => 685; } public sealed class Card686 : PackCard { protected override int Slot => 686; } public sealed class Card687 : PackCard { protected override int Slot => 687; } public sealed class Card688 : PackCard { protected override int Slot => 688; } public sealed class Card689 : PackCard { protected override int Slot => 689; } public sealed class Card690 : PackCard { protected override int Slot => 690; } public sealed class Card691 : PackCard { protected override int Slot => 691; } public sealed class Card692 : PackCard { protected override int Slot => 692; } public sealed class Card693 : PackCard { protected override int Slot => 693; } public sealed class Card694 : PackCard { protected override int Slot => 694; } public sealed class Card695 : PackCard { protected override int Slot => 695; } public sealed class Card696 : PackCard { protected override int Slot => 696; } public sealed class Card697 : PackCard { protected override int Slot => 697; } public sealed class Card698 : PackCard { protected override int Slot => 698; } public sealed class Card699 : PackCard { protected override int Slot => 699; } public sealed class Card700 : PackCard { protected override int Slot => 700; } public sealed class Card701 : PackCard { protected override int Slot => 701; } public sealed class Card702 : PackCard { protected override int Slot => 702; } public sealed class Card703 : PackCard { protected override int Slot => 703; } public sealed class Card704 : PackCard { protected override int Slot => 704; } public sealed class Card705 : PackCard { protected override int Slot => 705; } public sealed class Card706 : PackCard { protected override int Slot => 706; } public sealed class Card707 : PackCard { protected override int Slot => 707; } public sealed class Card708 : PackCard { protected override int Slot => 708; } public sealed class Card709 : PackCard { protected override int Slot => 709; } public sealed class Card710 : PackCard { protected override int Slot => 710; } public sealed class Card711 : PackCard { protected override int Slot => 711; } public sealed class Card712 : PackCard { protected override int Slot => 712; } public sealed class Card713 : PackCard { protected override int Slot => 713; } public sealed class Card714 : PackCard { protected override int Slot => 714; } public sealed class Card715 : PackCard { protected override int Slot => 715; } public sealed class Card716 : PackCard { protected override int Slot => 716; } public sealed class Card717 : PackCard { protected override int Slot => 717; } public sealed class Card718 : PackCard { protected override int Slot => 718; } public sealed class Card719 : PackCard { protected override int Slot => 719; } public sealed class Card720 : PackCard { protected override int Slot => 720; } public sealed class Card721 : PackCard { protected override int Slot => 721; } public sealed class Card722 : PackCard { protected override int Slot => 722; } public sealed class Card723 : PackCard { protected override int Slot => 723; } public sealed class Card724 : PackCard { protected override int Slot => 724; } public sealed class Card725 : PackCard { protected override int Slot => 725; } public sealed class Card726 : PackCard { protected override int Slot => 726; } public sealed class Card727 : PackCard { protected override int Slot => 727; } public sealed class Card728 : PackCard { protected override int Slot => 728; } public sealed class Card729 : PackCard { protected override int Slot => 729; } public sealed class Card730 : PackCard { protected override int Slot => 730; } public sealed class Card731 : PackCard { protected override int Slot => 731; } public sealed class Card732 : PackCard { protected override int Slot => 732; } public sealed class Card733 : PackCard { protected override int Slot => 733; } public sealed class Card734 : PackCard { protected override int Slot => 734; } public sealed class Card735 : PackCard { protected override int Slot => 735; } public sealed class Card736 : PackCard { protected override int Slot => 736; } public sealed class Card737 : PackCard { protected override int Slot => 737; } public sealed class Card738 : PackCard { protected override int Slot => 738; } public sealed class Card739 : PackCard { protected override int Slot => 739; } public sealed class Card740 : PackCard { protected override int Slot => 740; } public sealed class Card741 : PackCard { protected override int Slot => 741; } public sealed class Card742 : PackCard { protected override int Slot => 742; } public sealed class Card743 : PackCard { protected override int Slot => 743; } public sealed class Card744 : PackCard { protected override int Slot => 744; } public sealed class Card745 : PackCard { protected override int Slot => 745; } public sealed class Card746 : PackCard { protected override int Slot => 746; } public sealed class Card747 : PackCard { protected override int Slot => 747; } public sealed class Card748 : PackCard { protected override int Slot => 748; } public sealed class Card749 : PackCard { protected override int Slot => 749; } public sealed class Card750 : PackCard { protected override int Slot => 750; } public sealed class Card751 : PackCard { protected override int Slot => 751; } public sealed class Card752 : PackCard { protected override int Slot => 752; } public sealed class Card753 : PackCard { protected override int Slot => 753; } public sealed class Card754 : PackCard { protected override int Slot => 754; } public sealed class Card755 : PackCard { protected override int Slot => 755; } public sealed class Card756 : PackCard { protected override int Slot => 756; } public sealed class Card757 : PackCard { protected override int Slot => 757; } public sealed class Card758 : PackCard { protected override int Slot => 758; } public sealed class Card759 : PackCard { protected override int Slot => 759; } public sealed class Card760 : PackCard { protected override int Slot => 760; } public sealed class Card761 : PackCard { protected override int Slot => 761; } public sealed class Card762 : PackCard { protected override int Slot => 762; } public sealed class Card763 : PackCard { protected override int Slot => 763; } public sealed class Card764 : PackCard { protected override int Slot => 764; } public sealed class Card765 : PackCard { protected override int Slot => 765; } public sealed class Card766 : PackCard { protected override int Slot => 766; } public sealed class Card767 : PackCard { protected override int Slot => 767; } public sealed class Card768 : PackCard { protected override int Slot => 768; } public sealed class Card769 : PackCard { protected override int Slot => 769; } public sealed class Card770 : PackCard { protected override int Slot => 770; } public sealed class Card771 : PackCard { protected override int Slot => 771; } public sealed class Card772 : PackCard { protected override int Slot => 772; } public sealed class Card773 : PackCard { protected override int Slot => 773; } public sealed class Card774 : PackCard { protected override int Slot => 774; } public sealed class Card775 : PackCard { protected override int Slot => 775; } public sealed class Card776 : PackCard { protected override int Slot => 776; } public sealed class Card777 : PackCard { protected override int Slot => 777; } public sealed class Card778 : PackCard { protected override int Slot => 778; } public sealed class Card779 : PackCard { protected override int Slot => 779; } public sealed class Card780 : PackCard { protected override int Slot => 780; } public sealed class Card781 : PackCard { protected override int Slot => 781; } public sealed class Card782 : PackCard { protected override int Slot => 782; } public sealed class Card783 : PackCard { protected override int Slot => 783; } public sealed class Card784 : PackCard { protected override int Slot => 784; } public sealed class Card785 : PackCard { protected override int Slot => 785; } public sealed class Card786 : PackCard { protected override int Slot => 786; } public sealed class Card787 : PackCard { protected override int Slot => 787; } public sealed class Card788 : PackCard { protected override int Slot => 788; } public sealed class Card789 : PackCard { protected override int Slot => 789; } public sealed class Card790 : PackCard { protected override int Slot => 790; } public sealed class Card791 : PackCard { protected override int Slot => 791; } public sealed class Card792 : PackCard { protected override int Slot => 792; } public sealed class Card793 : PackCard { protected override int Slot => 793; } public sealed class Card794 : PackCard { protected override int Slot => 794; } public sealed class Card795 : PackCard { protected override int Slot => 795; } public sealed class Card796 : PackCard { protected override int Slot => 796; } public sealed class Card797 : PackCard { protected override int Slot => 797; } public sealed class Card798 : PackCard { protected override int Slot => 798; } public sealed class Card799 : PackCard { protected override int Slot => 799; } public sealed class Card800 : PackCard { protected override int Slot => 800; } public sealed class Card801 : PackCard { protected override int Slot => 801; } public sealed class Card802 : PackCard { protected override int Slot => 802; } public sealed class Card803 : PackCard { protected override int Slot => 803; } public sealed class Card804 : PackCard { protected override int Slot => 804; } public sealed class Card805 : PackCard { protected override int Slot => 805; } public sealed class Card806 : PackCard { protected override int Slot => 806; } public sealed class Card807 : PackCard { protected override int Slot => 807; } public sealed class Card808 : PackCard { protected override int Slot => 808; } public sealed class Card809 : PackCard { protected override int Slot => 809; } public sealed class Card810 : PackCard { protected override int Slot => 810; } public sealed class Card811 : PackCard { protected override int Slot => 811; } public sealed class Card812 : PackCard { protected override int Slot => 812; } public sealed class Card813 : PackCard { protected override int Slot => 813; } public sealed class Card814 : PackCard { protected override int Slot => 814; } public sealed class Card815 : PackCard { protected override int Slot => 815; } public sealed class Card816 : PackCard { protected override int Slot => 816; } public sealed class Card817 : PackCard { protected override int Slot => 817; } public sealed class Card818 : PackCard { protected override int Slot => 818; } public sealed class Card819 : PackCard { protected override int Slot => 819; } public sealed class Card820 : PackCard { protected override int Slot => 820; } public sealed class Card821 : PackCard { protected override int Slot => 821; } public sealed class Card822 : PackCard { protected override int Slot => 822; } public sealed class Card823 : PackCard { protected override int Slot => 823; } public sealed class Card824 : PackCard { protected override int Slot => 824; } public sealed class Card825 : PackCard { protected override int Slot => 825; } public sealed class Card826 : PackCard { protected override int Slot => 826; } public sealed class Card827 : PackCard { protected override int Slot => 827; } public sealed class Card828 : PackCard { protected override int Slot => 828; } public sealed class Card829 : PackCard { protected override int Slot => 829; } public sealed class Card830 : PackCard { protected override int Slot => 830; } public sealed class Card831 : PackCard { protected override int Slot => 831; } public sealed class Card832 : PackCard { protected override int Slot => 832; } public sealed class Card833 : PackCard { protected override int Slot => 833; } public sealed class Card834 : PackCard { protected override int Slot => 834; } public sealed class Card835 : PackCard { protected override int Slot => 835; } public sealed class Card836 : PackCard { protected override int Slot => 836; } public sealed class Card837 : PackCard { protected override int Slot => 837; } public sealed class Card838 : PackCard { protected override int Slot => 838; } public sealed class Card839 : PackCard { protected override int Slot => 839; } public sealed class Card840 : PackCard { protected override int Slot => 840; } public sealed class Card841 : PackCard { protected override int Slot => 841; } public sealed class Card842 : PackCard { protected override int Slot => 842; } public sealed class Card843 : PackCard { protected override int Slot => 843; } public sealed class Card844 : PackCard { protected override int Slot => 844; } public sealed class Card845 : PackCard { protected override int Slot => 845; } public sealed class Card846 : PackCard { protected override int Slot => 846; } public sealed class Card847 : PackCard { protected override int Slot => 847; } public sealed class Card848 : PackCard { protected override int Slot => 848; } public sealed class Card849 : PackCard { protected override int Slot => 849; } public sealed class Card850 : PackCard { protected override int Slot => 850; } public sealed class Card851 : PackCard { protected override int Slot => 851; } public sealed class Card852 : PackCard { protected override int Slot => 852; } public sealed class Card853 : PackCard { protected override int Slot => 853; } public sealed class Card854 : PackCard { protected override int Slot => 854; } public sealed class Card855 : PackCard { protected override int Slot => 855; } public sealed class Card856 : PackCard { protected override int Slot => 856; } public sealed class Card857 : PackCard { protected override int Slot => 857; } public sealed class Card858 : PackCard { protected override int Slot => 858; } public sealed class Card859 : PackCard { protected override int Slot => 859; } public sealed class Card860 : PackCard { protected override int Slot => 860; } public sealed class Card861 : PackCard { protected override int Slot => 861; } public sealed class Card862 : PackCard { protected override int Slot => 862; } public sealed class Card863 : PackCard { protected override int Slot => 863; } public sealed class Card864 : PackCard { protected override int Slot => 864; } public sealed class Card865 : PackCard { protected override int Slot => 865; } public sealed class Card866 : PackCard { protected override int Slot => 866; } public sealed class Card867 : PackCard { protected override int Slot => 867; } public sealed class Card868 : PackCard { protected override int Slot => 868; } public sealed class Card869 : PackCard { protected override int Slot => 869; } public sealed class Card870 : PackCard { protected override int Slot => 870; } public sealed class Card871 : PackCard { protected override int Slot => 871; } public sealed class Card872 : PackCard { protected override int Slot => 872; } public sealed class Card873 : PackCard { protected override int Slot => 873; } public sealed class Card874 : PackCard { protected override int Slot => 874; } public sealed class Card875 : PackCard { protected override int Slot => 875; } public sealed class Card876 : PackCard { protected override int Slot => 876; } public sealed class Card877 : PackCard { protected override int Slot => 877; } public sealed class Card878 : PackCard { protected override int Slot => 878; } public sealed class Card879 : PackCard { protected override int Slot => 879; } public sealed class Card880 : PackCard { protected override int Slot => 880; } public sealed class Card881 : PackCard { protected override int Slot => 881; } public sealed class Card882 : PackCard { protected override int Slot => 882; } public sealed class Card883 : PackCard { protected override int Slot => 883; } public sealed class Card884 : PackCard { protected override int Slot => 884; } public sealed class Card885 : PackCard { protected override int Slot => 885; } public sealed class Card886 : PackCard { protected override int Slot => 886; } public sealed class Card887 : PackCard { protected override int Slot => 887; } public sealed class Card888 : PackCard { protected override int Slot => 888; } public sealed class Card889 : PackCard { protected override int Slot => 889; } public sealed class Card890 : PackCard { protected override int Slot => 890; } public sealed class Card891 : PackCard { protected override int Slot => 891; } public sealed class Card892 : PackCard { protected override int Slot => 892; } public sealed class Card893 : PackCard { protected override int Slot => 893; } public sealed class Card894 : PackCard { protected override int Slot => 894; } public sealed class Card895 : PackCard { protected override int Slot => 895; } public sealed class Card896 : PackCard { protected override int Slot => 896; } public sealed class Card897 : PackCard { protected override int Slot => 897; } public sealed class Card898 : PackCard { protected override int Slot => 898; } public sealed class Card899 : PackCard { protected override int Slot => 899; } public sealed class Card900 : PackCard { protected override int Slot => 900; } public sealed class Card901 : PackCard { protected override int Slot => 901; } public sealed class Card902 : PackCard { protected override int Slot => 902; } public sealed class Card903 : PackCard { protected override int Slot => 903; } public sealed class Card904 : PackCard { protected override int Slot => 904; } public sealed class Card905 : PackCard { protected override int Slot => 905; } public sealed class Card906 : PackCard { protected override int Slot => 906; } public sealed class Card907 : PackCard { protected override int Slot => 907; } public sealed class Card908 : PackCard { protected override int Slot => 908; } public sealed class Card909 : PackCard { protected override int Slot => 909; } public sealed class Card910 : PackCard { protected override int Slot => 910; } public sealed class Card911 : PackCard { protected override int Slot => 911; } public sealed class Card912 : PackCard { protected override int Slot => 912; } public sealed class Card913 : PackCard { protected override int Slot => 913; } public sealed class Card914 : PackCard { protected override int Slot => 914; } public sealed class Card915 : PackCard { protected override int Slot => 915; } public sealed class Card916 : PackCard { protected override int Slot => 916; } public sealed class Card917 : PackCard { protected override int Slot => 917; } public sealed class Card918 : PackCard { protected override int Slot => 918; } public sealed class Card919 : PackCard { protected override int Slot => 919; } public sealed class Card920 : PackCard { protected override int Slot => 920; } public sealed class Card921 : PackCard { protected override int Slot => 921; } public sealed class Card922 : PackCard { protected override int Slot => 922; } public sealed class Card923 : PackCard { protected override int Slot => 923; } public sealed class Card924 : PackCard { protected override int Slot => 924; } public sealed class Card925 : PackCard { protected override int Slot => 925; } public sealed class Card926 : PackCard { protected override int Slot => 926; } public sealed class Card927 : PackCard { protected override int Slot => 927; } public sealed class Card928 : PackCard { protected override int Slot => 928; } public sealed class Card929 : PackCard { protected override int Slot => 929; } public sealed class Card930 : PackCard { protected override int Slot => 930; } public sealed class Card931 : PackCard { protected override int Slot => 931; } public sealed class Card932 : PackCard { protected override int Slot => 932; } public sealed class Card933 : PackCard { protected override int Slot => 933; } public sealed class Card934 : PackCard { protected override int Slot => 934; } public sealed class Card935 : PackCard { protected override int Slot => 935; } public sealed class Card936 : PackCard { protected override int Slot => 936; } public sealed class Card937 : PackCard { protected override int Slot => 937; } public sealed class Card938 : PackCard { protected override int Slot => 938; } public sealed class Card939 : PackCard { protected override int Slot => 939; } public sealed class Card940 : PackCard { protected override int Slot => 940; } public sealed class Card941 : PackCard { protected override int Slot => 941; } public sealed class Card942 : PackCard { protected override int Slot => 942; } public sealed class Card943 : PackCard { protected override int Slot => 943; } public sealed class Card944 : PackCard { protected override int Slot => 944; } public sealed class Card945 : PackCard { protected override int Slot => 945; } public sealed class Card946 : PackCard { protected override int Slot => 946; } public sealed class Card947 : PackCard { protected override int Slot => 947; } public sealed class Card948 : PackCard { protected override int Slot => 948; } public sealed class Card949 : PackCard { protected override int Slot => 949; } public sealed class Card950 : PackCard { protected override int Slot => 950; } public sealed class Card951 : PackCard { protected override int Slot => 951; } public sealed class Card952 : PackCard { protected override int Slot => 952; } public sealed class Card953 : PackCard { protected override int Slot => 953; } public sealed class Card954 : PackCard { protected override int Slot => 954; } public sealed class Card955 : PackCard { protected override int Slot => 955; } public sealed class Card956 : PackCard { protected override int Slot => 956; } public sealed class Card957 : PackCard { protected override int Slot => 957; } public sealed class Card958 : PackCard { protected override int Slot => 958; } public sealed class Card959 : PackCard { protected override int Slot => 959; } public sealed class Card960 : PackCard { protected override int Slot => 960; } public sealed class Card961 : PackCard { protected override int Slot => 961; } public sealed class Card962 : PackCard { protected override int Slot => 962; } public sealed class Card963 : PackCard { protected override int Slot => 963; } public sealed class Card964 : PackCard { protected override int Slot => 964; } public sealed class Card965 : PackCard { protected override int Slot => 965; } public sealed class Card966 : PackCard { protected override int Slot => 966; } public sealed class Card967 : PackCard { protected override int Slot => 967; } public sealed class Card968 : PackCard { protected override int Slot => 968; } public sealed class Card969 : PackCard { protected override int Slot => 969; } public sealed class Card970 : PackCard { protected override int Slot => 970; } public sealed class Card971 : PackCard { protected override int Slot => 971; } public sealed class Card972 : PackCard { protected override int Slot => 972; } public sealed class Card973 : PackCard { protected override int Slot => 973; } public sealed class Card974 : PackCard { protected override int Slot => 974; } public sealed class Card975 : PackCard { protected override int Slot => 975; } public sealed class Card976 : PackCard { protected override int Slot => 976; } public sealed class Card977 : PackCard { protected override int Slot => 977; } public sealed class Card978 : PackCard { protected override int Slot => 978; } public sealed class Card979 : PackCard { protected override int Slot => 979; } public sealed class Card980 : PackCard { protected override int Slot => 980; } public sealed class Card981 : PackCard { protected override int Slot => 981; } public sealed class Card982 : PackCard { protected override int Slot => 982; } public sealed class Card983 : PackCard { protected override int Slot => 983; } public sealed class Card984 : PackCard { protected override int Slot => 984; } public sealed class Card985 : PackCard { protected override int Slot => 985; } public sealed class Card986 : PackCard { protected override int Slot => 986; } public sealed class Card987 : PackCard { protected override int Slot => 987; } public sealed class Card988 : PackCard { protected override int Slot => 988; } public sealed class Card989 : PackCard { protected override int Slot => 989; } public sealed class Card990 : PackCard { protected override int Slot => 990; } public sealed class Card991 : PackCard { protected override int Slot => 991; } public sealed class Card992 : PackCard { protected override int Slot => 992; } public sealed class Card993 : PackCard { protected override int Slot => 993; } public sealed class Card994 : PackCard { protected override int Slot => 994; } public sealed class Card995 : PackCard { protected override int Slot => 995; } public sealed class Card996 : PackCard { protected override int Slot => 996; } public sealed class Card997 : PackCard { protected override int Slot => 997; } public sealed class Card998 : PackCard { protected override int Slot => 998; } public sealed class Card999 : PackCard { protected override int Slot => 999; } public sealed class Card1000 : PackCard { protected override int Slot => 1000; } public sealed class Card1001 : PackCard { protected override int Slot => 1001; } public sealed class Card1002 : PackCard { protected override int Slot => 1002; } public sealed class Card1003 : PackCard { protected override int Slot => 1003; } public sealed class Card1004 : PackCard { protected override int Slot => 1004; } public sealed class Card1005 : PackCard { protected override int Slot => 1005; } public sealed class Card1006 : PackCard { protected override int Slot => 1006; } public sealed class Card1007 : PackCard { protected override int Slot => 1007; } public sealed class Card1008 : PackCard { protected override int Slot => 1008; } public sealed class Card1009 : PackCard { protected override int Slot => 1009; } public sealed class Card1010 : PackCard { protected override int Slot => 1010; } public sealed class Card1011 : PackCard { protected override int Slot => 1011; } public sealed class Card1012 : PackCard { protected override int Slot => 1012; } public sealed class Card1013 : PackCard { protected override int Slot => 1013; } public sealed class Card1014 : PackCard { protected override int Slot => 1014; } public sealed class Card1015 : PackCard { protected override int Slot => 1015; } public sealed class Card1016 : PackCard { protected override int Slot => 1016; } public sealed class Card1017 : PackCard { protected override int Slot => 1017; } public sealed class Card1018 : PackCard { protected override int Slot => 1018; } public sealed class Card1019 : PackCard { protected override int Slot => 1019; } public sealed class Card1020 : PackCard { protected override int Slot => 1020; } public sealed class Card1021 : PackCard { protected override int Slot => 1021; } public sealed class Card1022 : PackCard { protected override int Slot => 1022; } public sealed class Card1023 : PackCard { protected override int Slot => 1023; } public sealed class Card1024 : PackCard { protected override int Slot => 1024; } public sealed class Card1025 : PackCard { protected override int Slot => 1025; } public sealed class Card1026 : PackCard { protected override int Slot => 1026; } public sealed class Card1027 : PackCard { protected override int Slot => 1027; } public sealed class Card1028 : PackCard { protected override int Slot => 1028; } public sealed class Card1029 : PackCard { protected override int Slot => 1029; } public sealed class Card1030 : PackCard { protected override int Slot => 1030; } public sealed class Card1031 : PackCard { protected override int Slot => 1031; } public sealed class Card1032 : PackCard { protected override int Slot => 1032; } public sealed class Card1033 : PackCard { protected override int Slot => 1033; } public sealed class Card1034 : PackCard { protected override int Slot => 1034; } public sealed class Card1035 : PackCard { protected override int Slot => 1035; } public sealed class Card1036 : PackCard { protected override int Slot => 1036; } public sealed class Card1037 : PackCard { protected override int Slot => 1037; } public sealed class Card1038 : PackCard { protected override int Slot => 1038; } public sealed class Card1039 : PackCard { protected override int Slot => 1039; } public sealed class Card1040 : PackCard { protected override int Slot => 1040; } public sealed class Card1041 : PackCard { protected override int Slot => 1041; } public sealed class Card1042 : PackCard { protected override int Slot => 1042; } public sealed class Card1043 : PackCard { protected override int Slot => 1043; } public sealed class Card1044 : PackCard { protected override int Slot => 1044; } public sealed class Card1045 : PackCard { protected override int Slot => 1045; } public sealed class Card1046 : PackCard { protected override int Slot => 1046; } public sealed class Card1047 : PackCard { protected override int Slot => 1047; } public sealed class Card1048 : PackCard { protected override int Slot => 1048; } public sealed class Card1049 : PackCard { protected override int Slot => 1049; } public sealed class Card1050 : PackCard { protected override int Slot => 1050; } public sealed class Card1051 : PackCard { protected override int Slot => 1051; } public sealed class Card1052 : PackCard { protected override int Slot => 1052; } public sealed class Card1053 : PackCard { protected override int Slot => 1053; } public sealed class Card1054 : PackCard { protected override int Slot => 1054; } public sealed class Card1055 : PackCard { protected override int Slot => 1055; } public sealed class Card1056 : PackCard { protected override int Slot => 1056; } public sealed class Card1057 : PackCard { protected override int Slot => 1057; } public sealed class Card1058 : PackCard { protected override int Slot => 1058; } public sealed class Card1059 : PackCard { protected override int Slot => 1059; } public sealed class Card1060 : PackCard { protected override int Slot => 1060; } public sealed class Card1061 : PackCard { protected override int Slot => 1061; } public sealed class Card1062 : PackCard { protected override int Slot => 1062; } public sealed class Card1063 : PackCard { protected override int Slot => 1063; } public sealed class Card1064 : PackCard { protected override int Slot => 1064; } public sealed class Card1065 : PackCard { protected override int Slot => 1065; } public sealed class Card1066 : PackCard { protected override int Slot => 1066; } public sealed class Card1067 : PackCard { protected override int Slot => 1067; } public sealed class Card1068 : PackCard { protected override int Slot => 1068; } public sealed class Card1069 : PackCard { protected override int Slot => 1069; } public sealed class Card1070 : PackCard { protected override int Slot => 1070; } public sealed class Card1071 : PackCard { protected override int Slot => 1071; } public sealed class Card1072 : PackCard { protected override int Slot => 1072; } public sealed class Card1073 : PackCard { protected override int Slot => 1073; } public sealed class Card1074 : PackCard { protected override int Slot => 1074; } public sealed class Card1075 : PackCard { protected override int Slot => 1075; } public sealed class Card1076 : PackCard { protected override int Slot => 1076; } public sealed class Card1077 : PackCard { protected override int Slot => 1077; } public sealed class Card1078 : PackCard { protected override int Slot => 1078; } public sealed class Card1079 : PackCard { protected override int Slot => 1079; } public sealed class Card1080 : PackCard { protected override int Slot => 1080; } public sealed class Card1081 : PackCard { protected override int Slot => 1081; } public sealed class Card1082 : PackCard { protected override int Slot => 1082; } public sealed class Card1083 : PackCard { protected override int Slot => 1083; } public sealed class Card1084 : PackCard { protected override int Slot => 1084; } public sealed class Card1085 : PackCard { protected override int Slot => 1085; } public sealed class Card1086 : PackCard { protected override int Slot => 1086; } public sealed class Card1087 : PackCard { protected override int Slot => 1087; } public sealed class Card1088 : PackCard { protected override int Slot => 1088; } public sealed class Card1089 : PackCard { protected override int Slot => 1089; } public sealed class Card1090 : PackCard { protected override int Slot => 1090; } public sealed class Card1091 : PackCard { protected override int Slot => 1091; } public sealed class Card1092 : PackCard { protected override int Slot => 1092; } public sealed class Card1093 : PackCard { protected override int Slot => 1093; } public sealed class Card1094 : PackCard { protected override int Slot => 1094; } public sealed class Card1095 : PackCard { protected override int Slot => 1095; } public sealed class Card1096 : PackCard { protected override int Slot => 1096; } public sealed class Card1097 : PackCard { protected override int Slot => 1097; } public sealed class Card1098 : PackCard { protected override int Slot => 1098; } public sealed class Card1099 : PackCard { protected override int Slot => 1099; } public sealed class Card1100 : PackCard { protected override int Slot => 1100; } public sealed class Card1101 : PackCard { protected override int Slot => 1101; } public sealed class Card1102 : PackCard { protected override int Slot => 1102; } public sealed class Card1103 : PackCard { protected override int Slot => 1103; } public sealed class Card1104 : PackCard { protected override int Slot => 1104; } public sealed class Card1105 : PackCard { protected override int Slot => 1105; } public sealed class Card1106 : PackCard { protected override int Slot => 1106; } public sealed class Card1107 : PackCard { protected override int Slot => 1107; } public sealed class Card1108 : PackCard { protected override int Slot => 1108; } public sealed class Card1109 : PackCard { protected override int Slot => 1109; } public sealed class Card1110 : PackCard { protected override int Slot => 1110; } public sealed class Card1111 : PackCard { protected override int Slot => 1111; } public sealed class Card1112 : PackCard { protected override int Slot => 1112; } public sealed class Card1113 : PackCard { protected override int Slot => 1113; } public sealed class Card1114 : PackCard { protected override int Slot => 1114; } public sealed class Card1115 : PackCard { protected override int Slot => 1115; } public sealed class Card1116 : PackCard { protected override int Slot => 1116; } public sealed class Card1117 : PackCard { protected override int Slot => 1117; } public sealed class Card1118 : PackCard { protected override int Slot => 1118; } public sealed class Card1119 : PackCard { protected override int Slot => 1119; } public sealed class Card1120 : PackCard { protected override int Slot => 1120; } public sealed class Card1121 : PackCard { protected override int Slot => 1121; } public sealed class Card1122 : PackCard { protected override int Slot => 1122; } public sealed class Card1123 : PackCard { protected override int Slot => 1123; } public sealed class Card1124 : PackCard { protected override int Slot => 1124; } public sealed class Card1125 : PackCard { protected override int Slot => 1125; } public sealed class Card1126 : PackCard { protected override int Slot => 1126; } public sealed class Card1127 : PackCard { protected override int Slot => 1127; } public sealed class Card1128 : PackCard { protected override int Slot => 1128; } public sealed class Card1129 : PackCard { protected override int Slot => 1129; } public sealed class Card1130 : PackCard { protected override int Slot => 1130; } public sealed class Card1131 : PackCard { protected override int Slot => 1131; } public sealed class Card1132 : PackCard { protected override int Slot => 1132; } public sealed class Card1133 : PackCard { protected override int Slot => 1133; } public sealed class Card1134 : PackCard { protected override int Slot => 1134; } public sealed class Card1135 : PackCard { protected override int Slot => 1135; } public sealed class Card1136 : PackCard { protected override int Slot => 1136; } public sealed class Card1137 : PackCard { protected override int Slot => 1137; } public sealed class Card1138 : PackCard { protected override int Slot => 1138; } public sealed class Card1139 : PackCard { protected override int Slot => 1139; } public sealed class Card1140 : PackCard { protected override int Slot => 1140; } public sealed class Card1141 : PackCard { protected override int Slot => 1141; } public sealed class Card1142 : PackCard { protected override int Slot => 1142; } public sealed class Card1143 : PackCard { protected override int Slot => 1143; } public sealed class Card1144 : PackCard { protected override int Slot => 1144; } public sealed class Card1145 : PackCard { protected override int Slot => 1145; } public sealed class Card1146 : PackCard { protected override int Slot => 1146; } public sealed class Card1147 : PackCard { protected override int Slot => 1147; } public sealed class Card1148 : PackCard { protected override int Slot => 1148; } public sealed class Card1149 : PackCard { protected override int Slot => 1149; } public sealed class Card1150 : PackCard { protected override int Slot => 1150; } public sealed class Card1151 : PackCard { protected override int Slot => 1151; } public sealed class Card1152 : PackCard { protected override int Slot => 1152; } public sealed class Card1153 : PackCard { protected override int Slot => 1153; } public sealed class Card1154 : PackCard { protected override int Slot => 1154; } public sealed class Card1155 : PackCard { protected override int Slot => 1155; } public sealed class Card1156 : PackCard { protected override int Slot => 1156; } public sealed class Card1157 : PackCard { protected override int Slot => 1157; } public sealed class Card1158 : PackCard { protected override int Slot => 1158; } public sealed class Card1159 : PackCard { protected override int Slot => 1159; } public sealed class Card1160 : PackCard { protected override int Slot => 1160; } public sealed class Card1161 : PackCard { protected override int Slot => 1161; } public sealed class Card1162 : PackCard { protected override int Slot => 1162; } public sealed class Card1163 : PackCard { protected override int Slot => 1163; } public sealed class Card1164 : PackCard { protected override int Slot => 1164; } public sealed class Card1165 : PackCard { protected override int Slot => 1165; } public sealed class Card1166 : PackCard { protected override int Slot => 1166; } public sealed class Card1167 : PackCard { protected override int Slot => 1167; } public sealed class Card1168 : PackCard { protected override int Slot => 1168; } public sealed class Card1169 : PackCard { protected override int Slot => 1169; } public sealed class Card1170 : PackCard { protected override int Slot => 1170; } public sealed class Card1171 : PackCard { protected override int Slot => 1171; } public sealed class Card1172 : PackCard { protected override int Slot => 1172; } public sealed class Card1173 : PackCard { protected override int Slot => 1173; } public sealed class Card1174 : PackCard { protected override int Slot => 1174; } public sealed class Card1175 : PackCard { protected override int Slot => 1175; } public sealed class Card1176 : PackCard { protected override int Slot => 1176; } public sealed class Card1177 : PackCard { protected override int Slot => 1177; } public enum SplitPattern { Fan, Wide, Ring, Homing, Fractal, Stream } public enum ShardHit { Pop, Explode, Shock, Frost, Fire, Void } public sealed class BulletSplit : MonoBehaviour { public int Pattern; public int Effect; public int Count; public float Damage; public float Delay; private static readonly Dictionary Templates = new Dictionary(); private SpawnedAttack attack; private MoveTransform move; private float age; private float next; private bool done; internal static GameObject Template(SplitPattern p, ShardHit e, int count, float dmg, float delay) { //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Expected O, but got Unknown //IL_00bb: Unknown result type (might be due to invalid IL or missing references) if (BulletFx.Offline) { return null; } string text = "ARSNL_Split_" + p.ToString() + "_" + e.ToString() + "_" + count + "_" + dmg + "_" + delay; try { if (Templates.TryGetValue(text, out var value) && (Object)(object)value != (Object)null) { return value; } value = new GameObject(text); Object.DontDestroyOnLoad((Object)(object)value); value.transform.position = new Vector3(0f, -10000f, 0f); BulletSplit bulletSplit = value.AddComponent(); bulletSplit.Pattern = (int)p; bulletSplit.Effect = (int)e; bulletSplit.Count = count; bulletSplit.Damage = dmg; bulletSplit.Delay = delay; Templates[text] = value; return value; } catch { return null; } } internal static Color ColorOf(ShardHit e) { //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) return (Color)(e switch { ShardHit.Explode => Shapes.Fire, ShardHit.Shock => Shapes.Volt, ShardHit.Frost => Shapes.Ice, ShardHit.Fire => new Color(1f, 0.6f, 0.1f), ShardHit.Void => Shapes.Void, _ => Color.magenta, }); } private void Update() { //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_01b1: Unknown result type (might be due to invalid IL or missing references) //IL_01b6: Unknown result type (might be due to invalid IL or missing references) //IL_01c8: Unknown result type (might be due to invalid IL or missing references) //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01e7: Unknown result type (might be due to invalid IL or missing references) //IL_01f7: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_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_0120: Unknown result type (might be due to invalid IL or missing references) //IL_0125: Unknown result type (might be due to invalid IL or missing references) //IL_012a: Unknown result type (might be due to invalid IL or missing references) //IL_0153: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) //IL_015d: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_0236: Unknown result type (might be due to invalid IL or missing references) //IL_023b: Unknown result type (might be due to invalid IL or missing references) //IL_0240: Unknown result type (might be due to invalid IL or missing references) //IL_026c: Unknown result type (might be due to invalid IL or missing references) //IL_0271: Unknown result type (might be due to invalid IL or missing references) //IL_0276: Unknown result type (might be due to invalid IL or missing references) //IL_02a2: Unknown result type (might be due to invalid IL or missing references) //IL_02a7: Unknown result type (might be due to invalid IL or missing references) //IL_02ac: Unknown result type (might be due to invalid IL or missing references) //IL_02d5: Unknown result type (might be due to invalid IL or missing references) //IL_02da: Unknown result type (might be due to invalid IL or missing references) //IL_02df: Unknown result type (might be due to invalid IL or missing references) //IL_0308: Unknown result type (might be due to invalid IL or missing references) //IL_030d: Unknown result type (might be due to invalid IL or missing references) //IL_0312: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)((Component)this).transform.parent == (Object)null) { return; } if ((Object)(object)attack == (Object)null) { attack = ((Component)this).GetComponentInParent(); } if ((Object)(object)move == (Object)null) { move = ((Component)this).GetComponentInParent(); } Player val = (((Object)(object)attack != (Object)null) ? attack.spawner : null); if ((Object)(object)val == (Object)null || (Object)(object)move == (Object)null) { return; } age += Time.deltaTime; Vector2 val2 = Vector2.op_Implicit(move.velocity); Vector2 val3 = ((((Vector2)(ref val2)).sqrMagnitude > 0.01f) ? ((Vector2)(ref val2)).normalized : Vector2.right); float num = Mathf.Clamp(((Vector2)(ref val2)).magnitude, 14f, 40f); try { if (Pattern == 5) { if (!(age < Delay) && !(Time.time < next)) { next = Time.time + 0.16f; Vector2 val4 = Vector2.Perpendicular(val3); Do.Shards(val, Vector2.op_Implicit(((Component)this).transform.position), val4, 1, 0f, num * 0.8f, (ShardHit)Effect, Damage, homing: false, 0); Do.Shards(val, Vector2.op_Implicit(((Component)this).transform.position), -val4, 1, 0f, num * 0.8f, (ShardHit)Effect, Damage, homing: false, 0); } } else if (!done && !(age < Delay)) { done = true; Fx.Burst(Vector2.op_Implicit(((Component)this).transform.position), 10, 6f, ColorOf((ShardHit)Effect), 0.25f, 0.25f); Fx.Flash(Vector2.op_Implicit(((Component)this).transform.position), 1.4f, ColorOf((ShardHit)Effect), 0.15f); switch ((SplitPattern)Pattern) { case SplitPattern.Fan: Do.Shards(val, Vector2.op_Implicit(((Component)this).transform.position), val3, Count, 30f, num, (ShardHit)Effect, Damage, homing: false, 0); break; case SplitPattern.Wide: Do.Shards(val, Vector2.op_Implicit(((Component)this).transform.position), val3, Count, 90f, num, (ShardHit)Effect, Damage, homing: false, 0); break; case SplitPattern.Ring: Do.Shards(val, Vector2.op_Implicit(((Component)this).transform.position), val3, Count, 360f, num, (ShardHit)Effect, Damage, homing: false, 0); break; case SplitPattern.Homing: Do.Shards(val, Vector2.op_Implicit(((Component)this).transform.position), val3, Count, 70f, num, (ShardHit)Effect, Damage, homing: true, 0); break; case SplitPattern.Fractal: Do.Shards(val, Vector2.op_Implicit(((Component)this).transform.position), val3, Count, 40f, num, (ShardHit)Effect, Damage, homing: false, 1); break; } } } catch (Exception ex) { Debug.LogException(ex); done = true; } } } public enum Pet { Sprite, Hound, Imp, Fairy, Elemental, Wisp, Drone, Bat, Ghost, Orbiter, Angel } internal static class Tuning { public const float Damage = 2f; public const float ChanceBoost = 1.5f; public const float CooldownScale = 0.6f; public const float PeriodScale = 0.75f; public const float BlastSize = 1.25f; public static float Chance(float c) { return Mathf.Min(1f, c * 1.5f); } public static float Cooldown(float s) { return s * 0.6f; } public static float Period(float s) { return Mathf.Max(0.5f, s * 0.75f); } } public enum Trail { Fire, Frost, Toxic, Storm, Magnet, Mines, Imps } public sealed class BulletTrail : MonoBehaviour { public int Kind; public float A; private static readonly Dictionary Templates = new Dictionary(); private SpawnedAttack attack; private float next; private int drops; internal static GameObject Template(Trail kind, float a) { //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Expected O, but got Unknown //IL_006b: Unknown result type (might be due to invalid IL or missing references) if (BulletFx.Offline) { return null; } string text = "ARSNL_Trail_" + kind.ToString() + "_" + a; try { if (Templates.TryGetValue(text, out var value) && (Object)(object)value != (Object)null) { return value; } value = new GameObject(text); Object.DontDestroyOnLoad((Object)(object)value); value.transform.position = new Vector3(0f, -10000f, 0f); BulletTrail bulletTrail = value.AddComponent(); bulletTrail.Kind = (int)kind; bulletTrail.A = a; Templates[text] = value; return value; } catch { return null; } } private void Update() { //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00eb: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_014d: Unknown result type (might be due to invalid IL or missing references) //IL_0163: 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) //IL_025e: Unknown result type (might be due to invalid IL or missing references) //IL_0264: Unknown result type (might be due to invalid IL or missing references) //IL_027a: Unknown result type (might be due to invalid IL or missing references) //IL_0319: Unknown result type (might be due to invalid IL or missing references) //IL_0355: Unknown result type (might be due to invalid IL or missing references) //IL_01bc: Unknown result type (might be due to invalid IL or missing references) //IL_01c1: Unknown result type (might be due to invalid IL or missing references) //IL_01c6: Unknown result type (might be due to invalid IL or missing references) //IL_0299: Unknown result type (might be due to invalid IL or missing references) //IL_02a1: Unknown result type (might be due to invalid IL or missing references) //IL_02a6: Unknown result type (might be due to invalid IL or missing references) //IL_02ab: Unknown result type (might be due to invalid IL or missing references) //IL_02b0: Unknown result type (might be due to invalid IL or missing references) //IL_02b4: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_02c9: Unknown result type (might be due to invalid IL or missing references) //IL_0202: Unknown result type (might be due to invalid IL or missing references) //IL_020a: Unknown result type (might be due to invalid IL or missing references) //IL_020f: Unknown result type (might be due to invalid IL or missing references) //IL_0214: Unknown result type (might be due to invalid IL or missing references) //IL_023c: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)((Component)this).transform.parent == (Object)null) { return; } if ((Object)(object)attack == (Object)null) { attack = ((Component)this).GetComponentInParent(); next = Time.time + 0.08f; } Player val = (((Object)(object)attack != (Object)null) ? attack.spawner : null); if ((Object)(object)val == (Object)null || Time.time < next) { return; } Vector2 val2 = Vector2.op_Implicit(((Component)this).transform.position); bool isMine = val.data.view.IsMine; try { switch ((Trail)Kind) { case Trail.Fire: next = Time.time + 0.2f; Quiet(Do.FieldAt(val, val2, 1.4f, 1.6f, A, 0f, Shapes.Fire)); break; case Trail.Frost: next = Time.time + 0.22f; Quiet(Do.FieldAt(val, val2, 1.4f, 1.8f, 0f, A, Shapes.Ice)); break; case Trail.Toxic: next = Time.time + 0.22f; Quiet(Do.FieldAt(val, val2, 1.5f, 2.2f, A, 0.15f, Shapes.Toxic)); break; case Trail.Storm: { next = Time.time + 0.25f; Player val4 = null; float num = 5.5f; foreach (Player item in Do.FoesNear(val.teamID, val2, 5.5f)) { float num2 = Vector2.Distance(Vector2.op_Implicit(((Component)item).transform.position), val2); if (num2 < num) { num = num2; val4 = item; } } if (!((Object)(object)val4 == (Object)null)) { Bolt.Spawn(val2, Vector2.op_Implicit(((Component)val4).transform.position), Shapes.Volt, 0.12f, 0.6f, 0.15f); if (isMine) { Do.Hurt(val4, A, val, val2); } } break; } case Trail.Magnet: next = Time.time + 0.2f; Fx.Ambient(Fx.Family.Void, val2, 4f, Shapes.Void); if (!isMine) { break; } { foreach (Player item2 in Do.FoesNear(val.teamID, val2, 5f)) { Vector2 val3 = val2 - Vector2.op_Implicit(((Component)item2).transform.position); Do.Shove(item2, ((Vector2)(ref val3)).normalized * A * 0.25f); } break; } case Trail.Mines: next = Time.time + 0.35f; if (drops++ < 3) { Do.Detonate(Bomb.Mine, val, val2, A, 4f); } break; case Trail.Imps: next = Time.time + 0.45f; if (drops++ < 2) { Do.SpawnImp(val, val2, A); } break; } } catch (Exception ex) { Debug.LogException(ex); next = Time.time + 1f; } } private static void Quiet(Zone z) { if (!((Object)(object)z == (Object)null)) { z.ShowRing = false; if ((Object)(object)z.Glow != (Object)null) { z.Glow.Rate = 6f; z.Glow.GlowAlpha = 0.3f; } } } }