mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Implemented Vindictive Vampire
This commit is contained in:
parent
8c4606a84b
commit
eb51daab57
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/v/VindictiveVampire.java
Normal file
43
Mage.Sets/src/mage/cards/v/VindictiveVampire.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.v;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||
import mage.abilities.effects.common.DamagePlayersEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class VindictiveVampire extends CardImpl {
|
||||
|
||||
public VindictiveVampire(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}");
|
||||
|
||||
this.subtype.add(SubType.VAMPIRE);
|
||||
|
||||
// Whenever another creature you control dies, Vindictive Vampire deals 1 damage to each opponent and you gain 1 life.
|
||||
Ability ability = new DiesCreatureTriggeredAbility(
|
||||
new DamagePlayersEffect(1, TargetController.OPPONENT), false,
|
||||
StaticFilters.FILTER_CONTROLLED_A_CREATURE, true
|
||||
);
|
||||
ability.addEffect(new GainLifeEffect(1).concatBy("and"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private VindictiveVampire(final VindictiveVampire card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VindictiveVampire copy() {
|
||||
return new VindictiveVampire(this);
|
||||
}
|
||||
}
|
|
@ -237,6 +237,7 @@ public final class RavnicaAllegiance extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Twilight Panther", 28, Rarity.COMMON, mage.cards.t.TwilightPanther.class));
|
||||
cards.add(new SetCardInfo("Unbreakable Formation", 29, Rarity.RARE, mage.cards.u.UnbreakableFormation.class));
|
||||
cards.add(new SetCardInfo("Verity Circle", 58, Rarity.RARE, mage.cards.v.VerityCircle.class));
|
||||
cards.add(new SetCardInfo("Vindictive Vampire", 90, Rarity.UNCOMMON, mage.cards.v.VindictiveVampire.class));
|
||||
cards.add(new SetCardInfo("Warrant // Warden", 230, Rarity.RARE, mage.cards.w.WarrantWarden.class));
|
||||
cards.add(new SetCardInfo("Watchful Giant", 30, Rarity.COMMON, mage.cards.w.WatchfulGiant.class));
|
||||
cards.add(new SetCardInfo("Wilderness Reclamation", 149, Rarity.UNCOMMON, mage.cards.w.WildernessReclamation.class));
|
||||
|
|
Loading…
Reference in a new issue