[AFR] Implemented Flurry of Blows

This commit is contained in:
Evan Kranzler 2021-07-05 21:25:27 -04:00
parent 9ff989b0c1
commit bed2e855b6
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,41 @@
package mage.cards.m;
import mage.MageInt;
import mage.abilities.common.CastSecondSpellTriggeredAbility;
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.counters.CounterType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class MonkOfTheOpenHand extends CardImpl {
public MonkOfTheOpenHand(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}");
this.subtype.add(SubType.ELF);
this.subtype.add(SubType.MONK);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
// Flurry of Blows Whenever you cast your second spell each turn, put a +1/+1 counter on Monk of the Open Hand.
this.addAbility(new CastSecondSpellTriggeredAbility(
new AddCountersSourceEffect(CounterType.P1P1.createInstance())
).withFlavorWord("Flurry of Blows"));
}
private MonkOfTheOpenHand(final MonkOfTheOpenHand card) {
super(card);
}
@Override
public MonkOfTheOpenHand copy() {
return new MonkOfTheOpenHand(this);
}
}

View file

@ -117,6 +117,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
cards.add(new SetCardInfo("Meteor Swarm", 155, Rarity.RARE, mage.cards.m.MeteorSwarm.class));
cards.add(new SetCardInfo("Mimic", 249, Rarity.COMMON, mage.cards.m.Mimic.class));
cards.add(new SetCardInfo("Minion of the Mighty", 156, Rarity.RARE, mage.cards.m.MinionOfTheMighty.class));
cards.add(new SetCardInfo("Monk of the Open Hand", 25, Rarity.UNCOMMON, mage.cards.m.MonkOfTheOpenHand.class));
cards.add(new SetCardInfo("Moon-Blessed Cleric", 26, Rarity.UNCOMMON, mage.cards.m.MoonBlessedCleric.class));
cards.add(new SetCardInfo("Mordenkainen's Polymorph", 65, Rarity.COMMON, mage.cards.m.MordenkainensPolymorph.class));
cards.add(new SetCardInfo("Mountain", 274, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS));