mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
[DOM] Fixed not working Fall into Oblivion
This commit is contained in:
parent
c535b81bff
commit
0eeada3264
1 changed files with 4 additions and 5 deletions
|
|
@ -15,7 +15,6 @@ import java.util.UUID;
|
|||
public class FallIntoOblivion extends CardImpl {
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("nonlegendary creature");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.not(new SupertypePredicate(SuperType.LEGENDARY)));
|
||||
}
|
||||
|
|
@ -23,9 +22,9 @@ public class FallIntoOblivion extends CardImpl {
|
|||
public FallIntoOblivion(UUID ownerId, CardSetInfo cardSetInfo){
|
||||
super(ownerId, cardSetInfo, new CardType[] { CardType.INSTANT }, "{1}{B}");
|
||||
|
||||
//destroy target non legendary creature
|
||||
spellAbility.addEffect(new DestroyTargetEffect());
|
||||
spellAbility.addTarget(new TargetCreaturePermanent(filter));
|
||||
// Destroy target nonlegendary creature.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
}
|
||||
|
||||
public FallIntoOblivion(final FallIntoOblivion fallIntoOblivion){
|
||||
|
|
@ -35,4 +34,4 @@ public class FallIntoOblivion extends CardImpl {
|
|||
public FallIntoOblivion copy(){
|
||||
return new FallIntoOblivion(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue