mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
- Text fix
This commit is contained in:
parent
85083a4433
commit
f2c09a7193
1 changed files with 14 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
|||
|
||||
package mage.cards.r;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.common.BecomesBlockedByCreatureTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -20,12 +20,20 @@ import mage.filter.StaticFilters;
|
|||
public final class Retaliation extends CardImpl {
|
||||
|
||||
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."
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
|
||||
new GainAbilityControlledEffect(new BecomesBlockedByCreatureTriggeredAbility(new BoostSourceEffect(1, 1, Duration.EndOfTurn), false),
|
||||
Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURES)));
|
||||
// Creatures you control have "Whenever this creature becomes blocked by a creature,
|
||||
// this creature gets +1/+1 until end of turn."
|
||||
Effect effect = new GainAbilityControlledEffect(
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue