mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Fix C21 Construct token images
This commit is contained in:
parent
54181da9db
commit
852c82aa18
2 changed files with 4 additions and 3 deletions
|
|
@ -8,7 +8,6 @@ import mage.constants.CardType;
|
||||||
import mage.constants.Duration;
|
import mage.constants.Duration;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
import mage.util.RandomUtil;
|
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
|
@ -46,7 +45,7 @@ public final class KarnConstructToken extends TokenImpl {
|
||||||
super.setExpansionSetCodeForImage(code);
|
super.setExpansionSetCodeForImage(code);
|
||||||
|
|
||||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C21")) {
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C21")) {
|
||||||
setTokenType(RandomUtil.nextInt(2) + 1); // from 1 to 2
|
setTokenType(2);
|
||||||
}
|
}
|
||||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MED")) {
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MED")) {
|
||||||
setTokenType(1);
|
setTokenType(1);
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ package mage.game.permanent.token;
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
import mage.util.RandomUtil;
|
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
|
@ -42,5 +41,8 @@ public final class MetallurgicSummoningsConstructToken extends TokenImpl {
|
||||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("KLD")) {
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("KLD")) {
|
||||||
setTokenType(2);
|
setTokenType(2);
|
||||||
}
|
}
|
||||||
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C21")) {
|
||||||
|
setTokenType(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue