mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Shimmer Myr - Fixed that the flash like casting to cards was wrongly only granted to artifact creature cards instead of all artifact cards.
This commit is contained in:
parent
780611541d
commit
562f6a3a89
1 changed files with 4 additions and 7 deletions
|
@ -38,8 +38,7 @@ import mage.constants.CardType;
|
||||||
import mage.constants.Duration;
|
import mage.constants.Duration;
|
||||||
import mage.constants.Rarity;
|
import mage.constants.Rarity;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
import mage.filter.common.FilterCreatureCard;
|
import mage.filter.common.FilterArtifactCard;
|
||||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -47,10 +46,7 @@ import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||||
*/
|
*/
|
||||||
public class ShimmerMyr extends CardImpl {
|
public class ShimmerMyr extends CardImpl {
|
||||||
|
|
||||||
private static final FilterCreatureCard filter = new FilterCreatureCard("artifact cards");
|
private static final FilterArtifactCard filter = new FilterArtifactCard("artifact cards");
|
||||||
static {
|
|
||||||
filter.add(new CardTypePredicate(CardType.ARTIFACT));
|
|
||||||
}
|
|
||||||
|
|
||||||
public ShimmerMyr (UUID ownerId) {
|
public ShimmerMyr (UUID ownerId) {
|
||||||
super(ownerId, 129, "Shimmer Myr", Rarity.RARE, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{3}");
|
super(ownerId, 129, "Shimmer Myr", Rarity.RARE, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{3}");
|
||||||
|
@ -61,8 +57,9 @@ public class ShimmerMyr extends CardImpl {
|
||||||
|
|
||||||
// Flash
|
// Flash
|
||||||
this.addAbility(FlashAbility.getInstance());
|
this.addAbility(FlashAbility.getInstance());
|
||||||
|
|
||||||
// You may cast artifact cards as though they had flash.
|
// You may cast artifact cards as though they had flash.
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CastAsThoughItHadFlashAllEffect(Duration.WhileOnBattlefield, filter)));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CastAsThoughItHadFlashAllEffect(Duration.WhileOnBattlefield, filter, false)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShimmerMyr (final ShimmerMyr card) {
|
public ShimmerMyr (final ShimmerMyr card) {
|
||||||
|
|
Loading…
Reference in a new issue