[DFT] Implement Voyage Home

This commit is contained in:
theelk801 2025-01-27 21:38:57 -05:00
parent 800c79d46f
commit 3b9d07ce9b
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,36 @@
package mage.cards.v;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.keyword.AffinityForArtifactsAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class VoyageHome extends CardImpl {
public VoyageHome(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{5}{W}{U}");
// Affinity for artifacts
this.addAbility(new AffinityForArtifactsAbility());
// You draw three cards and gain 3 life.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3, true));
this.getSpellAbility().addEffect(new GainLifeEffect(3).setText("and gain 3 life"));
}
private VoyageHome(final VoyageHome card) {
super(card);
}
@Override
public VoyageHome copy() {
return new VoyageHome(this);
}
}

View file

@ -122,6 +122,7 @@ public final class Aetherdrift extends ExpansionSet {
cards.add(new SetCardInfo("Valor's Flagship", 35, Rarity.MYTHIC, mage.cards.v.ValorsFlagship.class));
cards.add(new SetCardInfo("Veloheart Bike", 184, Rarity.COMMON, mage.cards.v.VeloheartBike.class));
cards.add(new SetCardInfo("Venomsac Lagac", 185, Rarity.COMMON, mage.cards.v.VenomsacLagac.class));
cards.add(new SetCardInfo("Voyage Home", 227, Rarity.UNCOMMON, mage.cards.v.VoyageHome.class));
cards.add(new SetCardInfo("Wastewood Verge", 268, Rarity.RARE, mage.cards.w.WastewoodVerge.class));
cards.add(new SetCardInfo("Wild Roads", 269, Rarity.UNCOMMON, mage.cards.w.WildRoads.class));
cards.add(new SetCardInfo("Willowrush Verge", 270, Rarity.RARE, mage.cards.w.WillowrushVerge.class));