mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
[MAT] Implement Rebuild the City
This commit is contained in:
parent
c979316015
commit
08d873ff67
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/r/RebuildTheCity.java
Normal file
40
Mage.Sets/src/mage/cards/r/RebuildTheCity.java
Normal file
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.abilities.effects.common.CreateTokenCopyTargetEffect;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetLandPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RebuildTheCity extends CardImpl {
|
||||
|
||||
public RebuildTheCity(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{B}{R}{G}");
|
||||
|
||||
// Choose target land. Create three tokens that are copies of it, except they're 3/3 creatures in addition to their other types and they have vigilance and menace.
|
||||
this.getSpellAbility().addEffect(new CreateTokenCopyTargetEffect(
|
||||
null, CardType.CREATURE, false, 3, false,
|
||||
false, null, 3, 3, false
|
||||
).addAdditionalAbilities(
|
||||
VigilanceAbility.getInstance(), new MenaceAbility(false)
|
||||
).setText("choose target land. Create three tokens that are copies of it, " +
|
||||
"except they're 3/3 creatures in addition to their other types and they have vigilance and menace"));
|
||||
this.getSpellAbility().addTarget(new TargetLandPermanent());
|
||||
}
|
||||
|
||||
private RebuildTheCity(final RebuildTheCity card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RebuildTheCity copy() {
|
||||
return new RebuildTheCity(this);
|
||||
}
|
||||
}
|
|
@ -35,6 +35,7 @@ public final class MarchOfTheMachineTheAftermath extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Kolaghan Warmonger", 17, Rarity.UNCOMMON, mage.cards.k.KolaghanWarmonger.class));
|
||||
cards.add(new SetCardInfo("Markov Baron", 14, Rarity.UNCOMMON, mage.cards.m.MarkovBaron.class));
|
||||
cards.add(new SetCardInfo("Metropolis Reformer", 4, Rarity.RARE, mage.cards.m.MetropolisReformer.class));
|
||||
cards.add(new SetCardInfo("Rebuild the City", 43, Rarity.RARE, mage.cards.r.RebuildTheCity.class));
|
||||
cards.add(new SetCardInfo("Reckless Handling", 19, Rarity.UNCOMMON, mage.cards.r.RecklessHandling.class));
|
||||
cards.add(new SetCardInfo("Samut, Vizier of Naktamun", 45, Rarity.MYTHIC, mage.cards.s.SamutVizierOfNaktamun.class));
|
||||
cards.add(new SetCardInfo("Sigarda, Font of Blessings", 47, Rarity.RARE, mage.cards.s.SigardaFontOfBlessings.class));
|
||||
|
|
Loading…
Reference in a new issue