Fix C21 Construct token images

This commit is contained in:
PurpleCrowbar 2023-01-18 02:21:01 +00:00
parent 54181da9db
commit 852c82aa18
2 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,6 @@ import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.util.RandomUtil;
import java.util.Arrays;
@ -46,7 +45,7 @@ public final class KarnConstructToken extends TokenImpl {
super.setExpansionSetCodeForImage(code);
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C21")) {
setTokenType(RandomUtil.nextInt(2) + 1); // from 1 to 2
setTokenType(2);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MED")) {
setTokenType(1);

View file

@ -3,7 +3,6 @@ package mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.util.RandomUtil;
import java.util.Arrays;
@ -42,5 +41,8 @@ public final class MetallurgicSummoningsConstructToken extends TokenImpl {
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("KLD")) {
setTokenType(2);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C21")) {
setTokenType(1);
}
}
}