[ZNR] fixed Inscriptions kicker cost text (#7044)

This commit is contained in:
Evan Kranzler 2020-09-23 19:51:44 -04:00
parent 20e7c7cda3
commit f450de0d51
4 changed files with 7 additions and 6 deletions

View file

@ -4,7 +4,6 @@ import mage.MageInt;
import mage.MageObject;
import mage.abilities.Ability;
import mage.abilities.Mode;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.FightTargetsEffect;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
@ -33,7 +32,7 @@ public final class InscriptionOfAbundance extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
// Kicker {2}{G}
this.addAbility(new KickerWithAnyNumberModesAbility(new ManaCostsImpl<>("{2}{G}")));
this.addAbility(new KickerWithAnyNumberModesAbility("{2}{G}"));
// Choose one. If this spell was kicked, choose any number instead.
// Put two +1/+1 counters on target creature.

View file

@ -2,7 +2,6 @@ package mage.cards.i;
import mage.abilities.Ability;
import mage.abilities.Mode;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.ReturnToHandTargetEffect;
@ -29,7 +28,7 @@ public final class InscriptionOfInsight extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{U}");
// Kicker {2}{U}{U}
this.addAbility(new KickerWithAnyNumberModesAbility(new ManaCostsImpl<>("{2}{U}{U}")));
this.addAbility(new KickerWithAnyNumberModesAbility("{2}{U}{U}"));
// Choose one. If this spell was kicked, choose any number instead.
// Return up to two target creatures to their owners' hands.

View file

@ -1,7 +1,6 @@
package mage.cards.i;
import mage.abilities.Mode;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffect;
import mage.abilities.effects.common.discard.DiscardTargetEffect;
@ -40,7 +39,7 @@ public final class InscriptionOfRuin extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}");
// Kicker {2}{B}{B}
this.addAbility(new KickerWithAnyNumberModesAbility(new ManaCostsImpl<>("{2}{B}{B}")));
this.addAbility(new KickerWithAnyNumberModesAbility("{2}{B}{B}"));
// Choose one. If this spell was kicked, choose any number instead.
// Target opponent discards two cards.

View file

@ -12,6 +12,10 @@ import mage.game.Game;
*/
public class KickerWithAnyNumberModesAbility extends KickerAbility implements OptionalAdditionalModeSourceCosts {
public KickerWithAnyNumberModesAbility(String manaString) {
super(manaString);
}
public KickerWithAnyNumberModesAbility(Cost cost) {
super(cost);
}