mirror of
https://github.com/correl/mage.git
synced 2025-04-02 03:18:09 -09:00
[MOM] Implement Voldaren Thrillseeker
This commit is contained in:
parent
f9d4c37d2d
commit
07f19b9e86
2 changed files with 57 additions and 0 deletions
Mage.Sets/src/mage
56
Mage.Sets/src/mage/cards/v/VoldarenThrillseeker.java
Normal file
56
Mage.Sets/src/mage/cards/v/VoldarenThrillseeker.java
Normal file
|
@ -0,0 +1,56 @@
|
|||
package mage.cards.v;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.SourcePermanentPowerCount;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.keyword.BackupAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class VoldarenThrillseeker extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new SourcePermanentPowerCount(false);
|
||||
|
||||
public VoldarenThrillseeker(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
this.subtype.add(SubType.VAMPIRE);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Backup 2
|
||||
BackupAbility backupAbility = new BackupAbility(this, 2);
|
||||
this.addAbility(backupAbility);
|
||||
|
||||
// {1}, Sacrifice this creature: It deals damage equal to its power to any target.
|
||||
Ability ability = new SimpleActivatedAbility(
|
||||
new DamageTargetEffect(xValue, "it"), new GenericManaCost(1)
|
||||
);
|
||||
ability.addCost(new SacrificeSourceCost().setText("sacrifice this creature"));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private VoldarenThrillseeker(final VoldarenThrillseeker card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VoldarenThrillseeker copy() {
|
||||
return new VoldarenThrillseeker(this);
|
||||
}
|
||||
}
|
|
@ -76,6 +76,7 @@ public final class MarchOfTheMachine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Thornwood Falls", 274, Rarity.COMMON, mage.cards.t.ThornwoodFalls.class));
|
||||
cards.add(new SetCardInfo("Tranquil Cove", 275, Rarity.COMMON, mage.cards.t.TranquilCove.class));
|
||||
cards.add(new SetCardInfo("Transcendent Message", 83, Rarity.RARE, mage.cards.t.TranscendentMessage.class));
|
||||
cards.add(new SetCardInfo("Voldaren Thrillseeker", 171, Rarity.RARE, mage.cards.v.VoldarenThrillseeker.class));
|
||||
cards.add(new SetCardInfo("Wind-Scarred Crag", 276, Rarity.COMMON, mage.cards.w.WindScarredCrag.class));
|
||||
cards.add(new SetCardInfo("Yargle and Multani", 256, Rarity.RARE, mage.cards.y.YargleAndMultani.class));
|
||||
cards.add(new SetCardInfo("Zephyr Winder", 328, Rarity.COMMON, mage.cards.z.ZephyrWinder.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue