From dc0ed6e2337be23e69c1a9a2abc5930103f856e9 Mon Sep 17 00:00:00 2001 From: paul_snoops Date: Tue, 6 Jul 2021 11:02:29 +0100 Subject: [PATCH] AFR card scripts 05 Jul --- .../res/cardsfolder/upcoming/grand_master_of_flowers.txt | 4 ++-- forge-gui/res/cardsfolder/upcoming/minsc_beloved_ranger.txt | 1 + forge-gui/res/cardsfolder/upcoming/mordenkainen.txt | 1 + forge-gui/res/cardsfolder/upcoming/oswald_fiddlebender.txt | 2 ++ forge-gui/res/cardsfolder/upcoming/prosper_tome_bound.txt | 1 + forge-gui/res/cardsfolder/upcoming/unexpected_windfall.txt | 1 + 6 files changed, 8 insertions(+), 2 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/grand_master_of_flowers.txt b/forge-gui/res/cardsfolder/upcoming/grand_master_of_flowers.txt index a80a0b6070b..1584f2b74af 100644 --- a/forge-gui/res/cardsfolder/upcoming/grand_master_of_flowers.txt +++ b/forge-gui/res/cardsfolder/upcoming/grand_master_of_flowers.txt @@ -2,8 +2,8 @@ Name:Grand Master of Flowers ManaCost:2 W W Types:Legendary Planeswalker Bahamut Loyalty:3 -S:Mode$ Continuous | Affected$ Card.Self | CheckSVar$ X | SVarCompare$ GE7 | AddKeyword$ Flying & Indestructible | AddType$ Creature & Dragon & God | SetPower$ 7 | SetToughness$ 7 | RemoveCardTypes$ True | CharacteristicDefining$ True | Description$ As long as CARDNAME has seven or more loyalty counters on him, he's a 7/7 Dragon God creature with flying and indestructible. +S:Mode$ Continuous | Affected$ Card.Self | CheckSVar$ X | SVarCompare$ GE7 | AddKeyword$ Flying & Indestructible | AddType$ Creature & Dragon & God | SetPower$ 7 | SetToughness$ 7 | RemoveCardTypes$ True | CharacteristicDefining$ True | Description$ As long as Grand Master of Flowers has seven or more loyalty counters on him, he's a 7/7 Dragon God creature with flying and indestructible. SVar:X:Count$CardCounters.LOYALTY A:AB$ Pump | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature.withoutFirst Strike+withoutDouble Strike+withoutVigilance | KW$ HIDDEN CARDNAME can't attack or block. | IsCurse$ True | Duration$ UntilYourNextTurn | AILogic$ DetainNonLand | SpellDescription$ Target creature without first strike, double strike, or vigilance can't attack or block until your next turn. A:AB$ ChangeZone | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Origin$ Library | OriginChoice$ True | OriginAlternative$ Graveyard | AlternativeMessage$ Would you like to search your library with this ability? If you do, your library will be shuffled. | Destination$ Hand | ChangeType$ Card.namedMonk of the Open Hand | ChangeNum$ 1 | Optional$ True | SpellDescription$ Search your library and/or graveyard for a card named Monk of the Open Hand, reveal it, and put it into your hand. If you search your library this way, shuffle. -Oracle:[+1]: Target creature without first strike, double strike, or vigilance can't attack or block until your next turn.\n[+1]: Search your library and/or graveyard for a card named Monk of the Open Hand, reveal it, and put it into your hand. If you search your library this way, shuffle. +Oracle:As long as Grand Master of Flowers has seven or more loyalty counters on him, he’s a 7/7 Dragon God creature with flying and indestructible.\n[+1]: Target creature without first strike, double strike, or vigilance can't attack or block until your next turn.\n[+1]: Search your library and/or graveyard for a card named Monk of the Open Hand, reveal it, and put it into your hand. If you search your library this way, shuffle. diff --git a/forge-gui/res/cardsfolder/upcoming/minsc_beloved_ranger.txt b/forge-gui/res/cardsfolder/upcoming/minsc_beloved_ranger.txt index 735a8b6d4b3..26701ef4923 100644 --- a/forge-gui/res/cardsfolder/upcoming/minsc_beloved_ranger.txt +++ b/forge-gui/res/cardsfolder/upcoming/minsc_beloved_ranger.txt @@ -6,4 +6,5 @@ T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefi SVar:TrigMinsc:DB$ Token | TokenAmount$ 1 | TokenScript$ boo | TokenOwner$ You A:AB$ Animate | Cost$ X | Power$ X | Toughness$ X | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Types$ Giant | SorcerySpeed$ True | SpellDescription$ Until end of turn, target creature you control has base power and toughness X/X and becomes a Giant in addition to its other types. Activate only a sorcery. SVar:X:Count$xPaid +DeckHas:Ability$Token Oracle:When Minsc, Beloved Ranger enters the battlefield, create Boo, a legendary 1/1 red Hamster creature token with trample and haste.\n{X}: Until end of turn, target creature you control has base power and toughness X/X and becomes a Giant in addition to its other types. Activate only a sorcery. diff --git a/forge-gui/res/cardsfolder/upcoming/mordenkainen.txt b/forge-gui/res/cardsfolder/upcoming/mordenkainen.txt index 2b1bef200a2..dd49e8165af 100644 --- a/forge-gui/res/cardsfolder/upcoming/mordenkainen.txt +++ b/forge-gui/res/cardsfolder/upcoming/mordenkainen.txt @@ -11,4 +11,5 @@ SVar:DBShuffle:DB$ Shuffle | Defined$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBEmblem SVar:DBEmblem:DB$ Effect | Name$ Emblem - Mordenkainen | Image$ emblem_mordenkainen | StaticAbilities$ UnlimitedHand | Stackable$ False | Duration$ Permanent | AILogic$ Always SVar:UnlimitedHand:Mode$ Continuous | EffectZone$ Command | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. +DeckHas:Ability$Token Oracle:[+2]: Draw two cards, then put a card from your hand on the bottom of your library.\n[-2]: Create a blue Dog Illusion creature token with "This creature's power and toughness are each equal to twice the number of cards in your hand."\n[-10]: Exchange your hand and library, then shuffle. You get an emblem with "You have no maximum hand size." diff --git a/forge-gui/res/cardsfolder/upcoming/oswald_fiddlebender.txt b/forge-gui/res/cardsfolder/upcoming/oswald_fiddlebender.txt index 3565b835f70..86175b46551 100644 --- a/forge-gui/res/cardsfolder/upcoming/oswald_fiddlebender.txt +++ b/forge-gui/res/cardsfolder/upcoming/oswald_fiddlebender.txt @@ -4,5 +4,7 @@ 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 +SVar:AIPreference:SacCost$Artifact DeckHas:Ability$Sacrifice +DeckHints:Type$Artifact 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 index 31d293153fb..3e45a672efa 100644 --- a/forge-gui/res/cardsfolder/upcoming/prosper_tome_bound.txt +++ b/forge-gui/res/cardsfolder/upcoming/prosper_tome_bound.txt @@ -11,4 +11,5 @@ 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 +DeckHas:Ability$Token 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/unexpected_windfall.txt b/forge-gui/res/cardsfolder/upcoming/unexpected_windfall.txt index 2e431f3160c..52a86873baf 100644 --- a/forge-gui/res/cardsfolder/upcoming/unexpected_windfall.txt +++ b/forge-gui/res/cardsfolder/upcoming/unexpected_windfall.txt @@ -5,4 +5,5 @@ A:SP$ Draw | Cost$ 3 R Discard<1/Card/card> | CostDesc$ As an additional cost to SVar:DBToken:DB$ Token | TokenAmount$ 2 | TokenScript$ c_a_treasure_sac | TokenOwner$ You DeckHas:Ability$Discard DeckHints:Keyword$Madness & Ability$Delirium +DeckHas:Ability$Token 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.")