mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[ONE] Implement Clever Concealment
This commit is contained in:
parent
e43576baec
commit
6f299a0cd2
2 changed files with 38 additions and 0 deletions
37
Mage.Sets/src/mage/cards/c/CleverConcealment.java
Normal file
37
Mage.Sets/src/mage/cards/c/CleverConcealment.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.effects.common.PhaseOutTargetEffect;
|
||||
import mage.abilities.keyword.ConvokeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CleverConcealment extends CardImpl {
|
||||
|
||||
public CleverConcealment(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{W}{W}");
|
||||
|
||||
// Convoke
|
||||
this.addAbility(new ConvokeAbility());
|
||||
|
||||
// Any number of target nonland permanents you control phase out.
|
||||
this.getSpellAbility().addEffect(new PhaseOutTargetEffect("any number of target nonland permanents you control"));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(0, Integer.MAX_VALUE, StaticFilters.FILTER_CONTROLLED_PERMANENT_NON_LAND));
|
||||
}
|
||||
|
||||
private CleverConcealment(final CleverConcealment card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CleverConcealment copy() {
|
||||
return new CleverConcealment(this);
|
||||
}
|
||||
}
|
|
@ -38,6 +38,7 @@ public final class PhyrexiaAllWillBeOneCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Castle Embereth", 150, Rarity.RARE, mage.cards.c.CastleEmbereth.class));
|
||||
cards.add(new SetCardInfo("Chain Reaction", 97, Rarity.RARE, mage.cards.c.ChainReaction.class));
|
||||
cards.add(new SetCardInfo("Chromatic Lantern", 127, Rarity.RARE, mage.cards.c.ChromaticLantern.class));
|
||||
cards.add(new SetCardInfo("Clever Concealment", 5, Rarity.RARE, mage.cards.c.CleverConcealment.class));
|
||||
cards.add(new SetCardInfo("Collective Effort", 61, Rarity.RARE, mage.cards.c.CollectiveEffort.class));
|
||||
cards.add(new SetCardInfo("Command Tower", 151, Rarity.COMMON, mage.cards.c.CommandTower.class));
|
||||
cards.add(new SetCardInfo("Commander's Sphere", 128, Rarity.COMMON, mage.cards.c.CommandersSphere.class));
|
||||
|
|
Loading…
Reference in a new issue