From 36d28e482b07265fe48f85913136b512fe1c268e Mon Sep 17 00:00:00 2001 From: Vanja Date: Tue, 25 Aug 2026 02:02:54 +0200 Subject: [PATCH] Allow selected cards in authored AI decks --- forge-gui/res/cardsfolder/a/arctic_merfolk.txt | 2 +- forge-gui/res/cardsfolder/b/bamboozle.txt | 2 +- forge-gui/res/cardsfolder/d/diminishing_returns.txt | 2 +- forge-gui/res/cardsfolder/f/floodwater_dam.txt | 2 +- forge-gui/res/cardsfolder/m/mystic_veil.txt | 2 +- forge-gui/res/cardsfolder/o/overtaker.txt | 2 +- forge-gui/res/cardsfolder/p/phantasmal_terrain.txt | 2 +- forge-gui/res/cardsfolder/t/thwart.txt | 2 +- forge-gui/res/cardsfolder/t/triassic_egg.txt | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/forge-gui/res/cardsfolder/a/arctic_merfolk.txt b/forge-gui/res/cardsfolder/a/arctic_merfolk.txt index 9eba84e4e966..b889903350f2 100644 --- a/forge-gui/res/cardsfolder/a/arctic_merfolk.txt +++ b/forge-gui/res/cardsfolder/a/arctic_merfolk.txt @@ -5,5 +5,5 @@ PT:1/1 K:Kicker:Return<1/Creature> K:etbCounter:P1P1:1:CheckSVar$ WasKicked:If CARDNAME was kicked, it enters with a +1/+1 counter on it. SVar:WasKicked:Count$Kicked.1.0 -AI:RemoveDeck:All +AI:RemoveDeck:Random Oracle:Kicker—Return a creature you control to its owner's hand. (You may return a creature you control to its owner's hand in addition to any other costs as you cast this spell.)\nIf Arctic Merfolk was kicked, it enters with a +1/+1 counter on it. diff --git a/forge-gui/res/cardsfolder/b/bamboozle.txt b/forge-gui/res/cardsfolder/b/bamboozle.txt index b71c145b26e8..c48168a7b3a3 100644 --- a/forge-gui/res/cardsfolder/b/bamboozle.txt +++ b/forge-gui/res/cardsfolder/b/bamboozle.txt @@ -2,5 +2,5 @@ Name:Bamboozle ManaCost:2 U Types:Sorcery A:SP$ Dig | ValidTgts$ Player | DigNum$ 4 | ChangeNum$ 2 | DestinationZone$ Graveyard | LibraryPosition2$ 0 | Reveal$ True | SpellDescription$ Target player reveals the top four cards of their library. You choose two of those cards and put them into that player's graveyard. Put the rest on top of their library in any order. -AI:RemoveDeck:All +AI:RemoveDeck:Random Oracle:Target player reveals the top four cards of their library. You choose two of those cards and put them into that player's graveyard. Put the rest on top of their library in any order. diff --git a/forge-gui/res/cardsfolder/d/diminishing_returns.txt b/forge-gui/res/cardsfolder/d/diminishing_returns.txt index 93f07f67d0e9..6ad7b59a5934 100644 --- a/forge-gui/res/cardsfolder/d/diminishing_returns.txt +++ b/forge-gui/res/cardsfolder/d/diminishing_returns.txt @@ -4,5 +4,5 @@ Types:Sorcery A:SP$ ChangeZoneAll | ChangeType$ Card | Origin$ Graveyard,Hand | Destination$ Library | Shuffle$ True | SubAbility$ DBExile | UseAllOriginZones$ True | SpellDescription$ Each player shuffles their hand and graveyard into their library. SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 10 | ChangeNum$ All | DestinationZone$ Exile | SubAbility$ DBDraw | StackDescription$ {p:You} exiles the top ten cards of their library. | SpellDescription$ You exile the top ten cards of your library. SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 7 | Upto$ True | AILogic$ OptionalDraw | StackDescription$ SpellDescription | SpellDescription$ Then each player draws up to seven cards. -AI:RemoveDeck:All +AI:RemoveDeck:Random Oracle:Each player shuffles their hand and graveyard into their library. You exile the top ten cards of your library. Then each player draws up to seven cards. diff --git a/forge-gui/res/cardsfolder/f/floodwater_dam.txt b/forge-gui/res/cardsfolder/f/floodwater_dam.txt index 7f6098a5feee..e758da56a719 100644 --- a/forge-gui/res/cardsfolder/f/floodwater_dam.txt +++ b/forge-gui/res/cardsfolder/f/floodwater_dam.txt @@ -3,5 +3,5 @@ ManaCost:3 Types:Artifact A:AB$ Tap | Cost$ X X 1 T | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Tap X target lands. SVar:X:Count$xPaid -AI:RemoveDeck:All +AI:RemoveDeck:Random Oracle:{X}{X}{1}, {T}: Tap X target lands. diff --git a/forge-gui/res/cardsfolder/m/mystic_veil.txt b/forge-gui/res/cardsfolder/m/mystic_veil.txt index a2e725ed2a8e..b65e58c536ad 100644 --- a/forge-gui/res/cardsfolder/m/mystic_veil.txt +++ b/forge-gui/res/cardsfolder/m/mystic_veil.txt @@ -5,5 +5,5 @@ K:MayFlashSac K:Enchant:Creature SVar:AttachAILogic:Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Shroud | Description$ Enchanted creature has shroud. (It can't be the target of spells or abilities.) -AI:RemoveDeck:All +AI:RemoveDeck:Random Oracle:You may cast Mystic Veil as though it had flash. If you cast it any time a sorcery couldn't have been cast, the controller of the permanent it becomes sacrifices it at the beginning of the next cleanup step.\nEnchant creature\nEnchanted creature has shroud. (It can't be the target of spells or abilities.) diff --git a/forge-gui/res/cardsfolder/o/overtaker.txt b/forge-gui/res/cardsfolder/o/overtaker.txt index 7f3d04ca9133..29819c6ac1d4 100644 --- a/forge-gui/res/cardsfolder/o/overtaker.txt +++ b/forge-gui/res/cardsfolder/o/overtaker.txt @@ -4,5 +4,5 @@ Types:Creature Merfolk Spellshaper PT:1/1 A:AB$ Untap | Cost$ 3 U T Discard<1/Card> | ValidTgts$ Creature | SubAbility$ DBChange | SpellDescription$ Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn. SVar:DBChange:DB$ GainControl | Defined$ Targeted | AddKWs$ Haste | LoseControl$ EOT -AI:RemoveDeck:All +AI:RemoveDeck:Random Oracle:{3}{U}, {T}, Discard a card: Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn. diff --git a/forge-gui/res/cardsfolder/p/phantasmal_terrain.txt b/forge-gui/res/cardsfolder/p/phantasmal_terrain.txt index a78e8326924d..7febfe57e6b3 100644 --- a/forge-gui/res/cardsfolder/p/phantasmal_terrain.txt +++ b/forge-gui/res/cardsfolder/p/phantasmal_terrain.txt @@ -6,5 +6,5 @@ SVar:AttachAILogic:ChangeType K:ETBReplacement:Other:DBChooseBasic SVar:DBChooseBasic:DB$ ChooseType | Type$ Basic Land | SpellDescription$ As CARDNAME enters, choose a basic land type. S:Mode$ Continuous | Affected$ Card.EnchantedBy | AddType$ ChosenType | RemoveLandTypes$ True | Description$ Enchanted land is the chosen type. -AI:RemoveDeck:All +AI:RemoveDeck:Random Oracle:Enchant land\nAs Phantasmal Terrain enters, choose a basic land type.\nEnchanted land is the chosen type. diff --git a/forge-gui/res/cardsfolder/t/thwart.txt b/forge-gui/res/cardsfolder/t/thwart.txt index a9d762669233..569762ecb5d6 100644 --- a/forge-gui/res/cardsfolder/t/thwart.txt +++ b/forge-gui/res/cardsfolder/t/thwart.txt @@ -3,5 +3,5 @@ ManaCost:2 U U Types:Instant S:Mode$ AlternativeCost | ValidSA$ Spell.Self | EffectZone$ All | Cost$ Return<3/Island> | Description$ You may return three Islands you control to their owner's hand rather than pay this spell's mana cost. A:SP$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SpellDescription$ Counter target spell. -AI:RemoveDeck:All +AI:RemoveDeck:Random Oracle:You may return three Islands you control to their owner's hand rather than pay this spell's mana cost.\nCounter target spell. diff --git a/forge-gui/res/cardsfolder/t/triassic_egg.txt b/forge-gui/res/cardsfolder/t/triassic_egg.txt index 1b7aa52a02f1..771a3b50746c 100644 --- a/forge-gui/res/cardsfolder/t/triassic_egg.txt +++ b/forge-gui/res/cardsfolder/t/triassic_egg.txt @@ -5,6 +5,6 @@ A:AB$ PutCounter | Cost$ 3 T | CounterType$ HATCHLING | CounterNum$ 1 | SpellDes A:AB$ Charm | Cost$ Sac<1/CARDNAME> | Choices$ FromHand,FromGrave | IsPresent$ Card.Self+counters_GE2_HATCHLING | AdditionalDescription$ . Activate only if there are two or more hatchling counters on CARDNAME. SVar:FromHand:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.YouCtrl | ChangeNum$ 1 | SpellDescription$ You may put a creature card from your hand onto the battlefield. SVar:FromGrave:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature from your graveyard | SpellDescription$ Return target creature card from your graveyard to the battlefield. -AI:RemoveDeck:All +AI:RemoveDeck:Random DeckHas:Ability$Counters Oracle:{3}, {T}: Put a hatchling counter on Triassic Egg.\nSacrifice Triassic Egg: Choose one. Activate only if there are two or more hatchling counters on Triassic Egg.\n• You may put a creature card from your hand onto the battlefield.\n• Return target creature card from your graveyard to the battlefield.