Implemented Wolf's Quarry

This commit is contained in:
Evan Kranzler 2019-09-13 08:12:09 -04:00
parent a22165f388
commit 9604aa9bef
3 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,32 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.common.DiesTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.constants.CardType;
import mage.constants.SubType;
/**
* @author TheElk801
*/
public final class WolfsQuarryToken extends TokenImpl {
public WolfsQuarryToken() {
super("Boar", "1/1 green Boar creature token with \"When this creature dies, create a Food token.\"");
cardType.add(CardType.CREATURE);
color.setGreen(true);
subtype.add(SubType.BOAR);
power = new MageInt(1);
toughness = new MageInt(1);
this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new FoodToken())));
}
private WolfsQuarryToken(final WolfsQuarryToken token) {
super(token);
}
public WolfsQuarryToken copy() {
return new WolfsQuarryToken(this);
}
}