From 0670847700525fa703d55f7a1f9cbbb135db050c Mon Sep 17 00:00:00 2001 From: Agetian Date: Mon, 2 Oct 2017 08:43:45 +0000 Subject: [PATCH] - RemAIDeck update: next iteration --- forge-gui/res/cardsfolder/b/bar_the_door.txt | 1 - forge-gui/res/cardsfolder/b/barrage_ogre.txt | 3 ++- forge-gui/res/cardsfolder/b/barrins_codex.txt | 3 ++- forge-gui/res/cardsfolder/b/blast_of_genius.txt | 2 +- forge-gui/res/cardsfolder/b/bone_harvest.txt | 1 - forge-gui/res/cardsfolder/b/braid_of_fire.txt | 3 ++- forge-gui/res/cardsfolder/b/branching_bolt.txt | 1 - forge-gui/res/cardsfolder/b/briar_shield.txt | 1 - 8 files changed, 7 insertions(+), 8 deletions(-) diff --git a/forge-gui/res/cardsfolder/b/bar_the_door.txt b/forge-gui/res/cardsfolder/b/bar_the_door.txt index 689ce6eef27..41bb5c07f2e 100644 --- a/forge-gui/res/cardsfolder/b/bar_the_door.txt +++ b/forge-gui/res/cardsfolder/b/bar_the_door.txt @@ -2,6 +2,5 @@ Name:Bar the Door ManaCost:2 W Types:Instant A:SP$ PumpAll | Cost$ 2 W | ValidCards$ Creature.YouCtrl | NumDef$ +4 | SpellDescription$ Creatures you control get +0/+4 until end of turn. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/bar_the_door.jpg Oracle:Creatures you control get +0/+4 until end of turn. diff --git a/forge-gui/res/cardsfolder/b/barrage_ogre.txt b/forge-gui/res/cardsfolder/b/barrage_ogre.txt index a44c2478647..80d21be0319 100644 --- a/forge-gui/res/cardsfolder/b/barrage_ogre.txt +++ b/forge-gui/res/cardsfolder/b/barrage_ogre.txt @@ -3,6 +3,7 @@ ManaCost:3 R R Types:Creature Ogre Warrior PT:3/3 A:AB$ DealDamage | Cost$ T Sac<1/Artifact> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 2 | SpellDescription$ Barrage Ogre deals 2 damage to target creature or player. -SVar:RemAIDeck:True +SVar:AIPreference:SacCost$Artifact.token+nonCreature,Artifact.token+powerLE1,Artifact.cmcEQ1,Artifact.cmcEQ2 +SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/barrage_ogre.jpg Oracle:{T}, Sacrifice an artifact: Barrage Ogre deals 2 damage to target creature or player. diff --git a/forge-gui/res/cardsfolder/b/barrins_codex.txt b/forge-gui/res/cardsfolder/b/barrins_codex.txt index 11f1ed7711d..78207eaffc5 100644 --- a/forge-gui/res/cardsfolder/b/barrins_codex.txt +++ b/forge-gui/res/cardsfolder/b/barrins_codex.txt @@ -5,6 +5,7 @@ T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | E SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ PAGE | CounterNum$ 1 A:AB$ Draw | Cost$ 4 T Sac<1/CARDNAME> | NumCards$ X | References$ X | SpellDescription$ Draw X cards, where X is the number of page counters on CARDNAME. SVar:X:Count$CardCounters.PAGE -SVar:RemAIDeck:True +# TODO: maybe improve the AI logic for the trigger so that the AI doesn't go too much higher than the max hand size here, +# though realistically it happens very rarely, if ever (the AI would sac-draw before then). SVar:Picture:http://www.wizards.com/global/images/magic/general/Barrins_Codex.jpg Oracle:At the beginning of your upkeep, you may put a page counter on Barrin's Codex.\n{4}, {T}, Sacrifice Barrin's Codex: Draw X cards, where X is the number of page counters on Barrin's Codex. diff --git a/forge-gui/res/cardsfolder/b/blast_of_genius.txt b/forge-gui/res/cardsfolder/b/blast_of_genius.txt index 3b190eca48e..7a8dc074c0f 100644 --- a/forge-gui/res/cardsfolder/b/blast_of_genius.txt +++ b/forge-gui/res/cardsfolder/b/blast_of_genius.txt @@ -6,6 +6,6 @@ SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | Reme SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player | TgtPrompt$ Choose target creature or player | NumDmg$ X | References$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost -SVar:RemAIDeck:True +SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/blast_of_genius.jpg Oracle:Choose target creature or player. Draw three cards, then discard a card. Blast of Genius deals damage equal to the discarded card's converted mana cost to that creature or player. diff --git a/forge-gui/res/cardsfolder/b/bone_harvest.txt b/forge-gui/res/cardsfolder/b/bone_harvest.txt index 48fa844b1be..e2ea9cb13aa 100644 --- a/forge-gui/res/cardsfolder/b/bone_harvest.txt +++ b/forge-gui/res/cardsfolder/b/bone_harvest.txt @@ -5,6 +5,5 @@ A:SP$ ChangeZone | Cost$ 2 B | Origin$ Graveyard | Destination$ Library | Target SVar:DelTrigSlowtrip:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ DrawSlowtrip | TriggerDescription$ Draw a card. SVar:DrawSlowtrip:DB$Draw | NumCards$ 1 | Defined$ You SVar:X:Count$TypeInYourYard.Creature -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/bone_harvest.jpg Oracle:Put any number of target creature cards from your graveyard on top of your library.\nDraw a card at the beginning of the next turn's upkeep. diff --git a/forge-gui/res/cardsfolder/b/braid_of_fire.txt b/forge-gui/res/cardsfolder/b/braid_of_fire.txt index 66289d75221..0be07b8fbdb 100644 --- a/forge-gui/res/cardsfolder/b/braid_of_fire.txt +++ b/forge-gui/res/cardsfolder/b/braid_of_fire.txt @@ -2,6 +2,7 @@ Name:Braid of Fire ManaCost:1 R Types:Enchantment K:Cumulative upkeep:AddMana<1/R>:Add {R} to your mana pool. -SVar:RemAIDeck:True +# The AI will use the upkeep mana for instants and stuff when able +SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/braid_of_fire.jpg Oracle:Cumulative upkeep—Add {R} to your mana pool. (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) diff --git a/forge-gui/res/cardsfolder/b/branching_bolt.txt b/forge-gui/res/cardsfolder/b/branching_bolt.txt index 57525db8b64..8a374c37697 100644 --- a/forge-gui/res/cardsfolder/b/branching_bolt.txt +++ b/forge-gui/res/cardsfolder/b/branching_bolt.txt @@ -4,6 +4,5 @@ Types:Instant A:SP$ Charm | Cost$ 1 R G | MinCharmNum$ 1 | CharmNum$ 2 | Choices$ DBDmg1,DBDmg2 SVar:DBDmg1:DB$ DealDamage | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying. | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target creature with flying. SVar:DBDmg2:DB$ DealDamage | ValidTgts$ Creature.withoutFlying | TgtPrompt$ Select target creature without flying. | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target creature without flying. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/branching_bolt.jpg Oracle:Choose one or both —\n• Branching Bolt deals 3 damage to target creature with flying.\n• Branching Bolt deals 3 damage to target creature without flying. diff --git a/forge-gui/res/cardsfolder/b/briar_shield.txt b/forge-gui/res/cardsfolder/b/briar_shield.txt index 356f9a66c4b..f17c650d48b 100644 --- a/forge-gui/res/cardsfolder/b/briar_shield.txt +++ b/forge-gui/res/cardsfolder/b/briar_shield.txt @@ -5,6 +5,5 @@ K:Enchant creature A:SP$ Attach | Cost$ G | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 1 | AddToughness$ 1 | Description$ Enchanted creature gets +1/+1. A:AB$ Pump | Cost$ Sac<1/CARDNAME> | Defined$ Enchanted | NumAtt$ +3 | NumDef$ +3 | SpellDescription$ Enchanted creature gets +3/+3 until end of turn. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/briar_shield.jpg Oracle:Enchant creature\nEnchanted creature gets +1/+1.\nSacrifice Briar Shield: Enchanted creature gets +3/+3 until end of turn.