mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
[MIR] fixed Sealed Fate card type
This commit is contained in:
parent
f01f8e9765
commit
f80de1d868
1 changed files with 7 additions and 12 deletions
|
@ -1,11 +1,5 @@
|
|||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package mage.cards.s;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.dynamicvalue.common.ManacostVariableValue;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
|
||||
|
@ -16,22 +10,23 @@ import mage.constants.Zone;
|
|||
import mage.filter.FilterCard;
|
||||
import mage.target.common.TargetOpponent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jeffwadsworth
|
||||
*/
|
||||
public final class SealedFate extends CardImpl {
|
||||
|
||||
public SealedFate(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{X}{U}{B}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{U}{B}");
|
||||
|
||||
// Look at the top X cards of target opponent's library. Exile one of those cards and put the rest back on top of that player's library in any order.
|
||||
this.getSpellAbility().addTarget(new TargetOpponent());
|
||||
this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(ManacostVariableValue.instance,
|
||||
false, StaticValue.get(1),
|
||||
new FilterCard("a card to exile"), Zone.LIBRARY, true,
|
||||
false, false, Zone.EXILED,
|
||||
false, true, true));
|
||||
false, StaticValue.get(1),
|
||||
new FilterCard("a card to exile"), Zone.LIBRARY, true,
|
||||
false, false, Zone.EXILED,
|
||||
false, true, true));
|
||||
}
|
||||
|
||||
private SealedFate(final SealedFate card) {
|
||||
|
|
Loading…
Reference in a new issue