Fix for Jazal Goldmane and Ovalchase Daredevil

This commit is contained in:
Styxo 2016-12-07 09:33:12 +01:00
parent ba30a514d2
commit 2b088bde22
2 changed files with 5 additions and 4 deletions

View file

@ -63,7 +63,7 @@ public class JazalGoldmane extends CardImpl {
DynamicValue xValue = new AttackingCreatureCount("the number of attacking creatures"); DynamicValue xValue = new AttackingCreatureCount("the number of attacking creatures");
this.addAbility(new SimpleActivatedAbility( this.addAbility(new SimpleActivatedAbility(
Zone.BATTLEFIELD, Zone.BATTLEFIELD,
new BoostControlledEffect(xValue, xValue , Duration.EndOfTurn, new FilterAttackingCreature("Attacking creatures"), false), new BoostControlledEffect(xValue, xValue, Duration.EndOfTurn, new FilterAttackingCreature("Attacking creatures"), false, true),
new ManaCostsImpl("{3}{W}{W}"))); new ManaCostsImpl("{3}{W}{W}")));
} }

View file

@ -34,6 +34,7 @@ import mage.abilities.effects.common.ReturnToHandSourceEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.cards.CardSetInfo; import mage.cards.CardSetInfo;
import mage.constants.CardType; import mage.constants.CardType;
import mage.constants.SetTargetPointer;
import mage.constants.TargetController; import mage.constants.TargetController;
import mage.constants.Zone; import mage.constants.Zone;
import mage.filter.FilterPermanent; import mage.filter.FilterPermanent;
@ -60,7 +61,7 @@ public class OvalchaseDaredevil extends CardImpl {
this.toughness = new MageInt(2); this.toughness = new MageInt(2);
// Whenever an artifact enters the battlefield under your control, you may return Ovalchase Daredevil from your graveyard to your hand. // Whenever an artifact enters the battlefield under your control, you may return Ovalchase Daredevil from your graveyard to your hand.
this.addAbility(new EntersBattlefieldAllTriggeredAbility(Zone.GRAVEYARD, new ReturnToHandSourceEffect(), filter, true)); this.addAbility(new EntersBattlefieldAllTriggeredAbility(Zone.GRAVEYARD, new ReturnToHandSourceEffect(), filter, true, SetTargetPointer.NONE, null, true));
} }
public OvalchaseDaredevil(final OvalchaseDaredevil card) { public OvalchaseDaredevil(final OvalchaseDaredevil card) {