[LCI] Implement Waterwind Scout

This commit is contained in:
theelk801 2023-10-24 20:39:08 -04:00
parent 8d510e8978
commit 993cc44f69
3 changed files with 45 additions and 1 deletions

View file

@ -0,0 +1,43 @@
package mage.cards.w;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.MapToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class WaterwindScout extends CardImpl {
public WaterwindScout(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}");
this.subtype.add(SubType.MERFOLK);
this.subtype.add(SubType.SCOUT);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// Flying
this.addAbility(FlyingAbility.getInstance());
// When Waterwind Scout enters the battlefield, create a Map token.
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new MapToken())));
}
private WaterwindScout(final WaterwindScout card) {
super(card);
}
@Override
public WaterwindScout copy() {
return new WaterwindScout(this);
}
}

View file

@ -50,5 +50,6 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
cards.add(new SetCardInfo("The Skullspore Nexus", 212, Rarity.MYTHIC, mage.cards.t.TheSkullsporeNexus.class));
cards.add(new SetCardInfo("Treasure Cove", 261, Rarity.RARE, mage.cards.t.TreasureCove.class));
cards.add(new SetCardInfo("Treasure Map", 261, Rarity.RARE, mage.cards.t.TreasureMap.class));
cards.add(new SetCardInfo("Waterwind Scout", 84, Rarity.COMMON, mage.cards.w.WaterwindScout.class));
}
}

View file

@ -26,7 +26,7 @@ public final class MapToken extends TokenImpl {
new GenericManaCost(1)
);
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
ability.addCost(new SacrificeSourceCost().setText("sacrifice this artifact"));
ability.addTarget(new TargetControlledCreaturePermanent());
this.addAbility(ability);
}