mirror of
https://github.com/correl/mage.git
synced 2025-04-07 17:00:08 -09:00
[BRO] Implement Desynchronize
This commit is contained in:
parent
02aacc7682
commit
405a95d5fe
2 changed files with 37 additions and 0 deletions
Mage.Sets/src/mage
36
Mage.Sets/src/mage/cards/d/Desynchronize.java
Normal file
36
Mage.Sets/src/mage/cards/d/Desynchronize.java
Normal file
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.abilities.effects.common.PutOnTopOrBottomLibraryTargetEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetNonlandPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Desynchronize extends CardImpl {
|
||||
|
||||
public Desynchronize(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{U}");
|
||||
|
||||
// Target nonland permanent's owner puts it on the top or bottom of their library. Scry 2.
|
||||
this.getSpellAbility().addEffect(new PutOnTopOrBottomLibraryTargetEffect(
|
||||
"target nonland permanent's owner puts it on the top or bottom of their library"
|
||||
));
|
||||
this.getSpellAbility().addEffect(new ScryEffect(2, false));
|
||||
this.getSpellAbility().addTarget(new TargetNonlandPermanent());
|
||||
}
|
||||
|
||||
private Desynchronize(final Desynchronize card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Desynchronize copy() {
|
||||
return new Desynchronize(this);
|
||||
}
|
||||
}
|
|
@ -64,6 +64,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Deadly Riposte", 5, Rarity.COMMON, mage.cards.d.DeadlyRiposte.class));
|
||||
cards.add(new SetCardInfo("Defabricate", 45, Rarity.UNCOMMON, mage.cards.d.Defabricate.class));
|
||||
cards.add(new SetCardInfo("Depth Charge Colossus", 78, Rarity.COMMON, mage.cards.d.DepthChargeColossus.class));
|
||||
cards.add(new SetCardInfo("Desynchronize", 46, Rarity.COMMON, mage.cards.d.Desynchronize.class));
|
||||
cards.add(new SetCardInfo("Diabolic Intent", 89, Rarity.RARE, mage.cards.d.DiabolicIntent.class));
|
||||
cards.add(new SetCardInfo("Disciples of Gix", 90, Rarity.UNCOMMON, mage.cards.d.DisciplesOfGix.class));
|
||||
cards.add(new SetCardInfo("Disenchant", 6, Rarity.COMMON, mage.cards.d.Disenchant.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue