mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Added ISD token images
This commit is contained in:
parent
0287fa73d2
commit
b9d3980ea0
6 changed files with 35 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ public final class StitchersApprenticeHomunculusToken extends TokenImpl {
|
|||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("UMA");
|
||||
availableImageSetCodes = Arrays.asList("ISD", "UMA");
|
||||
}
|
||||
|
||||
public StitchersApprenticeHomunculusToken(final StitchersApprenticeHomunculusToken token) {
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ import mage.constants.SubType;
|
|||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
|
|
@ -20,6 +22,8 @@ public final class VampireToken extends TokenImpl {
|
|||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("ISD", "KTK");
|
||||
}
|
||||
|
||||
public VampireToken(final VampireToken token) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public final class WolfToken extends TokenImpl {
|
|||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("ISD")) {
|
||||
this.setTokenType(RandomUtil.nextInt(2) + 1); // 2 images
|
||||
this.setTokenType(2);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("CMA")) {
|
||||
this.setTokenType(RandomUtil.nextInt(2) + 1); // 2 images
|
||||
|
|
|
|||
|
|
@ -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