- Text fix

This commit is contained in:
jeffwadsworth 2020-06-17 15:26:47 -05:00
parent cec7be8604
commit 7b3686e418

View file

@ -1,4 +1,3 @@
package mage.cards.l; package mage.cards.l;
import java.util.UUID; import java.util.UUID;
@ -30,10 +29,19 @@ public final class LifeMatrix extends CardImpl {
public LifeMatrix(UUID ownerId, CardSetInfo setInfo) { public LifeMatrix(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}"); super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
// {4}, {T}: Put a matrix counter on target creature and that creature gains Remove a matrix counter from this creature: Regenerate this creature. Activate this ability only during your upkeep. // {4}, {T}: Put a matrix counter on target creature and that creature gains
Ability ability = new ConditionalActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.MATRIX.createInstance()), new GenericManaCost(4), // Remove a matrix counter from this creature: Regenerate this creature.
new IsStepCondition(PhaseStep.UPKEEP), null); // Activate this ability only during your upkeep.
Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new RemoveCountersSourceCost(CounterType.MATRIX.createInstance())); Ability ability = new ConditionalActivatedAbility(
Zone.BATTLEFIELD,
new AddCountersTargetEffect(CounterType.MATRIX.createInstance()),
new GenericManaCost(4),
new IsStepCondition(PhaseStep.UPKEEP), "Put a matrix counter on target creature and "
+ "that creature gains “Remove a matrix counter from this creature: "
+ "Regenerate this creature.” Activate this ability only during your upkeep.");
Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new RegenerateSourceEffect(),
new RemoveCountersSourceCost(CounterType.MATRIX.createInstance()));
ability.addEffect(new GainAbilityTargetEffect(ability2, Duration.Custom)); ability.addEffect(new GainAbilityTargetEffect(ability2, Duration.Custom));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent()); ability.addTarget(new TargetCreaturePermanent());