Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions Mage.Sets/src/mage/cards/a/AzizaMageTowerCaptain.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
package mage.cards.a;

import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.SpellCastControllerTriggeredAbility;
import mage.abilities.costs.common.TapTargetCost;
import mage.abilities.effects.common.CopyTargetStackObjectEffect;
import mage.abilities.effects.common.DoIfCostPaid;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.StaticFilters;
import mage.target.common.TargetControlledPermanent;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SetTargetPointer;

/**
*
* @author muz
*/
public final class AzizaMageTowerCaptain extends CardImpl {

public AzizaMageTowerCaptain(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{R}{W}");

this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.DJINN);
this.subtype.add(SubType.SORCERER);
this.power = new MageInt(2);
this.toughness = new MageInt(2);

// Whenever you cast an instant or sorcery spell, you may tap three untapped creatures you control. If you do, copy that spell. You may choose new targets for the copy.
this.addAbility(new SpellCastControllerTriggeredAbility(
new DoIfCostPaid(
new CopyTargetStackObjectEffect(true)
.setText("copy that spell. You may choose new targets for the copy"),
new TapTargetCost(new TargetControlledPermanent(3, StaticFilters.FILTER_CONTROLLED_UNTAPPED_CREATURES))
), StaticFilters.FILTER_SPELL_AN_INSTANT_OR_SORCERY, false, SetTargetPointer.SPELL
));

}

private AzizaMageTowerCaptain(final AzizaMageTowerCaptain card) {
super(card);
}

@Override
public AzizaMageTowerCaptain copy() {
return new AzizaMageTowerCaptain(this);
}
}
2 changes: 2 additions & 0 deletions Mage.Sets/src/mage/sets/SecretsOfStrixhaven.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ private SecretsOfStrixhaven() {
cards.add(new SetCardInfo("Arnyn, Deathbloom Botanist", 74, Rarity.UNCOMMON, mage.cards.a.ArnynDeathbloomBotanist.class));
cards.add(new SetCardInfo("Artistic Process", 108, Rarity.UNCOMMON, mage.cards.a.ArtisticProcess.class));
cards.add(new SetCardInfo("Ascendant Dustspeaker", 8, Rarity.COMMON, mage.cards.a.AscendantDustspeaker.class));
cards.add(new SetCardInfo("Aziza, Mage Tower Captain", 174, Rarity.RARE, mage.cards.a.AzizaMageTowerCaptain.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Aziza, Mage Tower Captain", 345, Rarity.RARE, mage.cards.a.AzizaMageTowerCaptain.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Banishing Betrayal", 38, Rarity.COMMON, mage.cards.b.BanishingBetrayal.class));
cards.add(new SetCardInfo("Berta, Wise Extrapolator", 175, Rarity.RARE, mage.cards.b.BertaWiseExtrapolator.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Berta, Wise Extrapolator", 346, Rarity.RARE, mage.cards.b.BertaWiseExtrapolator.class, NON_FULL_USE_VARIOUS));
Expand Down
Loading