mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
commit
a4a8201ec2
2 changed files with 49 additions and 13 deletions
|
|
@ -46,7 +46,7 @@ import mage.constants.TargetController;
|
|||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.game.permanent.token.Token;
|
||||
import mage.game.permanent.token.CrestedSunmareToken;
|
||||
import mage.watchers.common.PlayerGainedLifeWatcher;
|
||||
|
||||
/**
|
||||
|
|
@ -56,6 +56,7 @@ import mage.watchers.common.PlayerGainedLifeWatcher;
|
|||
public class CrestedSunmare extends CardImpl {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("Horses you control");
|
||||
|
||||
static {
|
||||
filter.add(new SubtypePredicate(SubType.HORSE));
|
||||
}
|
||||
|
|
@ -88,15 +89,3 @@ public class CrestedSunmare extends CardImpl {
|
|||
return new CrestedSunmare(this);
|
||||
}
|
||||
}
|
||||
|
||||
class CrestedSunmareToken extends Token {
|
||||
|
||||
CrestedSunmareToken() {
|
||||
super("Horse", "5/5 white Horse creature token");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
color.setWhite(true);
|
||||
subtype.add("Horse");
|
||||
cardType.add(CardType.CREATURE);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue