mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
EMA zombie token image fix
This commit is contained in:
parent
0cac2f6d21
commit
3357fb84bb
2 changed files with 10 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ public final class ZombieToken extends TokenImpl {
|
|||
this.setTokenType(1);
|
||||
}
|
||||
if (getOriginalExpansionSetCode().equals("EMN")) {
|
||||
this.setTokenType(RandomUtil.nextInt(4) + 1);
|
||||
this.setTokenType(RandomUtil.nextInt(3) + 1);
|
||||
}
|
||||
if (getOriginalExpansionSetCode().equals("C19")) {
|
||||
this.setTokenType(RandomUtil.nextInt(2) + 1);
|
||||
|
|
|
|||
|
|
@ -25,6 +25,15 @@ public final class ZombieToken2 extends TokenImpl {
|
|||
setOriginalExpansionSetCode("EMN");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("EMN")) {
|
||||
this.setTokenType(4);
|
||||
}
|
||||
}
|
||||
|
||||
public ZombieToken2(final ZombieToken2 token) {
|
||||
super(token);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue