mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +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 {
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue