mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
[J25] Implement Sutina, Speaker of the Tajuru
This commit is contained in:
parent
c29e18e068
commit
7b94db70c7
2 changed files with 64 additions and 0 deletions
63
Mage.Sets/src/mage/cards/s/SutinaSpeakerOfTheTajuru.java
Normal file
63
Mage.Sets/src/mage/cards/s/SutinaSpeakerOfTheTajuru.java
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.delayed.ReflexiveTriggeredAbility;
|
||||
import mage.abilities.costs.common.ReturnToHandChosenControlledPermanentCost;
|
||||
import mage.abilities.effects.common.DoWhenCostPaid;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.effects.common.search.SearchLibraryPutInPlayEffect;
|
||||
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 mage.target.common.TargetCardInLibrary;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SutinaSpeakerOfTheTajuru extends CardImpl {
|
||||
|
||||
public SutinaSpeakerOfTheTajuru(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.ELF);
|
||||
this.subtype.add(SubType.SCOUT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Sutina, Speaker of the Tajuru enters, search your library for a basic land card, put it onto the battlefield tapped, then shuffle.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutInPlayEffect(
|
||||
new TargetCardInLibrary(StaticFilters.FILTER_CARD_BASIC_LAND), true
|
||||
)));
|
||||
|
||||
// Whenever Sutina attacks, you may return a land you control to its owner's hand. When you do, put a +1/+1 counter on target creature.
|
||||
ReflexiveTriggeredAbility ability = new ReflexiveTriggeredAbility(
|
||||
new AddCountersTargetEffect(CounterType.P1P1.createInstance()), false
|
||||
);
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(new AttacksTriggeredAbility(new DoWhenCostPaid(
|
||||
ability, new ReturnToHandChosenControlledPermanentCost(
|
||||
new TargetControlledPermanent(StaticFilters.FILTER_CONTROLLED_PERMANENT_A_LAND)
|
||||
), "Return a land you control to hand?"
|
||||
)));
|
||||
}
|
||||
|
||||
private SutinaSpeakerOfTheTajuru(final SutinaSpeakerOfTheTajuru card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SutinaSpeakerOfTheTajuru copy() {
|
||||
return new SutinaSpeakerOfTheTajuru(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -642,6 +642,7 @@ public final class FoundationsJumpstart extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Sunmane Pegasus", 267, Rarity.COMMON, mage.cards.s.SunmanePegasus.class));
|
||||
cards.add(new SetCardInfo("Sunspear Shikari", 268, Rarity.COMMON, mage.cards.s.SunspearShikari.class));
|
||||
cards.add(new SetCardInfo("Supreme Will", 370, Rarity.UNCOMMON, mage.cards.s.SupremeWill.class));
|
||||
cards.add(new SetCardInfo("Sutina, Speaker of the Tajuru", 56, Rarity.UNCOMMON, mage.cards.s.SutinaSpeakerOfTheTajuru.class));
|
||||
cards.add(new SetCardInfo("Swamp", 87, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Swarm of Bloodflies", 492, Rarity.UNCOMMON, mage.cards.s.SwarmOfBloodflies.class));
|
||||
cards.add(new SetCardInfo("Swift Response", 269, Rarity.COMMON, mage.cards.s.SwiftResponse.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue