From b269f714f1ab119921b0dbdafbcaa4de8673d77c Mon Sep 17 00:00:00 2001 From: Hanmac Date: Mon, 12 Dec 2016 21:10:41 +0000 Subject: [PATCH] updated Crooked Scales to prevent it from crashing --- forge-gui/res/cardsfolder/c/crooked_scales.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/forge-gui/res/cardsfolder/c/crooked_scales.txt b/forge-gui/res/cardsfolder/c/crooked_scales.txt index eac9ed212f2..601c8acf773 100644 --- a/forge-gui/res/cardsfolder/c/crooked_scales.txt +++ b/forge-gui/res/cardsfolder/c/crooked_scales.txt @@ -2,11 +2,14 @@ Name:Crooked Scales ManaCost:4 Types:Artifact A:AB$ Pump | Cost$ 4 T | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | RememberObjects$ ThisTargetedCard | IsCurse$ True | StackDescription$ SpellDescription | SubAbility$ DBPump | SpellDescription$ Flip a coin. If you win the flip, destroy target creature an opponent controls. If you lose the flip, destroy target creature you control unless you pay {3} and repeat this process. -SVar:DBPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | ImprintCards$ ThisTargetedCard | StackDescription$ None | SubAbility$ DBFlip -SVar:DBFlip:DB$ FlipACoin | Caller$ You | WinSubAbility$ DestroyOpp | LoseSubAbility$ DestroyYours | SubAbility$ DBCleanup | StackDescription$ None -SVar:DestroyOpp:DB$ Destroy | Defined$ Remembered -SVar:DestroyYours:DB$ Destroy | Defined$ Imprinted | UnlessCost$ 3 | UnlessPayer$ You | SubAbility$ DBFlip | UnlessResolveSubs$ WhenPaid +SVar:DBPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | ImprintCards$ ThisTargetedCard | StackDescription$ None | SubAbility$ DBRepeat + +SVar:DBRepeat:DB$ Repeat | RepeatSubAbility$ DBFlip | RepeatDefined$ Imprinted | RepeatPresent$ Card | RepeatSVarCompare$ EQ0 +SVar:DBFlip:DB$ FlipACoin | Caller$ You | WinSubAbility$ DestroyOpp | LoseSubAbility$ DestroyYours | StackDescription$ None +SVar:DestroyOpp:DB$ Destroy | Defined$ Remembered | SubAbility$ DBCleanup +SVar:DestroyYours:DB$ Destroy | Defined$ Imprinted | UnlessCost$ 3 | UnlessPayer$ You | SubAbility$ DBCleanup | UnlessResolveSubs$ WhenNotPaid SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True + SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/crooked_scales.jpg Oracle:{4}, {T}: Flip a coin. If you win the flip, destroy target creature an opponent controls. If you lose the flip, destroy target creature you control unless you pay {3} and repeat this process.