From d1869911071c7a9a73859acb47d3f0f622efdcc9 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Fri, 8 Jul 2022 21:55:14 +0800 Subject: [PATCH] fix crash closes #1068 --- forge-gui/res/cardsfolder/upcoming/moonshae_pixie.txt | 2 +- forge-gui/res/cardsfolder/upcoming/myrkuls_edict.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/moonshae_pixie.txt b/forge-gui/res/cardsfolder/upcoming/moonshae_pixie.txt index 7e1365cf04c..f2f45c2d8ca 100644 --- a/forge-gui/res/cardsfolder/upcoming/moonshae_pixie.txt +++ b/forge-gui/res/cardsfolder/upcoming/moonshae_pixie.txt @@ -4,7 +4,7 @@ Types:Creature Faerie PT:2/2 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw cards equal to the number of opponents who were dealt combat damage this turn. -SVar:TrigDraw:AB$ Draw | NumCards$ X +SVar:TrigDraw:DB$ Draw | NumCards$ X SVar:X:PlayerCountRegisteredOpponents$HasPropertywasDealtCombatDamageThisTurn AlternateMode:Adventure Oracle:Flying\nWhen Moonshae Pixie enters the battlefield, draw cards equal to the number of opponents who were dealt combat damage this turn. diff --git a/forge-gui/res/cardsfolder/upcoming/myrkuls_edict.txt b/forge-gui/res/cardsfolder/upcoming/myrkuls_edict.txt index 510104f75bf..74211a09160 100644 --- a/forge-gui/res/cardsfolder/upcoming/myrkuls_edict.txt +++ b/forge-gui/res/cardsfolder/upcoming/myrkuls_edict.txt @@ -2,7 +2,7 @@ Name:Myrkul's Edict ManaCost:1 B Types:Sorcery A:SP$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:OneOppSac,10-19:EachOppSac,20:SacTopPower | SpellDescription$ Roll a d20. -SVar:OneOppSac:ChoosePlayer | Defined$ You | Choices$ Player.Opponent | SubAbility$ DBSac | StackDescription$ SpellDescription | SpellDescription$ 1—9 VERT Choose an opponent. That player sacrifices a creature. +SVar:OneOppSac:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | SubAbility$ DBSac | StackDescription$ SpellDescription | SpellDescription$ 1—9 VERT Choose an opponent. That player sacrifices a creature. SVar:DBSac:DB$ Sacrifice | Defined$ Chosen | SacValid$ Creature | SubAbility$ DBCleanupChosen SVar:EachOppSac:DB$ Sacrifice | Defined$ Player.Opponent | SacValid$ Creature | StackDescription$ SpellDescription | SpellDescription$ 10—19 VERT Each opponent sacrifices a creature. SVar:SacTopPower:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBChooseCard | SubAbility$ DBSacAll | StackDescription$ SpellDescription | SpellDescription$ 20 VERT Each opponent sacrifices a creature with the greatest power among creatures that player controls.