mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
bugfix
This commit is contained in:
parent
664cf5688c
commit
0968d4c00a
1 changed files with 6 additions and 4 deletions
|
@ -32,11 +32,12 @@ import java.util.UUID;
|
|||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.keyword.CyclingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.filter.Filter.ComparisonScope;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.target.TargetPermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -44,7 +45,7 @@ import mage.target.TargetPermanent;
|
|||
*/
|
||||
public class MoltenFrame extends CardImpl<MoltenFrame> {
|
||||
|
||||
private static FilterPermanent filter = new FilterPermanent("artifact");
|
||||
private static FilterCreaturePermanent filter = new FilterCreaturePermanent("artifact creature");
|
||||
|
||||
static {
|
||||
filter.getCardType().add(CardType.ARTIFACT);
|
||||
|
@ -55,7 +56,8 @@ public class MoltenFrame extends CardImpl<MoltenFrame> {
|
|||
super(ownerId, 69, "Molten Frame", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{R}");
|
||||
this.expansionSetCode = "CON";
|
||||
this.color.setRed(true);
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue