Updating deck and adding deck code
This commit is contained in:
@@ -142,6 +142,7 @@ foreach (var file in deckFiles)
|
||||
|
||||
var name = Path.GetFileNameWithoutExtension(file);
|
||||
var isVisible = yaml.GetValueOrDefault("isVisible") == "true";
|
||||
var deckCode = yaml.GetValueOrDefault("deckCode");
|
||||
|
||||
var deck = new DeckData
|
||||
{
|
||||
@@ -152,7 +153,8 @@ foreach (var file in deckFiles)
|
||||
Description = StripWikiLinks(NullIfNa(yaml.GetValueOrDefault("description")))?.Replace("\r\n", "\n")
|
||||
.Replace("\r", "\n").Replace("\n\n", "\n").Replace("\n\n", "\n"),
|
||||
Factions = ParseList(yaml, "factions").Select(s => StripWikiLink(s) ?? "").Where(s => s != "").ToList(),
|
||||
IsVisible = isVisible
|
||||
IsVisible = isVisible,
|
||||
DeckCode = deckCode
|
||||
};
|
||||
|
||||
decks.Add(deck);
|
||||
@@ -186,6 +188,7 @@ for (var i = 0; i < decks.Count; i++)
|
||||
WriteStrProp(deckWriter, "Description", d.Description, 3);
|
||||
WriteListProp(deckWriter, "Factions", d.Factions, 3);
|
||||
deckWriter.WriteLine($" IsVisible = {(d.IsVisible ? "true" : "false")},");
|
||||
WriteStrProp(deckWriter, "DeckCode", d.DeckCode, 3);
|
||||
var comma = i < decks.Count - 1 ? "," : "";
|
||||
deckWriter.WriteLine($" }}{comma}");
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ public class CardData
|
||||
public string? ImmortalizeFrom { get; init; }
|
||||
public string? ImmortalizeWhen { get; init; }
|
||||
public string? ImageFile { get; init; }
|
||||
|
||||
|
||||
public bool IsAgent => Category == "Agent";
|
||||
public bool IsSpell => Category == "Spell";
|
||||
public bool IsToken => Category == "Token";
|
||||
|
||||
@@ -7,6 +7,9 @@ public class DeckData
|
||||
public List<string> Keycards { get; init; } = [];
|
||||
public List<string> Divers { get; init; } = [];
|
||||
public string? Description { get; init; }
|
||||
|
||||
public string? DeckCode { get; init; }
|
||||
|
||||
public List<string> Factions { get; init; } = [];
|
||||
public bool IsVisible { get; init; }
|
||||
|
||||
|
||||
@@ -7,6 +7,20 @@ public static class CardDatabase
|
||||
{
|
||||
public static readonly System.Collections.Generic.List<CardData> Cards =
|
||||
[
|
||||
new()
|
||||
{
|
||||
Name = "Disarm",
|
||||
Category = "Debuff",
|
||||
Archetypes = [
|
||||
],
|
||||
},
|
||||
new()
|
||||
{
|
||||
Name = "Mute",
|
||||
Category = "Debuff",
|
||||
Archetypes = [
|
||||
],
|
||||
},
|
||||
new()
|
||||
{
|
||||
Name = "Lifeblood",
|
||||
|
||||
@@ -23,17 +23,8 @@ public static class DeckDatabase
|
||||
"Suncursed Conduit",
|
||||
"Suncursed Conduit",
|
||||
"Suncursed Conduit",
|
||||
"Swashbuckling Diehard",
|
||||
"Swashbuckling Diehard",
|
||||
"Swashbuckling Diehard",
|
||||
"Debris Collector",
|
||||
"Debris Collector",
|
||||
"Debris Collector",
|
||||
"Paradox Capacitor",
|
||||
"Paradox Capacitor",
|
||||
"Starfueled Medics",
|
||||
"Starfueled Medics",
|
||||
"Starfueled Medics",
|
||||
"Lumbering Starseeker",
|
||||
"Lumbering Starseeker",
|
||||
"Novathermal Mining",
|
||||
@@ -51,23 +42,33 @@ public static class DeckDatabase
|
||||
"Devourer Spawn",
|
||||
"Devourer Spawn",
|
||||
"Army of the Sun",
|
||||
"Curb the Anomalies",
|
||||
"Curb the Anomalies",
|
||||
"Curb the Anomalies",
|
||||
"Bearer of the Broth",
|
||||
"Bearer of the Broth",
|
||||
"Bearer of the Broth",
|
||||
"Blessed Soup",
|
||||
"Blessed Soup",
|
||||
"Blessed Soup",
|
||||
],
|
||||
Keycards = [
|
||||
"Kinetic Absorber",
|
||||
"Hidden Locus",
|
||||
"Debris Collector",
|
||||
"Lumbering Starseeker",
|
||||
"Lightsteel Colossus",
|
||||
"Curb the Anomalies",
|
||||
],
|
||||
Divers = [
|
||||
"Peaceful Synthesizer",
|
||||
"Limit Breaker",
|
||||
"Nonlethal Special Forces",
|
||||
],
|
||||
Description = "The idea of this deck is to go heavy on stat-efficient cards. Like 2 for a 2/3 Kinetic Absorber, 5/6 Lumbering Starseeker, and 8 for a 9/14 Lightsteel Colossus. Debris Collector is also quite powerful and will Immortalize into a Living Comet 10/10 with Overpower pretty reliably, but it's also your only stat Mute target, so it might be a bit trash if that's popular in the meta.\nYou got Devourer Spawn to help push for lethal. It's going to have a bunch of keywords on it, given how popular timelines are in the meta.\nYou need to Overflow your mana once in a while, or some of your Supernova removal will be useless. Be pass heavy.\nYou're going to win on very low health if you win. Such is life.\nNo card draw, so Army of the Sun is your hope if things go long. At the worst, it's a spell that summons a big unit right away if it goes off.\nStarfueled Medics and Swashbuckling Diehard are just there to take up space and be mid-range drops. And technically, they can be win conditions, I suppose.\nAttack aggressively with Brilliant Martyr. You really want Star Siphon to ramp.\nAs divers, Peaceful Synthesizer is a 1 drop that will quickly turn into a 3/3. Can't get more stat efficient than that. And Limit Breaker is an early-game growing threat that will demand an answer from the enemy.",
|
||||
Description = "The idea of this deck is to go heavy on stat-efficient cards. Like 2 for a 2/3 Kinetic Absorber, 5/6 Lumbering Starseeker, and 8 for a 9/14 Lightsteel Colossus.\nYou got Devourer Spawn to help push for lethal. It's going to have a bunch of keywords on it, given how popular timelines are in the meta.\nYou need to Overflow your mana once in a while, or some of your Supernova removal will be useless. Be pass heavy.\nYou're going to win on very low health if you win. Such is life.\nNo strong card draw, so Army of the Sun is your hope if things go long. At the worst, it's a spell that summons a big unit right away if it goes off.\nAttack aggressively with Brilliant Martyr. You really want Star Siphon to ramp.\nAs divers, Peaceful Synthesizer is a 1 drop that will quickly turn into a 3/3. Can't get more stat efficient than that. Nonlethal Special Forces is to enable Phasetide for AOE Mute cards given we don't care about stat buffs. Also as it stands, it always seems to punch a above it's weight on the board given the Disarm effect.\nSo ya, Curb the Anomalies can weaken the enemy board, by shutting off all there better stats, activates, and synergies. Hopefully destroy the entire enemy board in combat.\nAnd I suppose Bearer of the Broth. Since the deck has so much raw stats, you will probably find somewhere to heal. Like healing Kinetic Absorber so it can keep killing after it Immortalizes.",
|
||||
Factions = [
|
||||
"Sungrace",
|
||||
"Phasetide",
|
||||
],
|
||||
IsVisible = true,
|
||||
DeckCode = "AUHUE2LHEBCW4ZLSM54SAQ3POB4QWY3PNZZXI4TVMN2GKZBTAADACASPCICESCQCAUFDCAYGAMCAGAQDDYBQCAYBAOTQCAYQAMDQG",
|
||||
},
|
||||
new()
|
||||
{
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
<button class="tab @(categoryFilter == "" ? "active" : "")" @onclick='@(() => SetCategory(""))'>
|
||||
<i class="bi bi-grid-3x3-gap-fill"></i> All
|
||||
</button>
|
||||
<button class="tab agent @(categoryFilter == "Immortalized" ? "active" : "")" @onclick='@(() => SetCategory("IsImmortalized"))'>
|
||||
<i class="bi bi-person-fill"></i> Agents
|
||||
</button>
|
||||
<button class="tab agent @(categoryFilter == "Agent" ? "active" : "")" @onclick='@(() => SetCategory("Agent"))'>
|
||||
<i class="bi bi-person-fill"></i> Agents
|
||||
</button>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<article class="deck-article">
|
||||
<header class="deck-header">
|
||||
<h1>@deck.Name</h1>
|
||||
<b>Deck Code:</b> <pre>@deck.DeckCode</pre>
|
||||
@if (deck.Factions.Count > 0)
|
||||
{
|
||||
<div class="deck-factions">
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"id": "frontmatter-markdown-links",
|
||||
"name": "Frontmatter Markdown Links",
|
||||
"version": "2.6.34",
|
||||
"description": "Adds support for markdown links in frontmatter.",
|
||||
"author": "mnaoumov",
|
||||
"authorUrl": "https://github.com/mnaoumov/",
|
||||
"isDesktopOnly": false,
|
||||
"minAppVersion": "1.12.7",
|
||||
"fundingUrl": "https://www.buymeacoffee.com/mnaoumov"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
.frontmatter-markdown-links.text-property-widget-component.metadata-property-value{gap:0}.frontmatter-markdown-links.text-property-widget-component.metadata-property-value>.metadata-property-value{--metadata-divider-width: 0}.frontmatter-markdown-links.text-property-widget-component.metadata-property-value>.metadata-property-value>.metadata-property-value:not(:first-of-type) .metadata-link,.frontmatter-markdown-links.text-property-widget-component.metadata-property-value>.metadata-property-value>.metadata-property-value:not(:first-of-type) .metadata-input-longtext{padding-left:0}.frontmatter-markdown-links.text-property-widget-component.metadata-property-value>.metadata-property-value>.metadata-property-value:not(:last-of-type) .metadata-link,.frontmatter-markdown-links.text-property-widget-component.metadata-property-value>.metadata-property-value>.metadata-property-value:not(:last-of-type) .metadata-input-longtext{padding-right:0}.frontmatter-markdown-links.text-property-widget-component.metadata-property-value .metadata-link-flair{display:none}.frontmatter-markdown-links .metadata-property-value,.frontmatter-markdown-links.multi-text-property-component{display:flex;flex:none;gap:0;white-space:pre}.bases-table-container:not(.mod-multiline) .frontmatter-markdown-links .metadata-input-longtext:not(:focus-within){white-space-collapse:preserve}
|
||||
Vendored
+9
-68
@@ -13,12 +13,12 @@
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Deadly Fauna.md",
|
||||
"file": "Decks/Big Energy.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Deadly Fauna"
|
||||
"title": "Big Energy"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -62,65 +62,6 @@
|
||||
"icon": "lucide-file",
|
||||
"title": "Singularity"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "8ee0871c924703d3",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Spells/Lifeblood/Affront to Nature.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Affront to Nature"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "277c05a1fb7da690",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Spells/Singularity/Aggressive Recycling.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Aggressive Recycling"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "f2231e7ad9851807",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Agents/Sungrace/Brilliant Martyr.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Brilliant Martyr"
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 6
|
||||
},
|
||||
{
|
||||
"id": "ee75c69c63d8f248",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "c90153d5f925b0d5",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "empty",
|
||||
"state": {},
|
||||
"icon": "lucide-file",
|
||||
"title": "New tab"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -284,9 +225,15 @@
|
||||
"bases:Create new base": false
|
||||
}
|
||||
},
|
||||
"active": "f2231e7ad9851807",
|
||||
"active": "d6fd830908a482d3",
|
||||
"lastOpenFiles": [
|
||||
"Decks/Big Energy.md",
|
||||
"Disarm.md",
|
||||
"Factions/Singularity.md",
|
||||
"Spells/Lifeblood/Affront to Nature.md",
|
||||
"Spells/Singularity/Aggressive Recycling.md",
|
||||
"Mute.md",
|
||||
"Agents/Sungrace/Brilliant Martyr.md",
|
||||
"Decks/Sub/Big Energy.md",
|
||||
"Decks/Sub",
|
||||
"Redirects/Agents.md",
|
||||
@@ -300,10 +247,8 @@
|
||||
"Rules",
|
||||
"Speed/Fast.md",
|
||||
"Speed/Immediate.md",
|
||||
"Spells/Singularity/Aggressive Recycling.md",
|
||||
"Speed/Slow.md",
|
||||
"Speed",
|
||||
"Spells/Lifeblood/Affront to Nature.md",
|
||||
"Tokens/Pocket Scout.md",
|
||||
"Tokens/Seedling.png",
|
||||
"Tokens/Pocket Scout.png",
|
||||
@@ -318,12 +263,8 @@
|
||||
"Rules/Cores.md",
|
||||
"Factions/Sungrace.md",
|
||||
"Factions/Phasetide.md",
|
||||
"Factions/Singularity.md",
|
||||
"Factions/Splintergleam.md",
|
||||
"Untitled.md",
|
||||
"Tokens/Seedling.md",
|
||||
"Factions/Lifeblood.md",
|
||||
"Timelines/Silence/Voiceless Sky.md",
|
||||
"Khaelar.png",
|
||||
"Agents Immortalized/Singularity/Zorp, Unrecyclable.png",
|
||||
"Agents Immortalized/Singularity/Ziv, the Adaptable.png",
|
||||
|
||||
@@ -13,17 +13,8 @@ cards:
|
||||
- "[[Suncursed Conduit]]"
|
||||
- "[[Suncursed Conduit]]"
|
||||
- "[[Suncursed Conduit]]"
|
||||
- "[[Swashbuckling Diehard]]"
|
||||
- "[[Swashbuckling Diehard]]"
|
||||
- "[[Swashbuckling Diehard]]"
|
||||
- "[[Debris Collector]]"
|
||||
- "[[Debris Collector]]"
|
||||
- "[[Debris Collector]]"
|
||||
- "[[Paradox Capacitor]]"
|
||||
- "[[Paradox Capacitor]]"
|
||||
- "[[Starfueled Medics]]"
|
||||
- "[[Starfueled Medics]]"
|
||||
- "[[Starfueled Medics]]"
|
||||
- "[[Lumbering Starseeker]]"
|
||||
- "[[Lumbering Starseeker]]"
|
||||
- "[[Novathermal Mining]]"
|
||||
@@ -41,45 +32,62 @@ cards:
|
||||
- "[[Devourer Spawn]]"
|
||||
- "[[Devourer Spawn]]"
|
||||
- "[[Army of the Sun]]"
|
||||
- "[[Curb the Anomalies]]"
|
||||
- "[[Curb the Anomalies]]"
|
||||
- "[[Curb the Anomalies]]"
|
||||
- "[[Bearer of the Broth]]"
|
||||
- "[[Bearer of the Broth]]"
|
||||
- "[[Bearer of the Broth]]"
|
||||
- "[[Blessed Soup]]"
|
||||
- "[[Blessed Soup]]"
|
||||
- "[[Blessed Soup]]"
|
||||
divers:
|
||||
- "[[Peaceful Synthesizer]]"
|
||||
- "[[Limit Breaker]]"
|
||||
- "[[Nonlethal Special Forces]]"
|
||||
isVisible: true
|
||||
keycards:
|
||||
- "[[Kinetic Absorber]]"
|
||||
- "[[Hidden Locus]]"
|
||||
- "[[Debris Collector]]"
|
||||
- "[[Lumbering Starseeker]]"
|
||||
- "[[Lightsteel Colossus]]"
|
||||
description: "The idea of this deck is to go heavy on stat-efficient cards. Like 2 for a 2/3 [[Kinetic Absorber]], 5/6 [[Lumbering Starseeker]], and 8 for a 9/14 [[Lightsteel Colossus]]. [[Debris Collector]] is also quite powerful and will Immortalize into a [[Living Comet]] 10/10 with [[Overpower]] pretty reliably, but it's also your only stat [[Mute]] target, so it might be a bit trash if that's popular in the meta.\r
|
||||
- "[[Curb the Anomalies]]"
|
||||
description: |-
|
||||
The idea of this deck is to go heavy on stat-efficient cards. Like 2 for a 2/3 [[Kinetic Absorber]], 5/6 [[Lumbering Starseeker]], and 8 for a 9/14 [[Lightsteel Colossus]].
|
||||
|
||||
\r
|
||||
You got [[Devourer Spawn]] to help push for lethal. It's going to have a bunch of keywords on it, given how popular timelines are in the meta.
|
||||
|
||||
You got [[Devourer Spawn]] to help push for lethal. It's going to have a bunch of keywords on it, given how popular timelines are in the meta.\r
|
||||
You need to Overflow your mana once in a while, or some of your [[Supernova]] removal will be useless. Be pass heavy.
|
||||
|
||||
\r
|
||||
You're going to win on very low health if you win. Such is life.
|
||||
|
||||
You need to Overflow your mana once in a while, or some of your [[Supernova]] removal will be useless. Be pass heavy.\r
|
||||
No strong card draw, so [[Army of the Sun]] is your hope if things go long. At the worst, it's a spell that summons a big unit right away if it goes off.
|
||||
|
||||
\r
|
||||
Attack aggressively with [[Brilliant Martyr]]. You really want [[Star Siphon]] to ramp.
|
||||
|
||||
You're going to win on very low health if you win. Such is life.\r
|
||||
As divers, [[Peaceful Synthesizer]] is a 1 drop that will quickly turn into a 3/3. Can't get more stat efficient than that. [[Nonlethal Special Forces]] is to enable [[Phasetide]] for AOE [[Mute]] cards given we don't care about stat buffs. Also as it stands, it always seems to punch a above it's weight on the board given the [[Disarm]] effect.
|
||||
|
||||
\r
|
||||
So ya, [[Curb the Anomalies]] can weaken the enemy board, by shutting off all there better stats, activates, and synergies. Hopefully destroy the entire enemy board in combat.
|
||||
|
||||
No card draw, so [[Army of the Sun]] is your hope if things go long. At the worst, it's a spell that summons a big unit right away if it goes off.\r
|
||||
|
||||
\r
|
||||
|
||||
[[Starfueled Medics]] and [[Swashbuckling Diehard]] are just there to take up space and be mid-range drops. And technically, they can be win conditions, I suppose.\r
|
||||
|
||||
\r
|
||||
|
||||
Attack aggressively with [[Brilliant Martyr]]. You really want [[Star Siphon]] to ramp.\r
|
||||
|
||||
\r
|
||||
|
||||
As divers, [[Peaceful Synthesizer]] is a 1 drop that will quickly turn into a 3/3. Can't get more stat efficient than that. And [[Limit Breaker]] is an early-game growing threat that will demand an answer from the enemy."
|
||||
And I suppose [[Bearer of the Broth]]. Since the deck has so much raw stats, you will probably find somewhere to heal. Like healing [[Kinetic Absorber]] so it can keep killing after it Immortalizes.
|
||||
factions:
|
||||
- "[[Sungrace]]"
|
||||
- "[[Phasetide]]"
|
||||
deckCode: AUHUE2LHEBCW4ZLSM54SAQ3POB4QWY3PNZZXI4TVMN2GKZBTAADACASPCICESCQCAUFDCAYGAMCAGAQDDYBQCAYBAOTQCAYQAMDQG
|
||||
---
|
||||
The idea of this deck is to go heavy on stat-efficient cards. Like 2 for a 2/3 [[Kinetic Absorber]], 5/6 [[Lumbering Starseeker]], and 8 for a 9/14 [[Lightsteel Colossus]].
|
||||
|
||||
You got [[Devourer Spawn]] to help push for lethal. It's going to have a bunch of keywords on it, given how popular timelines are in the meta.
|
||||
|
||||
You need to Overflow your mana once in a while, or some of your [[Supernova]] removal will be useless. Be pass heavy.
|
||||
|
||||
You're going to win on very low health if you win. Such is life.
|
||||
|
||||
No strong card draw, so [[Army of the Sun]] is your hope if things go long. At the worst, it's a spell that summons a big unit right away if it goes off.
|
||||
|
||||
Attack aggressively with [[Brilliant Martyr]]. You really want [[Star Siphon]] to ramp.
|
||||
|
||||
As divers, [[Peaceful Synthesizer]] is a 1 drop that will quickly turn into a 3/3. Can't get more stat efficient than that. [[Nonlethal Special Forces]] is to enable [[Phasetide]] for AOE [[Mute]] cards given we don't care about stat buffs. Also as it stands, it always seems to punch a above it's weight on the board given the [[Disarm]] effect.
|
||||
|
||||
So ya, [[Curb the Anomalies]] can weaken the enemy board, by shutting off all there better stats, activates, and synergies. Hopefully destroy the entire enemy board in combat.
|
||||
|
||||
And I suppose [[Bearer of the Broth]]. Since the deck has so much raw stats, you will probably find somewhere to heal. Like healing [[Kinetic Absorber]] so it can keep killing after it Immortalizes.
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: Debuff
|
||||
---
|
||||
Reduce attack to zero.
|
||||
@@ -0,0 +1,3 @@
|
||||
---
|
||||
category: Debuff
|
||||
---
|
||||
Reference in New Issue
Block a user