mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00: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.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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue