From c5abdcd9751ce4bbb80df2fc76de53031af20eec Mon Sep 17 00:00:00 2001 From: Xavier Date: Tue, 12 Jul 2022 19:12:33 -0400 Subject: [PATCH 1/2] Card scripts for Lantern of Revealing and Marching Duodrone. --- .../res/cardsfolder/upcoming/lantern_of_revealing.txt | 8 ++++++++ forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/lantern_of_revealing.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt diff --git a/forge-gui/res/cardsfolder/upcoming/lantern_of_revealing.txt b/forge-gui/res/cardsfolder/upcoming/lantern_of_revealing.txt new file mode 100644 index 00000000000..d22895723c4 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/lantern_of_revealing.txt @@ -0,0 +1,8 @@ +Name:Lantern of Revealing +ManaCost:3 +Types:Artifact +A:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color. +A:AB$ Dig | Cost$ 4 T | DigNum$ 1 | ChangeNum$ All | ForceRevealToController$ True | Optional$ True | PromptToSkipOptionalAbility$ True | OptionalAbilityPrompt$ Would you like to put the land onto the battlefield tapped? | ChangeValid$ Land | DestinationZone$ Battlefield | Tapped$ True | DestinationZone2$ Library | LibraryPosition2$ 0 | RememberChanged$ True | SubAbility$ DBMoveToBottom | SpellDescription$ Look at the top card of your library. If it’s a land card, you may put it onto the battlefield tapped. If you don’t put the card onto the battlefield, you may put it on the bottom of your library. +SVar:DBMoveToBottom:DB$ Dig | DigNum$ 1 | DestinationZone$ Library | Optional$ True | LibraryPosition$ -1 | LibraryPosition2$ 0 | ConditionPresent$ Card | ConditionDefined$ Remembered | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +Oracle:{T}: Add one mana of any color.\n{4}, {T}: Look at the top card of your library. If it’s a land card, you may put it onto the battlefield tapped. If you don’t put the card onto the battlefield, you may put it on the bottom of your library. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt b/forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt new file mode 100644 index 00000000000..64ccaeb3fde --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt @@ -0,0 +1,7 @@ +Name:Marching Duodrone +ManaCost:2 +Types:Artifact Creature Construct +PT:2/2 +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBTreasure | TriggerDescription$ Whenever CARDNAME attacks, each player creates a Treasure token. +SVar:DBTreasure:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ Player +Oracle:Whenever Marching Duodrone attacks, each player creates a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") \ No newline at end of file From 14134f15a14bb2239fd4914806961483dc280114 Mon Sep 17 00:00:00 2001 From: Xavier Date: Wed, 13 Jul 2022 08:45:31 -0400 Subject: [PATCH 2/2] Addressed comments on PR --- forge-gui/res/cardsfolder/upcoming/lantern_of_revealing.txt | 4 ++-- forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/lantern_of_revealing.txt b/forge-gui/res/cardsfolder/upcoming/lantern_of_revealing.txt index d22895723c4..709f63c0384 100644 --- a/forge-gui/res/cardsfolder/upcoming/lantern_of_revealing.txt +++ b/forge-gui/res/cardsfolder/upcoming/lantern_of_revealing.txt @@ -2,7 +2,7 @@ Name:Lantern of Revealing ManaCost:3 Types:Artifact A:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color. -A:AB$ Dig | Cost$ 4 T | DigNum$ 1 | ChangeNum$ All | ForceRevealToController$ True | Optional$ True | PromptToSkipOptionalAbility$ True | OptionalAbilityPrompt$ Would you like to put the land onto the battlefield tapped? | ChangeValid$ Land | DestinationZone$ Battlefield | Tapped$ True | DestinationZone2$ Library | LibraryPosition2$ 0 | RememberChanged$ True | SubAbility$ DBMoveToBottom | SpellDescription$ Look at the top card of your library. If it’s a land card, you may put it onto the battlefield tapped. If you don’t put the card onto the battlefield, you may put it on the bottom of your library. +A:AB$ Dig | Cost$ 4 T | DigNum$ 1 | ChangeNum$ All | ForceRevealToController$ True | Optional$ True | PromptToSkipOptionalAbility$ True | OptionalAbilityPrompt$ Would you like to put the land onto the battlefield tapped? | ChangeValid$ Land | DestinationZone$ Battlefield | Tapped$ True | DestinationZone2$ Library | LibraryPosition2$ 0 | RememberChanged$ True | SubAbility$ DBMoveToBottom | SpellDescription$ Look at the top card of your library. If it's a land card, you may put it onto the battlefield tapped. If you don't put the card onto the battlefield, you may put it on the bottom of your library. SVar:DBMoveToBottom:DB$ Dig | DigNum$ 1 | DestinationZone$ Library | Optional$ True | LibraryPosition$ -1 | LibraryPosition2$ 0 | ConditionPresent$ Card | ConditionDefined$ Remembered | ConditionCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -Oracle:{T}: Add one mana of any color.\n{4}, {T}: Look at the top card of your library. If it’s a land card, you may put it onto the battlefield tapped. If you don’t put the card onto the battlefield, you may put it on the bottom of your library. \ No newline at end of file +Oracle:{T}: Add one mana of any color.\n{4}, {T}: Look at the top card of your library. If it's a land card, you may put it onto the battlefield tapped. If you don't put the card onto the battlefield, you may put it on the bottom of your library. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt b/forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt index 64ccaeb3fde..60fe45d69c2 100644 --- a/forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt +++ b/forge-gui/res/cardsfolder/upcoming/marching_duodrone.txt @@ -2,6 +2,7 @@ Name:Marching Duodrone ManaCost:2 Types:Artifact Creature Construct PT:2/2 -T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBTreasure | TriggerDescription$ Whenever CARDNAME attacks, each player creates a Treasure token. +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBTreasure | TriggerDescription$ Whenever CARDNAME attacks, each player creates a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") SVar:DBTreasure:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ Player +DeckHas:Ability$Token|Sacrifice & Type$Artifact|Treasure Oracle:Whenever Marching Duodrone attacks, each player creates a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") \ No newline at end of file