diff --git a/Chrono/Web/Pages/Cards.razor b/Chrono/Web/Pages/Cards.razor index 6f7d000..a1f2e52 100644 --- a/Chrono/Web/Pages/Cards.razor +++ b/Chrono/Web/Pages/Cards.razor @@ -19,9 +19,6 @@ -
@if (HasActiveFilters) @@ -386,27 +379,4 @@ factionFilter = ""; costFilter = ""; } - - private void GenerateRandomDeck() - { - var random = new Random(); - var pool = allCards.Where(c => !c.IsToken && !string.IsNullOrEmpty(c.Faction)).ToList(); - if (pool.Count < 40) return; - - var selectedFaction = factions[random.Next(factions.Count)]; - var factionPool = pool.Where(c => c.Faction == selectedFaction || c.Faction == "Neutral").ToList(); - - // Simple logic: pick 40 cards - var deckCards = factionPool.OrderBy(x => random.Next()).Take(40).Select(c => c.Name).ToList(); - - // For now, let's just log it or we could navigate to a "Create Deck" page if it existed. - // Since we don't have a create deck page in the context, let's just show a notification or similar. - // Actually, I'll just clear filters and search for these cards to "show" them. - search = string.Join(" | ", deckCards.Take(3)); // Just show a few to demonstrate - categoryFilter = ""; - factionFilter = selectedFaction; - - // In a real app, this would save to a new DeckData object. - } - } diff --git a/Chrono/Web/Pages/Decks.razor b/Chrono/Web/Pages/Decks.razor index 1eabdd0..c17381e 100644 --- a/Chrono/Web/Pages/Decks.razor +++ b/Chrono/Web/Pages/Decks.razor @@ -6,6 +6,7 @@@decks.Count deck@(decks.Count != 1 ? "s" : "")
+Please note these are my crafted decks. They are probably not optimal or good. See Runeterra.ar and check out the decks from recognizable names there. This is not an ad, just common sense.