mirror of
https://github.com/correl/mage.git
synced 2024-12-28 03:00:10 +00:00
[MOC] Implement Nesting Dovehawk
This commit is contained in:
parent
1d1996a670
commit
e8a0f29ae1
2 changed files with 52 additions and 0 deletions
51
Mage.Sets/src/mage/cards/n/NestingDovehawk.java
Normal file
51
Mage.Sets/src/mage/cards/n/NestingDovehawk.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
package mage.cards.n;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility;
|
||||
import mage.abilities.effects.common.PopulateEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class NestingDovehawk extends CardImpl {
|
||||
|
||||
public NestingDovehawk(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
|
||||
|
||||
this.subtype.add(SubType.BIRD);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// At the beginning of combat on your turn, populate.
|
||||
this.addAbility(new BeginningOfCombatTriggeredAbility(new PopulateEffect(), TargetController.YOU, false));
|
||||
|
||||
// Whenever a creature token enters the battlefield under your control, put a +1/+1 counter on Nesting Dovehawk.
|
||||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
new AddCountersSourceEffect(CounterType.P1P1.createInstance()), StaticFilters.FILTER_CREATURE_TOKEN
|
||||
));
|
||||
}
|
||||
|
||||
private NestingDovehawk(final NestingDovehawk card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public NestingDovehawk copy() {
|
||||
return new NestingDovehawk(this);
|
||||
}
|
||||
}
|
|
@ -195,6 +195,7 @@ public final class MarchOfTheMachineCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Myriad Landscape", 416, Rarity.UNCOMMON, mage.cards.m.MyriadLandscape.class));
|
||||
cards.add(new SetCardInfo("Mystic Monastery", 417, Rarity.UNCOMMON, mage.cards.m.MysticMonastery.class));
|
||||
cards.add(new SetCardInfo("Nadir Kraken", 228, Rarity.RARE, mage.cards.n.NadirKraken.class));
|
||||
cards.add(new SetCardInfo("Nesting Dovehawk", 17, Rarity.RARE, mage.cards.n.NestingDovehawk.class));
|
||||
cards.add(new SetCardInfo("Nettlecyst", 367, Rarity.RARE, mage.cards.n.Nettlecyst.class));
|
||||
cards.add(new SetCardInfo("Night's Whisper", 259, Rarity.COMMON, mage.cards.n.NightsWhisper.class));
|
||||
cards.add(new SetCardInfo("Noxious Gearhulk", 260, Rarity.MYTHIC, mage.cards.n.NoxiousGearhulk.class));
|
||||
|
|
Loading…
Reference in a new issue