mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fix for Jazal Goldmane and Ovalchase Daredevil
This commit is contained in:
parent
ba30a514d2
commit
2b088bde22
2 changed files with 5 additions and 4 deletions
|
@ -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}")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue