From d3dded4759ef015c154ddde9aedb13f2aff82490 Mon Sep 17 00:00:00 2001 From: paul_snoops Date: Tue, 6 Jul 2021 00:01:10 +0100 Subject: [PATCH] AFR card scripts 05 Jul --- .../cardsfolder/upcoming/arcane_investigator.txt | 8 ++++++++ .../cardsfolder/upcoming/oswald_fiddlebender.txt | 8 ++++++++ .../cardsfolder/upcoming/prosper_tome_bound.txt | 14 ++++++++++++++ .../res/cardsfolder/upcoming/silver_raven.txt | 8 ++++++++ .../cardsfolder/upcoming/unexpected_windfall.txt | 8 ++++++++ ...dventures in the Forgotten Realms Commander.txt | 12 ++++++++++++ 6 files changed, 58 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/arcane_investigator.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/oswald_fiddlebender.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/prosper_tome_bound.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/silver_raven.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/unexpected_windfall.txt create mode 100644 forge-gui/res/editions/Dungeons & Dragons Adventures in the Forgotten Realms Commander.txt diff --git a/forge-gui/res/cardsfolder/upcoming/arcane_investigator.txt b/forge-gui/res/cardsfolder/upcoming/arcane_investigator.txt new file mode 100644 index 00000000000..d7ad243f17a --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/arcane_investigator.txt @@ -0,0 +1,8 @@ +Name:Arcane Investigator +ManaCost:1 U +Types:Creature Elf Wizard +PT:2/1 +A:AB$ RollDice | Cost$ 5 U | Sides$ 20 | ResultSubAbilities$ 1-9:DBDraw,10-20:DBDig | PrecostDesc$ Search the Room — | SpellDescription$ Roll a d20. +SVar:DBDraw:DB$ Draw | NumCards$ 1 | SpellDescription$ 1-9 VERT Draw a card. +SVar:DBDig:DB$ Dig | DigNum$ 3 | ChangeNum$ 1 | SpellDescription$ 10-20 VERT Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. +Oracle:Search the Room — {5}{U}: Roll a d20.\n1-9 | Draw a card.\n10-20 | Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. diff --git a/forge-gui/res/cardsfolder/upcoming/oswald_fiddlebender.txt b/forge-gui/res/cardsfolder/upcoming/oswald_fiddlebender.txt new file mode 100644 index 00000000000..3565b835f70 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/oswald_fiddlebender.txt @@ -0,0 +1,8 @@ +Name:Oswald Fiddlebender +ManaCost:1 W +Types:Legendary Creature Gnome Artificer +PT:2/2 +A:AB$ ChangeZone | Cost$ W T Sac<1/Artifact> | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact.cmcEQX | ChangeNum$ 1 | SorcerySpeed$ True | AILogic$ SacAndUpgrade | SpellDescription$ Search your library for an artifact card with mana value equal to 1 plus the sacrificed artifact's mana value, put that card onto the battlefield, then shuffle. Activate only as a sorcery. +SVar:X:Sacrificed$CardManaCost/Plus.1 +DeckHas:Ability$Sacrifice +Oracle:{T}, Sacrifice an artifact: Search your library for an artifact card with mana value equal to 1 plus the sacrificed artifact's mana value, put that card onto the battlefield, then shuffle. Activate only as a sorcery. diff --git a/forge-gui/res/cardsfolder/upcoming/prosper_tome_bound.txt b/forge-gui/res/cardsfolder/upcoming/prosper_tome_bound.txt new file mode 100644 index 00000000000..31d293153fb --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/prosper_tome_bound.txt @@ -0,0 +1,14 @@ +Name:Prosper, Tome-Bound +ManaCost:2 B R +Types:Legendary Creature Tiefling Warlock +PT:1/4 +K:Deathtouch +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ Mystic Arcanum — At the beginning of your end step, exile the top card of your library. Until the end of your next turn, you may play that card. +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. Until the end of your next turn, you may play that card. +SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | Duration$ UntilTheEndOfYourNextTurn | SubAbility$ DBCleanup | ForgetOnMoved$ Exile +SVar:STPlay:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ Until the end of your next turn, you may play that card. +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +T:Mode$ SpellCast | ValidCard$ Card.wasCastFromExile | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Pact Boon — Whenever you play a card from exile, create a Treasure token. +T:Mode$ ChangesZone | Origin$ Exile | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigToken | Secondary$ True | TriggerDescription$ Pact Boon — Whenever you play a card from exile, create a Treasure token. +SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac afr +Oracle:Deathtouch\nMystic Arcanum — At the beginning of your end step, exile the top card of your library. Until the end of your next turn, you may play that card.\nPact Boon — Whenever you play a card from exile, create a Treasure token. diff --git a/forge-gui/res/cardsfolder/upcoming/silver_raven.txt b/forge-gui/res/cardsfolder/upcoming/silver_raven.txt new file mode 100644 index 00000000000..5b9e392c391 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/silver_raven.txt @@ -0,0 +1,8 @@ +Name:Silver Raven +ManaCost:U +Types:Artifact Creature Bird +PT:1/1 +K:Flying +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigScry | TriggerDescription$ When CARDNAME enters the battlefield, scry 1. +SVar:TrigScry:DB$ Scry | ScryNum$ 1 +Oracle:Flying\nWhen Silver Raven enters the battlefield, scry 1. diff --git a/forge-gui/res/cardsfolder/upcoming/unexpected_windfall.txt b/forge-gui/res/cardsfolder/upcoming/unexpected_windfall.txt new file mode 100644 index 00000000000..2e431f3160c --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/unexpected_windfall.txt @@ -0,0 +1,8 @@ +Name:Unexpected Windfall +ManaCost:2 R R +Types:Sorcery +A:SP$ Draw | Cost$ 3 R Discard<1/Card/card> | CostDesc$ As an additional cost to cast this spell, discard a card. | NumCards$ 2 | Defined$ You | SubAbility$ DBToken | SpellDescription$ Draw two cards and create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") +SVar:DBToken:DB$ Token | TokenAmount$ 2 | TokenScript$ c_a_treasure_sac | TokenOwner$ You +DeckHas:Ability$Discard +DeckHints:Keyword$Madness & Ability$Delirium +Oracle:As an additional cost to cast this spell, discard a card.\nDraw two cards and create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") diff --git a/forge-gui/res/editions/Dungeons & Dragons Adventures in the Forgotten Realms Commander.txt b/forge-gui/res/editions/Dungeons & Dragons Adventures in the Forgotten Realms Commander.txt new file mode 100644 index 00000000000..3fe72e929af --- /dev/null +++ b/forge-gui/res/editions/Dungeons & Dragons Adventures in the Forgotten Realms Commander.txt @@ -0,0 +1,12 @@ +[metadata] +Code=AFC +Date=2021-07-23 +Name=Dungeons & Dragons: Adventures in the Forgotten Realms Commander +Type=Commander +ScryfallCode=AFC + +[cards] +1 M Galea, Kindler of Hope +2 M Prosper, Tome-Bound +3 M Sefris of the Hidden Ways +4 M Vrondiss, Rage of Ancients