mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Forgetfulness
This commit is contained in:
parent
4ddadaf9bb
commit
4b80c5ee8d
2 changed files with 8 additions and 5 deletions
|
@ -33,6 +33,8 @@ import mage.Constants;
|
|||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.UntapTargetEffect;
|
||||
import mage.abilities.effects.common.continious.GainAbilityTargetEffect;
|
||||
import mage.abilities.effects.common.continious.GainControlTargetEffect;
|
||||
|
@ -64,10 +66,11 @@ public class Goatnapper extends CardImpl<Goatnapper> {
|
|||
this.color.setRed(true);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addEffect(new GainControlTargetEffect(Constants.Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new UntapTargetEffect());
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Constants.Duration.EndOfTurn));
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new UntapTargetEffect(), false);
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addEffect(new GainControlTargetEffect(Constants.Duration.EndOfTurn));
|
||||
ability.addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Constants.Duration.EndOfTurn));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
public Goatnapper(final Goatnapper card) {
|
||||
|
|
|
@ -38,7 +38,7 @@ import mage.MageInt;
|
|||
public class ElfToken extends Token {
|
||||
|
||||
public ElfToken() {
|
||||
super("", "a 1/1 green Elf Warrior creature token");
|
||||
super("", "1/1 green Elf Warrior creature token");
|
||||
cardType.add(Constants.CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add("Elf");
|
||||
|
|
Loading…
Reference in a new issue