forked from External/mage
Tokens improves:
* [M21] added tokens; * [M21] added tokens download support; * Fixed wrong images for some tokens (Angel, Beast, Bird, Cat, etc);
This commit is contained in:
parent
4dc99fbb58
commit
99ceeb5076
26 changed files with 298 additions and 206 deletions
|
|
@ -1,15 +1,13 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.Arrays;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LoneFox
|
||||
*/
|
||||
public final class DemonToken extends TokenImpl {
|
||||
|
|
@ -22,7 +20,8 @@ public final class DemonToken extends TokenImpl {
|
|||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
addAbility(FlyingAbility.getInstance());
|
||||
availableImageSetCodes.addAll(Arrays.asList("ISD", "AVR", "C14", "ORI", "M20"));
|
||||
|
||||
availableImageSetCodes.addAll(Arrays.asList("AVR", "C14", "DD3A", "ISD", "ORI", "M20", "M21"));
|
||||
}
|
||||
|
||||
public DemonToken(final DemonToken token) {
|
||||
|
|
@ -30,15 +29,7 @@ public final class DemonToken extends TokenImpl {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DemonToken copy() {
|
||||
public DemonToken copy() {
|
||||
return new DemonToken(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
if (getOriginalExpansionSetCode().equals("C14")) {
|
||||
this.setTokenType(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue