foul-magics/Mage/src/main/java/mage/game/permanent/token/GoldmeadowHarrierToken.java
2018-06-02 17:59:49 +02:00

44 lines
1.4 KiB
Java

package mage.game.permanent.token;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.TapTargetEffect;
import mage.constants.Zone;
import mage.target.common.TargetCreaturePermanent;
/**
*
* @author spjspj
*/
public final class GoldmeadowHarrierToken extends TokenImpl {
public GoldmeadowHarrierToken() {
super("Goldmeadow Harrier", "1/1 white Kithkin Soldier creature token named Goldmeadow Harrier with \"{W}, {T}: Tap target creature.\"");
this.setOriginalExpansionSetCode("FUT");
cardType.add(CardType.CREATURE);
color.setWhite(true);
subtype.add(SubType.KITHKIN);
subtype.add(SubType.SOLDIER);
power = new MageInt(1);
toughness = new MageInt(1);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new ManaCostsImpl("{W}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
}
public GoldmeadowHarrierToken(final GoldmeadowHarrierToken token) {
super(token);
}
public GoldmeadowHarrierToken copy() {
return new GoldmeadowHarrierToken(this);
}
}