mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
MakeCardEffect - allow made cards to be tokens
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user