From 8efa2234d5ea18a6581e514bd6ebf4b25f9f2610 Mon Sep 17 00:00:00 2001 From: Northmoc Date: Fri, 22 Nov 2024 16:41:43 -0500 Subject: [PATCH] YDSK: gilded_ambusher.txt --- forge-gui/res/cardsfolder/g/gilded_ambusher.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 forge-gui/res/cardsfolder/g/gilded_ambusher.txt diff --git a/forge-gui/res/cardsfolder/g/gilded_ambusher.txt b/forge-gui/res/cardsfolder/g/gilded_ambusher.txt new file mode 100644 index 00000000000..57d35ae084f --- /dev/null +++ b/forge-gui/res/cardsfolder/g/gilded_ambusher.txt @@ -0,0 +1,14 @@ +Name:Gilded Ambusher +ManaCost:1 B R +Types:Enchantment Creature Lizard Glimmer +PT:4/2 +T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigImmediateTrig | TriggerDescription$ Whenever CARDNAME attacks, you may sacrifice another nonland permanent. When you do, each opponent exiles a nonland, nontoken permanent they control and a random nonland card from their library, then CARDNAME deals damage to them equal to the total mana value of the cards exiled this way. +SVar:TrigImmediateTrig:AB$ ImmediateTrigger | Cost$ Sac<1/Permanent.Other+nonLand/another nonland permanent> | Execute$ TrigEachOpp | TriggerDescription$ When you do, each opponent exiles a nonland, nontoken permanent they control and a random nonland card from their library, then CARDNAME deals damage to them equal to the total mana value of the cards exiled this way. +SVar:TrigEachOpp:DB$ RepeatEach | RepeatPlayers$ Opponent | RepeatSubAbility$ DBChoose | SubAbility$ DBExile +SVar:DBChoose:DB$ ChooseCard | Defined$ Remembered | Choices$ Permanent.nonLand+nonToken | ControlledByPlayer$ Chooser | ChoiceZone$ Battlefield | ImprintChosen$ True | Mandatory$ True | SubAbility$ DBRandom +SVar:DBRandom:DB$ ChooseCard | Defined$ Remembered | Choices$ Card.nonLand | ControlledByPlayer$ Chooser | ChoiceZone$ Library | AtRandom$ True | ImprintChosen$ True +SVar:DBExile:DB$ ChangeZone | Defined$ Imprinted | Origin$ Battlefield,Library | Destination$ Exile | SubAbility$ DBDamage | RememberChanged$ True +SVar:DBDamage:DB$ DealDamage | Defined$ Opponent | NumDmg$ Remembered$SumCMC | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True | ClearChosenCard$ True +DeckHas:Ability$Sacrifice +Oracle:Whenever Gilded Ambusher attacks, you may sacrifice another nonland permanent. When you do, each opponent exiles a nonland, nontoken permanent they control and a random nonland card from their library, then Gilded Ambusher deals damage to them equal to the total mana value of the cards exiled this way.