Update ExpansionSet.java

This commit is contained in:
Chatziargyriou Eleftheria 2018-06-22 19:22:57 +03:00 committed by GitHub
parent a1a7b1c59b
commit f980224239
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,7 +183,7 @@ public abstract class ExpansionSet implements Serializable {
if (ability instanceof PartnerWithAbility) {
//Check if the pack already contains a partner pair
if (partnerAllowed){
//Added card always replaces a common card
//Added card always replaces an uncommon card
Card card = CardRepository.instance.findCard(((PartnerWithAbility) ability).getPartnerName()).getCard();
if (i<max){
booster.add(card);