forked from External/mage
Implemented Garruk, Cursed Huntsman
This commit is contained in:
parent
d99e77d944
commit
39ce76f82a
4 changed files with 131 additions and 0 deletions
|
|
@ -0,0 +1,39 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesTriggeredAbility;
|
||||
import mage.abilities.effects.common.counter.AddCountersAllEffect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GarrukCursedHuntsmanToken extends TokenImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterControlledPermanent(SubType.GARRUK, "Garruk you control");
|
||||
|
||||
public GarrukCursedHuntsmanToken() {
|
||||
super("Wolf", "2/2 black and green Wolf creature token with \"When this creature dies, put a loyalty counter on each Garruk you control.\"");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlack(true);
|
||||
color.setGreen(true);
|
||||
subtype.add(SubType.WOLF);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
||||
this.addAbility(new DiesTriggeredAbility(new AddCountersAllEffect(CounterType.LOYALTY.createInstance(), filter)));
|
||||
}
|
||||
|
||||
public GarrukCursedHuntsmanToken(final GarrukCursedHuntsmanToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public GarrukCursedHuntsmanToken copy() {
|
||||
return new GarrukCursedHuntsmanToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue