mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Add Cauldron's Gift
This commit is contained in:
@@ -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);
|
||||
|
||||
7
forge-gui/res/cardsfolder/upcoming/cauldrons_gift.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/cauldrons_gift.txt
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user