mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Implemented Tolarian Kraken
This commit is contained in:
parent
e35afdae0e
commit
f9b16e53fb
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/t/TolarianKraken.java
Normal file
49
Mage.Sets/src/mage/cards/t/TolarianKraken.java
Normal file
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DrawCardControllerTriggeredAbility;
|
||||
import mage.abilities.common.delayed.ReflexiveTriggeredAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.DoWhenCostPaid;
|
||||
import mage.abilities.effects.common.MayTapOrUntapTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TolarianKraken extends CardImpl {
|
||||
|
||||
public TolarianKraken(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}{U}");
|
||||
|
||||
this.subtype.add(SubType.KRAKEN);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// Whenever you draw a card, you may pay {1}. When you do, you may tap or untap target creature.
|
||||
ReflexiveTriggeredAbility ability = new ReflexiveTriggeredAbility(
|
||||
new MayTapOrUntapTargetEffect(), false,
|
||||
"you may tap or untap target creature"
|
||||
);
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(new DrawCardControllerTriggeredAbility(new DoWhenCostPaid(
|
||||
ability, new GenericManaCost(1),
|
||||
"Pay {1} to tap or untap a permanent?"
|
||||
), false));
|
||||
}
|
||||
|
||||
private TolarianKraken(final TolarianKraken card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TolarianKraken copy() {
|
||||
return new TolarianKraken(this);
|
||||
}
|
||||
}
|
|
@ -151,6 +151,7 @@ public final class CoreSet2021 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Temple of Triumph", 256, Rarity.RARE, mage.cards.t.TempleOfTriumph.class));
|
||||
cards.add(new SetCardInfo("Thieves' Guild Enforcer", 125, Rarity.RARE, mage.cards.t.ThievesGuildEnforcer.class));
|
||||
cards.add(new SetCardInfo("Tide Skimmer", 79, Rarity.UNCOMMON, mage.cards.t.TideSkimmer.class));
|
||||
cards.add(new SetCardInfo("Tolarian Kraken", 80, Rarity.UNCOMMON, mage.cards.t.TolarianKraken.class));
|
||||
cards.add(new SetCardInfo("Tormod's Crypt", 241, Rarity.UNCOMMON, mage.cards.t.TormodsCrypt.class));
|
||||
cards.add(new SetCardInfo("Trufflesnout", 212, Rarity.COMMON, mage.cards.t.Trufflesnout.class));
|
||||
cards.add(new SetCardInfo("Ugin, the Spirit Dragon", 1, Rarity.MYTHIC, mage.cards.u.UginTheSpiritDragon.class));
|
||||
|
|
Loading…
Reference in a new issue