From afc3182aa02fcabd2fd35891c8804c7b01ced2fc Mon Sep 17 00:00:00 2001 From: tehdiplomat Date: Tue, 21 Aug 2018 21:03:17 -0400 Subject: [PATCH 1/3] Adding Xantcha and Spellseeker --- forge-gui/res/cardsfolder/s/spellseeker.txt | 7 +++++++ .../res/cardsfolder/x/xantcha_sleeper_agent.txt | 13 +++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 forge-gui/res/cardsfolder/s/spellseeker.txt create mode 100644 forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt diff --git a/forge-gui/res/cardsfolder/s/spellseeker.txt b/forge-gui/res/cardsfolder/s/spellseeker.txt new file mode 100644 index 00000000000..e0edf383c7c --- /dev/null +++ b/forge-gui/res/cardsfolder/s/spellseeker.txt @@ -0,0 +1,7 @@ +Name:Spellseeker +ManaCost:2 U +Types:Creature Human Wizard +PT:1/1 +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for an instant or sorcery card with converted mana cost 2 or less, reveal it, put it into your hand, then shuffle your library. +SVar:TrigChange:DB$ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Instant.cmcLE2,Sorcery.cmcLE2 | ChangeNum$ 1 +Oracle:When Spellseeker enters the battlefield, you may search your library for an instant or sorcery card with converted mana cost 2 or less, reveal it, put it into your hand, then shuffle your library. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt b/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt new file mode 100644 index 00000000000..cbb68fd2357 --- /dev/null +++ b/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt @@ -0,0 +1,13 @@ +Name:Xantcha, Sleeper Agent +ManaCost:1 B R +Types:Legendary Creature Minion +PT:5/5 +K:CARDNAME attacks each combat if able. +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChoose | TriggerDescription$ When CARDNAME enters the battlefield, an opponent gains control of it. +SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent to give control to: | AILogic$ Curse | SubAbility$ DBDonate +SVar:DBDonate:DB$ GainControl | Defined$ Self | NewController$ Player.Chosen | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearChosenPlayer$ True +S:Mode$ CantAttack | ValidCard$ Card.Self | Target$ Player.CardOwner,Planeswalker.ControlledBy Player.CardOwner +A:AB$ Draw | Cost$ 3 | NumCards$ 1 | AnyPlayer$ True | SubAbility$ DBLoseLife | SpellDescription$ Xantcha’s controller loses 2 life and you draw a card. Any player may activate this ability. +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 2 | Defined$ Player.Chosen +Oracle:As Xantcha, Sleeper Agent enters the battlefield, an opponent of your choice gains control of it.\nXantcha attacks each combat if able and can’t attack its owner or planeswalkers its owner controls.\n{3}: Xantcha’s controller loses 2 life and you draw a card. Any player may activate this ability. \ No newline at end of file From 746c8b7d8f9b423fec91208256a84d09869e94df Mon Sep 17 00:00:00 2001 From: tehdiplomat Date: Wed, 22 Aug 2018 11:00:59 -0400 Subject: [PATCH 2/3] Fix Xantcha activated ability --- forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt b/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt index cbb68fd2357..195739b5cbe 100644 --- a/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt +++ b/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt @@ -9,5 +9,5 @@ SVar:DBDonate:DB$ GainControl | Defined$ Self | NewController$ Player.Chosen | S SVar:DBCleanup:DB$ Cleanup | ClearChosenPlayer$ True S:Mode$ CantAttack | ValidCard$ Card.Self | Target$ Player.CardOwner,Planeswalker.ControlledBy Player.CardOwner A:AB$ Draw | Cost$ 3 | NumCards$ 1 | AnyPlayer$ True | SubAbility$ DBLoseLife | SpellDescription$ Xantcha’s controller loses 2 life and you draw a card. Any player may activate this ability. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 2 | Defined$ Player.Chosen +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 2 | Defined$ CardController Oracle:As Xantcha, Sleeper Agent enters the battlefield, an opponent of your choice gains control of it.\nXantcha attacks each combat if able and can’t attack its owner or planeswalkers its owner controls.\n{3}: Xantcha’s controller loses 2 life and you draw a card. Any player may activate this ability. \ No newline at end of file From 83254033fba186b4a430cdc856597a12b09bc8b1 Mon Sep 17 00:00:00 2001 From: tehdiplomat Date: Wed, 22 Aug 2018 12:13:24 -0400 Subject: [PATCH 3/3] Add description for Xantcha --- forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt b/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt index 195739b5cbe..7b44f68f0e8 100644 --- a/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt +++ b/forge-gui/res/cardsfolder/x/xantcha_sleeper_agent.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent to give control to: | AILogic$ Curse | SubAbility$ DBDonate SVar:DBDonate:DB$ GainControl | Defined$ Self | NewController$ Player.Chosen | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenPlayer$ True -S:Mode$ CantAttack | ValidCard$ Card.Self | Target$ Player.CardOwner,Planeswalker.ControlledBy Player.CardOwner +S:Mode$ CantAttack | ValidCard$ Card.Self | Target$ Player.CardOwner,Planeswalker.ControlledBy Player.CardOwner | Description$ CARDNAME can’t attack its owner or planeswalkers its owner controls. A:AB$ Draw | Cost$ 3 | NumCards$ 1 | AnyPlayer$ True | SubAbility$ DBLoseLife | SpellDescription$ Xantcha’s controller loses 2 life and you draw a card. Any player may activate this ability. SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 2 | Defined$ CardController Oracle:As Xantcha, Sleeper Agent enters the battlefield, an opponent of your choice gains control of it.\nXantcha attacks each combat if able and can’t attack its owner or planeswalkers its owner controls.\n{3}: Xantcha’s controller loses 2 life and you draw a card. Any player may activate this ability. \ No newline at end of file