forked from External/mage
[DSK] Implement Valgavoth's Lair
This commit is contained in:
parent
ad7b65d317
commit
6dfe337461
2 changed files with 42 additions and 0 deletions
41
Mage.Sets/src/mage/cards/v/ValgavothsLair.java
Normal file
41
Mage.Sets/src/mage/cards/v/ValgavothsLair.java
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
package mage.cards.v;
|
||||
|
||||
import mage.abilities.common.EntersBattlefieldTappedAsItEntersChooseColorAbility;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.mana.AddManaChosenColorEffect;
|
||||
import mage.abilities.keyword.HexproofAbility;
|
||||
import mage.abilities.mana.SimpleManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Zone;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ValgavothsLair extends CardImpl {
|
||||
|
||||
public ValgavothsLair(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.LAND}, "");
|
||||
|
||||
// Hexproof
|
||||
this.addAbility(HexproofAbility.getInstance());
|
||||
|
||||
// Valgavoth's Lair enters tapped. As it enters, choose a color.
|
||||
this.addAbility(new EntersBattlefieldTappedAsItEntersChooseColorAbility());
|
||||
|
||||
// {T}: Add one mana of the chosen color.
|
||||
this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaChosenColorEffect(), new TapSourceCost()));
|
||||
}
|
||||
|
||||
private ValgavothsLair(final ValgavothsLair card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ValgavothsLair copy() {
|
||||
return new ValgavothsLair(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -43,6 +43,7 @@ public final class DuskmournHouseOfHorror extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("The Wandering Rescuer", 41, Rarity.MYTHIC, mage.cards.t.TheWanderingRescuer.class));
|
||||
cards.add(new SetCardInfo("Toby, Beastie Befriender", 35, Rarity.RARE, mage.cards.t.TobyBeastieBefriender.class));
|
||||
cards.add(new SetCardInfo("Unwanted Remake", 39, Rarity.UNCOMMON, mage.cards.u.UnwantedRemake.class));
|
||||
cards.add(new SetCardInfo("Valgavoth's Lair", 271, Rarity.RARE, mage.cards.v.ValgavothsLair.class));
|
||||
cards.add(new SetCardInfo("Winter, Misanthropic Guide", 240, Rarity.RARE, mage.cards.w.WinterMisanthropicGuide.class));
|
||||
cards.add(new SetCardInfo("Zimone, All-Questioning", 241, Rarity.RARE, mage.cards.z.ZimoneAllQuestioning.class));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue