MakeCardEffect - allow made cards to be tokens

This commit is contained in:
Northmoc
2022-01-10 00:18:32 -05:00
parent 20ae37ad78
commit 2afa7ce661

View File

@@ -37,6 +37,9 @@ public class MakeCardEffect extends SpellAbilityEffect {
if (!name.equals("")) {
while (amount > 0) {
Card card = Card.fromPaperCard(StaticData.instance().getCommonCards().getUniqueByName(name), player);
if (sa.hasParam("IsToken")) {
card.setToken(true);
}
if (!sa.hasParam("NotToken")) {
card.setTokenCard(true);
}