- Text fix

This commit is contained in:
jeffwadsworth 2020-06-19 14:36:01 -05:00
parent 85083a4433
commit f2c09a7193

View file

@ -1,9 +1,9 @@
package mage.cards.r; package mage.cards.r;
import java.util.UUID; import java.util.UUID;
import mage.abilities.common.BecomesBlockedByCreatureTriggeredAbility; import mage.abilities.common.BecomesBlockedByCreatureTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility; import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.continuous.BoostSourceEffect; import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect; import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
@ -20,12 +20,20 @@ import mage.filter.StaticFilters;
public final class Retaliation extends CardImpl { public final class Retaliation extends CardImpl {
public Retaliation(UUID ownerId, CardSetInfo setInfo) { public Retaliation(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{G}"); super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{G}");
// Creatures you control have "Whenever this creature becomes blocked by a creature, this creature gets +1/+1 until end of turn." // Creatures you control have "Whenever this creature becomes blocked by a creature,
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, // this creature gets +1/+1 until end of turn."
new GainAbilityControlledEffect(new BecomesBlockedByCreatureTriggeredAbility(new BoostSourceEffect(1, 1, Duration.EndOfTurn), false), Effect effect = new GainAbilityControlledEffect(
Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURES))); new BecomesBlockedByCreatureTriggeredAbility(
new BoostSourceEffect(
1, 1,
Duration.EndOfTurn), false),
Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURES);
effect.setText("Creatures you control have \"Whenever this creature becomes blocked by a creature, "
+ "this creature gets +1/+1 until end of turn.");
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
effect));
} }
public Retaliation(final Retaliation card) { public Retaliation(final Retaliation card) {