forked from External/mage
[GN3] Implement Vogar, Necropolis Tyrant (#9749)
* [GN3] Implement Vogar, Necropolis Tyrant * Disable menace hint for Vogar to fix build error Co-authored-by: Evan Kranzler <theelk801@gmail.com>
This commit is contained in:
parent
8482f0a6fc
commit
c4db3f2f26
2 changed files with 59 additions and 0 deletions
58
Mage.Sets/src/mage/cards/v/VogarNecropolisTyrant.java
Normal file
58
Mage.Sets/src/mage/cards/v/VogarNecropolisTyrant.java
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
package mage.cards.v;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||
import mage.abilities.common.DiesSourceTriggeredAbility;
|
||||
import mage.abilities.condition.common.MyTurnCondition;
|
||||
import mage.abilities.decorator.ConditionalTriggeredAbility;
|
||||
import mage.abilities.dynamicvalue.common.CountersSourceCount;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.hint.common.MyTurnHint;
|
||||
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 PurpleCrowbar
|
||||
*/
|
||||
public final class VogarNecropolisTyrant extends CardImpl {
|
||||
|
||||
public VogarNecropolisTyrant(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}{B}");
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.ZOMBIE, SubType.GIANT);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Menace
|
||||
this.addAbility(new MenaceAbility(false));
|
||||
|
||||
// Whenever another creature dies during your turn, put a +1/+1 counter on Vogar, Necropolis Tyrant.
|
||||
this.addAbility(new ConditionalTriggeredAbility(
|
||||
new DiesCreatureTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false, true),
|
||||
MyTurnCondition.instance, "Whenever another creature dies during your turn, put a +1/+1 counter on {this}."
|
||||
).addHint(MyTurnHint.instance));
|
||||
|
||||
// When Vogar dies, draw a card for each +1/+1 counter on it.
|
||||
this.addAbility(new DiesSourceTriggeredAbility(
|
||||
new DrawCardSourceControllerEffect(new CountersSourceCount(CounterType.P1P1))
|
||||
.setText("draw a card for each +1/+1 counter on it"), false
|
||||
));
|
||||
}
|
||||
|
||||
private VogarNecropolisTyrant(final VogarNecropolisTyrant card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VogarNecropolisTyrant copy() {
|
||||
return new VogarNecropolisTyrant(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -22,6 +22,7 @@ public class GameNight2022 extends ExpansionSet {
|
|||
this.hasBoosters = false;
|
||||
this.hasBasicLands = false; //temporary
|
||||
|
||||
cards.add(new SetCardInfo("Vogar, Necropolis Tyrant", 3, Rarity.MYTHIC, mage.cards.v.VogarNecropolisTyrant.class));
|
||||
cards.add(new SetCardInfo("Imaryll, Elfhame Elite", 5, Rarity.MYTHIC, mage.cards.i.ImaryllElfhameElite.class));
|
||||
cards.add(new SetCardInfo("Nogi, Draco-Zealot", 4, Rarity.MYTHIC, mage.cards.n.NogiDracoZealot.class));
|
||||
cards.add(new SetCardInfo("Zamriel, Seraph of Steel", 1, Rarity.MYTHIC, mage.cards.z.ZamrielSeraphOfSteel.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue