mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[TMT] Implement Cool but Rude (#14272)
This commit is contained in:
parent
680e58b5f9
commit
fa69cc733d
3 changed files with 74 additions and 0 deletions
72
Mage.Sets/src/mage/cards/c/CoolButRude.java
Normal file
72
Mage.Sets/src/mage/cards/c/CoolButRude.java
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.target.common.TargetCardInLibrary;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksWithCreaturesTriggeredAbility;
|
||||
import mage.abilities.common.BecomesClassLevelTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.common.DiscardCardCost;
|
||||
import mage.abilities.effects.common.DamagePlayersEffect;
|
||||
import mage.abilities.effects.common.DiscardCardControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.GainClassAbilitySourceEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardControllerEffect;
|
||||
import mage.abilities.effects.common.search.SearchLibraryPutInHandEffect;
|
||||
import mage.abilities.keyword.ClassLevelAbility;
|
||||
import mage.abilities.keyword.ClassReminderAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author muz
|
||||
*/
|
||||
public final class CoolButRude extends CardImpl {
|
||||
|
||||
public CoolButRude(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{R}");
|
||||
|
||||
this.subtype.add(SubType.CLASS);
|
||||
|
||||
// (Gain the next level as a sorcery to add its ability.)
|
||||
this.addAbility(new ClassReminderAbility());
|
||||
|
||||
// Whenever you attack, you may discard a card. If you do, draw a card.
|
||||
this.addAbility(new AttacksWithCreaturesTriggeredAbility(
|
||||
new DoIfCostPaid(new DrawCardSourceControllerEffect(1), new DiscardCardCost()), 1
|
||||
));
|
||||
|
||||
// {1}{R}: Level 2
|
||||
this.addAbility(new ClassLevelAbility(2, "{1}{R}"));
|
||||
|
||||
// Whenever you discard a card, this Class deals 2 damage to each opponent.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
new GainClassAbilitySourceEffect(new DiscardCardControllerTriggeredAbility(
|
||||
new DamagePlayersEffect(2, TargetController.OPPONENT), false), 2
|
||||
)
|
||||
));
|
||||
|
||||
// {1}{R}: Level 3
|
||||
this.addAbility(new ClassLevelAbility(3, "{1}{R}"));
|
||||
|
||||
// When this Class becomes level 3, search your library for a card, put it into your hand, shuffle, then discard a card at random.
|
||||
Ability ability = new BecomesClassLevelTriggeredAbility(
|
||||
new SearchLibraryPutInHandEffect(new TargetCardInLibrary(), false), 3);
|
||||
ability.addEffect(new DiscardControllerEffect(1, true).concatBy(", then"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private CoolButRude(final CoolButRude card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CoolButRude copy() {
|
||||
return new CoolButRude(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -24,6 +24,7 @@ public final class TeenageMutantNinjaTurtles extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Bebop & Rocksteady", 140, Rarity.RARE, mage.cards.b.BebopAndRocksteady.class));
|
||||
cards.add(new SetCardInfo("Broadcast Takeover", 86, Rarity.MYTHIC, mage.cards.b.BroadcastTakeover.class));
|
||||
cards.add(new SetCardInfo("Casey Jones, Jury-Rig Justiciar", 87, Rarity.UNCOMMON, mage.cards.c.CaseyJonesJuryRigJusticiar.class));
|
||||
cards.add(new SetCardInfo("Cool but Rude", 89, Rarity.RARE, mage.cards.c.CoolButRude.class));
|
||||
cards.add(new SetCardInfo("Does Machines", 34, Rarity.RARE, mage.cards.d.DoesMachines.class));
|
||||
cards.add(new SetCardInfo("Forest", 257, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Forest", 314, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
|
|
|
|||
|
|
@ -61326,6 +61326,7 @@ Splinter's Technique|Teenage Mutant Ninja Turtles|80|R|{3}{B}|Sorcery|||Sneak {1
|
|||
Super Shredder|Teenage Mutant Ninja Turtles|83|M|{1}{B}|Legendary Creature - Mutant Ninja Human|1|1|Menace$Whenever another permanent leaves the battlefield, put a +1/+1 counter on Super Shredder.|
|
||||
Broadcast Takeover|Teenage Mutant Ninja Turtles|86|M|{2}{R}{R}{R}|Sorcery|||Gain control of all artifacts your opponents control until end of turn. Untap them. They gain haste until end of turn.|
|
||||
Casey Jones, Jury-Rig Justiciar|Teenage Mutant Ninja Turtles|87|U|{1}{R}|Legendary Creature - Human Berserker|2|1|Haste$When Casey Jones enters, look at the top four cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.|
|
||||
Cool but Rude|Teenage Mutant Ninja Turtles|89|R|{1}{R}|Enchantment - Class|||(Gain the next level as a sorcery to add its ability.)$Whenever you attack, you may discard a card. If you do, draw a card.${1}{R}: Level 2$Whenever you discard a card, this Class deals 2 damage to each opponent.${1}{R}: Level 3$When this Class becomes level 3, search your library for a card, put it into your hand, shuffle, then discard a card at random.|
|
||||
Raphael, the Nightwatcher|Teenage Mutant Ninja Turtles|103|R|{2}{R}{R}|Legendary Creature - Mutant Ninja Turtle|2|3|Sneak {1}{R}{R}$Attacking creatures you control have double strike.|
|
||||
Raphael's Technique|Teenage Mutant Ninja Turtles|105|R|{4}{R}{R}|Instant|||Sneak {2}{R}$Each player may discard their hand and draw seven cards.|
|
||||
Groundchuck & Dirtbag|Teenage Mutant Ninja Turtles|115|R|{4}{G}{G}|Legendary Creature - Ox Mole Mutant|8|8|Trample$Whenever you tap a land for mana, add {G}.|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue