mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Mad Auntie's regeneration ability is targeted
Baron Sengir, too
This commit is contained in:
parent
dafd392649
commit
cfb612b68a
2 changed files with 6 additions and 6 deletions
|
@ -52,7 +52,7 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*/
|
*/
|
||||||
public class MadAuntie extends CardImpl {
|
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");
|
private static final FilterCreaturePermanent filter2 = new FilterCreaturePermanent("Goblin creatures");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
@ -75,7 +75,7 @@ public class MadAuntie extends CardImpl {
|
||||||
|
|
||||||
// {T}: Regenerate another target Goblin.
|
// {T}: Regenerate another target Goblin.
|
||||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new TapSourceCost());
|
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);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*/
|
*/
|
||||||
public class BaronSengir extends CardImpl {
|
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 {
|
static {
|
||||||
filter.add(new SubtypePredicate("Vampire"));
|
filter.add(new SubtypePredicate("Vampire"));
|
||||||
|
@ -75,7 +75,7 @@ public class BaronSengir extends CardImpl {
|
||||||
|
|
||||||
// {tap}: Regenerate another target Vampire.
|
// {tap}: Regenerate another target Vampire.
|
||||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new TapSourceCost());
|
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);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue