mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
updated Raid text
This commit is contained in:
parent
7073de31bb
commit
cae39848b9
27 changed files with 52 additions and 53 deletions
|
|
@ -32,13 +32,13 @@ public final class BloodsoakedChampion extends CardImpl {
|
|||
// Bloodstained Brave can't block.
|
||||
this.addAbility(new CantBlockAbility());
|
||||
|
||||
// <i>Raid</i> — {1}{B}: Return Bloodstained Brave from your graveyard to the battlefield. Activate this ability only if you attacked with a creature this turn.
|
||||
// <i>Raid</i> — {1}{B}: Return Bloodstained Brave from your graveyard to the battlefield. Activate this ability only if you attacked this turn.
|
||||
Ability ability = new ConditionalActivatedAbility(
|
||||
Zone.GRAVEYARD,
|
||||
new ReturnSourceFromGraveyardToBattlefieldEffect(),
|
||||
new ManaCostsImpl<>("{1}{B}"),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — {1}{B}: Return {this} from your graveyard to the battlefield. Activate this ability only if you attacked with a creature this turn");
|
||||
"<i>Raid</i> — {1}{B}: Return {this} from your graveyard to the battlefield. Activate this ability only if you attacked this turn");
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
|
||||
package mage.cards.c;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.common.RaidCondition;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
|
|
@ -14,8 +12,9 @@ import mage.game.Game;
|
|||
import mage.players.Player;
|
||||
import mage.watchers.common.PlayerAttackedWatcher;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ChartACourse extends CardImpl {
|
||||
|
|
@ -29,7 +28,7 @@ public final class ChartACourse extends CardImpl {
|
|||
this.getSpellAbility().addWatcher(new PlayerAttackedWatcher());
|
||||
}
|
||||
|
||||
public ChartACourse(final ChartACourse card) {
|
||||
private ChartACourse(final ChartACourse card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
|
|
@ -43,10 +42,10 @@ class ChartACourseEffect extends OneShotEffect {
|
|||
|
||||
ChartACourseEffect() {
|
||||
super(Outcome.Neutral);
|
||||
this.staticText = "Then discard a card unless you attacked with a creature this turn.";
|
||||
this.staticText = "Then discard a card unless you attacked this turn.";
|
||||
}
|
||||
|
||||
ChartACourseEffect(final ChartACourseEffect effect) {
|
||||
private ChartACourseEffect(final ChartACourseEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ public final class DeadeyeRigHauler extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// <i>Raid</i>— When Deadeye Rig-Hauler enters the battlefield, if you attacked with a creature this turn, you may return target creature to its owner's hand.
|
||||
// <i>Raid</i>— When Deadeye Rig-Hauler enters the battlefield, if you attacked this turn, you may return target creature to its owner's hand.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), true), RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, you may return target creature to its owner's hand.");
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, you may return target creature to its owner's hand.");
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ public final class DeadeyeTormentor extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// <i>Raid</i> — When Deadeye Tormentor enters the battlefield, if you attacked with a creature this turn, target opponent discards a card.
|
||||
// <i>Raid</i> — When Deadeye Tormentor enters the battlefield, if you attacked this turn, target opponent discards a card.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new DiscardTargetEffect(1)), RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, target opponent discards a card.");
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, target opponent discards a card.");
|
||||
ability.addTarget(new TargetOpponent());
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@ public final class FirecannonBlast extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}{R}");
|
||||
|
||||
// Firecannon Blast deals 3 damage to target creature.
|
||||
// Raid - Firecannon Blast deals 6 damage to that creature instead if you attacked with a creature this turn.
|
||||
// Raid - Firecannon Blast deals 6 damage to that creature instead if you attacked this turn.
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new DamageTargetEffect(6),
|
||||
new DamageTargetEffect(3),
|
||||
RaidCondition.instance,
|
||||
"{this} deals 3 damage to target creature.<br><i>Raid</i> — {this} deals 6 damage instead if you attacked with a creature this turn"));
|
||||
"{this} deals 3 damage to target creature.<br><i>Raid</i> — {this} deals 6 damage instead if you attacked this turn"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addWatcher(new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,12 +29,12 @@ public final class MaraudingLooter extends CardImpl {
|
|||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Raid - At the beginning of your end step, if you attacked with a creature this turn, you may draw a card. If you do, discard a card.
|
||||
// Raid - At the beginning of your end step, if you attacked this turn, you may draw a card. If you do, discard a card.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(
|
||||
new BeginningOfEndStepTriggeredAbility(new DrawDiscardControllerEffect(1, 1, true), TargetController.YOU, false),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — At the beginning of your end step, "
|
||||
+ "if you attacked with a creature this turn, "
|
||||
+ "if you attacked this turn, "
|
||||
+ "you may draw a card. If you do, discard a card.");
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ public final class MarduHeartPiercer extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// <em>Raid</em> - When Mardu Heart-Piercer enters the battlefield, if you attacked with a creature this turn, Mardu Heart-Piercer deals 2 damage to any target.
|
||||
// <em>Raid</em> - When Mardu Heart-Piercer enters the battlefield, if you attacked this turn, Mardu Heart-Piercer deals 2 damage to any target.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(2)), RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, {this} deals 2 damage to any target.");
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, {this} deals 2 damage to any target.");
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@ public final class MarduHordechief extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// <i>Raid</i> — When Mardu Hordechief enters the battlefield, if you attacked with a creature this turn, create a 1/1 white Warrior creature token
|
||||
// <i>Raid</i> — When Mardu Hordechief enters the battlefield, if you attacked this turn, create a 1/1 white Warrior creature token
|
||||
this.addAbility(new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new WarriorToken())), RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, create a 1/1 white Warrior creature token."),
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, create a 1/1 white Warrior creature token."),
|
||||
new PlayerAttackedWatcher());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@ public final class MarduSkullhunter extends CardImpl {
|
|||
// Mardu Skullhunter enters the battlefield tapped.
|
||||
this.addAbility(new EntersBattlefieldTappedAbility());
|
||||
|
||||
// <em>Raid</em> - When Mardu Skullhunter enters the battlefield, if you attacked with a creature this turn, target opponent discards a card.
|
||||
// <em>Raid</em> - When Mardu Skullhunter enters the battlefield, if you attacked this turn, target opponent discards a card.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new DiscardTargetEffect(1)), RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, target opponent discards a card.");
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, target opponent discards a card.");
|
||||
ability.addTarget(new TargetOpponent());
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@ public final class MarduWarshrieker extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// <em>Raid</em> - When Mardu Warshrieker enters the battlefield, if you attacked with a creature this turn, add {R}{W}{B}.
|
||||
// <em>Raid</em> - When Mardu Warshrieker enters the battlefield, if you attacked this turn, add {R}{W}{B}.
|
||||
this.addAbility(new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new AddManaToManaPoolSourceControllerEffect(new Mana(1, 0, 0, 1, 1, 0, 0, 0))), RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, add {R}{W}{B}."),
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, add {R}{W}{B}."),
|
||||
new PlayerAttackedWatcher());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public final class NavigatorsRuin extends CardImpl {
|
|||
Ability ability = new ConditionalInterveningIfTriggeredAbility(
|
||||
new BeginningOfEndStepTriggeredAbility(new PutLibraryIntoGraveTargetEffect(4), TargetController.YOU, false),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — At the beginning of your end step, if you attacked with a creature this turn, target opponent puts the top four cards of their library into their graveyard.");
|
||||
"<i>Raid</i> — At the beginning of your end step, if you attacked this turn, target opponent puts the top four cards of their library into their graveyard.");
|
||||
ability.addTarget(new TargetOpponent());
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ public final class RaidersWake extends CardImpl {
|
|||
// Whenever an opponent discards a card, that player loses 2 life.
|
||||
this.addAbility(new DiscardsACardOpponentTriggeredAbility(new LoseLifeTargetEffect(2), false, SetTargetPointer.PLAYER));
|
||||
|
||||
// Raid — At the beginning of your end step, if you attacked with a creature this turn, target opponent discards a card.
|
||||
// Raid — At the beginning of your end step, if you attacked this turn, target opponent discards a card.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(
|
||||
new BeginningOfEndStepTriggeredAbility(new DiscardTargetEffect(1), TargetController.YOU, false), RaidCondition.instance,
|
||||
"<i>Raid</i> — At the beginning of your end step, if you attacked with a creature this turn, target opponent discards a card.");
|
||||
"<i>Raid</i> — At the beginning of your end step, if you attacked this turn, target opponent discards a card.");
|
||||
ability.addTarget(new TargetOpponent());
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ public final class RepeatingBarrage extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
|
||||
// Raid — {3}{R}{R}: Return Repeating Barrage from your graveyard to your hand. Activate this ability only if you attacked with a creature this turn.
|
||||
// Raid — {3}{R}{R}: Return Repeating Barrage from your graveyard to your hand. Activate this ability only if you attacked this turn.
|
||||
Ability ability = new ConditionalActivatedAbility(Zone.GRAVEYARD,
|
||||
new ReturnSourceFromGraveyardToHandEffect(),
|
||||
new ManaCostsImpl("{3}{R}{R}"),
|
||||
|
|
|
|||
|
|
@ -31,10 +31,10 @@ public final class RiggingRunner extends CardImpl {
|
|||
// First strike
|
||||
this.addAbility(FirstStrikeAbility.getInstance());
|
||||
|
||||
// Raid — Rigging Runner enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.
|
||||
// Raid — Rigging Runner enters the battlefield with a +1/+1 counter on it if you attacked this turn.
|
||||
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(1), false),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — {this} enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.",
|
||||
"<i>Raid</i> — {this} enters the battlefield with a +1/+1 counter on it if you attacked this turn.",
|
||||
"{this} enters the battlefield with a +1/+1 counter"),
|
||||
new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,11 +36,11 @@ public final class RuinRaider extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// <i>Raid</i> — At the beginning of your end step, if you attacked with a creature this turn, reveal the top card of your library and put that card into your hand. You lose life equal to the card's converted mana cost.
|
||||
// <i>Raid</i> — At the beginning of your end step, if you attacked this turn, reveal the top card of your library and put that card into your hand. You lose life equal to the card's converted mana cost.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(
|
||||
new BeginningOfEndStepTriggeredAbility(new RuinRaiderEffect(), TargetController.YOU, false),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — At the beginning of your end step, if you attacked with a creature this turn, "
|
||||
"<i>Raid</i> — At the beginning of your end step, if you attacked this turn, "
|
||||
+ "reveal the top card of your library and put that card into your hand. "
|
||||
+ "You lose life equal to the card's converted mana cost.");
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@ public final class ShipwreckLooter extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Raid - When Shipwreck Looter enters the battlefield,if you attacked with a creature this turn, you may draw a card. If you do, discard a card.
|
||||
// Raid - When Shipwreck Looter enters the battlefield,if you attacked this turn, you may draw a card. If you do, discard a card.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(
|
||||
new EntersBattlefieldTriggeredAbility(new DrawDiscardControllerEffect(1, 1, true)),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, you may draw a card. If you do, discard a card.");
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, you may draw a card. If you do, discard a card.");
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ public final class SirenReaver extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// <i>Raid</i> — Siren Reaver costs {1} less to cast if you attacked with a creature this turn.
|
||||
// <i>Raid</i> — Siren Reaver costs {1} less to cast if you attacked this turn.
|
||||
Ability ability = new SimpleStaticAbility(Zone.STACK, new SpellCostReductionSourceEffect(1, RaidCondition.instance));
|
||||
ability.setAbilityWord(AbilityWord.RAID);
|
||||
ability.setRuleAtTheTop(true);
|
||||
|
|
|
|||
|
|
@ -31,10 +31,10 @@ public final class StormFleetAerialist extends CardImpl {
|
|||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Raid - Storm Fleet Aerialist enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.
|
||||
// Raid - Storm Fleet Aerialist enters the battlefield with a +1/+1 counter on it if you attacked this turn.
|
||||
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(1), false),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — {this} enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.",
|
||||
"<i>Raid</i> — {this} enters the battlefield with a +1/+1 counter on it if you attacked this turn.",
|
||||
"{this} enters the battlefield with a +1/+1 counter"),
|
||||
new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,11 +30,11 @@ public final class StormFleetArsonist extends CardImpl {
|
|||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Raid - When Storm Fleet Arsonist enters the battlefield, if you attacked with a creature this turn, target opponent sacrifices a permanent.
|
||||
// Raid - When Storm Fleet Arsonist enters the battlefield, if you attacked this turn, target opponent sacrifices a permanent.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(
|
||||
new EntersBattlefieldTriggeredAbility(new SacrificeEffect(new FilterPermanent(), 1, "Target opponent")),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, target opponent sacrifices a permanent.");
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, target opponent sacrifices a permanent.");
|
||||
ability.addTarget(new TargetOpponent());
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,11 +30,11 @@ public final class StormFleetPyromancer extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Raid - When Storm Fleet Pyromancer enters the battlefield, if you attacked with a creature this turn, Storm Fleet Pyromancer deals 2 damage to any target.
|
||||
// Raid - When Storm Fleet Pyromancer enters the battlefield, if you attacked this turn, Storm Fleet Pyromancer deals 2 damage to any target.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(
|
||||
new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(2)),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, {this} deals 2 damage to any target.");
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, {this} deals 2 damage to any target.");
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@ public final class StormFleetSpy extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Raid — When Storm Fleet Spy enters the battlefield, if you attacked with a creature this turn, draw a card.
|
||||
// Raid — When Storm Fleet Spy enters the battlefield, if you attacked this turn, draw a card.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(
|
||||
new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(1)),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, draw a card.");
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, draw a card.");
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,11 +27,11 @@ public final class SwaggeringCorsair extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// <i>Raid</i> — Swaggering Corsair enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.
|
||||
// <i>Raid</i> — Swaggering Corsair enters the battlefield with a +1/+1 counter on it if you attacked this turn.
|
||||
this.addAbility(new EntersBattlefieldAbility(
|
||||
new AddCountersSourceEffect(CounterType.P1P1.createInstance(1)),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — {this} enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.", ""
|
||||
"<i>Raid</i> — {this} enters the battlefield with a +1/+1 counter on it if you attacked this turn.", ""
|
||||
), new PlayerAttackedWatcher());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ public final class TimelyHordemate extends CardImpl {
|
|||
|
||||
// <i>Raid</i> — When Timely Hordemate enters the battlefield, if you attacked this turn, return target creature card with converted mana cost 2 or less from your graveyard to the battlefield.
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new ReturnFromGraveyardToBattlefieldTargetEffect()), RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, return target creature card with converted mana cost 2 or less from your graveyard to the battlefield.");
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, return target creature card with converted mana cost 2 or less from your graveyard to the battlefield.");
|
||||
ability.addTarget(new TargetCardInYourGraveyard(filter));
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
|
||||
|
|
|
|||
|
|
@ -39,10 +39,10 @@ public final class WarNameAspirant extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// <i>Raid</i> — War-Name Aspirant enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.
|
||||
// <i>Raid</i> — War-Name Aspirant enters the battlefield with a +1/+1 counter on it if you attacked this turn.
|
||||
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(1), false),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — {this} enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn",
|
||||
"<i>Raid</i> — {this} enters the battlefield with a +1/+1 counter on it if you attacked this turn",
|
||||
"{this} enters the battlefield with a +1/+1 counter"),
|
||||
new PlayerAttackedWatcher());
|
||||
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@ public final class WingmateRoc extends CardImpl {
|
|||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// <em>Raid</em> - When Wingmate Roc enters the battlefield, if you attacked with a creature this turn, create a 3/4 white Bird creature token with flying.
|
||||
// <em>Raid</em> - When Wingmate Roc enters the battlefield, if you attacked this turn, create a 3/4 white Bird creature token with flying.
|
||||
this.addAbility(new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new WingmateRocToken())), RaidCondition.instance,
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked with a creature this turn, create a 3/4 white Bird creature token with flying."),
|
||||
"<i>Raid</i> — When {this} enters the battlefield, if you attacked this turn, create a 3/4 white Bird creature token with flying."),
|
||||
new PlayerAttackedWatcher());
|
||||
|
||||
// Whenever Wingmate Roc attacks, you gain 1 life for each attacking creature.
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ public enum RaidCondition implements Condition {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "if you attacked with a creature this turn";
|
||||
return "if you attacked this turn";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import mage.watchers.Watcher;
|
|||
*
|
||||
* @author emerald000
|
||||
*/
|
||||
public class MeleeAbility extends AttacksTriggeredAbility {
|
||||
public class MeleeAbility extends AttacksTriggeredAbility {
|
||||
|
||||
public MeleeAbility() {
|
||||
super(new BoostSourceEffect(new MeleeDynamicValue(), new MeleeDynamicValue(), Duration.EndOfTurn), false);
|
||||
|
|
@ -37,7 +37,7 @@ public class MeleeAbility extends AttacksTriggeredAbility {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Melee <i>(Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.)</i>";
|
||||
return "Melee <i>(Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked this combat.)</i>";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue