Fix custom cards having wrong special cost in-game

This commit is contained in:
Andrio Celos 2024-02-08 17:22:55 +11:00
parent ba96b6b6f6
commit 7f7563952f

View File

@ -478,7 +478,7 @@ internal partial class Program {
}
} else {
// TODO: Consolidate identical custom cards brought by different players.
var card = v.ToCard(RECEIVED_CUSTOM_CARD_START - (game.customCards.Count + customCardsToAdd.Count), k, hasSpecialSpace && size >= 8 ? 3 : null);
var card = v.ToCard(RECEIVED_CUSTOM_CARD_START - (game.customCards.Count + customCardsToAdd.Count), k, !hasSpecialSpace && size >= 8 ? 3 : null);
customCardsToAdd.Add(new(k, card));
}
}