mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
- Text fix
This commit is contained in:
parent
cec7be8604
commit
7b3686e418
1 changed files with 13 additions and 5 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue