From 6e906888cbc0eec4b8719c52acec73abf23deb07 Mon Sep 17 00:00:00 2001 From: Agetian Date: Tue, 1 Oct 2019 20:22:21 +0300 Subject: [PATCH] - No need to separately add the Food card by name to AI sac preferences. --- forge-gui/res/cardsfolder/b/bog_naughty.txt | 2 +- forge-gui/res/cardsfolder/c/cauldron_familiar.txt | 2 +- forge-gui/res/cardsfolder/f/feasting_troll_king.txt | 2 +- forge-gui/res/cardsfolder/g/gluttonous_troll.txt | 2 +- forge-gui/res/cardsfolder/m/maraleaf_rider.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/forge-gui/res/cardsfolder/b/bog_naughty.txt b/forge-gui/res/cardsfolder/b/bog_naughty.txt index cd0f02ee904..53a40aab168 100644 --- a/forge-gui/res/cardsfolder/b/bog_naughty.txt +++ b/forge-gui/res/cardsfolder/b/bog_naughty.txt @@ -4,7 +4,7 @@ Types:Creature Faerie PT:3/3 K:Flying A:AB$ Pump | Cost$ 2 B Sac<1/Food> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -3 | NumDef$ -3 | IsCurse$ True | SpellDescription$ Target creature gets -3/-3 until end of turn. -SVar:AIPreference:SacCost$Card.namedFood,Card.Food +SVar:AIPreference:SacCost$Card.Food DeckHints:Ability$Food AI:RemoveDeck:All Oracle:Flying\n{2}{B}, Sacrifice a Food: Target creature gets -3/-3 until end of turn. diff --git a/forge-gui/res/cardsfolder/c/cauldron_familiar.txt b/forge-gui/res/cardsfolder/c/cauldron_familiar.txt index 87e2fcc8d79..96628ad4ecd 100644 --- a/forge-gui/res/cardsfolder/c/cauldron_familiar.txt +++ b/forge-gui/res/cardsfolder/c/cauldron_familiar.txt @@ -9,6 +9,6 @@ DeckHas:Ability$LifeGain A:AB$ ChangeZone | Cost$ Sac<1/Food> | Origin$ Graveyard | Destination$ Battlefield | ActivationZone$ Graveyard | SpellDescription$ Return CARDNAME from your graveyard to the battlefield. SVar:DiscardMe:2 SVar:SacMe:1 -SVar:AIPreference:SacCost$Card.namedFood,Card.Food +SVar:AIPreference:SacCost$Card.Food DeckHints:Ability$Food Oracle:When Cauldron Familiar enters the battlefield, each opponent loses 1 life and you gain 1 life.\nSacrifice a Food: Return Cauldron Familiar from your graveyard to the battlefield. diff --git a/forge-gui/res/cardsfolder/f/feasting_troll_king.txt b/forge-gui/res/cardsfolder/f/feasting_troll_king.txt index c31cea2a118..0964f9819f9 100644 --- a/forge-gui/res/cardsfolder/f/feasting_troll_king.txt +++ b/forge-gui/res/cardsfolder/f/feasting_troll_king.txt @@ -8,7 +8,7 @@ T:Mode$ ChangesZone | ValidCard$ Card.wasCastFromHand+Self | Destination$ Battle SVar:TrigToken:DB$ Token | TokenAmount$ 3 | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld A:AB$ ChangeZone | Cost$ Sac<3/Food> | Origin$ Graveyard | Destination$ Battlefield | ActivationZone$ Graveyard | PlayerTurn$ True | SpellDescription$ Return CARDNAME from your graveyard to the battlefield. Activate this ability only during your turn. SVar:DiscardMe:1 -SVar:AIPreference:SacCost$Card.namedFood,Card.Food +SVar:AIPreference:SacCost$Card.Food DeckHas:Ability$Token & Ability$LifeGain & Ability$Food DeckHints:Ability$Food Oracle:Vigilance, trample\nWhen Feasting Troll King enters the battlefield, if you cast it from your hand, create three Food tokens.\nSacrifice three Foods: Return Feasting Troll King from your graveyard to the battlefield. Activate this ability only during your turn. diff --git a/forge-gui/res/cardsfolder/g/gluttonous_troll.txt b/forge-gui/res/cardsfolder/g/gluttonous_troll.txt index 27e83fbfdec..e43c45879a0 100644 --- a/forge-gui/res/cardsfolder/g/gluttonous_troll.txt +++ b/forge-gui/res/cardsfolder/g/gluttonous_troll.txt @@ -8,6 +8,6 @@ SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ c_a_foo SVar:X:PlayerCountOpponents$Amount SVar:PlayMain1:TRUE DeckHas:Ability$Token & Ability$LifeGain & Ability$Food -SVar:AIPreference:SacCost$Card.namedFood,Card.Food,Card.token,Card.cmcEQ1,Card.cmcEQ2 +SVar:AIPreference:SacCost$Card.Food,Card.token,Card.cmcEQ1,Card.cmcEQ2 A:AB$ Pump | Cost$ 1 G Sac<1/Permanent.Other/another nonland permanent> | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ CARDNAME gets +2/+2 until end of turn. Oracle:Trample\nWhen Gluttonous Troll enters the battlefield, create a number of Food tokens equal to the number of opponents you have. (Food tokens are artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")\n{1}{G}, Sacrifice another nonland permanent: Gluttonous Troll gets +2/+2 until end of turn. diff --git a/forge-gui/res/cardsfolder/m/maraleaf_rider.txt b/forge-gui/res/cardsfolder/m/maraleaf_rider.txt index 7def108ddec..74051753c1e 100644 --- a/forge-gui/res/cardsfolder/m/maraleaf_rider.txt +++ b/forge-gui/res/cardsfolder/m/maraleaf_rider.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Creature Elf Knight PT:3/1 A:AB$ MustBlock | Cost$ Sac<1/Food> | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Target creature blocks CARDNAME this turn if able. -SVar:AIPreference:SacCost$Card.namedFood,Card.Food +SVar:AIPreference:SacCost$Card.Food DeckHints:Ability$Food AI:RemoveDeck:All Oracle:Sacrifice a Food: Target creature blocks Maraleaf Rider this turn if able.