Mad Auntie's regeneration ability is targeted

Baron Sengir, too
This commit is contained in:
Neil Gentleman 2016-07-17 11:27:39 -07:00
parent dafd392649
commit cfb612b68a
2 changed files with 6 additions and 6 deletions

View file

@ -52,7 +52,7 @@ import mage.target.common.TargetCreaturePermanent;
*/
public class MadAuntie extends CardImpl {
private static final FilterCreaturePermanent filter1 = new FilterCreaturePermanent("another Goblin");
private static final FilterCreaturePermanent filter1 = new FilterCreaturePermanent("another target Goblin");
private static final FilterCreaturePermanent filter2 = new FilterCreaturePermanent("Goblin creatures");
static {
@ -69,13 +69,13 @@ public class MadAuntie extends CardImpl {
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// Other Goblin creatures you control get +1/+1.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter2, true)));
// {T}: Regenerate another target Goblin.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(1, 1, filter1, true));
ability.addTarget(new TargetCreaturePermanent(filter1));
this.addAbility(ability);
}

View file

@ -52,7 +52,7 @@ import mage.target.common.TargetCreaturePermanent;
*/
public class BaronSengir extends CardImpl {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("another Vampire");
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("another target Vampire");
static {
filter.add(new SubtypePredicate("Vampire"));
@ -75,7 +75,7 @@ public class BaronSengir extends CardImpl {
// {tap}: Regenerate another target Vampire.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(1, 1, filter, true));
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
}