[LTC] Implement Monstrosity of the Lake

This commit is contained in:
theelk801 2023-06-19 09:12:12 -04:00
parent 19a9a94817
commit 0258e3977b
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,53 @@
package mage.cards.m;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DoIfCostPaid;
import mage.abilities.effects.common.TapAllEffect;
import mage.abilities.effects.common.counter.AddCountersAllEffect;
import mage.abilities.keyword.IslandcyclingAbility;
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 mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class MonstrosityOfTheLake extends CardImpl {
public MonstrosityOfTheLake(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.KRAKEN);
this.power = new MageInt(4);
this.toughness = new MageInt(6);
// When Monstrosity of the Lake enters the battlefield, you may pay {5}. If you do, tap all creatures your opponents control, then put a stun counter on each of those creatures.
this.addAbility(new EntersBattlefieldTriggeredAbility(new DoIfCostPaid(
new TapAllEffect(StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURES), new GenericManaCost(5)
).addEffect(new AddCountersAllEffect(
CounterType.STUN.createInstance(), StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURE
).setText(", then put a stun counter on each of those creatures"))));
// Islandcycling {2}
this.addAbility(new IslandcyclingAbility(new ManaCostsImpl<>("{2}")));
}
private MonstrosityOfTheLake(final MonstrosityOfTheLake card) {
super(card);
}
@Override
public MonstrosityOfTheLake copy() {
return new MonstrosityOfTheLake(this);
}
}

View file

@ -153,6 +153,7 @@ public final class TalesOfMiddleEarthCommander extends ExpansionSet {
cards.add(new SetCardInfo("Minamo, School at Water's Edge", 369, Rarity.MYTHIC, mage.cards.m.MinamoSchoolAtWatersEdge.class));
cards.add(new SetCardInfo("Mind Stone", 282, Rarity.UNCOMMON, mage.cards.m.MindStone.class));
cards.add(new SetCardInfo("Model of Unity", 78, Rarity.RARE, mage.cards.m.ModelOfUnity.class));
cards.add(new SetCardInfo("Monstrosity of the Lake", 22, Rarity.RARE, mage.cards.m.MonstrosityOfTheLake.class));
cards.add(new SetCardInfo("Mortify", 269, Rarity.UNCOMMON, mage.cards.m.Mortify.class));
cards.add(new SetCardInfo("Mouth of Ronom", 370, Rarity.MYTHIC, mage.cards.m.MouthOfRonom.class));
cards.add(new SetCardInfo("Murmuring Bosk", 320, Rarity.RARE, mage.cards.m.MurmuringBosk.class));