CardFactory: fixed makeToken and Keywords

This commit is contained in:
Hanmac
2017-07-04 15:20:07 +00:00
parent 1cd9a10337
commit ee0845ab3c

View File

@@ -804,7 +804,6 @@ public class CardFactory {
public static List<Card> makeToken(final TokenInfo tokenInfo, final Player controller, final boolean applyMultiplier) {
final List<Card> list = Lists.newArrayList();
final Game game = controller.getGame();
final Card c = tokenInfo.toCard(game);
int multiplier = 1;
@@ -826,7 +825,7 @@ public class CardFactory {
}
for (int i = 0; i < multiplier; i++) {
Card temp = i == 0 ? c : copyStats(c, controller, true);
Card temp = tokenInfo.toCard(game);
for (final String kw : tokenInfo.intrinsicKeywords) {
temp.addIntrinsicKeyword(kw);