mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
Implemented Wolf's Quarry
This commit is contained in:
parent
a22165f388
commit
9604aa9bef
3 changed files with 64 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue