mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[DMU] Implemented Joint Exploration
This commit is contained in:
parent
b5a6f34d3b
commit
fb58009449
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/j/JointExploration.java
Normal file
46
Mage.Sets/src/mage/cards/j/JointExploration.java
Normal file
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.j;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.condition.common.KickedCondition;
|
||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.PutCardFromHandOntoBattlefieldEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.abilities.keyword.KickerAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class JointExploration extends CardImpl {
|
||||
|
||||
public JointExploration(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
||||
|
||||
// Kicker {G}
|
||||
this.addAbility(new KickerAbility("{G}"));
|
||||
|
||||
// Scry 2, then draw a card. If this spell was kicked, you may put a land card from your hand onto the battlefield.
|
||||
this.getSpellAbility().addEffect(new ScryEffect(2, false));
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy(", then"));
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new PutCardFromHandOntoBattlefieldEffect(StaticFilters.FILTER_CARD_LAND_A),
|
||||
KickedCondition.ONCE,
|
||||
"If this spell was kicked, you may put a land card from your hand onto the battlefield."
|
||||
));
|
||||
}
|
||||
|
||||
private JointExploration(final JointExploration card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public JointExploration copy() {
|
||||
return new JointExploration(this);
|
||||
}
|
||||
}
|
|
@ -79,6 +79,7 @@ public final class DominariaUnited extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Jaya, Fiery Negotiator", 133, Rarity.MYTHIC, mage.cards.j.JayaFieryNegotiator.class));
|
||||
cards.add(new SetCardInfo("Jhoira, Ageless Innovator", 202, Rarity.RARE, mage.cards.j.JhoiraAgelessInnovator.class));
|
||||
cards.add(new SetCardInfo("Join Forces", 21, Rarity.UNCOMMON, mage.cards.j.JoinForces.class));
|
||||
cards.add(new SetCardInfo("Joint Exploration", 56, Rarity.UNCOMMON, mage.cards.j.JointExploration.class));
|
||||
cards.add(new SetCardInfo("Juniper Order Rootweaver", 22, Rarity.COMMON, mage.cards.j.JuniperOrderRootweaver.class));
|
||||
cards.add(new SetCardInfo("Karplusan Forest", 250, Rarity.RARE, mage.cards.k.KarplusanForest.class));
|
||||
cards.add(new SetCardInfo("King Darien XLVIII", 204, Rarity.RARE, mage.cards.k.KingDarienXLVIII.class));
|
||||
|
|
Loading…
Reference in a new issue