mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Implemented Ransack the Lab
This commit is contained in:
parent
7027ac3296
commit
86e6134be0
2 changed files with 35 additions and 0 deletions
34
Mage.Sets/src/mage/cards/r/RansackTheLab.java
Normal file
34
Mage.Sets/src/mage/cards/r/RansackTheLab.java
Normal file
|
@ -0,0 +1,34 @@
|
|||
package mage.cards.r;
|
||||
|
||||
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 RansackTheLab extends CardImpl {
|
||||
|
||||
public RansackTheLab(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{B}");
|
||||
|
||||
// Look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard.
|
||||
this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(new StaticValue(3), false, new StaticValue(1),
|
||||
StaticFilters.FILTER_CARD, Zone.GRAVEYARD, false, false, false, Zone.HAND, false));
|
||||
}
|
||||
|
||||
private RansackTheLab(final RansackTheLab card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RansackTheLab copy() {
|
||||
return new RansackTheLab(this);
|
||||
}
|
||||
}
|
|
@ -159,6 +159,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Pyrophobia", 141, Rarity.COMMON, mage.cards.p.Pyrophobia.class));
|
||||
cards.add(new SetCardInfo("Rain of Revelation", 65, Rarity.COMMON, mage.cards.r.RainOfRevelation.class));
|
||||
cards.add(new SetCardInfo("Ranger-Captain of Eos", 21, Rarity.MYTHIC, mage.cards.r.RangerCaptainOfEos.class));
|
||||
cards.add(new SetCardInfo("Ransack the Lab", 103, Rarity.COMMON, mage.cards.r.RansackTheLab.class));
|
||||
cards.add(new SetCardInfo("Ravenous Giant", 143, Rarity.UNCOMMON, mage.cards.r.RavenousGiant.class));
|
||||
cards.add(new SetCardInfo("Reap the Past", 211, Rarity.RARE, mage.cards.r.ReapThePast.class));
|
||||
cards.add(new SetCardInfo("Rebuild", 66, Rarity.UNCOMMON, mage.cards.r.Rebuild.class));
|
||||
|
|
Loading…
Reference in a new issue