mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[TMT] Implement Raph & Leo, Sibling Rivals
This commit is contained in:
parent
154184a894
commit
4fce9f643b
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/r/RaphAndLeoSiblingRivals.java
Normal file
50
Mage.Sets/src/mage/cards/r/RaphAndLeoSiblingRivals.java
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.condition.common.FirstCombatPhaseCondition;
|
||||
import mage.abilities.effects.common.AdditionalCombatPhaseEffect;
|
||||
import mage.abilities.effects.common.UntapTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.target.common.TargetAttackingCreature;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RaphAndLeoSiblingRivals extends CardImpl {
|
||||
|
||||
public RaphAndLeoSiblingRivals(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R/W}{R/W}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.MUTANT);
|
||||
this.subtype.add(SubType.NINJA);
|
||||
this.subtype.add(SubType.TURTLE);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Whenever Raph & Leo attack, if it's the first combat phase of the turn, untap one or two target attacking creatures. After this phase, there is an additional combat phase.
|
||||
Ability ability = new AttacksTriggeredAbility(new UntapTargetEffect())
|
||||
.withInterveningIf(FirstCombatPhaseCondition.instance)
|
||||
.setTriggerPhrase("Whenever {this} attack, ");
|
||||
ability.addEffect(new AdditionalCombatPhaseEffect());
|
||||
ability.addTarget(new TargetAttackingCreature(1, 2));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private RaphAndLeoSiblingRivals(final RaphAndLeoSiblingRivals card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RaphAndLeoSiblingRivals copy() {
|
||||
return new RaphAndLeoSiblingRivals(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -54,6 +54,7 @@ public final class TeenageMutantNinjaTurtles extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Plains", 253, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Plains", 310, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Prehistoric Pet", 22, Rarity.RARE, mage.cards.p.PrehistoricPet.class));
|
||||
cards.add(new SetCardInfo("Raph & Leo, Sibling Rivals", 166, Rarity.RARE, mage.cards.r.RaphAndLeoSiblingRivals.class));
|
||||
cards.add(new SetCardInfo("Raphael's Technique", 105, Rarity.RARE, mage.cards.r.RaphaelsTechnique.class));
|
||||
cards.add(new SetCardInfo("Raphael, Ninja Destroyer", 102, Rarity.MYTHIC, mage.cards.r.RaphaelNinjaDestroyer.class));
|
||||
cards.add(new SetCardInfo("Raphael, the Nightwatcher", 103, Rarity.RARE, mage.cards.r.RaphaelTheNightwatcher.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue