- Fixed Polluted Bonds text.

This commit is contained in:
Jeff 2019-02-07 15:06:06 -06:00
parent e68c37432b
commit 22da1413ac

View file

@ -33,12 +33,14 @@ public final class PollutedBonds extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{B}{B}"); super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{B}{B}");
// Whenever a land enters the battlefield under an opponent's control, that player loses 2 life and you gain 2 life. // Whenever a land enters the battlefield under an opponent's control, that player loses 2 life and you gain 2 life.
Effect effect = new LoseLifeTargetEffect(2); Ability ability = new EntersBattlefieldAllTriggeredAbility(
effect.setText("that player loses 2 life"); Zone.BATTLEFIELD,
Ability ability = new EntersBattlefieldAllTriggeredAbility(Zone.BATTLEFIELD, effect, filter, false, SetTargetPointer.PLAYER, ""); new LoseLifeTargetEffect(2),
effect = new GainLifeEffect(2); filter,
effect.setText("and you gain 2 life"); false,
ability.addEffect(effect); SetTargetPointer.PLAYER,
"Whenever a land enters the battlefield under an opponent's control, that player loses 2 life and you gain 2 life.");
ability.addEffect(new GainLifeEffect(2));
this.addAbility(ability); this.addAbility(ability);
} }