Implemented Alliances cards (#5470)

* Implemented Alliances cards (#84)

* Fixed Storm Elemental

* Fixed Sworn Defender
This commit is contained in:
L_J 2018-12-28 05:53:10 +01:00 committed by Jeff Wadsworth
parent ff11727596
commit d0fbe6d35c
11 changed files with 1129 additions and 0 deletions

View file

@ -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);
}
}