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:
Oleg Agafonov 2020-07-09 02:38:37 +04:00
parent 4dc99fbb58
commit 99ceeb5076
26 changed files with 298 additions and 206 deletions

View file

@ -1,13 +1,13 @@
package mage.game.permanent.token;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
import mage.abilities.keyword.FlyingAbility;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.Arrays;
/**
*
* @author spjspj
*/
public final class GriffinToken extends TokenImpl {
@ -16,11 +16,12 @@ public final class GriffinToken extends TokenImpl {
super("Griffin", "2/2 white Griffin creature token with flying");
cardType.add(CardType.CREATURE);
color.setWhite(true);
subtype.add(SubType.GRIFFIN);
power = new MageInt(2);
toughness = new MageInt(2);
this.addAbility(FlyingAbility.getInstance());
availableImageSetCodes.addAll(Arrays.asList("DDG", "DDH", "DDL", "TSP", "M21"));
}
public GriffinToken(final GriffinToken token) {