forked from External/mage
[BRO] Implemented Urza's Command
This commit is contained in:
parent
f8f6e15a69
commit
c8a20c7666
2 changed files with 56 additions and 0 deletions
55
Mage.Sets/src/mage/cards/u/UrzasCommand.java
Normal file
55
Mage.Sets/src/mage/cards/u/UrzasCommand.java
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
package mage.cards.u;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostAllEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.KarnConstructToken;
|
||||
import mage.game.permanent.token.PowerstoneToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class UrzasCommand extends CardImpl {
|
||||
|
||||
public UrzasCommand(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}{U}");
|
||||
|
||||
// Choose two --
|
||||
this.getSpellAbility().getModes().setMinModes(2);
|
||||
this.getSpellAbility().getModes().setMaxModes(2);
|
||||
|
||||
// * Creatures you don't control get -2/-0 until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostAllEffect(
|
||||
-2, -0, Duration.EndOfTurn,
|
||||
StaticFilters.FILTER_CREATURES_YOU_DONT_CONTROL, false
|
||||
));
|
||||
|
||||
// * Create a tapped Powerstone token.
|
||||
this.getSpellAbility().addMode(new Mode(new CreateTokenEffect(new PowerstoneToken(), 1, true)));
|
||||
|
||||
// * Create a tapped 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control."
|
||||
this.getSpellAbility().addMode(new Mode(new CreateTokenEffect(new KarnConstructToken(), 1, true)));
|
||||
|
||||
// * Scry 1, then draw a card.
|
||||
this.getSpellAbility().addMode(new Mode(new ScryEffect(1, false))
|
||||
.addEffect(new DrawCardSourceControllerEffect(1).concatBy(", then")));
|
||||
}
|
||||
|
||||
private UrzasCommand(final UrzasCommand card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UrzasCommand copy() {
|
||||
return new UrzasCommand(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -68,6 +68,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Titania, Voice of Gaea", 193, Rarity.MYTHIC, mage.cards.t.TitaniaVoiceOfGaea.class));
|
||||
cards.add(new SetCardInfo("Tocasia's Onulet", 39, Rarity.COMMON, mage.cards.t.TocasiasOnulet.class));
|
||||
cards.add(new SetCardInfo("Underground River", 267, Rarity.RARE, mage.cards.u.UndergroundRiver.class));
|
||||
cards.add(new SetCardInfo("Urza's Command", 70, Rarity.RARE, mage.cards.u.UrzasCommand.class));
|
||||
cards.add(new SetCardInfo("Urza, Lord Protector", 225, Rarity.MYTHIC, mage.cards.u.UrzaLordProtector.class));
|
||||
cards.add(new SetCardInfo("Urza, Planeswalker", "238b", Rarity.MYTHIC, mage.cards.u.UrzaPlaneswalker.class));
|
||||
cards.add(new SetCardInfo("Urza, Powerstone Prodigy", 69, Rarity.UNCOMMON, mage.cards.u.UrzaPowerstoneProdigy.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue