From f7b550eac46b874f041ce48fd17c2019ffc3950c Mon Sep 17 00:00:00 2001 From: Suthro <81990938+Suthro@users.noreply.github.com> Date: Sun, 12 Jun 2022 20:02:00 -0500 Subject: [PATCH] CLB: Durnan of the Yawning Portal + Delayed Blast Fireball CLB: Scripts for two CLB cards --- .../cardsfolder/upcoming/delayed_blast_fireball.txt | 7 +++++++ .../upcoming/durnan_of_the_yawning_portal.txt | 13 +++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/delayed_blast_fireball.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/durnan_of_the_yawning_portal.txt diff --git a/forge-gui/res/cardsfolder/upcoming/delayed_blast_fireball.txt b/forge-gui/res/cardsfolder/upcoming/delayed_blast_fireball.txt new file mode 100644 index 00000000000..f00d22d761b --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/delayed_blast_fireball.txt @@ -0,0 +1,7 @@ +Name:Delayed Blast Fireball +ManaCost:1 R R +Types:Instant +A:SP$ DamageAll | NumDmg$ X | ValidPlayers$ Player.Opponent | ValidCards$ Creature.OppCtrl | ValidDescription$ each opponent and each creature they control. | SpellDescription$ CARDNAME deals 2 damage to each opponent and each creature they control. If this spell was cast from exile, it deals 5 damage to each opponent and each creature they control instead. +K:Foretell:4 R R +SVar:X:Count$wasCastFromExile.5.2 +Oracle:Delayed Blast Fireball deals 2 damage to each opponent and each creature they control. If this spell was cast from exile, it deals 5 damage to each opponent and each creature they control instead.\nForetell {4}{R}{R} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.) diff --git a/forge-gui/res/cardsfolder/upcoming/durnan_of_the_yawning_portal.txt b/forge-gui/res/cardsfolder/upcoming/durnan_of_the_yawning_portal.txt new file mode 100644 index 00000000000..e7da0a983d7 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/durnan_of_the_yawning_portal.txt @@ -0,0 +1,13 @@ +Name:Durnan of the Yawning Portal +ManaCost:3 G +Types:Legendary Creature Human Warrior +PT:3/3 +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDig | TriggerDescription$ Whenever CARDNAME attacks, look at the top four cards of your library. You may exile a creature card from among them. Put the rest on the bottom of your library in any order. For as long as that card remains exiled, you may cast it. That spell has undaunted. (It costs {1} less to cast for each opponent.) +SVar:TrigDig:DB$ Dig | DigNum$ 4 | ChangeNum$ 1 | Optional$ True | ChangeValid$ Creature | DestinationZone$ Exile | DestinationZone2$ Library | LibraryPosition$ -1 | RememberChanged$ True | SubAbility$ DBEffect +SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ STPlay,STKeyword | Duration$ Permanent | ForgetOnMoved$ Exile | SubAbility$ DBCleanup +SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreType$ True | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Exile | Description$ For as long as that card remains exiled, you may cast it. That spell has undaunted. (It costs {1} less to cast for each opponent.) +SVar:STKeyword:Mode$ Continuous | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Exile | AddKeyword$ Undaunted | Secondary$ True | Description$ For as long as that card remains exiled, you may cast it. That spell has undaunted. (It costs {1} less to cast for each opponent.) +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +SVar:HasAttackEffect:TRUE +K:Choose a Background +Oracle:Whenever Durnan attacks, look at the top four cards of your library. You may exile a creature card from among them. Put the rest on the bottom of your library in any order. For as long as that card remains exiled, you may cast it. That spell has undaunted. (It costs {1} less to cast for each opponent.)\nChoose a Background (You can have a Background as a second commander.)