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

@ -313,6 +313,7 @@ public enum SubType {
SPIDER("Spider", SubTypeSet.CreatureType),
SPIKE("Spike", SubTypeSet.CreatureType),
SPIRIT("Spirit", SubTypeSet.CreatureType),
SPLINTER("Splinter", SubTypeSet.CreatureType),
SPLITTER("Splitter", SubTypeSet.CreatureType),
SPONGE("Sponge", SubTypeSet.CreatureType),
SQUID("Squid", SubTypeSet.CreatureType),

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