- Fixed other cards related to #6787

This commit is contained in:
jeffwadsworth 2020-07-06 14:18:12 -05:00
parent 802aca942a
commit af74fb335c
4 changed files with 20 additions and 16 deletions

View file

@ -1,4 +1,3 @@
package mage.cards.b;
import java.util.UUID;
@ -28,12 +27,14 @@ public final class BlueManaBattery extends CardImpl {
public BlueManaBattery(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
// {2}, {tap}: Put a charge counter on Blue Mana Battery.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.STORAGE.createInstance(1)), new GenericManaCost(2));
// {2}, {T}: Put a charge counter on Blue Mana Battery.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new AddCountersSourceEffect(CounterType.CHARGE.createInstance(1)), new GenericManaCost(2));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
// {tap}, Remove any number of charge counters from Blue Mana Battery: Add {U}, then add an additional {U} for each charge counter removed this way.
// {T}, Remove any number of charge counters from Blue Mana Battery: Add {U},
// then add an additional {U} for each charge counter removed this way.
ability = new DynamicManaAbility(
Mana.BlueMana(1),
new IntPlusDynamicValue(1, RemovedCountersForCostValue.instance),

View file

@ -1,4 +1,3 @@
package mage.cards.g;
import java.util.UUID;
@ -28,12 +27,14 @@ public final class GreenManaBattery extends CardImpl {
public GreenManaBattery(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
// {2}, {tap}: Put a charge counter on Green Mana Battery.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.STORAGE.createInstance(1)), new GenericManaCost(2));
// {2}, {T}: Put a charge counter on Green Mana Battery.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new AddCountersSourceEffect(CounterType.CHARGE.createInstance(1)), new GenericManaCost(2));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
// {tap}, Remove any number of charge counters from Green Mana Battery: Add {G}, then add an additional {G} for each charge counter removed this way.
// {T}, Remove any number of charge counters from Green Mana Battery: Add {G},
// then add an additional {G} for each charge counter removed this way.
ability = new DynamicManaAbility(
Mana.GreenMana(1),
new IntPlusDynamicValue(1, RemovedCountersForCostValue.instance),

View file

@ -1,4 +1,3 @@
package mage.cards.r;
import java.util.UUID;
@ -28,12 +27,14 @@ public final class RedManaBattery extends CardImpl {
public RedManaBattery(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
// {2}, {tap}: Put a charge counter on Red Mana Battery.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.STORAGE.createInstance(1)), new GenericManaCost(2));
// {2}, {T}: Put a charge counter on Red Mana Battery.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new AddCountersSourceEffect(CounterType.CHARGE.createInstance(1)), new GenericManaCost(2));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
// {tap}, Remove any number of charge counters from Red Mana Battery: Add {R}, then add an additional {R} for each charge counter removed this way.
// {T}, Remove any number of charge counters from Red Mana Battery: Add {R},
// then add an additional {R} for each charge counter removed this way.
ability = new DynamicManaAbility(
Mana.RedMana(1),
new IntPlusDynamicValue(1, RemovedCountersForCostValue.instance),

View file

@ -1,4 +1,3 @@
package mage.cards.w;
import java.util.UUID;
@ -28,12 +27,14 @@ public final class WhiteManaBattery extends CardImpl {
public WhiteManaBattery(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
// {2}, {tap}: Put a charge counter on White Mana Battery.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.STORAGE.createInstance(1)), new GenericManaCost(2));
// {2}, {T}: Put a charge counter on White Mana Battery.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new AddCountersSourceEffect(CounterType.CHARGE.createInstance(1)), new GenericManaCost(2));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
// {tap}, Remove any number of charge counters from White Mana Battery: Add {W}, then add an additional {W} for each charge counter removed this way.
// {T}, Remove any number of charge counters from White Mana Battery: Add {W},
// then add an additional {W} for each charge counter removed this way.
ability = new DynamicManaAbility(
Mana.WhiteMana(1),
new IntPlusDynamicValue(1, RemovedCountersForCostValue.instance),