mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Implemented Drawn from Dreams
This commit is contained in:
parent
ae8c5be578
commit
487ff228c8
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/d/DrawnFromDreams.java
Normal file
36
Mage.Sets/src/mage/cards/d/DrawnFromDreams.java
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
package mage.cards.d;
|
||||||
|
|
||||||
|
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||||
|
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.Zone;
|
||||||
|
import mage.filter.StaticFilters;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class DrawnFromDreams extends CardImpl {
|
||||||
|
|
||||||
|
public DrawnFromDreams(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{U}{U}");
|
||||||
|
|
||||||
|
// Look at the top seven cards of your library. Put two of them into your hand and the rest on the bottom of your library in a random order.
|
||||||
|
this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(
|
||||||
|
new StaticValue(7), false, new StaticValue(2),
|
||||||
|
StaticFilters.FILTER_CARD, Zone.LIBRARY, false, false
|
||||||
|
).setBackInRandomOrder(true));
|
||||||
|
}
|
||||||
|
|
||||||
|
private DrawnFromDreams(final DrawnFromDreams card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DrawnFromDreams copy() {
|
||||||
|
return new DrawnFromDreams(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -50,6 +50,7 @@ public final class CoreSet2020 extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Disenchant", 14, Rarity.COMMON, mage.cards.d.Disenchant.class));
|
cards.add(new SetCardInfo("Disenchant", 14, Rarity.COMMON, mage.cards.d.Disenchant.class));
|
||||||
cards.add(new SetCardInfo("Disfigure", 95, Rarity.UNCOMMON, mage.cards.d.Disfigure.class));
|
cards.add(new SetCardInfo("Disfigure", 95, Rarity.UNCOMMON, mage.cards.d.Disfigure.class));
|
||||||
cards.add(new SetCardInfo("Dragon Mage", 135, Rarity.UNCOMMON, mage.cards.d.DragonMage.class));
|
cards.add(new SetCardInfo("Dragon Mage", 135, Rarity.UNCOMMON, mage.cards.d.DragonMage.class));
|
||||||
|
cards.add(new SetCardInfo("Drawn from Dreams", 56, Rarity.RARE, mage.cards.d.DrawnFromDreams.class));
|
||||||
cards.add(new SetCardInfo("Dread Presence", 96, Rarity.RARE, mage.cards.d.DreadPresence.class));
|
cards.add(new SetCardInfo("Dread Presence", 96, Rarity.RARE, mage.cards.d.DreadPresence.class));
|
||||||
cards.add(new SetCardInfo("Dungeon Geists", 57, Rarity.RARE, mage.cards.d.DungeonGeists.class));
|
cards.add(new SetCardInfo("Dungeon Geists", 57, Rarity.RARE, mage.cards.d.DungeonGeists.class));
|
||||||
cards.add(new SetCardInfo("Ember Hauler", 137, Rarity.UNCOMMON, mage.cards.e.EmberHauler.class));
|
cards.add(new SetCardInfo("Ember Hauler", 137, Rarity.UNCOMMON, mage.cards.e.EmberHauler.class));
|
||||||
|
|
Loading…
Reference in a new issue