Enabling Decks to have multiple Tier 1 ArchSpirits

This commit is contained in:
dingo
2026-03-20 10:13:55 -04:00
parent 7d572ae55c
commit 2e3a5e4569
2 changed files with 8 additions and 8 deletions
@@ -68,10 +68,10 @@ internal sealed class CollectionAddCardHandler : CollectionHandlerBase, IMessage
if (cardMeta == null)
return ServerMessage.Error(message.Seq, "CARD_NOT_FOUND", "Card definition not found.");
if (cardMeta.CardType == CardType.ArchSpirit && (cardMeta.Tier ?? 1) == 1)
return ServerMessage.Error(message.Seq, "ARCH_SPIRIT_NOT_ALLOWED",
"Tier 1 ArchSpirits are your deck commander — set them at the deck level. " +
"Add a higher-tier version to the card list if you want to ascend during a match.");
// if (cardMeta.CardType == CardType.ArchSpirit && (cardMeta.Tier ?? 1) == 1)
// return ServerMessage.Error(message.Seq, "ARCH_SPIRIT_NOT_ALLOWED",
// "Tier 1 ArchSpirits are your deck commander — set them at the deck level. " +
// "Add a higher-tier version to the card list if you want to ascend during a match.");
// ── Copy-count checks ──────────────────────────────────────────────────
var existingEntry = deck.Cards.FirstOrDefault(c => c.CardDefinitionId == req.CardDefinitionId);