mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
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
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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