Enabling Decks to have multiple Tier 1 ArchSpirits
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user