From 31f69347d8e78309cd2bc94d4139ee4ac5cc0015 Mon Sep 17 00:00:00 2001 From: paulsnoops Date: Sat, 23 Jul 2022 12:41:55 +0100 Subject: [PATCH] Fix scripts causing deck editor crash --- forge-gui/res/cardsfolder/upcoming/juvenile_mist_dragon.txt | 2 +- forge-gui/res/cardsfolder/upcoming/navigation_orb.txt | 2 +- forge-gui/res/cardsfolder/upcoming/overwhelming_encounter.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/juvenile_mist_dragon.txt b/forge-gui/res/cardsfolder/upcoming/juvenile_mist_dragon.txt index 0ac17599c00..461bc1690af 100644 --- a/forge-gui/res/cardsfolder/upcoming/juvenile_mist_dragon.txt +++ b/forge-gui/res/cardsfolder/upcoming/juvenile_mist_dragon.txt @@ -4,7 +4,7 @@ Types:Creature Dragon PT:4/3 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTap | TriggerDescription$ Confounding Clouds — When CARDNAME enters the battlefield, for each opponent, tap up to one target creature that player controls. Each of those creatures doesn't untap during its controller's next untap step. -SVar:TapOneEach:DB$ Tap | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Choose one target creature that each opponent controls | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | SubAbility$ DBPump +SVar:TrigTap:DB$ Tap | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Choose one target creature that each opponent controls | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ HIDDEN This card doesn't untap during your next untap step. | Duration$ Permanent SVar:OneEach:PlayerCountOpponents$Amount SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/upcoming/navigation_orb.txt b/forge-gui/res/cardsfolder/upcoming/navigation_orb.txt index 3eebf224e47..f594ce0f8a6 100644 --- a/forge-gui/res/cardsfolder/upcoming/navigation_orb.txt +++ b/forge-gui/res/cardsfolder/upcoming/navigation_orb.txt @@ -3,6 +3,6 @@ ManaCost:3 Types:Artifact A:AB$ ChangeZone | Cost$ 2 T Sac<1/CARDNAME> | Origin$ Library | Destination$ Library | ChangeType$ Land.Basic,Gate | ChangeNum$ 2 | RememberChanged$ True | Reveal$ True | Shuffle$ False | StackDescription$ SpellDescription | SubAbility$ DBChangeZone1 | SpellDescription$ Search your library for up to two basic land cards and/or Gate cards, reveal those cards, put one onto the battlefield tapped and the other into your hand, then shuffle. SVar:DBChangeZone1:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.IsRemembered,Gate.IsRemembered | ChangeNum$ 1 | Mandatory$ True | ForgetChanged$ True | NoLooking$ True | SelectPrompt$ Select a card for the battlefield | Tapped$ True | Shuffle$ False | SubAbility$ DBChangeZone2 | StackDescription$ None -SVar:DBChangeZone2:DB$ ChangeZone | Origin$ Library | Destination$ Hand | Defined$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card | ForgetChanged$ True | StackDescription$ None | SubAbility$ DBCleanup +SVar:DBChangeZone2:DB$ ChangeZone | Origin$ Library | Destination$ Hand | Defined$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card | ForgetChanged$ True | StackDescription$ None DeckHints:Type$Gate Oracle:{2}, {T}, Sacrifice Navigation Orb: Search your library for up to two basic land cards and/or Gate cards, reveal those cards, put one onto the battlefield tapped and the other into your hand, then shuffle. diff --git a/forge-gui/res/cardsfolder/upcoming/overwhelming_encounter.txt b/forge-gui/res/cardsfolder/upcoming/overwhelming_encounter.txt index 720005dfe38..cd8d3586796 100644 --- a/forge-gui/res/cardsfolder/upcoming/overwhelming_encounter.txt +++ b/forge-gui/res/cardsfolder/upcoming/overwhelming_encounter.txt @@ -2,7 +2,7 @@ Name:Overwhelming Encounter ManaCost:3 G G Types:Sorcery A:SP$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Vigilance & Trample | SubAbility$ DBRollDice | SpellDescription$ Creatures you control gain vigilance and trample until end of turn. Roll a d20. -SVar:RollD20:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBPump,10-19:DBPutCounter,20:DBMaxCounter | SpellDescription$ Roll a d20. +SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBPump,10-19:DBPutCounter,20:DBMaxCounter | SpellDescription$ Roll a d20. SVar:DBPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ 1—9 VERT Creatures you control get +2/+2 until end of turn. SVar:DBPutCounter:DB$ PutCounterAll | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 2 | SpellDescription$ 10—19 VERT Creatures you control get +2/+2 until end of turn. SVar:DBMaxCounter:DB$ PutCounterAll | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 4 | SpellDescription$ 20 VERT Creatures you control get +2/+2 until end of turn.