From b5d95d193d5bb77aeb85c57d0f19c63658b9db6d Mon Sep 17 00:00:00 2001 From: TRT <> Date: Fri, 9 Dec 2022 11:39:42 +0100 Subject: [PATCH] Fix triggering when stolen --- forge-gui/res/cardsfolder/b/brood_of_cockroaches.txt | 2 +- forge-gui/res/cardsfolder/e/enigma_sphinx.txt | 2 +- forge-gui/res/cardsfolder/g/guan_yu_sainted_warrior.txt | 2 +- forge-gui/res/cardsfolder/u/unquenchable_fury.txt | 2 +- forge-gui/res/cardsfolder/z/zodiac_dragon.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/forge-gui/res/cardsfolder/b/brood_of_cockroaches.txt b/forge-gui/res/cardsfolder/b/brood_of_cockroaches.txt index 5cd4f83783c..93ed99327ed 100644 --- a/forge-gui/res/cardsfolder/b/brood_of_cockroaches.txt +++ b/forge-gui/res/cardsfolder/b/brood_of_cockroaches.txt @@ -2,7 +2,7 @@ Name:Brood of Cockroaches ManaCost:1 B Types:Creature Insect PT:1/1 -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ DelTrigLeaves | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, at the beginning of the next end step, you lose 1 life and return CARDNAME to your hand. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self+YouOwn | Execute$ DelTrigLeaves | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, at the beginning of the next end step, you lose 1 life and return CARDNAME to your hand. SVar:DelTrigLeaves:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | RememberObjects$ TriggeredNewCardLKICopy | Execute$ DBLoseLife | TriggerDescription$ Lose 1 life and return CARDNAME to your hand. SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 1 | SubAbility$ DBChange SVar:DBChange:DB$ ChangeZone | Defined$ DelayTriggerRememberedLKI | Origin$ Graveyard | Destination$ Hand diff --git a/forge-gui/res/cardsfolder/e/enigma_sphinx.txt b/forge-gui/res/cardsfolder/e/enigma_sphinx.txt index 0d645cdb233..0397c6bbb13 100644 --- a/forge-gui/res/cardsfolder/e/enigma_sphinx.txt +++ b/forge-gui/res/cardsfolder/e/enigma_sphinx.txt @@ -3,7 +3,7 @@ ManaCost:4 W U B Types:Artifact Creature Sphinx PT:5/4 K:Flying -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, put it into your library third from the top. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self+YouOwn | Execute$ TrigChange | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, put it into your library third from the top. SVar:TrigChange:DB$ ChangeZone | Defined$ TriggeredNewCardLKICopy | Origin$ Graveyard | Destination$ Library | LibraryPosition$ 2 K:Cascade Oracle:Flying\nWhen Enigma Sphinx is put into your graveyard from the battlefield, put it into your library third from the top.\nCascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) diff --git a/forge-gui/res/cardsfolder/g/guan_yu_sainted_warrior.txt b/forge-gui/res/cardsfolder/g/guan_yu_sainted_warrior.txt index 79911d56309..cb499ac49e2 100644 --- a/forge-gui/res/cardsfolder/g/guan_yu_sainted_warrior.txt +++ b/forge-gui/res/cardsfolder/g/guan_yu_sainted_warrior.txt @@ -3,7 +3,7 @@ ManaCost:3 W W Types:Legendary Creature Human Soldier Warrior PT:3/5 K:Horsemanship -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigReturn | OptionalDecider$ You | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, you may shuffle CARDNAME into your library. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self+YouOwn | Execute$ TrigReturn | OptionalDecider$ You | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, you may shuffle CARDNAME into your library. SVar:TrigReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Shuffle$ True | Defined$ TriggeredNewCardLKICopy DeckHints:Name$Liu Bei, Lord of Shu Oracle:Horsemanship (This creature can't be blocked except by creatures with horsemanship.)\nWhen Guan Yu, Sainted Warrior is put into your graveyard from the battlefield, you may shuffle Guan Yu into your library. diff --git a/forge-gui/res/cardsfolder/u/unquenchable_fury.txt b/forge-gui/res/cardsfolder/u/unquenchable_fury.txt index c509a0c3902..c5023c650fb 100644 --- a/forge-gui/res/cardsfolder/u/unquenchable_fury.txt +++ b/forge-gui/res/cardsfolder/u/unquenchable_fury.txt @@ -7,7 +7,7 @@ S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddTrigger$ AttackTrigger SVar:AttackTrigger:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever this creature attacks, it deals X damage to defending player, where X is the number of cards in their hand. SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredDefender | NumDmg$ X SVar:X:TriggeredDefendingPlayer$CardsInHand -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigReturn | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, return it to your hand. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self+YouOwn | TriggerZones$ Battlefield | Execute$ TrigReturn | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, return it to your hand. SVar:TrigReturn:DB$ ChangeZone | Defined$ TriggeredNewCardLKICopy | Origin$ Graveyard | Destination$ Hand SVar:AE:SVar:HasAttackEffect:TRUE Oracle:Enchant creature\nEnchanted creature has "Whenever this creature attacks, it deals X damage to defending player, where X is the number of cards in their hand."\nWhen Unquenchable Fury is put into your graveyard from the battlefield, return it to your hand. diff --git a/forge-gui/res/cardsfolder/z/zodiac_dragon.txt b/forge-gui/res/cardsfolder/z/zodiac_dragon.txt index 0b4cd1795f6..af7e0d815c3 100644 --- a/forge-gui/res/cardsfolder/z/zodiac_dragon.txt +++ b/forge-gui/res/cardsfolder/z/zodiac_dragon.txt @@ -2,6 +2,6 @@ Name:Zodiac Dragon ManaCost:7 R R Types:Creature Dragon PT:8/8 -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigReturn | OptionalDecider$ You | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, you may return it to your hand. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self+YouOwn | Execute$ TrigReturn | OptionalDecider$ You | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, you may return it to your hand. SVar:TrigReturn:DB$ ChangeZone | Defined$ TriggeredNewCardLKICopy | Origin$ Graveyard | Destination$ Hand Oracle:When Zodiac Dragon is put into your graveyard from the battlefield, you may return it to your hand.