forked from External/mage
Added ISD token images
This commit is contained in:
parent
0287fa73d2
commit
b9d3980ea0
6 changed files with 35 additions and 3 deletions
|
|
@ -6,6 +6,9 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.DeathtouchAbility;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -22,6 +25,17 @@ public final class WolfTokenWithDeathtouch extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
|
||||
addAbility(DeathtouchAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("ISD");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("ISD")) {
|
||||
this.setTokenType(1);
|
||||
}
|
||||
}
|
||||
|
||||
public WolfTokenWithDeathtouch(final WolfTokenWithDeathtouch token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue