From 79a056d12684599e43b11682ffd0b05c04e2bcb0 Mon Sep 17 00:00:00 2001 From: swordshine Date: Sat, 1 Jun 2019 11:53:00 +0800 Subject: [PATCH 1/2] Update some scripts --- forge-gui/res/cardsfolder/upcoming/alpine_guide.txt | 2 +- forge-gui/res/cardsfolder/upcoming/answered_prayers.txt | 2 +- forge-gui/res/cardsfolder/upcoming/cordial_vampire.txt | 6 +++--- forge-gui/res/cardsfolder/upcoming/reap_the_past.txt | 2 +- forge-gui/res/cardsfolder/upcoming/rotwidow_pack.txt | 4 ++-- .../res/cardsfolder/upcoming/sisay_weatherlight_captain.txt | 2 +- forge-gui/res/cardsfolder/upcoming/soulherder.txt | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/alpine_guide.txt b/forge-gui/res/cardsfolder/upcoming/alpine_guide.txt index 3f9e15ad54f..6d22e7f75b8 100644 --- a/forge-gui/res/cardsfolder/upcoming/alpine_guide.txt +++ b/forge-gui/res/cardsfolder/upcoming/alpine_guide.txt @@ -5,6 +5,6 @@ PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for a Mountain card, put that card onto the battlefield tapped, then shuffle your library. SVar:TrigChange:DB$ChangeZone | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Mountain | ChangeNum$ 1 | ShuffleNonMandatory$ True K:CARDNAME attacks each combat if able. -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME leaves the battlefield, sacrifice a Mountain. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigSac | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, sacrifice a Mountain. SVar:TrigSac:DB$Sacrifice | SacValid$ Mountain | Defined$ You Oracle:When Alpine Guide enters the battlefield, you may search your library for a Mountain card, put that card onto the battlefield tapped, then shuffle your library.\nAlpine Guide attacks each combat if able.\nWhen Alpine Guide leaves the battlefield, sacrifice a Mountain. diff --git a/forge-gui/res/cardsfolder/upcoming/answered_prayers.txt b/forge-gui/res/cardsfolder/upcoming/answered_prayers.txt index d9cb33dd7bb..dda86b2a2c1 100644 --- a/forge-gui/res/cardsfolder/upcoming/answered_prayers.txt +++ b/forge-gui/res/cardsfolder/upcoming/answered_prayers.txt @@ -3,6 +3,6 @@ ManaCost:1 W W Types:Enchantment T:Mode$ ChangesZone | ValidCard$ Creature.YouCtrl | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a creature enters the battlefield under your control, you gain 1 life. If CARDNAME isn't a creature, it becomes a 3/3 Angel creature with flying in addition to its other types until end of turn. SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1 | SubAbility$ DBAnimate -SVar:DBAnimate:DB$ Animate | Defined$ TriggeredCard | Power$ 3 | Toughness$ 3 | Types$ Creature,Angel | Keywords$ Flying +SVar:DBAnimate:DB$ Animate | Defined$ TriggeredCard | Power$ 3 | Toughness$ 3 | Types$ Creature,Angel | Keywords$ Flying | ConditionDefined$ Self | ConditionPresent$ Card.nonCreature SVar:BuffedBy:Creature Oracle:Whenever a creature enters the battlefield under your control, you gain 1 life. If Answered Prayers isn't a creature, it becomes a 3/3 Angel creature with flying in addition to its other types until end of turn. diff --git a/forge-gui/res/cardsfolder/upcoming/cordial_vampire.txt b/forge-gui/res/cardsfolder/upcoming/cordial_vampire.txt index d2f7bd1c790..102bc82c3db 100644 --- a/forge-gui/res/cardsfolder/upcoming/cordial_vampire.txt +++ b/forge-gui/res/cardsfolder/upcoming/cordial_vampire.txt @@ -2,9 +2,9 @@ Name:Cordial Vampire ManaCost:B B Types:Creature Vampire PT:1/1 -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.Other | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME or another creature dies, put a +1/+1 counter on each flying creature you control. -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigPutCounters | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another creature dies, put a +1/+1 counter on each flying creature you control. -SVar:TrigPutCounters:DB$ PutCounterAll | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.Other | TriggerZones$ Battlefield | Execute$ TrigPutCounters | TriggerDescription$ Whenever CARDNAME or another creature dies, put a +1/+1 counter on each vampire creature you control. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | TriggerController$ TriggeredCardController | Execute$ TrigPutCounters | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another creature dies, put a +1/+1 counter on each vampire creature you control. +SVar:TrigPutCounters:DB$ PutCounterAll | ValidCards$ Creature.Vampire+YouCtrl | CounterType$ P1P1 | CounterNum$ 1 DeckHas:Ability$Counters DeckNeeds:Type$Vampire Oracle:Whenever Cordial Vampire or another creature dies, put a +1/+1 counter on each vampire creature you control. diff --git a/forge-gui/res/cardsfolder/upcoming/reap_the_past.txt b/forge-gui/res/cardsfolder/upcoming/reap_the_past.txt index fab25d4dbdd..02d5a5f92e1 100644 --- a/forge-gui/res/cardsfolder/upcoming/reap_the_past.txt +++ b/forge-gui/res/cardsfolder/upcoming/reap_the_past.txt @@ -1,7 +1,7 @@ Name:Reap The Past ManaCost:X R G Types:Sorcery -A:SP$ ChangeZone | Cost$ X R G | Origin$ Graveyard | Destination$ Hand | ChangeType$ Card.YouOwn | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ X | AtRandom$ True | SubAbility$ DBExile | References$ X | SpellDescription$ Return X cards at random from your graveyard to your hand. Exile CARDNAME. +A:SP$ ChangeZone | Cost$ X R G | Origin$ Graveyard | Destination$ Hand | ChangeType$ Card.YouOwn | ChangeNum$ X | Hidden$ True | AtRandom$ True | SubAbility$ DBExile | References$ X | SpellDescription$ Return X cards at random from your graveyard to your hand. Exile CARDNAME. SVar:X:Count$xPaid SVar:DBExile:DB$ChangeZone | Origin$ Stack | Destination$ Exile Oracle:Return X cards at random from your graveyard to your hand. Exile Reap The Past. diff --git a/forge-gui/res/cardsfolder/upcoming/rotwidow_pack.txt b/forge-gui/res/cardsfolder/upcoming/rotwidow_pack.txt index a4b3b3206e1..14d289193b9 100644 --- a/forge-gui/res/cardsfolder/upcoming/rotwidow_pack.txt +++ b/forge-gui/res/cardsfolder/upcoming/rotwidow_pack.txt @@ -3,8 +3,8 @@ ManaCost:2 B G Types:Creature Spider PT:2/4 K:Reach -A:AB$ Token | Cost$ 3 B G ExileFromGrave<1/Creature> | TokenAmount$ 1 | TokenScript$ g_1_2_spider_reach | TokenOwner$ Player.IsRemembered | LegacyImage$ g 1 2 spider reach mh1 | SubAbility$ DBLoseLife | SpellDescription$ Create a 1/2 green Spider creature token with reach, then each opponent loses 1 life for each Spider you control. +A:AB$ Token | Cost$ 3 B G ExileFromGrave<1/Creature> | TokenAmount$ 1 | TokenScript$ g_1_2_spider_reach | TokenOwner$ You | LegacyImage$ g 1 2 spider reach mh1 | SubAbility$ DBLoseLife | SpellDescription$ Create a 1/2 green Spider creature token with reach, then each opponent loses 1 life for each Spider you control. SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X -SVar:X:Count$Valid Card.Spider+YouCtrl+Spider +SVar:X:Count$Valid Spider.YouCtrl SVar:NeedsToPlayVar:X GE3 Oracle:Reach\n{3}{B}{G}, Exile a creature card from your graveyard: Create a 1/2 green Spider creature token with reach, then each opponent loses 1 life for each Spider you control. diff --git a/forge-gui/res/cardsfolder/upcoming/sisay_weatherlight_captain.txt b/forge-gui/res/cardsfolder/upcoming/sisay_weatherlight_captain.txt index a6fd4a168c2..1702aaf01f3 100644 --- a/forge-gui/res/cardsfolder/upcoming/sisay_weatherlight_captain.txt +++ b/forge-gui/res/cardsfolder/upcoming/sisay_weatherlight_captain.txt @@ -4,6 +4,6 @@ Types:Legendary Creature Human Soldier PT:2/2 S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +1/+1 for each color among permanents you control. SVar:X:Count$ColorsCtrl Permanent.YouCtrl+Legendary+inZoneBattlefield -A:AB$ ChangeZone | Cost$ W U B R G | Origin$ Library | Destination$ Battlefield | ChangeType$ Permanent.Legendary+cmcLEY | ChangeNum$ 1 | References$ Y | SpellDescription$ Search your library for a legendary permanent card with converted mana cost less than Sisay’s power, put that card onto the battlefield, then shuffle your library. +A:AB$ ChangeZone | Cost$ W U B R G | Origin$ Library | Destination$ Battlefield | ChangeType$ Permanent.Legendary+cmcLEY | ChangeNum$ 1 | References$ Y | SpellDescription$ Search your library for a legendary permanent card with converted mana cost less than CARDNAME’s power, put that card onto the battlefield, then shuffle your library. SVar:Y:Count$CardPower Oracle:Sisay, Weatherlight Captain gets +1/+1 for each color among other legendary permanents you control.\n{W}{U}{B}{R}{G}: Search your library for a legendary permanent card with converted mana cost less than Sisay’s power, put that card onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/upcoming/soulherder.txt b/forge-gui/res/cardsfolder/upcoming/soulherder.txt index f3f6df3d943..027744d245f 100644 --- a/forge-gui/res/cardsfolder/upcoming/soulherder.txt +++ b/forge-gui/res/cardsfolder/upcoming/soulherder.txt @@ -6,8 +6,8 @@ T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Exile | ValidCard$ Crea SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 SVar:PlayMain1:TRUE T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ ConjurerExile | OptionalDecider$ You | TriggerDescription$ At the beginning of your end step, you may exile another target creature you control, then return it to the battlefield under its owner's control. -SVar:ConjurerExile:DB$ ChangeZone | ValidTgts$ Creature.Other+YouCtrl | TgtPrompt$ Select another target creature you control | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ ConjurerReturn -SVar:RestorationReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Exile | Destination$ Battlefield | SubAbility$ DBCleanup +SVar:ConjurerExile:DB$ ChangeZone | ChangeType$ Creature.Other+YouCtrl | ChangeNum$ 1 | Hidden$ True | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ ConjurerReturn +SVar:ConjurerReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Exile | Destination$ Battlefield | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All Oracle:Whenever a creature is exiled from the battlefield, put a +1/+1 counter on Soulherder.\nAt the beginning of your end step, you may exile another target creature you control, then return that card to the battlefield under its owner's control. From 5336b42a01e8197b1ae090fc3533902c61122b99 Mon Sep 17 00:00:00 2001 From: swordshine Date: Sat, 1 Jun 2019 12:11:25 +0800 Subject: [PATCH 2/2] Update Throes of Chaos --- forge-gui/res/cardsfolder/upcoming/throes_of_chaos.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forge-gui/res/cardsfolder/upcoming/throes_of_chaos.txt b/forge-gui/res/cardsfolder/upcoming/throes_of_chaos.txt index f6fc8d3061a..c1e6879b49c 100644 --- a/forge-gui/res/cardsfolder/upcoming/throes_of_chaos.txt +++ b/forge-gui/res/cardsfolder/upcoming/throes_of_chaos.txt @@ -4,4 +4,6 @@ Types:Sorcery K:Cascade SVar:PlayMain1:TRUE K:Retrace +A:SP$ Pump | Cost$ 3 R | StackDescription$ None +AI:RemoveDeck:All Oracle:Cascade (When you cast a spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)\nRetrace (You may cast this card from your graveyard by discarding a land card in addition to paying its other costs.)