mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Disable TokenCard flag on drafted cards by default.
This commit is contained in:
@@ -57,6 +57,7 @@ import java.util.*;
|
|||||||
// Cardnames that include "," must use ";" instead in Spellbook$ (i.e. Tovolar; Dire Overlord)
|
// Cardnames that include "," must use ";" instead in Spellbook$ (i.e. Tovolar; Dire Overlord)
|
||||||
name = name.replace(";", ",");
|
name = name.replace(";", ",");
|
||||||
Card cardOption = Card.fromPaperCard(StaticData.instance().getCommonCards().getUniqueByName(name), player);
|
Card cardOption = Card.fromPaperCard(StaticData.instance().getCommonCards().getUniqueByName(name), player);
|
||||||
|
if (sa.hasParam("TokenCard"))
|
||||||
cardOption.setTokenCard(true);
|
cardOption.setTokenCard(true);
|
||||||
draftOptions.add(cardOption);
|
draftOptions.add(cardOption);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user