[TLE] Implement Whirlwind Technique

This commit is contained in:
theelk801 2025-11-11 12:40:22 -05:00
parent 32d9c6887c
commit 9057461c29
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,44 @@
package mage.cards.w;
import mage.abilities.effects.common.DrawDiscardTargetEffect;
import mage.abilities.effects.keyword.AirbendTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.target.TargetPlayer;
import mage.target.common.TargetCreaturePermanent;
import mage.target.targetpointer.SecondTargetPointer;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class WhirlwindTechnique extends CardImpl {
public WhirlwindTechnique(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{U}{U}");
this.subtype.add(SubType.LESSON);
// Target player draws two cards, then discards a card.
this.getSpellAbility().addEffect(new DrawDiscardTargetEffect(2, 1));
this.getSpellAbility().addTarget(new TargetPlayer());
// Airbend up to two target creatures.
this.getSpellAbility().addEffect(new AirbendTargetEffect()
.setText("<br>Airbend up to two target creatures")
.setTargetPointer(new SecondTargetPointer()));
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
}
private WhirlwindTechnique(final WhirlwindTechnique card) {
super(card);
}
@Override
public WhirlwindTechnique copy() {
return new WhirlwindTechnique(this);
}
}

View file

@ -257,6 +257,7 @@ public final class AvatarTheLastAirbenderEternal extends ExpansionSet {
cards.add(new SetCardInfo("Warship Scout", 285, Rarity.COMMON, mage.cards.w.WarshipScout.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Warstorm Surge", 38, Rarity.MYTHIC, mage.cards.w.WarstormSurge.class));
cards.add(new SetCardInfo("Water Whip", 227, Rarity.RARE, mage.cards.w.WaterWhip.class));
cards.add(new SetCardInfo("Whirlwind Technique", 100, Rarity.UNCOMMON, mage.cards.w.WhirlwindTechnique.class));
cards.add(new SetCardInfo("Wolf Cove Villager", 221, Rarity.COMMON, mage.cards.w.WolfCoveVillager.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Wolf Cove Villager", 276, Rarity.COMMON, mage.cards.w.WolfCoveVillager.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Worldly Tutor", 314, Rarity.RARE, mage.cards.w.WorldlyTutor.class));