mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[DMU] Implemented Yavimaya Sojourner
This commit is contained in:
parent
e34bea7e5f
commit
08cc742011
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/y/YavimayaSojourner.java
Normal file
43
Mage.Sets/src/mage/cards/y/YavimayaSojourner.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.y;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.common.DomainValue;
|
||||
import mage.abilities.effects.common.cost.SpellCostReductionSourceEffect;
|
||||
import mage.abilities.hint.common.DomainHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class YavimayaSojourner extends CardImpl {
|
||||
|
||||
public YavimayaSojourner(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{7}{G}");
|
||||
|
||||
this.subtype.add(SubType.TREEFOLK);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// Domain - This spell costs {1} less to cast for each basic land type among lands you control.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.ALL, new SpellCostReductionSourceEffect(DomainValue.REGULAR)
|
||||
).setAbilityWord(AbilityWord.DOMAIN).addHint(DomainHint.instance));
|
||||
}
|
||||
|
||||
private YavimayaSojourner(final YavimayaSojourner card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public YavimayaSojourner copy() {
|
||||
return new YavimayaSojourner(this);
|
||||
}
|
||||
}
|
|
@ -223,6 +223,7 @@ public final class DominariaUnited extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Writhing Necromass", 115, Rarity.COMMON, mage.cards.w.WrithingNecromass.class));
|
||||
cards.add(new SetCardInfo("Yavimaya Coast", 261, Rarity.RARE, mage.cards.y.YavimayaCoast.class));
|
||||
cards.add(new SetCardInfo("Yavimaya Iconoclast", 190, Rarity.UNCOMMON, mage.cards.y.YavimayaIconoclast.class));
|
||||
cards.add(new SetCardInfo("Yavimaya Sojourner", 191, Rarity.COMMON, mage.cards.y.YavimayaSojourner.class));
|
||||
cards.add(new SetCardInfo("Yavimaya Steelcrusher", 152, Rarity.COMMON, mage.cards.y.YavimayaSteelcrusher.class));
|
||||
cards.add(new SetCardInfo("Zar Ojanen, Scion of Efrava", 227, Rarity.UNCOMMON, mage.cards.z.ZarOjanenScionOfEfrava.class));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue