forked from External/mage
Implemented Alliances cards (#5470)
* Implemented Alliances cards (#84) * Fixed Storm Elemental * Fixed Sworn Defender
This commit is contained in:
parent
ff11727596
commit
d0fbe6d35c
11 changed files with 1129 additions and 0 deletions
|
|
@ -0,0 +1,35 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.CumulativeUpkeepAbility;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author L_J
|
||||
*/
|
||||
public final class SplinterToken extends TokenImpl {
|
||||
|
||||
public SplinterToken() {
|
||||
super("Splinter", "1/1 green Splinter creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.SPLINTER);
|
||||
color.setGreen(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
this.addAbility(new CumulativeUpkeepAbility(new ManaCostsImpl("{G}")));
|
||||
}
|
||||
|
||||
public SplinterToken(final SplinterToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public SplinterToken copy() {
|
||||
return new SplinterToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue