mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Implemented Naiad of Hidden Coves
This commit is contained in:
parent
8406a76de0
commit
a2f6613eda
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/n/NaiadOfHiddenCoves.java
Normal file
44
Mage.Sets/src/mage/cards/n/NaiadOfHiddenCoves.java
Normal file
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.n;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.NotMyTurnCondition;
|
||||
import mage.abilities.decorator.ConditionalCostModificationEffect;
|
||||
import mage.abilities.effects.common.cost.SpellsCostReductionControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class NaiadOfHiddenCoves extends CardImpl {
|
||||
|
||||
public NaiadOfHiddenCoves(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.CREATURE}, "{2}{U}");
|
||||
|
||||
this.subtype.add(SubType.NYMPH);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// As long as it's not your turn, spells you cast cost {1} less to cast.
|
||||
this.addAbility(new SimpleStaticAbility(new ConditionalCostModificationEffect(
|
||||
new SpellsCostReductionControllerEffect(StaticFilters.FILTER_CARD, 1),
|
||||
NotMyTurnCondition.instance, "As long as it's not your turn, " +
|
||||
"spells you cast cost {1} less to cast."
|
||||
)));
|
||||
}
|
||||
|
||||
private NaiadOfHiddenCoves(final NaiadOfHiddenCoves card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public NaiadOfHiddenCoves copy() {
|
||||
return new NaiadOfHiddenCoves(this);
|
||||
}
|
||||
}
|
|
@ -79,6 +79,7 @@ public final class TherosBeyondDeath extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Mire's Grasp", 106, Rarity.COMMON, mage.cards.m.MiresGrasp.class));
|
||||
cards.add(new SetCardInfo("Mountain", 253, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Nadir Kraken", 55, Rarity.RARE, mage.cards.n.NadirKraken.class));
|
||||
cards.add(new SetCardInfo("Naiad of Hidden Coves", 56, Rarity.COMMON, mage.cards.n.NaiadOfHiddenCoves.class));
|
||||
cards.add(new SetCardInfo("Nessian Boar", 181, Rarity.RARE, mage.cards.n.NessianBoar.class));
|
||||
cards.add(new SetCardInfo("Nylea's Intervention", 188, Rarity.RARE, mage.cards.n.NyleasIntervention.class));
|
||||
cards.add(new SetCardInfo("Nylea, Keen-Eyed", 185, Rarity.MYTHIC, mage.cards.n.NyleaKeenEyed.class));
|
||||
|
|
Loading…
Reference in a new issue