forked from External/mage
Token images and fixes for some sets (#9027)
* Fixed CMR's phyrexian horror token not displaying in game * Added support for and assigned MED token images * Added support for and assigned BBD token images * Added support for and assigned DDU token images * Fixed some M19 tokens not displaying correctly
This commit is contained in:
parent
c667458198
commit
cee6bc3cfe
17 changed files with 117 additions and 21 deletions
|
|
@ -5,6 +5,9 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.DefenderAbility;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -26,6 +29,17 @@ public final class DarettiConstructToken extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
|
||||
addAbility(DefenderAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("CNS", "CN2", "MED");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MED")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
}
|
||||
|
||||
public DarettiConstructToken(final DarettiConstructToken token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue