forked from External/mage
[J25] Implement Nazar, the Velvet Fang
This commit is contained in:
parent
d37e4a6bfd
commit
d7ae7b0e4d
3 changed files with 59 additions and 0 deletions
57
Mage.Sets/src/mage/cards/n/NazarTheVelvetFang.java
Normal file
57
Mage.Sets/src/mage/cards/n/NazarTheVelvetFang.java
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
package mage.cards.n;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.common.GainLifeControllerTriggeredAbility;
|
||||
import mage.abilities.costs.common.RemoveCountersSourceCost;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class NazarTheVelvetFang extends CardImpl {
|
||||
|
||||
public NazarTheVelvetFang(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.VAMPIRE);
|
||||
this.subtype.add(SubType.WARLOCK);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Menace
|
||||
this.addAbility(new MenaceAbility());
|
||||
|
||||
// Whenever you gain life, put a feeding counter on Nazar, the Velvet Fang.
|
||||
this.addAbility(new GainLifeControllerTriggeredAbility(new AddCountersSourceEffect(CounterType.FETCH.createInstance())));
|
||||
|
||||
// Whenever Nazar attacks, you may remove three feeding counters from it. If you do, you draw three cards and you lose 3 life.
|
||||
this.addAbility(new AttacksTriggeredAbility(new DoIfCostPaid(
|
||||
new DrawCardSourceControllerEffect(1, true),
|
||||
new RemoveCountersSourceCost(CounterType.FEEDING.createInstance(3))
|
||||
.setText("remove three feeding counters from it")
|
||||
).addEffect(new LoseLifeSourceControllerEffect(3).concatBy("and"))));
|
||||
}
|
||||
|
||||
private NazarTheVelvetFang(final NazarTheVelvetFang card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public NazarTheVelvetFang copy() {
|
||||
return new NazarTheVelvetFang(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -457,6 +457,7 @@ public final class FoundationsJumpstart extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Nadir Kraken", 332, Rarity.RARE, mage.cards.n.NadirKraken.class));
|
||||
cards.add(new SetCardInfo("Naiad of Hidden Coves", 333, Rarity.COMMON, mage.cards.n.NaiadOfHiddenCoves.class));
|
||||
cards.add(new SetCardInfo("Nantuko Husk", 468, Rarity.COMMON, mage.cards.n.NantukoHusk.class));
|
||||
cards.add(new SetCardInfo("Nazar, the Velvet Fang", 43, Rarity.UNCOMMON, mage.cards.n.NazarTheVelvetFang.class));
|
||||
cards.add(new SetCardInfo("Necropolis Regent", 469, Rarity.MYTHIC, mage.cards.n.NecropolisRegent.class));
|
||||
cards.add(new SetCardInfo("Necrotic Wound", 470, Rarity.UNCOMMON, mage.cards.n.NecroticWound.class));
|
||||
cards.add(new SetCardInfo("Nef-Crop Entangler", 581, Rarity.COMMON, mage.cards.n.NefCropEntangler.class));
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ public enum CounterType {
|
|||
FADE("fade"),
|
||||
FATE("fate"),
|
||||
FEATHER("feather"),
|
||||
FEEDING("feeding"),
|
||||
FETCH("fetch"),
|
||||
FILIBUSTER("filibuster"),
|
||||
FINALITY("finality"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue