mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
[DMU] Implemented Territorial Maro
This commit is contained in:
parent
4b3d8d47df
commit
462552d0ef
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/t/TerritorialMaro.java
Normal file
45
Mage.Sets/src/mage/cards/t/TerritorialMaro.java
Normal file
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.MultipliedValue;
|
||||
import mage.abilities.dynamicvalue.common.DomainValue;
|
||||
import mage.abilities.effects.common.continuous.SetPowerToughnessSourceEffect;
|
||||
import mage.abilities.hint.common.DomainHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TerritorialMaro extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new MultipliedValue(DomainValue.REGULAR, 2);
|
||||
|
||||
public TerritorialMaro(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}");
|
||||
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(0);
|
||||
|
||||
// Domain — Territorial Maro's power and toughness are each equal to twice the number of basic land types among lands you control.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.ALL, new SetPowerToughnessSourceEffect(xValue, Duration.EndOfGame)
|
||||
.setText("{this}'s power and toughness are each equal to twice the number of basic land types among lands you control")
|
||||
).setAbilityWord(AbilityWord.DOMAIN).addHint(DomainHint.instance));
|
||||
}
|
||||
|
||||
private TerritorialMaro(final TerritorialMaro card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TerritorialMaro copy() {
|
||||
return new TerritorialMaro(this);
|
||||
}
|
||||
}
|
|
@ -54,6 +54,7 @@ public final class DominariaUnited extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Sulfurous Springs", 256, Rarity.RARE, mage.cards.s.SulfurousSprings.class));
|
||||
cards.add(new SetCardInfo("Swamp", 279, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Temporal Firestorm", 147, Rarity.RARE, mage.cards.t.TemporalFirestorm.class));
|
||||
cards.add(new SetCardInfo("Territorial Maro", 184, Rarity.UNCOMMON, mage.cards.t.TerritorialMaro.class));
|
||||
cards.add(new SetCardInfo("Yavimaya Coast", 261, Rarity.RARE, mage.cards.y.YavimayaCoast.class));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue