[MKM] Implement Trostani, Three Whispers

This commit is contained in:
theelk801 2024-01-16 19:32:01 -05:00
parent 8b2203588a
commit a937b436d0
2 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,63 @@
package mage.cards.t;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import mage.abilities.keyword.DeathtouchAbility;
import mage.abilities.keyword.DoubleStrikeAbility;
import mage.abilities.keyword.VigilanceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class TrostaniThreeWhispers extends CardImpl {
public TrostaniThreeWhispers(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{G}{G/W}{W}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.DRYAD);
this.power = new MageInt(4);
this.toughness = new MageInt(4);
// {1}{G}: Target creature gains deathtouch until end of turn.
Ability ability = new SimpleActivatedAbility(
new GainAbilityTargetEffect(DeathtouchAbility.getInstance()), new ManaCostsImpl<>("{1}{G}")
);
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
// {G/W}: Target creature gains vigilance until end of turn.
ability = new SimpleActivatedAbility(
new GainAbilityTargetEffect(VigilanceAbility.getInstance()), new ManaCostsImpl<>("{G/W}")
);
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
// {2}{W}: Target creature gains double strike until end of turn.
ability = new SimpleActivatedAbility(
new GainAbilityTargetEffect(DoubleStrikeAbility.getInstance()), new ManaCostsImpl<>("{2}{W}")
);
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
}
private TrostaniThreeWhispers(final TrostaniThreeWhispers card) {
super(card);
}
@Override
public TrostaniThreeWhispers copy() {
return new TrostaniThreeWhispers(this);
}
}

View file

@ -61,6 +61,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
cards.add(new SetCardInfo("Swamp", 274, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Thundering Falls", 269, Rarity.RARE, mage.cards.t.ThunderingFalls.class));
cards.add(new SetCardInfo("Topiary Panther", 179, Rarity.COMMON, mage.cards.t.TopiaryPanther.class));
cards.add(new SetCardInfo("Trostani, Three Whispers", 238, Rarity.MYTHIC, mage.cards.t.TrostaniThreeWhispers.class));
cards.add(new SetCardInfo("Undercity Sewers", 270, Rarity.RARE, mage.cards.u.UndercitySewers.class));
cards.add(new SetCardInfo("Underground Mortuary", 271, Rarity.RARE, mage.cards.u.UndergroundMortuary.class));
cards.add(new SetCardInfo("Wojek Investigator", 36, Rarity.RARE, mage.cards.w.WojekInvestigator.class));