[ONE] Implement Vraan, Executioner Thane

This commit is contained in:
theelk801 2023-01-21 22:01:33 -05:00
parent 6e2f6100ce
commit 3ce2b48850
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,48 @@
package mage.cards.v;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.DiesCreatureTriggeredAbility;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
/**
* @author TheElk801
*/
public final class VraanExecutionerThane extends CardImpl {
public VraanExecutionerThane(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
this.addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.PHYREXIAN);
this.subtype.add(SubType.VAMPIRE);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// Whenever one or more other creatures you control die, each opponent loses 2 life and you gain 2 life. This ability triggers only once each turn.
Ability ability = new DiesCreatureTriggeredAbility(
new LoseLifeOpponentsEffect(2), false,
StaticFilters.FILTER_CONTROLLED_CREATURE
).setTriggerPhrase("Whenever one or more other creatures you control die, ").setTriggersOnce(true);
ability.addEffect(new GainLifeEffect(2).concatBy("and"));
this.addAbility(ability);
}
private VraanExecutionerThane(final VraanExecutionerThane card) {
super(card);
}
@Override
public VraanExecutionerThane copy() {
return new VraanExecutionerThane(this);
}
}

View file

@ -123,6 +123,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
cards.add(new SetCardInfo("Venser, Corpse Puppet", 219, Rarity.RARE, mage.cards.v.VenserCorpsePuppet.class));
cards.add(new SetCardInfo("Vindictive Flamestoker", 154, Rarity.RARE, mage.cards.v.VindictiveFlamestoker.class));
cards.add(new SetCardInfo("Volt Charge", 155, Rarity.COMMON, mage.cards.v.VoltCharge.class));
cards.add(new SetCardInfo("Vraan, Executioner Thane", 114, Rarity.COMMON, mage.cards.v.VraanExecutionerThane.class));
cards.add(new SetCardInfo("Vulshok Splitter", 156, Rarity.COMMON, mage.cards.v.VulshokSplitter.class));
cards.add(new SetCardInfo("White Sun's Twilight", 38, Rarity.RARE, mage.cards.w.WhiteSunsTwilight.class));
}