diff --git a/forge-game/src/main/java/forge/game/ability/effects/ChangeZoneEffect.java b/forge-game/src/main/java/forge/game/ability/effects/ChangeZoneEffect.java index 7debeb1d96a..128c49d24a8 100644 --- a/forge-game/src/main/java/forge/game/ability/effects/ChangeZoneEffect.java +++ b/forge-game/src/main/java/forge/game/ability/effects/ChangeZoneEffect.java @@ -980,7 +980,10 @@ public class ChangeZoneEffect extends SpellAbilityEffect { } c.setController(newController, game.getNextTimestamp()); } - + if (sa.hasParam("WithCounters")) { + String[] parse = sa.getParam("WithCounters").split("_"); + c.addEtbCounter(CounterType.getType(parse[0]), Integer.parseInt(parse[1]), player); + } if (sa.hasParam("Transformed")) { if (c.isDoubleFaced()) { c.changeCardState("Transform", null); diff --git a/forge-gui/res/cardsfolder/upcoming/cauldrons_gift.txt b/forge-gui/res/cardsfolder/upcoming/cauldrons_gift.txt new file mode 100644 index 00000000000..da233a0b65b --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/cauldrons_gift.txt @@ -0,0 +1,7 @@ +Name:Cauldron's Gift +ManaCost:4 B +Types:Sorcery +A:SP$ Mill | Cost$ 4 B | NumCards$ 4 | Defined$ You | SubAbility$ DBChangeZone | ConditionCheckSVar$ X | References$ X | SpellDescription$ Adamant — If at least three black mana was spent to cast this spell, put the top four cards of your library into your graveyard. You may choose a creature card in your graveyard. If you do, return it to the battlefield with an additional +1/+1 counter on it. +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouOwn | Hidden$ True | ChangeNum$ 1 | WithCounters$ P1P1_1 +SVar:X:Count$Adamant.Black.1.0 +Oracle:Adamant — If at least three black mana was spent to cast this spell, put the top four cards of your library into your graveyard.\nYou may choose a creature card in your graveyard. If you do, return it to the battlefield with an additional +1/+1 counter on it.