mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Added AVR token images
This commit is contained in:
parent
21904d991c
commit
dce8c43d6f
7 changed files with 32 additions and 7 deletions
|
|
@ -38,5 +38,8 @@ public final class HumanToken extends TokenImpl {
|
|||
if (getOriginalExpansionSetCode().equals("VOW")) {
|
||||
this.setTokenType(2);
|
||||
}
|
||||
if (getOriginalExpansionSetCode().equals("AVR")) {
|
||||
this.setTokenType(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public final class RedHumanToken extends TokenImpl {
|
|||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode().equals("AVR")) {
|
||||
this.setTokenType(2);
|
||||
this.setTokenType(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ import mage.constants.SubType;
|
|||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
|
|
@ -21,6 +23,16 @@ public final class SpiritBlueToken extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
setTokenType(2);
|
||||
addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("AVR");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("AVR")) {
|
||||
setTokenType(1);
|
||||
}
|
||||
}
|
||||
|
||||
public SpiritBlueToken(final SpiritBlueToken token) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public final class SpiritWhiteToken extends TokenImpl {
|
|||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("AVR")) {
|
||||
setTokenType(1);
|
||||
setTokenType(2);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C16")) {
|
||||
setTokenType(2);
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public final class ZombieToken extends TokenImpl {
|
|||
"M20", "C19", "C20", "THB",
|
||||
"M21", "CMR", "C21", "MH2",
|
||||
"AFR", "MIC", "VOW", "UMA",
|
||||
"NCC", "MED", "BBD", "M19", "CM2", "PCA");
|
||||
"NCC", "MED", "BBD", "M19", "CM2", "PCA", "AVR");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue