From 39deffdc56f9fcce61397286db79ec44b3d07373 Mon Sep 17 00:00:00 2001 From: Tim Mocny Date: Sun, 28 Jun 2020 01:44:43 +0000 Subject: [PATCH] Remove Mill effect from non-mill cards --- .../main/java/forge/game/card/CardFactoryUtil.java | 2 +- forge-gui/res/cardsfolder/a/abbot_of_keral_keep.txt | 5 ++--- forge-gui/res/cardsfolder/a/act_on_impulse.txt | 5 ++--- forge-gui/res/cardsfolder/a/aerial_caravan.txt | 4 ++-- forge-gui/res/cardsfolder/a/aminatous_augury.txt | 2 +- forge-gui/res/cardsfolder/a/amulet_of_quoz.txt | 3 +-- forge-gui/res/cardsfolder/a/apex_of_power.txt | 2 +- .../res/cardsfolder/a/ashiok_nightmare_weaver.txt | 3 +-- forge-gui/res/cardsfolder/b/balustrade_spy.txt | 5 ++--- forge-gui/res/cardsfolder/b/bioplasm.txt | 5 ++--- forge-gui/res/cardsfolder/b/bomat_courier.txt | 7 +++---- forge-gui/res/cardsfolder/b/bone_mask.txt | 3 +-- forge-gui/res/cardsfolder/b/brilliant_ultimatum.txt | 3 +-- .../res/cardsfolder/c/chandra_fire_artisan.txt | 4 ++-- forge-gui/res/cardsfolder/c/chandra_pyromaster.txt | 5 ++--- .../res/cardsfolder/c/chandra_torch_of_defiance.txt | 2 +- .../res/cardsfolder/c/circu_dimir_lobotomist.txt | 5 ++--- forge-gui/res/cardsfolder/c/colfenors_plans.txt | 2 +- forge-gui/res/cardsfolder/c/collected_conjuring.txt | 2 +- forge-gui/res/cardsfolder/c/commune_with_lava.txt | 5 ++--- forge-gui/res/cardsfolder/c/crumbling_sanctuary.txt | 3 +-- forge-gui/res/cardsfolder/d/dakra_mystic.txt | 5 ++--- forge-gui/res/cardsfolder/d/dark_dweller_oracle.txt | 4 ++-- forge-gui/res/cardsfolder/d/daxos_of_meletis.txt | 3 +-- forge-gui/res/cardsfolder/d/dead_mans_chest.txt | 7 +++---- forge-gui/res/cardsfolder/d/demonic_attorney.txt | 3 +-- .../res/cardsfolder/d/demonic_consultation.txt | 5 ++--- .../res/cardsfolder/d/dimensional_infiltrator.txt | 5 ++--- forge-gui/res/cardsfolder/d/diminishing_returns.txt | 3 +-- forge-gui/res/cardsfolder/d/divining_witch.txt | 5 ++--- forge-gui/res/cardsfolder/d/dream_pillager.txt | 3 +-- forge-gui/res/cardsfolder/d/duplicity.txt | 3 +-- forge-gui/res/cardsfolder/e/elkin_bottle.txt | 3 +-- forge-gui/res/cardsfolder/e/epic_experiment.txt | 3 +-- forge-gui/res/cardsfolder/e/escape_to_the_wilds.txt | 2 +- forge-gui/res/cardsfolder/e/etali_primal_storm.txt | 7 +++---- forge-gui/res/cardsfolder/f/fallen_shinobi.txt | 4 ++-- forge-gui/res/cardsfolder/f/fathom_feeder.txt | 7 +++---- forge-gui/res/cardsfolder/f/furious_rise.txt | 6 +++--- .../res/cardsfolder/g/golos_tireless_pilgrim.txt | 4 ++-- forge-gui/res/cardsfolder/g/grenzo_havoc_raiser.txt | 3 +-- forge-gui/res/cardsfolder/g/grimoire_thief.txt | 5 ++--- .../res/cardsfolder/h/hazorets_undying_fury.txt | 7 +++---- forge-gui/res/cardsfolder/h/hellcarver_demon.txt | 3 +-- forge-gui/res/cardsfolder/i/ignite_the_future.txt | 2 +- forge-gui/res/cardsfolder/i/ire_shaman.txt | 3 +-- .../res/cardsfolder/j/jeleva_nephalias_scourge.txt | 5 ++--- forge-gui/res/cardsfolder/j/jeskai_infiltrator.txt | 3 +-- forge-gui/res/cardsfolder/j/jesters_scepter.txt | 3 +-- forge-gui/res/cardsfolder/k/knacksaw_clique.txt | 5 ++--- forge-gui/res/cardsfolder/k/knowledge_pool.txt | 3 +-- forge-gui/res/cardsfolder/l/light_up_the_stage.txt | 8 ++++---- forge-gui/res/cardsfolder/l/lord_of_the_void.txt | 5 ++--- .../res/cardsfolder/l/lukka_coppercoat_outcast.txt | 3 +-- forge-gui/res/cardsfolder/m/magus_of_the_mind.txt | 7 +++---- forge-gui/res/cardsfolder/m/mindreaver.txt | 3 +-- forge-gui/res/cardsfolder/m/minds_dilation.txt | 7 +++---- forge-gui/res/cardsfolder/m/moonring_mirror.txt | 5 ++--- forge-gui/res/cardsfolder/m/mystic_forge.txt | 2 +- .../res/cardsfolder/n/narset_enlightened_master.txt | 7 +++---- .../res/cardsfolder/n/nicol_bolas_the_ravager.txt | 4 ++-- forge-gui/res/cardsfolder/n/nightveil_specter.txt | 5 ++--- .../cardsfolder/n/nivix_aerie_of_the_firemind.txt | 3 +-- forge-gui/res/cardsfolder/o/oblivion_sower.txt | 8 ++++---- forge-gui/res/cardsfolder/o/omen_machine.txt | 3 +-- .../res/cardsfolder/o/oona_queen_of_the_fae.txt | 8 ++++---- forge-gui/res/cardsfolder/o/oracles_vault.txt | 13 ++++++------- forge-gui/res/cardsfolder/o/ornate_kanzashi.txt | 3 +-- forge-gui/res/cardsfolder/o/outpost_siege.txt | 3 +-- forge-gui/res/cardsfolder/p/precognition_field.txt | 2 +- .../res/cardsfolder/p/prophetic_flamespeaker.txt | 3 +-- .../res/cardsfolder/p/pyxis_of_pandemonium.txt | 3 +-- forge-gui/res/cardsfolder/r/rally_the_horde.txt | 12 ++++++------ forge-gui/res/cardsfolder/r/raven_guild_master.txt | 5 ++--- forge-gui/res/cardsfolder/r/rebirth.txt | 4 ++-- forge-gui/res/cardsfolder/r/robber_of_the_rich.txt | 2 +- .../res/cardsfolder/r/rona_disciple_of_gix.txt | 3 +-- forge-gui/res/cardsfolder/s/scalpelexis.txt | 9 ++++----- forge-gui/res/cardsfolder/s/scrib_nibblers.txt | 9 +++++---- forge-gui/res/cardsfolder/s/search_the_city.txt | 3 +-- forge-gui/res/cardsfolder/s/shared_fate.txt | 3 +-- forge-gui/res/cardsfolder/s/sire_of_stagnation.txt | 7 +++---- forge-gui/res/cardsfolder/s/spark_of_creativity.txt | 3 +-- forge-gui/res/cardsfolder/s/stolen_strategy.txt | 3 +-- forge-gui/res/cardsfolder/s/stromkirk_occultist.txt | 3 +-- forge-gui/res/cardsfolder/s/syr_carah_the_bold.txt | 2 +- forge-gui/res/cardsfolder/t/tainted_pact.txt | 5 ++--- .../res/cardsfolder/t/talent_of_the_telepath.txt | 5 ++--- forge-gui/res/cardsfolder/t/tectonic_giant.txt | 2 +- .../cardsfolder/t/tezzeret_master_of_the_bridge.txt | 4 ++-- forge-gui/res/cardsfolder/t/theater_of_horrors.txt | 6 +++--- forge-gui/res/cardsfolder/t/thought_harvester.txt | 5 ++--- forge-gui/res/cardsfolder/t/three_wishes.txt | 3 +-- forge-gui/res/cardsfolder/t/timesifter.txt | 5 ++--- forge-gui/res/cardsfolder/t/timmerian_fiends.txt | 2 +- forge-gui/res/cardsfolder/u/uba_mask.txt | 3 +-- forge-gui/res/cardsfolder/u/ugin_the_ineffable.txt | 7 ++++--- .../cardsfolder/u/ulamog_the_ceaseless_hunger.txt | 7 +++---- .../res/cardsfolder/u/urza_lord_high_artificer.txt | 5 +++-- .../v/vances_blasting_cannons_spitfire_bastion.txt | 6 ++---- forge-gui/res/cardsfolder/v/villainous_wealth.txt | 3 +-- forge-gui/res/cardsfolder/w/when_will_you_learn.txt | 5 ++--- forge-gui/res/cardsfolder/x/xenagos_the_reveler.txt | 6 +++--- .../res/tokenscripts/ub_2_3_nightmare_mill.txt | 6 +++--- 104 files changed, 195 insertions(+), 264 deletions(-) diff --git a/forge-game/src/main/java/forge/game/card/CardFactoryUtil.java b/forge-game/src/main/java/forge/game/card/CardFactoryUtil.java index 2e59639c6bc..f2c7ea82d86 100644 --- a/forge-game/src/main/java/forge/game/card/CardFactoryUtil.java +++ b/forge-game/src/main/java/forge/game/card/CardFactoryUtil.java @@ -2677,7 +2677,7 @@ public class CardFactoryUtil { + "| Secondary$ True | TriggerZones$ Battlefield | TriggerDescription$ Ingest (" + inst.getReminderText() + ")"; - final String abStr = "DB$ Mill | NumCards$ 1 | Destination$ Exile | Defined$ TriggeredTarget"; + final String abStr = "DB$ Dig | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | Defined$ TriggeredTarget"; final Trigger trigger = TriggerHandler.parseTrigger(trigStr, card, intrinsic); diff --git a/forge-gui/res/cardsfolder/a/abbot_of_keral_keep.txt b/forge-gui/res/cardsfolder/a/abbot_of_keral_keep.txt index c62a39c700a..01d943f040e 100644 --- a/forge-gui/res/cardsfolder/a/abbot_of_keral_keep.txt +++ b/forge-gui/res/cardsfolder/a/abbot_of_keral_keep.txt @@ -3,11 +3,10 @@ ManaCost:1 R Types:Creature Human Monk PT:2/1 K:Prowess -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ When CARDNAME enters the battlefield, exile the top card of your library. Until end of turn, you may play that card. -SVar:TrigMill:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile the top card of your library. Until end of turn, you may play that card. +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:PlayMain1:ALWAYS -SVar:Picture:http://www.wizards.com/global/images/magic/general/abbot_of_keral_keep.jpg Oracle:Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)\nWhen Abbot of Keral Keep enters the battlefield, exile the top card of your library. Until end of turn, you may play that card. diff --git a/forge-gui/res/cardsfolder/a/act_on_impulse.txt b/forge-gui/res/cardsfolder/a/act_on_impulse.txt index 71b20406465..ab41a9d7c40 100644 --- a/forge-gui/res/cardsfolder/a/act_on_impulse.txt +++ b/forge-gui/res/cardsfolder/a/act_on_impulse.txt @@ -1,10 +1,9 @@ Name:Act on Impulse ManaCost:2 R Types:Sorcery -A:SP$ Mill | Cost$ 2 R | Defined$ You | NumCards$ 3 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top three cards of your library. Until end of turn, you may play cards exiled this way. -SVar:DBEffect:DB$Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ForgetOnMoved$ Exile +A:SP$ Dig | Cost$ 2 R | Defined$ You | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top three cards of your library. Until end of turn, you may play cards exiled this way. +SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ForgetOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/act_on_impulse.jpg Oracle:Exile the top three cards of your library. Until end of turn, you may play cards exiled this way. (If you cast a spell this way, you still pay its costs. You can play a land this way only if you have an available land play remaining.) diff --git a/forge-gui/res/cardsfolder/a/aerial_caravan.txt b/forge-gui/res/cardsfolder/a/aerial_caravan.txt index 200930504fc..021b754fcc4 100644 --- a/forge-gui/res/cardsfolder/a/aerial_caravan.txt +++ b/forge-gui/res/cardsfolder/a/aerial_caravan.txt @@ -3,8 +3,8 @@ ManaCost:4 U U Types:Creature Human Soldier PT:4/3 K:Flying -A:AB$ Mill | Cost$ 1 U U | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | AILogic$ ExileAndPlayUntilEOT | SpellDescription$ Exile the top card of your library. Until end of turn, you may play that card. (Reveal the card as you exile it.) -SVar:DBEffect:DB$Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ExileOnMoved$ Exile +A:AB$ Dig | Cost$ 1 U U | Defined$ You | DigNum$ 1 | Destination$ Exile | RememberChanged$ True | SubAbility$ DBEffect | AILogic$ ExileAndPlayUntilEOT | SpellDescription$ Exile the top card of your library. Until end of turn, you may play that card. (Reveal the card as you exile it.) +SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/aerial_caravan.jpg diff --git a/forge-gui/res/cardsfolder/a/aminatous_augury.txt b/forge-gui/res/cardsfolder/a/aminatous_augury.txt index e36a1622dd1..b9f95dc457c 100644 --- a/forge-gui/res/cardsfolder/a/aminatous_augury.txt +++ b/forge-gui/res/cardsfolder/a/aminatous_augury.txt @@ -1,7 +1,7 @@ Name:Aminatou's Augury ManaCost:6 U U Types:Sorcery -A:SP$ Mill | Cost$ 6 U U | Defined$ You | NumCards$ 8 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBChooseLand | SpellDescription$ Exile the top eight cards of your library. You may put a land card from among them onto the battlefield. Until end of turn, for each nonland card type, you may cast a card of that type from among the exiled cards without paying its mana cost. +A:SP$ Dig | Cost$ 6 U U | Defined$ You | DigNum$ 8 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBChooseLand | SpellDescription$ Exile the top eight cards of your library. You may put a land card from among them onto the battlefield. Until end of turn, for each nonland card type, you may cast a card of that type from among the exiled cards without paying its mana cost. SVar:DBChooseLand:DB$ ChooseCard | Defined$ You | Choices$ Land.IsRemembered | Mandatory$ True | Amount$ 1 | ChoiceZone$ Exile | SubAbility$ DBChangeZone SVar:DBChangeZone:DB$ ChangeZone | Optional$ True | Defined$ ChosenCard | Origin$ Exile | Destination$ Battlefield | ChangeNum$ 1 | ForgetChanged$ True | SubAbility$ DBCleanupChosen SVar:DBCleanupChosen:DB$ Cleanup | ClearChosenCard$ True | SubAbility$ DBEffect diff --git a/forge-gui/res/cardsfolder/a/amulet_of_quoz.txt b/forge-gui/res/cardsfolder/a/amulet_of_quoz.txt index 62438265e31..3c0b230530e 100644 --- a/forge-gui/res/cardsfolder/a/amulet_of_quoz.txt +++ b/forge-gui/res/cardsfolder/a/amulet_of_quoz.txt @@ -2,12 +2,11 @@ Name:Amulet of Quoz ManaCost:6 Types:Artifact K:Remove CARDNAME from your deck before playing if you're not playing for ante. -A:AB$ Mill | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Opponent | Destination$ Ante | NumCards$ 1 | RememberMilled$ True | Optional$ True | SubAbility$ DBFlip | PlayerTurn$ True | ActivationPhases$ Upkeep | SpellDescription$ Target opponent may ante the top card of their library. If they don't, you flip a coin. If you win the flip, that player loses the game. If you lose the flip, you lose the game. Activate this ability only during your upkeep. +A:AB$ Dig | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Opponent | DestinationZone$ Ante | DigNum$ 1 | ChangeNum$ All | RememberChanged$ True | Optional$ True | SubAbility$ DBFlip | PlayerTurn$ True | ActivationPhases$ Upkeep | SpellDescription$ Target opponent may ante the top card of their library. If they don't, you flip a coin. If you win the flip, that player loses the game. If you lose the flip, you lose the game. Activate this ability only during your upkeep. SVar:DBFlip:DB$ FlipACoin | Caller$ You | WinSubAbility$ OppLoseGame | LoseSubAbility$ YouLoseGame | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ0 | SubAbility$ DBCleanup SVar:OppLoseGame:DB$ LosesGame | Defined$ Targeted SVar:YouLoseGame:DB$ LosesGame | Defined$ You SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/amulet_of_quoz.jpg Oracle:Remove Amulet of Quoz from your deck before playing if you're not playing for ante.\n{T}, Sacrifice Amulet of Quoz: Target opponent may ante the top card of their library. If they don't, you flip a coin. If you win the flip, that player loses the game. If you lose the flip, you lose the game. Activate this ability only during your upkeep. diff --git a/forge-gui/res/cardsfolder/a/apex_of_power.txt b/forge-gui/res/cardsfolder/a/apex_of_power.txt index e9942c21432..9e9e2f86699 100644 --- a/forge-gui/res/cardsfolder/a/apex_of_power.txt +++ b/forge-gui/res/cardsfolder/a/apex_of_power.txt @@ -1,7 +1,7 @@ Name:Apex of Power ManaCost:7 R R R Types:Sorcery -A:SP$ Mill | Cost$ 7 R R R | Origin$ Library | Destination$ Exile | NumCards$ 7 | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top seven cards from your library. Until end of turn, you may cast nonland cards exiled this way. If this spell was cast from your hand, add ten mana of any one color. +A:SP$ Dig | Cost$ 7 R R R | DestinationZone$ Exile | DigNum$ 7 | ChangeNum$ All | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top seven cards from your library. Until end of turn, you may cast nonland cards exiled this way. If this spell was cast from your hand, add ten mana of any one color. SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ EffSModeContinuous | SubAbility$ DBCleanup | ForgetOnMoved$ Exile SVar:EffSModeContinuous:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.nonLand+IsRemembered | AffectedZone$ Exile | Description$ You may cast nonland cards exiled this way. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBMana diff --git a/forge-gui/res/cardsfolder/a/ashiok_nightmare_weaver.txt b/forge-gui/res/cardsfolder/a/ashiok_nightmare_weaver.txt index a6277f00849..8c9b0e24551 100644 --- a/forge-gui/res/cardsfolder/a/ashiok_nightmare_weaver.txt +++ b/forge-gui/res/cardsfolder/a/ashiok_nightmare_weaver.txt @@ -2,7 +2,7 @@ Name:Ashiok, Nightmare Weaver ManaCost:1 U B Types:Legendary Planeswalker Ashiok Loyalty:3 -A:AB$ Mill | Cost$ AddCounter<2/LOYALTY> | ValidTgts$ Opponent | NumCards$ 3 | Destination$ Exile | Planeswalker$ True | RememberMilled$ True | SpellDescription$ Exile the top three cards of target opponent's library. +A:AB$ Dig | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Opponent | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SpellDescription$ Exile the top three cards of target opponent's library. A:AB$ ChooseCard | Cost$ SubCounter | References$ X | Choices$ Creature.cmcEQChosenX+IsRemembered+ExiledWithSource | ChoiceZone$ Exile | Planeswalker$ True | SubAbility$ DBChangeZone | AILogic$ Ashiok | SpellDescription$ Put a creature card with converted mana cost X exiled with CARDNAME onto the battlefield under your control. That creature is a Nightmare in addition to its other types. SVar:DBChangeZone:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Exile | Destination$ Battlefield | ChangeType$ Creature.cmcEQChosenX+IsRemembered+ExiledWithSource | ChangeNum$ 1 | GainControl$ True | SubAbility$ DBAnimate SVar:DBAnimate:DB$ Animate | Defined$ ChosenCard | Types$ Nightmare | Permanent$ True | SubAbility$ DBCleanMinus @@ -13,5 +13,4 @@ T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCar SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/ashiok_nightmare_weaver.jpg Oracle:[+2]: Exile the top three cards of target opponent's library.\n[−X]: Put a creature card with converted mana cost X exiled with Ashiok, Nightmare Weaver onto the battlefield under your control. That creature is a Nightmare in addition to its other types.\n[−10]: Exile all cards from all opponents' hands and graveyards. diff --git a/forge-gui/res/cardsfolder/b/balustrade_spy.txt b/forge-gui/res/cardsfolder/b/balustrade_spy.txt index a0c865e145d..236165fdf7b 100644 --- a/forge-gui/res/cardsfolder/b/balustrade_spy.txt +++ b/forge-gui/res/cardsfolder/b/balustrade_spy.txt @@ -3,7 +3,6 @@ ManaCost:3 B Types:Creature Vampire Rogue PT:2/3 K:Flying -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ When CARDNAME enters the battlefield, target player reveals cards from the top of their library until they reveal a land card, then puts those cards into their graveyard. -SVar:TrigMill:DB$ DigUntil | ValidTgts$ Player | TgtPrompt$ Select target player | IsCurse$ True | Amount$ 1 | Valid$ Land | ValidDescription$ land | RevealedDestination$ Graveyard -SVar:Picture:http://www.wizards.com/global/images/magic/general/balustrade_spy.jpg +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigRevealUntil | TriggerDescription$ When CARDNAME enters the battlefield, target player reveals cards from the top of their library until they reveal a land card, then puts those cards into their graveyard. +SVar:TrigRevealUntil:DB$ DigUntil | ValidTgts$ Player | TgtPrompt$ Select target player | IsCurse$ True | Amount$ 1 | Valid$ Land | ValidDescription$ land | RevealedDestination$ Graveyard Oracle:Flying\nWhen Balustrade Spy enters the battlefield, target player reveals cards from the top of their library until they reveal a land card, then puts those cards into their graveyard. diff --git a/forge-gui/res/cardsfolder/b/bioplasm.txt b/forge-gui/res/cardsfolder/b/bioplasm.txt index 612f452039e..ec6ea66f057 100644 --- a/forge-gui/res/cardsfolder/b/bioplasm.txt +++ b/forge-gui/res/cardsfolder/b/bioplasm.txt @@ -2,12 +2,11 @@ Name:Bioplasm ManaCost:3 G G Types:Creature Ooze PT:4/4 -T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top card of your library. If it's a creature card, CARDNAME gets +X/+Y until end of turn, where X is the exiled creature card's power and Y is its toughness. -SVar:TrigMill:DB$ Mill | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBPump +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top card of your library. If it's a creature card, CARDNAME gets +X/+Y until end of turn, where X is the exiled creature card's power and Y is its toughness. +SVar:TrigExile:DB$ Dig | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPump SVar:DBPump:DB$ Pump | NumAtt$ X | NumDef$ Y | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup | References$ X,Y,Z SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower SVar:Y:Remembered$CardToughness SVar:Z:Remembered$Valid Creature -SVar:Picture:http://www.wizards.com/global/images/magic/general/bioplasm.jpg Oracle:Whenever Bioplasm attacks, exile the top card of your library. If it's a creature card, Bioplasm gets +X/+Y until end of turn, where X is the exiled creature card's power and Y is its toughness. diff --git a/forge-gui/res/cardsfolder/b/bomat_courier.txt b/forge-gui/res/cardsfolder/b/bomat_courier.txt index 682d8f7ae66..eff88656bdb 100644 --- a/forge-gui/res/cardsfolder/b/bomat_courier.txt +++ b/forge-gui/res/cardsfolder/b/bomat_courier.txt @@ -4,13 +4,12 @@ Types:Artifact Creature Construct PT:1/1 K:Haste T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top card of your library face down. (You can't look at it.) -SVar:TrigExile:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | ExileFaceDown$ True | NoReveal$ True -A:AB$ ChangeZoneAll | Cost$ R Discard<0/Hand> Sac<1/CARDNAME> | ChangeType$ Card.IsRemembered+ExiledWithSource | Origin$ Exile | Destination$ Hand | AILogic$ DiscardAllAndRetExiled.minAdv2 | SpellDescription$ Put all cards exiled with Bomat Courier into their owners' hands. +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | ExileFaceDown$ True | NoReveal$ True +A:AB$ ChangeZoneAll | Cost$ R Discard<0/Hand> Sac<1/CARDNAME> | ChangeType$ Card.IsRemembered+ExiledWithSource | Origin$ Exile | Destination$ Hand | AILogic$ DiscardAllAndRetExiled.minAdv2 | SpellDescription$ Put all cards exiled with CARDNAME into their owners' hands. T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup -SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True DeckNeeds:Color$Red AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/bomat_courier.jpg Oracle:Haste\nWhenever Bomat Courier attacks, exile the top card of your library face down. (You can't look at it.)\n{R}, Discard your hand, Sacrifice Bomat Courier: Put all cards exiled with Bomat Courier into their owners' hands. diff --git a/forge-gui/res/cardsfolder/b/bone_mask.txt b/forge-gui/res/cardsfolder/b/bone_mask.txt index 5cd8118324f..9e089f2cdd7 100644 --- a/forge-gui/res/cardsfolder/b/bone_mask.txt +++ b/forge-gui/res/cardsfolder/b/bone_mask.txt @@ -4,9 +4,8 @@ Types:Artifact A:AB$ ChooseSource | Cost$ 2 T | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, prevent that damage. Exile cards from the top of your library equal to the damage prevented this way. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | RememberObjects$ Remembered | SVars$ RPreventNextFromSource,ExileEffect,ExileFromLibInstead,X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ ExileFromLibInstead | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. -SVar:ExileFromLibInstead:DB$ Mill | Defined$ You | Destination$ Exile | NumCards$ X | References$ X +SVar:ExileFromLibInstead:DB$ Dig | Defined$ You | DestinationZone$ Exile | DigNum$ X | References$ X | ChangeNum$ All SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:ReplaceCount$DamageAmount SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/bone_mask.jpg Oracle:{2}, {T}: The next time a source of your choice would deal damage to you this turn, prevent that damage. Exile cards from the top of your library equal to the damage prevented this way. diff --git a/forge-gui/res/cardsfolder/b/brilliant_ultimatum.txt b/forge-gui/res/cardsfolder/b/brilliant_ultimatum.txt index 40e9560c35f..50386adbaeb 100644 --- a/forge-gui/res/cardsfolder/b/brilliant_ultimatum.txt +++ b/forge-gui/res/cardsfolder/b/brilliant_ultimatum.txt @@ -1,12 +1,11 @@ Name:Brilliant Ultimatum ManaCost:W W U U U B B Types:Sorcery -A:SP$ Mill | Cost$ W W U U U B B | Defined$ You | NumCards$ 5 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBTwoPiles | SpellDescription$ Exile the top five cards of your library. An opponent separates those cards into two piles. You may play any number of cards from one of those piles without paying their mana costs. +A:SP$ Dig | Cost$ W W U U U B B | Defined$ You | DigNum$ 5 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBTwoPiles | SpellDescription$ Exile the top five cards of your library. An opponent separates those cards into two piles. You may play any number of cards from one of those piles without paying their mana costs. SVar:DBTwoPiles:DB$ TwoPiles | Defined$ You | DefinedCards$ Remembered | Separator$ Opponent | ChosenPile$ DBPlay | SubAbility$ DBCleanup SVar:DBPlay:DB$ RepeatEach | UseImprinted$ True | RepeatCards$ Card.IsRemembered | ChooseOrder$ True | Zone$ Exile | RepeatSubAbility$ DBPlayCard SVar:DBPlayCard:DB$ Play | Defined$ Imprinted | Controller$ You | WithoutManaCost$ True | Optional$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Count$InYourLibrary SVar:NeedsToPlayVar:Y GE8 -SVar:Picture:http://www.wizards.com/global/images/magic/general/brilliant_ultimatum.jpg Oracle:Exile the top five cards of your library. An opponent separates those cards into two piles. You may play any number of cards from one of those piles without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/c/chandra_fire_artisan.txt b/forge-gui/res/cardsfolder/c/chandra_fire_artisan.txt index 267782815fd..15f9bdea3d5 100644 --- a/forge-gui/res/cardsfolder/c/chandra_fire_artisan.txt +++ b/forge-gui/res/cardsfolder/c/chandra_fire_artisan.txt @@ -5,9 +5,9 @@ Loyalty:4 T:Mode$ CounterRemovedOnce | ValidCard$ Card.Self | CounterType$ LOYALTY | TriggerZones$ Battlefield | Execute$ TrigDmg | TriggerDescription$ Whenever one or more loyalty counters are removed from CARDNAME, CARDNAME deals that much damage to target opponent or planeswalker. SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X | References$ X SVar:X:TriggerCount$Amount -A:AB$ Mill | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. You may play it this turn. +A:AB$ Dig | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. You may play it this turn. SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | ForgetOnMoved$ Exile | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Exile | Affected$ Card.IsRemembered | MayPlay$ True | Description$ You may play the card(s) this turn. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -A:AB$ Mill | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Defined$ You | NumCards$ 7 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top seven cards of your library. You may play them this turn. +A:AB$ Dig | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Defined$ You | DigNum$ 7 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top seven cards of your library. You may play them this turn. Oracle:Whenever one or more loyalty counters are removed from Chandra, Fire Artisan, she deals that much damage to target opponent or planeswalker.\n[+1]: Exile the top card of your library. You may play it this turn.\n[-7]: Exile the top seven cards of your library. You may play them this turn. diff --git a/forge-gui/res/cardsfolder/c/chandra_pyromaster.txt b/forge-gui/res/cardsfolder/c/chandra_pyromaster.txt index 8d49db42c64..53b0826c1d9 100644 --- a/forge-gui/res/cardsfolder/c/chandra_pyromaster.txt +++ b/forge-gui/res/cardsfolder/c/chandra_pyromaster.txt @@ -6,13 +6,12 @@ A:AB$ DealDamage | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ SVar:ChandraDamage:DB$ DealDamage | ValidTgts$ Creature.ControlledBy TargetedOrController | TgtPrompt$ Select target creature that player or that planeswalker's controller controls | TargetMin$ 0 | TargetMax$ 1 | NumDmg$ 1 | SubAbility$ DBDamageResolve SVar:DBDamageResolve:DB$ DamageResolve | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ Targeted | IsCurse$ True | KW$ HIDDEN CARDNAME can't block. | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ GE1 -A:AB$ Mill | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. You may play it this turn. +A:AB$ Dig | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. You may play it this turn. SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -A:AB$ Mill | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Defined$ You | NumCards$ 10 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBChoose | SpellDescription$ Exile the top ten cards of your library. Choose an instant or sorcery card exiled this way and copy it three times. You may cast the copies without paying their mana costs. +A:AB$ Dig | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Defined$ You | DigNum$ 10 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBChoose | SpellDescription$ Exile the top ten cards of your library. Choose an instant or sorcery card exiled this way and copy it three times. You may cast the copies without paying their mana costs. SVar:DBChoose:DB$ ChooseCard | Choices$ Instant.IsRemembered,Sorcery.IsRemembered | ChoiceZone$ Exile | Defined$ You | SubAbility$ DBPlay SVar:DBPlay:DB$ Play | Defined$ ChosenCard | WithoutManaCost$ True | CopyCard$ True | Amount$ 3 | AllowRepeats$ True | Controller$ You | Optional$ True | SubAbility$ DBCleanup AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/chandra_pyromaster.jpg Oracle:[+1]: Chandra, Pyromaster deals 1 damage to target player or planeswalker and 1 damage to up to one target creature that player or that planeswalker's controller controls. That creature can't block this turn.\n[0]: Exile the top card of your library. You may play it this turn.\n[−7]: Exile the top ten cards of your library. Choose an instant or sorcery card exiled this way and copy it three times. You may cast the copies without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/c/chandra_torch_of_defiance.txt b/forge-gui/res/cardsfolder/c/chandra_torch_of_defiance.txt index 2c657677e40..de287b14ecc 100644 --- a/forge-gui/res/cardsfolder/c/chandra_torch_of_defiance.txt +++ b/forge-gui/res/cardsfolder/c/chandra_torch_of_defiance.txt @@ -2,7 +2,7 @@ Name:Chandra, Torch of Defiance ManaCost:2 R R Types:Legendary Planeswalker Chandra Loyalty:4 -A:AB$ Mill | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Defined$ You | NumCards$ 1 | Destination$ Exile | Imprint$ True | SubAbility$ DBPlay | AILogic$ ExileAndPlayOrDealDamage | SpellDescription$ Exile the top card of your library. You may cast that card. If you don't, Chandra, Torch of Defiance deals 2 damage to each opponent. +A:AB$ Dig | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | Imprint$ True | SubAbility$ DBPlay | AILogic$ ExileAndPlayOrDealDamage | SpellDescription$ Exile the top card of your library. You may cast that card. If you don't, Chandra, Torch of Defiance deals 2 damage to each opponent. SVar:DBPlay:DB$ Play | Valid$ Card.nonLand+IsImprinted | ValidZone$ Exile | Controller$ You | Optional$ True | Amount$ All | RememberPlayed$ True | ShowCardToActivator$ True | SubAbility$ DBDamage SVar:DBDamage:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ 2 | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True diff --git a/forge-gui/res/cardsfolder/c/circu_dimir_lobotomist.txt b/forge-gui/res/cardsfolder/c/circu_dimir_lobotomist.txt index 2e09139db92..454632f6d19 100644 --- a/forge-gui/res/cardsfolder/c/circu_dimir_lobotomist.txt +++ b/forge-gui/res/cardsfolder/c/circu_dimir_lobotomist.txt @@ -4,11 +4,10 @@ Types:Legendary Creature Human Wizard PT:2/3 T:Mode$ SpellCast | ValidCard$ Card.Blue | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ ExileTop | TriggerDescription$ Whenever you cast a blue spell, exile the top card of target player's library. T:Mode$ SpellCast | ValidCard$ Card.Black | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ ExileTop | TriggerDescription$ Whenever you cast a black spell, exile the top card of target player's library. -SVar:ExileTop:DB$ Mill | NumCards$ 1 | ValidTgts$ Player | TgtPrompt$ Choose a player | Destination$ Exile | RememberMilled$ True +SVar:ExileTop:DB$ Dig | DigNum$ 1 | ChangeNum$ All | ValidTgts$ Player | TgtPrompt$ Choose a player | DestinationZone$ Exile | RememberChanged$ True S:Mode$ CantBeCast | ValidCard$ Card.nonLand+sharesNameWith Remembered.ExiledWithSource | Caster$ Opponent | Description$ Your opponents can't cast spells with the same name as a card exiled with CARDNAME. T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup -SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/circu_dimir_lobotomist.jpg +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True Oracle:Whenever you cast a blue spell, exile the top card of target player's library.\nWhenever you cast a black spell, exile the top card of target player's library.\nYour opponents can't cast spells with the same name as a card exiled with Circu, Dimir Lobotomist. diff --git a/forge-gui/res/cardsfolder/c/colfenors_plans.txt b/forge-gui/res/cardsfolder/c/colfenors_plans.txt index e6e6dafa39c..b4e3c73812d 100644 --- a/forge-gui/res/cardsfolder/c/colfenors_plans.txt +++ b/forge-gui/res/cardsfolder/c/colfenors_plans.txt @@ -2,7 +2,7 @@ Name:Colfenor's Plans ManaCost:2 B B Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile the top seven cards of your library face down. You may look at and play cards exiled with CARDNAME. -SVar:TrigExile:DB$ Mill | Defined$ You | NumCards$ 7 | Destination$ Exile | RememberMilled$ True | ExileFaceDown$ True | NoReveal$ True +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 7 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | ExileFaceDown$ True | NoReveal$ True S:Mode$ Continuous | Affected$ Card.IsRemembered+ExiledWithSource | AffectedZone$ Exile | MayPlay$ True | MayLookAt$ You | Description$ You may look at and play cards exiled with CARDNAME. S:Mode$ Continuous | Affected$ You | AddKeyword$ Skip your draw step. | Description$ Skip your draw step. S:Mode$ CantBeCast | ValidCard$ Card | Caster$ You | NumLimitEachTurn$ 1 | Description$ You can't cast more than one spell each turn. diff --git a/forge-gui/res/cardsfolder/c/collected_conjuring.txt b/forge-gui/res/cardsfolder/c/collected_conjuring.txt index 3392740c754..45a31edd6e0 100644 --- a/forge-gui/res/cardsfolder/c/collected_conjuring.txt +++ b/forge-gui/res/cardsfolder/c/collected_conjuring.txt @@ -1,7 +1,7 @@ Name:Collected Conjuring ManaCost:2 U R Types:Sorcery -A:SP$ Mill | Cost$ 2 U R | Defined$ You | NumCards$ 6 | Origin$ Library | Destination$ Exile | RememberMilled$ True | SubAbility$ DBPlay | SpellDescription$ Exile the top six cards of your library. You may cast up to two sorcery cards with converted mana cost 3 or less from among them without paying their mana cost. Put the exiled cards not cast this way on the bottom of your library in a random order. +A:SP$ Dig | Cost$ 2 U R | Defined$ You | DigNum$ 6 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPlay | SpellDescription$ Exile the top six cards of your library. You may cast up to two sorcery cards with converted mana cost 3 or less from among them without paying their mana cost. Put the exiled cards not cast this way on the bottom of your library in a random order. SVar:DBPlay:DB$ Play | Valid$ Sorcery.cmcLE3+IsRemembered+YouOwn | ValidZone$ Exile | Amount$ 2 | Controller$ You | WithoutManaCost$ True | Optional$ True | SubAbility$ DBLibrary SVar:DBLibrary:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Library | LibraryPosition$ -1 | ChangeType$ Card.IsRemembered+YouOwn | RandomOrder$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/c/commune_with_lava.txt b/forge-gui/res/cardsfolder/c/commune_with_lava.txt index bd62ab6daf3..09be87b5a45 100644 --- a/forge-gui/res/cardsfolder/c/commune_with_lava.txt +++ b/forge-gui/res/cardsfolder/c/commune_with_lava.txt @@ -1,11 +1,10 @@ Name:Commune with Lava ManaCost:X R R Types:Instant -A:SP$ Mill | Cost$ X R R | Defined$ You | NumCards$ X | Destination$ Exile | RememberMilled$ True | References$ X | SubAbility$ DBMayBePlay | SpellDescription$ Exile the top X cards of your library. Until the end of your next turn, you may play those cards. -SVar:DBMayBePlay:DB$ Effect | StaticAbilities$ STCommuned | Duration$ UntilTheEndOfYourNextTurn | RememberObjects$ Remembered | ForgetOnMoved$ Exile +A:SP$ Dig | Cost$ X R R | Defined$ You | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | References$ X | SubAbility$ DBMayPlay | SpellDescription$ Exile the top X cards of your library. Until the end of your next turn, you may play those cards. +SVar:DBMayPlay:DB$ Effect | StaticAbilities$ STCommuned | Duration$ UntilTheEndOfYourNextTurn | RememberObjects$ Remembered | ForgetOnMoved$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:STCommuned:Mode$ Continuous | Affected$ Card.IsRemembered | EffectZone$ Command | AffectedZone$ Exile | MayPlay$ True | Description$ Until the end of your next turn, you may play those cards. SVar:X:Count$xPaid AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/commune_with_lava.jpg Oracle:Exile the top X cards of your library. Until the end of your next turn, you may play those cards. diff --git a/forge-gui/res/cardsfolder/c/crumbling_sanctuary.txt b/forge-gui/res/cardsfolder/c/crumbling_sanctuary.txt index 5e7b7c75164..cf1eac61dc7 100644 --- a/forge-gui/res/cardsfolder/c/crumbling_sanctuary.txt +++ b/forge-gui/res/cardsfolder/c/crumbling_sanctuary.txt @@ -2,9 +2,8 @@ Name:Crumbling Sanctuary ManaCost:5 Types:Artifact R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Player | ReplaceWith$ ExileTop | PreventionEffect$ True | Description$ If damage would be dealt to a player, that player exiles that many cards from the top of their library instead. -SVar:ExileTop:DB$ Mill | Defined$ ReplacedTarget | NumCards$ X | Destination$ Exile | References$ X +SVar:ExileTop:DB$ Dig | Defined$ ReplacedTarget | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | References$ X SVar:X:ReplaceCount$DamageAmount SVar:NonStackingEffect:True AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/crumbling_sanctuary.jpg Oracle:If damage would be dealt to a player, that player exiles that many cards from the top of their library instead. diff --git a/forge-gui/res/cardsfolder/d/dakra_mystic.txt b/forge-gui/res/cardsfolder/d/dakra_mystic.txt index 3f62844d25c..697f0e8f544 100644 --- a/forge-gui/res/cardsfolder/d/dakra_mystic.txt +++ b/forge-gui/res/cardsfolder/d/dakra_mystic.txt @@ -2,10 +2,9 @@ Name:Dakra Mystic ManaCost:U Types:Creature Merfolk Wizard PT:1/1 -A:AB$ Dig | Cost$ U T | DigNum$ 1 | Defined$ Player | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBMill | SpellDescription$ Each player reveals the top card of their library. You may put the revealed cards into their owners' graveyards. If you don't, each player draws a card. -SVar:DBMill:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Graveyard | Optional$ True | Imprint$ True | SubAbility$ DBDraw +A:AB$ Dig | Cost$ U T | DigNum$ 1 | Defined$ Player | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBPutRevealed | SpellDescription$ Each player reveals the top card of their library. You may put the revealed cards into their owners' graveyards. If you don't, each player draws a card. +SVar:DBPutRevealed:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Graveyard | Optional$ True | Imprint$ True | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 1 | ConditionDefined$ Imprinted | ConditionPresent$ Card | ConditionCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/dakra_mystic.jpg Oracle:{U}, {T}: Each player reveals the top card of their library. You may put the revealed cards into their owners' graveyards. If you don't, each player draws a card. diff --git a/forge-gui/res/cardsfolder/d/dark_dweller_oracle.txt b/forge-gui/res/cardsfolder/d/dark_dweller_oracle.txt index 5d2d92c1994..a619a1d834b 100644 --- a/forge-gui/res/cardsfolder/d/dark_dweller_oracle.txt +++ b/forge-gui/res/cardsfolder/d/dark_dweller_oracle.txt @@ -1,9 +1,9 @@ Name:Dark-Dweller Oracle ManaCost:1 R Types:Creature Goblin Shaman -A:AB$ Mill | Cost$ 1 Sac<1/Creature> | NumCards$ 1 | Destination$ Exile | Defined$ You | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. You may play that card this turn. +PT:2/2 +A:AB$ Dig | Cost$ 1 Sac<1/Creature> | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | Defined$ You | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. You may play that card this turn. SVar:DBEffect:DB$ Effect | StaticAbilities$ EffSModeContinuous | ExileOnMoved$ Exile | RememberObjects$ Remembered | SubAbility$ DBCleanup SVar:EffSModeContinuous:Mode$ Continuous | EffectZone$ Command | Affected$ Card.IsRemembered | MayPlay$ True | AffectedZone$ Exile | Description$ You may play that card this turn. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True Oracle:{1}, Sacrifice a creature: Exile the top card of your library. You may play that card this turn. (You still pay its costs. You can play a land this way only if you have an available land play remaining.) -PT:2/2 \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/d/daxos_of_meletis.txt b/forge-gui/res/cardsfolder/d/daxos_of_meletis.txt index 2760cb8e727..4f7ef0ab720 100644 --- a/forge-gui/res/cardsfolder/d/daxos_of_meletis.txt +++ b/forge-gui/res/cardsfolder/d/daxos_of_meletis.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Soldier PT:2/2 K:CantBeBlockedBy Creature.powerGE3 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile the top card of that player's library. You gain life equal to that card's converted mana cost. Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. -SVar:TrigExile:DB$ Mill | Defined$ TriggeredTarget | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBGainLife +SVar:TrigExile:DB$ Dig | Defined$ TriggeredTarget | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBGainLife SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBEffect SVar:X:Remembered$CardManaCost SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | Triggers$ TriggerCastDoM | SVars$ TrigRemoveSelf | RememberObjects$ Remembered | SubAbility$ DBCleanup @@ -12,5 +12,4 @@ SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | Effect SVar:TriggerCastDoM:Mode$ SpellCast | ValidCard$ Card.IsRemembered | TriggerZones$ Command | Execute$ TrigRemoveSelf | Static$ True SVar:TrigRemoveSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/daxos_of_meletis.jpg Oracle:Daxos of Meletis can't be blocked by creatures with power 3 or greater.\nWhenever Daxos of Meletis deals combat damage to a player, exile the top card of that player's library. You gain life equal to that card's converted mana cost. Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. diff --git a/forge-gui/res/cardsfolder/d/dead_mans_chest.txt b/forge-gui/res/cardsfolder/d/dead_mans_chest.txt index c6d62cbb2d1..fd612ed7926 100644 --- a/forge-gui/res/cardsfolder/d/dead_mans_chest.txt +++ b/forge-gui/res/cardsfolder/d/dead_mans_chest.txt @@ -3,11 +3,10 @@ ManaCost:1 B Types:Enchantment Aura K:Enchant creature an opponent controls A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | AILogic$ Pump -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.AttachedBy | Execute$ TrigMill | TriggerDescription$ When enchanted creature dies, exile cards equal to its power from the top of its owner's library. You may cast nonland cards from among them as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells. -SVar:TrigMill:DB$ Mill | Defined$ TriggeredCardOwner | NumCards$ X | References$ X | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.AttachedBy | Execute$ TrigExile | TriggerDescription$ When enchanted creature dies, exile cards equal to its power from the top of its owner's library. You may cast nonland cards from among them as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells. +SVar:TrigExile:DB$ Dig | Defined$ TriggeredCardOwner | DigNum$ X | ChangeNum$ All | References$ X | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | Duration$ Permanent | SubAbility$ DBCleanup | SpellDescription$ You may cast nonland cards from among them as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells. SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreType$ True | EffectZone$ Command | Affected$ Card.nonLand+IsRemembered | AffectedZone$ Exile | Description$ You may cast nonland cards from among them as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TriggeredCard$CardPower -SVar:Picture:http://www.wizards.com/global/images/magic/general/dead_mans_chest.jpg -Oracle:Enchant creature an opponent controls\nWhen enchanted creature dies, exile cards equal to its power from the top of its owner's library. You may cast nonland cards from among them as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells. \ No newline at end of file +Oracle:Enchant creature an opponent controls\nWhen enchanted creature dies, exile cards equal to its power from the top of its owner's library. You may cast nonland cards from among them as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells. diff --git a/forge-gui/res/cardsfolder/d/demonic_attorney.txt b/forge-gui/res/cardsfolder/d/demonic_attorney.txt index c8fc0a2b75d..ee26573174c 100644 --- a/forge-gui/res/cardsfolder/d/demonic_attorney.txt +++ b/forge-gui/res/cardsfolder/d/demonic_attorney.txt @@ -2,8 +2,7 @@ Name:Demonic Attorney ManaCost:1 B B Types:Sorcery K:Remove CARDNAME from your deck before playing if you're not playing for ante. -A:SP$ Mill | Cost$ 1 B B | Defined$ Player | NumCards$ 1 | Destination$ Ante | SpellDescription$ Each player antes the top card of their library. +A:SP$ Dig | Cost$ 1 B B | Defined$ Player | DigNum$ 1 | DestinationZone$ Ante | SpellDescription$ Each player antes the top card of their library. AI:RemoveDeck:All AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/demonic_attorney.jpg Oracle:Remove Demonic Attorney from your deck before playing if you're not playing for ante.\nEach player antes the top card of their library. diff --git a/forge-gui/res/cardsfolder/d/demonic_consultation.txt b/forge-gui/res/cardsfolder/d/demonic_consultation.txt index 27be54c1166..3315c6fe850 100644 --- a/forge-gui/res/cardsfolder/d/demonic_consultation.txt +++ b/forge-gui/res/cardsfolder/d/demonic_consultation.txt @@ -1,9 +1,8 @@ Name:Demonic Consultation ManaCost:B Types:Instant -A:SP$ NameCard | Cost$ B | Defined$ You | SubAbility$ DBMill | SpellDescription$ Choose a card name. Exile the top six cards of your library, then reveal cards from the top of your library until you reveal a card with the chosen name. Put that card into your hand and exile all other cards revealed this way. -SVar:DBMill:DB$ Mill | Defined$ You | NumCards$ 6 | Destination$ Exile | SubAbility$ DBDigUntil +A:SP$ NameCard | Cost$ B | Defined$ You | SubAbility$ DBExile | SpellDescription$ Choose a card name. Exile the top six cards of your library, then reveal cards from the top of your library until you reveal a card with the chosen name. Put that card into your hand and exile all other cards revealed this way. +SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 6 | ChangeNum$ All | DestinationZone$ Exile | SubAbility$ DBDigUntil SVar:DBDigUntil:DB$ DigUntil | Valid$ Card.NamedCard | FoundDestination$ Hand | RevealedDestination$ Exile | ValidDescription$ named card AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/demonic_consultation.jpg Oracle:Choose a card name. Exile the top six cards of your library, then reveal cards from the top of your library until you reveal a card with the chosen name. Put that card into your hand and exile all other cards revealed this way. diff --git a/forge-gui/res/cardsfolder/d/dimensional_infiltrator.txt b/forge-gui/res/cardsfolder/d/dimensional_infiltrator.txt index 596caaa5695..3461257157b 100644 --- a/forge-gui/res/cardsfolder/d/dimensional_infiltrator.txt +++ b/forge-gui/res/cardsfolder/d/dimensional_infiltrator.txt @@ -5,9 +5,8 @@ PT:2/1 K:Devoid K:Flash K:Flying -A:AB$ Mill | Cost$ 1 C | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBBounce | SpellDescription$ Target opponent exiles the top card of their library. If it's a land card, you may return CARDNAME to its owner's hand. -SVar:DBBounce:DB$ChangeZone | Origin$ Battlefield | Optional$ True | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | Destination$ Hand | SubAbility$ DBCleanup +A:AB$ Dig | Cost$ 1 C | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBBounce | SpellDescription$ Target opponent exiles the top card of their library. If it's a land card, you may return CARDNAME to its owner's hand. +SVar:DBBounce:DB$ ChangeZone | Origin$ Battlefield | Optional$ True | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | Destination$ Hand | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True DeckHints:Ability$Mana.Colorless -SVar:Picture:http://www.wizards.com/global/images/magic/general/dimensional_infiltrator.jpg Oracle:Devoid (This card has no color.)\nFlash\nFlying\n{1}{C}: Target opponent exiles the top card of their library. If it's a land card, you may return Dimensional Infiltrator to its owner's hand. ({C} represents colorless mana.) diff --git a/forge-gui/res/cardsfolder/d/diminishing_returns.txt b/forge-gui/res/cardsfolder/d/diminishing_returns.txt index db8ba854e15..82b939a6bcd 100644 --- a/forge-gui/res/cardsfolder/d/diminishing_returns.txt +++ b/forge-gui/res/cardsfolder/d/diminishing_returns.txt @@ -2,8 +2,7 @@ Name:Diminishing Returns ManaCost:2 U U Types:Sorcery A:SP$ ChangeZoneAll | Cost$ 2 U U | ChangeType$ Card | Origin$ Graveyard,Hand | Destination$ Library | Shuffle$ True | Random$ True | SubAbility$ DBExile | UseAllOriginZones$ True | SpellDescription$ Each player shuffles their hand and graveyard into their library. -SVar:DBExile:DB$ Mill | Defined$ You | NumCards$ 10 | Destination$ Exile | SubAbility$ DBDraw | SpellDescription$ You exile the top ten cards of your library. +SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 10 | ChangeNum$ All | DestinationZone$ Exile | SubAbility$ DBDraw | SpellDescription$ You exile the top ten cards of your library. SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 7 | SpellDescription$ Then each player draws up to seven cards. AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/diminishing_returns.jpg Oracle:Each player shuffles their hand and graveyard into their library. You exile the top ten cards of your library. Then each player draws up to seven cards. diff --git a/forge-gui/res/cardsfolder/d/divining_witch.txt b/forge-gui/res/cardsfolder/d/divining_witch.txt index 774d5f0db8c..42a11a46d2a 100644 --- a/forge-gui/res/cardsfolder/d/divining_witch.txt +++ b/forge-gui/res/cardsfolder/d/divining_witch.txt @@ -2,9 +2,8 @@ Name:Divining Witch ManaCost:1 B Types:Creature Human Spellshaper PT:1/1 -A:AB$ NameCard | Cost$ 1 B T Discard<1/Card> | Defined$ You | SubAbility$ DBMill | SpellDescription$ Choose a card name. Exile the top six cards of your library, then reveal cards from the top of your library until you reveal a card with the chosen name. Put that card into your hand and exile all other cards revealed this way. -SVar:DBMill:DB$ Mill | Defined$ You | NumCards$ 6 | Destination$ Exile | SubAbility$ DBDigUntil +A:AB$ NameCard | Cost$ 1 B T Discard<1/Card> | Defined$ You | SubAbility$ DBExile | SpellDescription$ Dig a card name. Di$ the top ChangeNum$ All | siZonex cards of your library, then reveal cards from the top of your library until you reveal a card with the chosen name. Put that card into your hand and exile all other cards revealed this way. +SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 6 | ChangeNum$ All | DestinationZone$ Exile | SubAbility$ DBDigUntil SVar:DBDigUntil:DB$ DigUntil | Valid$ Card.NamedCard | FoundDestination$ Hand | RevealedDestination$ Exile | ValidDescription$ named card AI:RemoveDeck:All -SVar:Picture:http://serv1.tcgimages.eu/img/cards/Nemesis/divining_witch.jpg Oracle:{1}{B}, {T}, Discard a card: Choose a card name. Exile the top six cards of your library, then reveal cards from the top of your library until you reveal a card with the chosen name. Put that card into your hand and exile all other cards revealed this way. diff --git a/forge-gui/res/cardsfolder/d/dream_pillager.txt b/forge-gui/res/cardsfolder/d/dream_pillager.txt index 53c861debfc..021693206d1 100644 --- a/forge-gui/res/cardsfolder/d/dream_pillager.txt +++ b/forge-gui/res/cardsfolder/d/dream_pillager.txt @@ -4,10 +4,9 @@ Types:Creature Dragon PT:4/4 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile that many cards from the top of your library. Until end of turn, you may cast nonland cards from among those exiled cards. -SVar:TrigExile:DB$ Mill | Defined$ You | NumCards$ X | References$ X | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ X | References$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | ForgetOnMoved$ Exile | RememberObjects$ RememberedCard | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | EffectZone$ Command | Affected$ Card.nonLand+IsRemembered | MayPlay$ True | AffectedZone$ Exile | Description$ Until end of turn, you may cast nonland cards from among those exiled cards. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TriggerCount$DamageAmount -SVar:Picture:http://www.wizards.com/global/images/magic/general/dream_pillager.jpg Oracle:Flying\nWhenever Dream Pillager deals combat damage to a player, exile that many cards from the top of your library. Until end of turn, you may cast nonland cards from among those exiled cards. diff --git a/forge-gui/res/cardsfolder/d/duplicity.txt b/forge-gui/res/cardsfolder/d/duplicity.txt index 0e788527542..b259aae6fe6 100644 --- a/forge-gui/res/cardsfolder/d/duplicity.txt +++ b/forge-gui/res/cardsfolder/d/duplicity.txt @@ -2,7 +2,7 @@ Name:Duplicity ManaCost:3 U U Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile the top five cards of your library face down. -SVar:TrigExile:DB$ Mill | NumCards$ 5 | Destination$ Exile | ExileFaceDown$ True | RememberMilled$ True +SVar:TrigExile:DB$ Dig | DigNum$ 5 | ChangeNum$ All | DestinationZone$ Exile | ExileFaceDown$ True | RememberChanged$ True T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigChangeHandExile | TriggerDescription$ At the beginning of your upkeep, you may exile all cards from your hand face down. If you do, put all other cards you own exiled with CARDNAME into your hand. SVar:TrigChangeHandExile:DB$ ChangeZoneAll | Origin$ Hand | Destination$ Exile | ExileFaceDown$ True | ChangeType$ Card.YouCtrl | RememberChanged$ True | Imprint$ True | SubAbility$ ChangeBack SVar:ChangeBack:DB$ ChangeZoneAll | ChangeType$ Card.IsRemembered+IsNotImprinted | Origin$ Exile | Destination$ Hand | ForgetChanged$ True | SubAbility$ DBCleanup @@ -14,5 +14,4 @@ T:Mode$ ChangesController | ValidCard$ Card.Self | TriggerZones$ Battlefield | E SVar:GoToYard:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Graveyard | ChangeType$ Card.IsRemembered | ForgetChanged$ True AI:RemoveDeck:All AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/duplicity.jpg Oracle:When Duplicity enters the battlefield, exile the top five cards of your library face down.\nAt the beginning of your upkeep, you may exile all cards from your hand face down. If you do, put all other cards you own exiled with Duplicity into your hand.\nAt the beginning of your end step, discard a card.\nWhen you lose control of Duplicity, put all cards exiled with Duplicity into their owner's graveyard. diff --git a/forge-gui/res/cardsfolder/e/elkin_bottle.txt b/forge-gui/res/cardsfolder/e/elkin_bottle.txt index c8579344c58..d7e21db11bc 100644 --- a/forge-gui/res/cardsfolder/e/elkin_bottle.txt +++ b/forge-gui/res/cardsfolder/e/elkin_bottle.txt @@ -1,9 +1,8 @@ Name:Elkin Bottle ManaCost:3 Types:Artifact -A:AB$ Mill | Cost$ 3 T | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | AILogic$ ExileAndPlayUntiEOT | SpellDescription$ Exile the top card of your library. Until the beginning of your next upkeep, you may play that card. +A:AB$ Dig | Cost$ 3 T | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | AILogic$ ExileAndPlayUntiEOT | SpellDescription$ Exile the top card of your library. Until the beginning of your next upkeep, you may play that card. SVar:DBEffect:DB$Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ExileOnMoved$ Exile | Duration$ UntilYourNextUpkeep SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/elkin_bottle.jpg Oracle:{3}, {T}: Exile the top card of your library. Until the beginning of your next upkeep, you may play that card. diff --git a/forge-gui/res/cardsfolder/e/epic_experiment.txt b/forge-gui/res/cardsfolder/e/epic_experiment.txt index 4ac375b26d7..80300e06e7b 100644 --- a/forge-gui/res/cardsfolder/e/epic_experiment.txt +++ b/forge-gui/res/cardsfolder/e/epic_experiment.txt @@ -1,11 +1,10 @@ Name:Epic Experiment ManaCost:X U R Types:Sorcery -A:SP$ Mill | Cost$ X U R | References$ X | Defined$ You | NumCards$ X | Destination$ Exile | RememberMilled$ True | SubAbility$ DBPlay | SpellDescription$ Exile the top X cards of your library. For each instant and sorcery card with converted mana cost X or less among them, you may cast that card without paying its mana cost. Then put all cards exiled this way that weren't cast into your graveyard. +A:SP$ Dig | Cost$ X U R | References$ X | Defined$ You | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPlay | SpellDescription$ Exile the top X cards of your library. For each instant and sorcery card with converted mana cost X or less among them, you may cast that card without paying its mana cost. Then put all cards exiled this way that weren't cast into your graveyard. SVar:DBPlay:DB$ Play | Valid$ Instant.cmcLEX+IsRemembered+YouOwn,Sorcery.cmcLEX+IsRemembered+YouOwn | ValidZone$ Exile | Controller$ You | WithoutManaCost$ True | Optional$ True | Amount$ All | SubAbility$ DBGrave SVar:DBGrave:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Graveyard | ChangeType$ Card.IsRemembered+YouOwn | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/epic_experiment.jpg Oracle:Exile the top X cards of your library. For each instant and sorcery card with converted mana cost X or less among them, you may cast that card without paying its mana cost. Then put all cards exiled this way that weren't cast into your graveyard. diff --git a/forge-gui/res/cardsfolder/e/escape_to_the_wilds.txt b/forge-gui/res/cardsfolder/e/escape_to_the_wilds.txt index 1949d80701d..9265ec3dcca 100644 --- a/forge-gui/res/cardsfolder/e/escape_to_the_wilds.txt +++ b/forge-gui/res/cardsfolder/e/escape_to_the_wilds.txt @@ -1,7 +1,7 @@ Name:Escape to the Wilds ManaCost:3 R G Types:Sorcery -A:SP$ Mill | Cost$ 3 R G | Destination$ Exile | NumCards$ 5 | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top five cards of your library. You may play cards exiled this way until the end of your next turn. You may play an additional land this turn. +A:SP$ Dig | Cost$ 3 R G | DestinationZone$ Exile | DigNum$ 5 | ChangeNum$ All | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top five cards of your library. You may play cards exiled this way until the end of your next turn. You may play an additional land this turn. SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | ForgetOnMoved$ Exile | StaticAbilities$ Play | Duration$ UntilTheEndOfYourNextTurn | SubAbility$ DBEffect2 SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play cards exiled this the end of your next turn. SVar:DBEffect2:DB$ Effect | Name$ Escape to the Wilds Exploration Effect | StaticAbilities$ Exploration | AILogic$ Always | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/e/etali_primal_storm.txt b/forge-gui/res/cardsfolder/e/etali_primal_storm.txt index eb2e4b2bb3f..a6beedc3e84 100644 --- a/forge-gui/res/cardsfolder/e/etali_primal_storm.txt +++ b/forge-gui/res/cardsfolder/e/etali_primal_storm.txt @@ -2,10 +2,9 @@ Name:Etali, Primal Storm ManaCost:4 R R Types:Legendary Creature Elder Dinosaur PT:6/6 -T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top card of each player's library, then you may cast any number of nonland cards exiled this way without paying their mana costs. -SVar:TrigMill:DB$ Mill | NumCards$ 1 | Defined$ Player | Destination$ Exile | RememberMilled$ True | SubAbility$ DBPlay +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top card of each player's library, then you may cast any number of nonland cards exiled this way without paying their mana costs. +SVar:TrigExile:DB$ Dig | DigNum$ 1 | ChangeNum$ All | Defined$ Player | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPlay SVar:DBPlay:DB$ Play | Valid$ Card.nonLand+IsRemembered | ValidZone$ Exile | Controller$ You | WithoutManaCost$ True | Optional$ True | Amount$ All | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:HasAttackEffect:TRUE -SVar:Picture:http://www.wizards.com/global/images/magic/general/etali_primal_storm.jpg -Oracle:Whenever Etali, Primal Storm attacks, exile the top card of each player's library, then you may cast any number of nonland cards exiled this way without paying their mana costs. \ No newline at end of file +Oracle:Whenever Etali, Primal Storm attacks, exile the top card of each player's library, then you may cast any number of nonland cards exiled this way without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/f/fallen_shinobi.txt b/forge-gui/res/cardsfolder/f/fallen_shinobi.txt index c49bb6c2554..55c43b5efcc 100644 --- a/forge-gui/res/cardsfolder/f/fallen_shinobi.txt +++ b/forge-gui/res/cardsfolder/f/fallen_shinobi.txt @@ -3,8 +3,8 @@ ManaCost:3 U B Types:Creature Zombie Ninja PT:5/4 K:Ninjutsu:2 U B -T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top two cards of their library. Until end of turn, you may play those cards without paying their mana cost. -SVar:TrigMill:DB$ Mill | Defined$ TriggeredTarget | NumCards$ 2 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top two cards of their library. Until end of turn, you may play those cards without paying their mana cost. +SVar:TrigExile:DB$ Dig | Defined$ TriggeredTarget | DigNum$ 2 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ForgetOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | MayPlayWithoutManaCost$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ Until end of turn, you may play those cards without paying their mana cost. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/f/fathom_feeder.txt b/forge-gui/res/cardsfolder/f/fathom_feeder.txt index 711fb9f24f6..541e172a82d 100644 --- a/forge-gui/res/cardsfolder/f/fathom_feeder.txt +++ b/forge-gui/res/cardsfolder/f/fathom_feeder.txt @@ -5,8 +5,7 @@ PT:1/1 K:Devoid K:Ingest K:Deathtouch -A:AB$ Draw | Cost$ 3 U B | NumCards$ 1 | Defined$ You | SubAbility$ DBMill | SpellDescription$ Draw a card. Each opponent exiles the top card of their library. -SVar:DBMill:DB$ Mill | Defined$ Player.Opponent | Destination$ Exile | NumCards$ 1 +A:AB$ Draw | Cost$ 3 U B | NumCards$ 1 | Defined$ You | SubAbility$ DBExile | SpellDescription$ Draw a card. Each opponent exiles the top card of their library. +SVar:DBExile:DB$ Dig | Defined$ Player.Opponent | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All DeckHints:Type$Processor -SVar:Picture:http://www.wizards.com/global/images/magic/general/fathom_feeder.jpg -Oracle:Devoid (This card has no color.)\nIngest (Whenever this creature deals combat damage to a player, that player exiles the top card of their library.)\nDeathtouch\n{3}{U}{B}: Draw a card. Each opponent exiles the top card of their library. \ No newline at end of file +Oracle:Devoid (This card has no color.)\nIngest (Whenever this creature deals combat damage to a player, that player exiles the top card of their library.)\nDeathtouch\n{3}{U}{B}: Draw a card. Each opponent exiles the top card of their library. diff --git a/forge-gui/res/cardsfolder/f/furious_rise.txt b/forge-gui/res/cardsfolder/f/furious_rise.txt index 2f1a506e981..59bb6ffa4e6 100644 --- a/forge-gui/res/cardsfolder/f/furious_rise.txt +++ b/forge-gui/res/cardsfolder/f/furious_rise.txt @@ -3,10 +3,10 @@ ManaCost:2 R Types:Enchantment T:Mode$Phase | Phase$ End of Turn | ValidPlayer$ You | IsPresent$ Creature.YouCtrl+powerGE4 | TriggerZones$ Battlefield | Execute$ ExileSelf | TriggerDescription$ At the beginning of your end step, if you control a creature with power 4 or greater, exile the top card of your library. You may play that card until you exile another card with CARDNAME. SVar:ExileSelf:DB$ ChangeZone | Defined$ Imprinted | Origin$ Command | Destination$ Exile | SubAbility$ DBCleanup -SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True | SubAbility$ Mill -SVar:Mill:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | AILogic$ ExileAndPlayUntilEOT +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True | SubAbility$ DBExile +SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | AILogic$ ExileAndPlayUntilEOT #AILogic tag not quite right? -SVar:DBEffect:DB$Effect | RememberObjects$ Remembered | StaticAbilities$ Play | Duration$ Permanent | ExileOnMoved$ Exile | ImprintOnHost$ True +SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ Play | Duration$ Permanent | ExileOnMoved$ Exile | ImprintOnHost$ True T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ DBCleanup2 SVar:DBCleanup2:DB$ Cleanup | ClearImprinted$ True SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play this card until you exile another card with CARDNAME. diff --git a/forge-gui/res/cardsfolder/g/golos_tireless_pilgrim.txt b/forge-gui/res/cardsfolder/g/golos_tireless_pilgrim.txt index f814096988f..99b04920319 100644 --- a/forge-gui/res/cardsfolder/g/golos_tireless_pilgrim.txt +++ b/forge-gui/res/cardsfolder/g/golos_tireless_pilgrim.txt @@ -3,8 +3,8 @@ ManaCost:5 Types:Legendary Artifact Creature Scout PT:3/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | OptionalDecider$ You | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for a land card, put that card onto the battlefield tapped, then shuffle your library. -SVar:TrigChange:DB$ChangeZone | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Land | ChangeNum$ 1 | ShuffleNonMandatory$ True -A:AB$ Mill | Cost$ 2 W U B R G | Defined$ You | NumCards$ 3 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top three cards of your library. You may play them this turn without paying their mana costs. +SVar:TrigChange:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Land | ChangeNum$ 1 | ShuffleNonMandatory$ True +A:AB$ Dig | Cost$ 2 W U B R G | Defined$ You | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top three cards of your library. You may play them this turn without paying their mana costs. SVar:DBEffect:DB$ Effect | StaticAbilities$ EffPlay | EffectOwner$ You | RememberObjects$ Remembered | ForgetOnMoved$ Exile | SubAbility$ DBCleanup SVar:EffPlay:Mode$ Continuous | MayPlay$ True | MayPlayWithoutManaCost$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play them this turn without paying their mana costs. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/g/grenzo_havoc_raiser.txt b/forge-gui/res/cardsfolder/g/grenzo_havoc_raiser.txt index c0e6337e698..be9ea4b9703 100644 --- a/forge-gui/res/cardsfolder/g/grenzo_havoc_raiser.txt +++ b/forge-gui/res/cardsfolder/g/grenzo_havoc_raiser.txt @@ -5,11 +5,10 @@ PT:2/2 T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigCharm | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control deals combat damage to a player, ABILITY SVar:TrigCharm:DB$ Charm | Choices$ DBGoad,DBExile SVar:DBGoad:DB$ Goad | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player controls. | SpellDescription$ Goad target creature that player controls. -SVar:DBExile:DB$ Mill | Defined$ TriggeredDefendingPlayer | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of that player's library. Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast it. +SVar:DBExile:DB$ Dig | Defined$ TriggeredDefendingPlayer | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of that player's library. Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast it. SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | Triggers$ TriggerCastDoM | SVars$ TrigRemoveSelf | RememberObjects$ Remembered | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Exile | Description$ Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast it. SVar:TriggerCastDoM:Mode$ SpellCast | ValidCard$ Card.IsRemembered | TriggerZones$ Command | Execute$ TrigRemoveSelf | Static$ True SVar:TrigRemoveSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/grenzo_havoc_raiser.jpg Oracle:Whenever a creature you control deals combat damage to a player, choose one —\n• Goad target creature that player controls.\n• Exile the top card of that player's library. Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast it. diff --git a/forge-gui/res/cardsfolder/g/grimoire_thief.txt b/forge-gui/res/cardsfolder/g/grimoire_thief.txt index a35d0ff77aa..c3b63f50e85 100644 --- a/forge-gui/res/cardsfolder/g/grimoire_thief.txt +++ b/forge-gui/res/cardsfolder/g/grimoire_thief.txt @@ -3,15 +3,14 @@ ManaCost:U U Types:Creature Merfolk Rogue PT:2/2 T:Mode$ Taps | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME becomes tapped, exile the top three cards of target opponent's library face down. -SVar:TrigExile:DB$ Mill | ValidTgts$ Opponent | NumCards$ 3 | Destination$ Exile | ExileFaceDown$ True | RememberMilled$ True +SVar:TrigExile:DB$ Dig | ValidTgts$ Opponent | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | ExileFaceDown$ True | RememberChanged$ True S:Mode$ Continuous | Affected$ Card.IsRemembered+ExiledWithSource | AffectedZone$ Exile | MayLookAt$ You | Description$ You may look at cards exiled with CARDNAME. A:AB$ SetState | Cost$ U Sac<1/CARDNAME> | Defined$ Remembered | Mode$ TurnFace | SubAbility$ DBCounter | SpellDescription$ Turn all cards exiled with CARDNAME face up. Counter all spells with those names. SVar:DBCounter:DB$ Counter | AllType$ Spell | AllValid$ Card.sharesNameWith Remembered.ExiledWithSource | SubAbility$ DBCleanup T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup -SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/grimoire_thief.jpg Oracle:Whenever Grimoire Thief becomes tapped, exile the top three cards of target opponent's library face down.\nYou may look at cards exiled with Grimoire Thief.\n{U}, Sacrifice Grimoire Thief: Turn all cards exiled with Grimoire Thief face up. Counter all spells with those names. diff --git a/forge-gui/res/cardsfolder/h/hazorets_undying_fury.txt b/forge-gui/res/cardsfolder/h/hazorets_undying_fury.txt index e8af5e71cad..e334a48bbc3 100644 --- a/forge-gui/res/cardsfolder/h/hazorets_undying_fury.txt +++ b/forge-gui/res/cardsfolder/h/hazorets_undying_fury.txt @@ -1,13 +1,12 @@ Name:Hazoret's Undying Fury ManaCost:4 R R Types:Sorcery -A:SP$ Shuffle | Cost$ 4 R R | Defined$ You | SubAbility$ DBMill | SpellDescription$ Shuffle your library, then exile the top four cards. You may cast any number of nonland cards with converted mana cost 5 or less from among them without paying their mana costs. -SVar:DBMill:DB$ Mill | Defined$ You | NumCards$ 4 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBPlay +A:SP$ Shuffle | Cost$ 4 R R | Defined$ You | SubAbility$ DBExile | SpellDescription$ Shuffle your library, then exile the top four cards. You may cast any number of nonland cards with converted mana cost 5 or less from among them without paying their mana costs. Lands you control don't untap during your next untap step. +SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 4 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPlay SVar:DBPlay:DB$ Play | Valid$ Card.nonLand+IsRemembered+YouOwn+cmcLE5 | ValidZone$ Exile | Controller$ You | WithoutManaCost$ True | Optional$ True | Amount$ All | SubAbility$ DBNoUntap SVar:DBNoUntap:DB$ Effect | StaticAbilities$ DontUntap | Triggers$ RemoveEffect | SVars$ ExileEffect | Duration$ Permanent | Name$ Hazoret's Undying Fury Effect | SubAbility$ DBCleanup | SpellDescription$ Lands you control don't untap during your next untap step. SVar:DontUntap:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Land.YouCtrl | AddHiddenKeyword$ This card doesn't untap during your next untap step. SVar:RemoveEffect:Mode$ Phase | Phase$ Untap | ValidPlayer$ You | TriggerZones$ Command | Static$ True | Execute$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/hazorets_undying_fury.jpg -Oracle:Shuffle your library, then exile the top four cards. You may cast any number of nonland cards with converted mana cost 5 or less from among them without paying their mana costs. Lands you control don't untap during your next untap step. \ No newline at end of file +Oracle:Shuffle your library, then exile the top four cards. You may cast any number of nonland cards with converted mana cost 5 or less from among them without paying their mana costs. Lands you control don't untap during your next untap step. diff --git a/forge-gui/res/cardsfolder/h/hellcarver_demon.txt b/forge-gui/res/cardsfolder/h/hellcarver_demon.txt index 62b741e5d6c..2e4ecd33fc0 100644 --- a/forge-gui/res/cardsfolder/h/hellcarver_demon.txt +++ b/forge-gui/res/cardsfolder/h/hellcarver_demon.txt @@ -6,8 +6,7 @@ K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigSacrifice | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, sacrifice all other permanents you control and discard your hand. Exile the top six cards of your library. You may cast any number of nonland cards exiled this way without paying their mana costs. SVar:TrigSacrifice:DB$ SacrificeAll | ValidCards$ Permanent.YouCtrl+Other | SubAbility$ DBDiscardHand SVar:DBDiscardHand:DB$ Discard | Mode$ Hand | Defined$ You | SubAbility$ DBExileSix -SVar:DBExileSix:DB$ Mill | Destination$ Exile | RememberMilled$ True | NumCards$ 6 | SubAbility$ DBPlayThem +SVar:DBExileSix:DB$ Dig | DestinationZone$ Exile | RememberChanged$ True | DigNum$ 6 | ChangeNum$ All | SubAbility$ DBPlayThem SVar:DBPlayThem:DB$ Play | Valid$ Card.IsRemembered+nonLand | ValidZone$ Exile | Controller$ You | WithoutManaCost$ True | Amount$ All | Optional$ True | SubAbility$ DBHellCleanup SVar:DBHellCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/hellcarver_demon.jpg Oracle:Flying\nWhenever Hellcarver Demon deals combat damage to a player, sacrifice all other permanents you control and discard your hand. Exile the top six cards of your library. You may cast any number of nonland cards exiled this way without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/i/ignite_the_future.txt b/forge-gui/res/cardsfolder/i/ignite_the_future.txt index 61513f1c0e9..5d7d1053789 100644 --- a/forge-gui/res/cardsfolder/i/ignite_the_future.txt +++ b/forge-gui/res/cardsfolder/i/ignite_the_future.txt @@ -1,7 +1,7 @@ Name:Ignite the Future ManaCost:3 R Types:Sorcery -A:SP$ Mill | Cost$ 3 R | Defined$ You | NumCards$ 3 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top three cards of your library. Until the end of your next turn, you may play those cards. If this spell was cast from a graveyard, you may play cards this way without paying their mana costs. +A:SP$ Dig | Cost$ 3 R | Defined$ You | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top three cards of your library. Until the end of your next turn, you may play those cards. If this spell was cast from a graveyard, you may play cards this way without paying their mana costs. SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | ForgetOnMoved$ Exile | Duration$ UntilTheEndOfYourNextTurn | ConditionDefined$ Self | ConditionPresent$ Card.wasCastFromGraveyard | ConditionCompare$ EQ0 | SubAbility$ DBEffect2 SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBEffect2:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play2 | ForgetOnMoved$ Exile | Duration$ UntilTheEndOfYourNextTurn | ConditionDefined$ Self | ConditionPresent$ Card.wasCastFromGraveyard | ConditionCompare$ EQ1 | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/i/ire_shaman.txt b/forge-gui/res/cardsfolder/i/ire_shaman.txt index e52eca25b70..f822c6565a4 100644 --- a/forge-gui/res/cardsfolder/i/ire_shaman.txt +++ b/forge-gui/res/cardsfolder/i/ire_shaman.txt @@ -5,9 +5,8 @@ PT:2/1 K:Menace K:Megamorph:R T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, exile the top card of your library. Until end of turn, you may play that card. -SVar:TrigExile:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | ExileOnMoved$ Exile | RememberObjects$ Remembered | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | EffectZone$ Command | Affected$ Card.IsRemembered | MayPlay$ True | AffectedZone$ Exile | Description$ Until end of turn, you may play that card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/ire_shaman.jpg Oracle:Menace (This creature can't be blocked except by two or more creatures.)\nMegamorph {R} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.)\nWhen Ire Shaman is turned face up, exile the top card of your library. Until end of turn, you may play that card. diff --git a/forge-gui/res/cardsfolder/j/jeleva_nephalias_scourge.txt b/forge-gui/res/cardsfolder/j/jeleva_nephalias_scourge.txt index 080d6c7151f..68a721a50a0 100644 --- a/forge-gui/res/cardsfolder/j/jeleva_nephalias_scourge.txt +++ b/forge-gui/res/cardsfolder/j/jeleva_nephalias_scourge.txt @@ -3,8 +3,8 @@ ManaCost:1 U B R Types:Legendary Creature Vampire Wizard PT:1/3 K:Flying -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ When CARDNAME enters the battlefield, each player exiles the top X cards of their library, where X is the amount of mana spent to cast Jeleva. -SVar:TrigMill:DB$ Mill | Defined$ Player | NumCards$ X | References$ X | RememberMilled$ True | Destination$ Exile +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, each player exiles the top X cards of their library, where X is the amount of mana spent to cast Jeleva. +SVar:TrigExile:DB$ Dig | Defined$ Player | DigNum$ X | References$ X | ChangeNum$ All | RememberChanged$ True | DestinationZone$ Exile SVar:X:Count$FirstSpellTotalManaSpent T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPlay | OptionalDecider$ You| TriggerDescription$ Whenever CARDNAME attacks, you may cast an instant or sorcery card exiled with it without paying its mana cost. SVar:TrigPlay:DB$ Play | ValidZone$ Exile | Valid$ Instant.IsRemembered+ExiledWithSource,Sorcery.IsRemembered+ExiledWithSource | Controller$ You | WithoutManaCost$ True | Amount$ 1 @@ -12,5 +12,4 @@ T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCar SVar:DBForget:DB$ Pump | Defined$ TriggeredCard | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/jeleva_nephalias_scourge.jpg Oracle:Flying\nWhen Jeleva, Nephalia's Scourge enters the battlefield, each player exiles the top X cards of their library, where X is the amount of mana spent to cast Jeleva.\nWhenever Jeleva attacks, you may cast an instant or sorcery card exiled with it without paying its mana cost. diff --git a/forge-gui/res/cardsfolder/j/jeskai_infiltrator.txt b/forge-gui/res/cardsfolder/j/jeskai_infiltrator.txt index 7b10d70b34d..6ee3bc17496 100644 --- a/forge-gui/res/cardsfolder/j/jeskai_infiltrator.txt +++ b/forge-gui/res/cardsfolder/j/jeskai_infiltrator.txt @@ -6,7 +6,6 @@ S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ Unblockable | Check SVar:X:Count$Valid Creature.YouCtrl+Other T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile it and the top card of your library in a face-down pile, shuffle that pile, then manifest those cards. (To manifest a card, put it onto the battlefield face down as a 2/2 creature. You may turn it face up at any time for its mana cost if it is a creature card.) SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBExileTopCard -SVar:DBExileTopCard:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | ExileFaceDown$ True | SubAbility$ DBManifest +SVar:DBExileTopCard:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | ExileFaceDown$ True | SubAbility$ DBManifest SVar:DBManifest:DB$ Manifest | Amount$ 2 | Defined$ Remembered | Shuffle$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/jeskai_infiltrator.jpg Oracle:Jeskai Infiltrator can't be blocked as long as you control no other creatures.\nWhen Jeskai Infiltrator deals combat damage to a player, exile it and the top card of your library in a face-down pile, shuffle that pile, then manifest those cards. (To manifest a card, put it onto the battlefield face down as a 2/2 creature. Turn it face up any time for its mana cost if it's a creature card.) diff --git a/forge-gui/res/cardsfolder/j/jesters_scepter.txt b/forge-gui/res/cardsfolder/j/jesters_scepter.txt index 43b988a728a..8a54f114f69 100644 --- a/forge-gui/res/cardsfolder/j/jesters_scepter.txt +++ b/forge-gui/res/cardsfolder/j/jesters_scepter.txt @@ -2,7 +2,7 @@ Name:Jester's Scepter ManaCost:3 Types:Artifact T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile the top five cards of target player's library face down. You may look at those cards for as long as they remain exiled. -SVar:TrigExile:DB$ Mill | ValidTgts$ Player | NumCards$ 5 | Destination$ Exile | ExileFaceDown$ True | RememberMilled$ True | SubAbility$ DBMayLookAt +SVar:TrigExile:DB$ Dig | ValidTgts$ Player | DigNum$ 5 | ChangeNum$ All | DestinationZone$ Exile | ExileFaceDown$ True | RememberChanged$ True | SubAbility$ DBMayLookAt SVar:DBMayLookAt:DB$ Effect | StaticAbilities$ SMayLookAt | Triggers$ TForget | SVars$ DBForget | RememberObjects$ Remembered | Duration$ Permanent SVar:SMayLookAt:Mode$ Continuous | Affected$ Card.IsRemembered | AffectedZone$ Exile | EffectZone$ Command | MayLookAt$ You | Duration$ Permanent SVar:TForget:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered | Execute$ DBForget @@ -13,5 +13,4 @@ SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard A:AB$ Counter | Cost$ 2 T ExiledMoveToGrave<1/Card.IsRemembered+ExiledWithSource/card exiled with CARDNAME> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SpellDescription$ Counter target spell if it has the same name as that card. SVar:X:Targeted$Valid Card.sharesNameWith MovedToGrave AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/jesters_scepter.jpg Oracle:When Jester's Scepter enters the battlefield, exile the top five cards of target player's library face down. You may look at those cards for as long as they remain exiled.\n{2}, {T}, Put a card exiled with Jester's Scepter into its owner's graveyard: Counter target spell if it has the same name as that card. diff --git a/forge-gui/res/cardsfolder/k/knacksaw_clique.txt b/forge-gui/res/cardsfolder/k/knacksaw_clique.txt index 88ac8920f1e..bc698d776ba 100644 --- a/forge-gui/res/cardsfolder/k/knacksaw_clique.txt +++ b/forge-gui/res/cardsfolder/k/knacksaw_clique.txt @@ -3,12 +3,11 @@ ManaCost:3 U Types:Creature Faerie Rogue PT:1/4 K:Flying -A:AB$ Mill | Cost$ 1 U Q | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Target opponent exiles the top card of their library. Until end of turn, you may play that card. +A:AB$ Dig | Cost$ 1 U Q | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Target opponent exiles the top card of their library. Until end of turn, you may play that card. SVar:DBEffect:DB$ Effect | Duration$ EndOfTurn | RememberObjects$ Remembered | StaticAbilities$ STPlay | Triggers$ TrigCleanup | SVars$ DBExileSelf | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play a card this turn. SVar:TrigCleanup:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Exile | Destination$ Any | TriggerZones$ Command | Execute$ DBExileSelf | Static$ True SVar:DBExileSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile -SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ Truek +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/knacksaw_clique.jpg Oracle:Flying\n{1}{U}, {Q}: Target opponent exiles the top card of their library. Until end of turn, you may play that card. ({Q} is the untap symbol.) diff --git a/forge-gui/res/cardsfolder/k/knowledge_pool.txt b/forge-gui/res/cardsfolder/k/knowledge_pool.txt index 501bc068ac0..0e23f90c114 100644 --- a/forge-gui/res/cardsfolder/k/knowledge_pool.txt +++ b/forge-gui/res/cardsfolder/k/knowledge_pool.txt @@ -2,7 +2,7 @@ Name:Knowledge Pool ManaCost:6 Types:Artifact T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigKnowledgeExile | TriggerDescription$ Imprint — When CARDNAME enters the battlefield, each player exiles the top three cards of their library. -SVar:TrigKnowledgeExile:DB$ Mill | NumCards$ 3 | Defined$ Player | Destination$ Exile | Imprint$ True +SVar:TrigKnowledgeExile:DB$ Dig | DigNum$ 3 | ChangeNum$ All | Defined$ Player | DestinationZone$ Exile | Imprint$ True T:Mode$ SpellCast | ValidCard$ Card.wasCastFromHand | Execute$ TrigKnowledgeExileSpell | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player casts a spell from their hand, that player exiles it. If the player does, they may cast another nonland card exiled with CARDNAME without paying that card's mana cost. SVar:TrigKnowledgeExileSpell:DB$ ChangeZone | Defined$ TriggeredCard | Origin$ Stack | Destination$ Exile | Imprint$ True | Fizzle$ True | SubAbility$ DBKnowledgePlaySpell | RememberChanged$ True SVar:DBKnowledgePlaySpell:DB$ Play | ValidZone$ Exile | Valid$ Card.IsImprinted+IsNotRemembered+nonLand | Controller$ TriggeredCardController | WithoutManaCost$ True | Optional$ True | ConditionDefined$ TriggeredCard | ConditionPresent$ Card.IsRemembered | ConditionCompare$ EQ1 | SubAbility$ DBKnowledgeCleanup @@ -11,5 +11,4 @@ T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCar SVar:DBForget:DB$ Pump | Defined$ TriggeredCard | ForgetImprinted$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearImprinted$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/knowledge_pool.jpg Oracle:Imprint — When Knowledge Pool enters the battlefield, each player exiles the top three cards of their library.\nWhenever a player casts a spell from their hand, that player exiles it. If the player does, they may cast another nonland card exiled with Knowledge Pool without paying that card's mana cost. diff --git a/forge-gui/res/cardsfolder/l/light_up_the_stage.txt b/forge-gui/res/cardsfolder/l/light_up_the_stage.txt index 53faab4f3a8..117a7586af5 100644 --- a/forge-gui/res/cardsfolder/l/light_up_the_stage.txt +++ b/forge-gui/res/cardsfolder/l/light_up_the_stage.txt @@ -2,8 +2,8 @@ Name:Light Up the Stage ManaCost:2 R Types:Sorcery K:Spectacle:R -A:SP$ Mill | Cost$ 2 R | Defined$ You | NumCards$ 2 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBMayBePlay | SpellDescription$ Exile the top two cards of your library. Until the end of your next turn, you may play those cards. -SVar:DBMayBePlay:DB$ Effect | StaticAbilities$ STCommuned | Duration$ UntilTheEndOfYourNextTurn | RememberObjects$ Remembered | ForgetOnMoved$ Exile +A:SP$ Dig | Cost$ 2 R | Defined$ You | DigNum$ 2 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top two cards of your library. Until the end of your next turn, you may play those cards. +SVar:DBEffect:DB$ Effect | StaticAbilities$ StaticMayPlay | Duration$ UntilTheEndOfYourNextTurn | RememberObjects$ Remembered | ForgetOnMoved$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:STCommuned:Mode$ Continuous | Affected$ Card.IsRemembered | EffectZone$ Command | AffectedZone$ Exile | MayPlay$ True | Description$ Until the end of your next turn, you may play those cards. -Oracle:Spectacle {R} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.)\nExile the top two cards of your library. Until the end of your next turn, you may play those cards. \ No newline at end of file +SVar:StaticMayPlay:Mode$ Continuous | Affected$ Card.IsRemembered | EffectZone$ Command | AffectedZone$ Exile | MayPlay$ True | Description$ Until the end of your next turn, you may play those cards. +Oracle:Spectacle {R} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.)\nExile the top two cards of your library. Until the end of your next turn, you may play those cards. diff --git a/forge-gui/res/cardsfolder/l/lord_of_the_void.txt b/forge-gui/res/cardsfolder/l/lord_of_the_void.txt index f683d968ea3..4328517bb8e 100644 --- a/forge-gui/res/cardsfolder/l/lord_of_the_void.txt +++ b/forge-gui/res/cardsfolder/l/lord_of_the_void.txt @@ -3,10 +3,9 @@ ManaCost:4 B B B Types:Creature Demon PT:7/7 K:Flying -T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigMill| TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile the top seven cards of that player's library, then put a creature card from among them onto the battlefield under your control. -SVar:TrigMill:DB$ Mill | NumCards$ 7 | Defined$ TriggeredTarget | Destination$ Exile | RememberMilled$ True | SubAbility$ PickOne +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile the top seven cards of that player's library, then put a creature card from among them onto the battlefield under your control. +SVar:TrigExile:DB$ Dig | DigNum$ 7 | ChangeNum$ All | Defined$ TriggeredTarget | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ PickOne SVar:PickOne:DB$ ChooseCard | Defined$ You | Amount$ 1 | Mandatory$ True | ChoiceTitle$ Choose creature to put on the battlefied under your control | Choices$ Creature.IsRemembered | ChoiceZone$ Exile | SubAbility$ MoveChosen SVar:MoveChosen:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | GainControl$ True | Defined$ ChosenCard | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/lord_of_the_void.jpg Oracle:Flying\nWhenever Lord of the Void deals combat damage to a player, exile the top seven cards of that player's library, then put a creature card from among them onto the battlefield under your control. diff --git a/forge-gui/res/cardsfolder/l/lukka_coppercoat_outcast.txt b/forge-gui/res/cardsfolder/l/lukka_coppercoat_outcast.txt index f73ff690b0e..db7a4f9b78e 100755 --- a/forge-gui/res/cardsfolder/l/lukka_coppercoat_outcast.txt +++ b/forge-gui/res/cardsfolder/l/lukka_coppercoat_outcast.txt @@ -2,7 +2,7 @@ Name:Lukka, Coppercoat Outcast ManaCost:3 R R Types:Legendary Planeswalker Lukka Loyalty:5 -A:AB$ Mill | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | NumCards$ 3 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Exile the top three cards of your library. Creature cards exiled this way gain "You may cast this card from exile as long as you control a Lukka planeswalker." +A:AB$ Dig | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Exile the top three cards of your library. Creature cards exiled this way gain "You may cast this card from exile as long as you control a Lukka planeswalker." SVar:DBRepeat:DB$ RepeatEach | UseImprinted$ True | RepeatSubAbility$ DBAnimate | RepeatCards$ Creature.IsRemembered | Zone$ Exile | SubAbility$ DBCleanup SVar:DBAnimate:DB$ Animate | Defined$ Imprinted | staticAbilities$ STMayPlay | Permanent$ True SVar:STMayPlay:Mode$ Continuous | Affected$ Card.Self | AffectedZone$ Exile | EffectZone$ Exile | MayPlay$ True | IsPresent$ Planeswalker.Lukka+YouCtrl | Description$ You may cast this card from exile as long as you control a Lukka planeswalker. @@ -14,5 +14,4 @@ SVar:DBDamage:DB$ DealDamage | Defined$ Player.Opponent | DamageSource$ Remember SVar:X:Remembered$CardManaCost/Plus.1 SVar:Y:Remembered$CardPower SVar:NonStackingEffect:True -AI:RemoveDeck:Random Oracle:[+1]: Exile the top three cards of your library. Creature cards exiled this way gain "You may cast this card from exile as long as you control a Lukka planeswalker."\n[−2]: Exile target creature you control, then reveal cards from the top of your library until you reveal a creature card with higher converted mana cost. Put that card onto the battlefield and the rest on the bottom of your library in a random order.\n[−7]: Each creature you control deals damage equal to its power to each opponent. diff --git a/forge-gui/res/cardsfolder/m/magus_of_the_mind.txt b/forge-gui/res/cardsfolder/m/magus_of_the_mind.txt index 7b52f6072b1..9954c0791cc 100644 --- a/forge-gui/res/cardsfolder/m/magus_of_the_mind.txt +++ b/forge-gui/res/cardsfolder/m/magus_of_the_mind.txt @@ -3,10 +3,9 @@ ManaCost:4 U U Types:Creature Human Wizard PT:4/5 A:AB$ Shuffle | Cost$ U T Sac<1/CARDNAME> | SubAbility$ DBExile | SpellDescription$ Shuffle your library, then exile the top X cards, where X is one plus the number of spells cast this turn. Until end of turn, you may play cards exiled this way without paying their mana costs. -SVar:DBExile:DB$ Mill | Defined$ You | Destination$ Exile | NumCards$ NumCardsToExile | References$ NumCardsToExile | RememberMilled$ True | SubAbility$ DBEffect +SVar:DBExile:DB$ Dig | Defined$ You | DestinationZone$ Exile | DigNum$ X | ChangeNum$ All | References$ X | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ Play | References$ Play | SubAbility$ DBCleanup SVar:Play:Mode$ Continuous | MayPlay$ True | MayPlayWithoutManaCost$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:NumCardsToExile:Count$ThisTurnCast_Card/Plus.1 -SVar:Picture:http://www.wizards.com/global/images/magic/general/magus_of_the_mind.txt -Oracle:{U}, {T}, Sacrifice Magus of the Mind: Shuffle your library, then exile the top X cards, where X is one plus the number of spells cast this turn. Until end of turn, you may play cards exiled this way without paying their mana costs. \ No newline at end of file +SVar:X:Count$ThisTurnCast_Card/Plus.1 +Oracle:{U}, {T}, Sacrifice Magus of the Mind: Shuffle your library, then exile the top X cards, where X is one plus the number of spells cast this turn. Until end of turn, you may play cards exiled this way without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/m/mindreaver.txt b/forge-gui/res/cardsfolder/m/mindreaver.txt index a235d54d397..5448b4f1817 100644 --- a/forge-gui/res/cardsfolder/m/mindreaver.txt +++ b/forge-gui/res/cardsfolder/m/mindreaver.txt @@ -3,7 +3,7 @@ ManaCost:U U Types:Creature Human Wizard PT:2/1 T:Mode$ SpellCast | ValidActivatingPlayer$ You | TargetsValid$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ Heroic — Whenever you cast a spell that targets CARDNAME, exile the top three cards of target player's library. -SVar:TrigExile:DB$ Mill | ValidTgts$ Player | NumCards$ 3 | Destination$ Exile | RememberMilled$ True +SVar:TrigExile:DB$ Dig | ValidTgts$ Player | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True A:AB$ Counter | Cost$ U U Sac<1/CARDNAME> | TargetType$ Spell | TgtPrompt$ Select target spell with the same name as a card exiled | ValidTgts$ Card.sharesNameWith Remembered.ExiledWithSource | SpellDescription$ Counter target spell with the same name as a card exiled with CARDNAME. T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard @@ -11,5 +11,4 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | Execute$ TrigClea SVar:TrigCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/mindreaver.jpg Oracle:Heroic — Whenever you cast a spell that targets Mindreaver, exile the top three cards of target player's library.\n{U}{U}, Sacrifice Mindreaver: Counter target spell with the same name as a card exiled with Mindreaver. diff --git a/forge-gui/res/cardsfolder/m/minds_dilation.txt b/forge-gui/res/cardsfolder/m/minds_dilation.txt index 7c1b7f659c2..9415479e137 100644 --- a/forge-gui/res/cardsfolder/m/minds_dilation.txt +++ b/forge-gui/res/cardsfolder/m/minds_dilation.txt @@ -1,9 +1,8 @@ Name:Mind's Dilation ManaCost:5 U U Types:Enchantment -T:Mode$ SpellCast | ValidActivatingPlayer$ Player.Opponent | ActivatorThisTurnCast$ EQ1 | NoResolvingCheck$ True | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever an opponent casts their first spell each turn, that player exiles the top card of their library. If it's a nonland card, you may cast it without paying it's mana cost. -SVar:TrigMill:DB$ Mill | Defined$ TriggeredPlayer | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ CastCard +T:Mode$ SpellCast | ValidActivatingPlayer$ Player.Opponent | ActivatorThisTurnCast$ EQ1 | NoResolvingCheck$ True | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever an opponent casts their first spell each turn, that player exiles the top card of their library. If it's a nonland card, you may cast it without paying its mana cost. +SVar:TrigExile:DB$ Dig | Defined$ TriggeredPlayer | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ CastCard SVar:CastCard:DB$ Play | Defined$ Remembered | WithoutManaCost$ True | Optional$ True | Controller$ You | ShowCardToActivator$ True | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | ConditionCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/minds_dilation.jpg -Oracle:Whenever an opponent casts their first spell each turn, that player exiles the top card of their library. If it's a nonland card, you may cast it without paying it's mana cost. +Oracle:Whenever an opponent casts their first spell each turn, that player exiles the top card of their library. If it's a nonland card, you may cast it without paying its mana cost. diff --git a/forge-gui/res/cardsfolder/m/moonring_mirror.txt b/forge-gui/res/cardsfolder/m/moonring_mirror.txt index 75b92fad17d..0982594e0bb 100644 --- a/forge-gui/res/cardsfolder/m/moonring_mirror.txt +++ b/forge-gui/res/cardsfolder/m/moonring_mirror.txt @@ -1,8 +1,8 @@ Name:Moonring Mirror ManaCost:5 Types:Artifact -T:Mode$ Drawn | ValidCard$ Card.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever you draw a card, exile the top card of your library face down. -SVar:TrigMill:DB$ Mill | NumCards$ 1 | Defined$ You | Destination$ Exile | ExileFaceDown$ True | RememberMilled$ True +T:Mode$ Drawn | ValidCard$ Card.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ Whenever you draw a card, exile the top card of your library face down. +SVar:TrigExile:DB$ Dig | DigNum$ 1 | ChangeNum$ All | Defined$ You | DestinationZone$ Exile | ExileFaceDown$ True | RememberChanged$ True T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigChangeHandExile | TriggerDescription$ At the beginning of your upkeep, you may exile all cards from your hand face down. If you do, put all other cards you own exiled with CARDNAME into your hand. SVar:TrigChangeHandExile:DB$ ChangeZoneAll | Origin$ Hand | Destination$ Exile | ExileFaceDown$ True | ChangeType$ Card.YouCtrl | RememberChanged$ True | Imprint$ True | SubAbility$ ChangeBack SVar:ChangeBack:DB$ ChangeZoneAll | ChangeType$ Card.IsRemembered+IsNotImprinted+ExiledWithSource | Origin$ Exile | Destination$ Hand | ForgetChanged$ True | SubAbility$ DBCleanup @@ -12,5 +12,4 @@ SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup2 SVar:DBCleanup2:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/moonring_mirror.jpg Oracle:Whenever you draw a card, exile the top card of your library face down.\nAt the beginning of your upkeep, you may exile all cards from your hand face down. If you do, put all other cards you own exiled with Moonring Mirror into your hand. diff --git a/forge-gui/res/cardsfolder/m/mystic_forge.txt b/forge-gui/res/cardsfolder/m/mystic_forge.txt index f512fd1e4f5..33a6e0909a1 100644 --- a/forge-gui/res/cardsfolder/m/mystic_forge.txt +++ b/forge-gui/res/cardsfolder/m/mystic_forge.txt @@ -4,5 +4,5 @@ Types:Artifact S:Mode$ Continuous | Affected$ Card.TopLibrary+YouCtrl | AffectedZone$ Library | MayLookAt$ You | Description$ You may look at the top card of your library any time. S:Mode$ Continuous | Affected$ Artifact.TopLibrary+YouCtrl+nonLand,Card.TopLibrary+Colorless+YouCtrl+nonLand | AffectedZone$ Library | MayPlay$ True | Description$ You may cast the top card of your library if it's an artifact card or a colorless nonland card. AI:RemoveDeck:Random -A:AB$ Mill | Cost$ T PayLife<1> | Defined$ You | NumCards$ 1 | Destination$ Exile | SpellDescription$ Exile the top card of your library. +A:AB$ Dig | Cost$ T PayLife<1> | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | SpellDescription$ Exile the top card of your library. Oracle:You may look at the top card of your library any time.\nYou may cast the top card of your library if it's an artifact card or a colorless nonland card.\n{T}, Pay 1 life: Exile the top card of your library. diff --git a/forge-gui/res/cardsfolder/n/narset_enlightened_master.txt b/forge-gui/res/cardsfolder/n/narset_enlightened_master.txt index caa5bca6df8..91d5d17f33b 100644 --- a/forge-gui/res/cardsfolder/n/narset_enlightened_master.txt +++ b/forge-gui/res/cardsfolder/n/narset_enlightened_master.txt @@ -4,11 +4,10 @@ Types:Legendary Creature Human Monk PT:3/2 K:First Strike K:Hexproof -T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top four cards of your library. Until end of turn, you may cast noncreature cards exiled with CARDNAME this turn without paying their mana costs. -SVar:TrigMill:DB$ Mill | NumCards$ 4 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBMayBePlayed -SVar:DBMayBePlayed:DB$ Effect | RememberObjects$ RememberedCard | ForgetOnMoved$ Exile | StaticAbilities$ STMayPlay | SubAbility$ DBCleanup +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top four cards of your library. Until end of turn, you may cast noncreature cards exiled with CARDNAME this turn without paying their mana costs. +SVar:TrigExile:DB$ Dig | DigNum$ 4 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect +SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | ForgetOnMoved$ Exile | StaticAbilities$ STMayPlay | SubAbility$ DBCleanup SVar:STMayPlay:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Exile | Affected$ Card.IsRemembered+nonCreature+nonLand | MayPlay$ True | MayPlayWithoutManaCost$ True | Description$ You may cast noncreature cards exiled with Narset this turn without paying their mana costs. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:HasAttackEffect:TRUE -SVar:Picture:http://www.wizards.com/global/images/magic/general/narset_enlightened_master.jpg Oracle:First strike, hexproof\nWhenever Narset, Enlightened Master attacks, exile the top four cards of your library. Until end of turn, you may cast noncreature cards exiled with Narset this turn without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/n/nicol_bolas_the_ravager.txt b/forge-gui/res/cardsfolder/n/nicol_bolas_the_ravager.txt index b2f00d07751..c903a642170 100644 --- a/forge-gui/res/cardsfolder/n/nicol_bolas_the_ravager.txt +++ b/forge-gui/res/cardsfolder/n/nicol_bolas_the_ravager.txt @@ -21,6 +21,6 @@ Loyalty:7 A:AB$ Draw | Cost$ AddCounter<2/LOYALTY> | NumCards$ 2 | Planeswalker$ True | SpellDescription$ Draw two cards. A:AB$ DealDamage | Cost$ SubCounter<3/LOYALTY> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target | Planeswalker$ True | NumDmg$ 10 | SpellDescription$ CARDNAME deals 10 damage to target creature or planeswalker. A:AB$ ChangeZone | Cost$ SubCounter<4/LOYALTY> | Origin$ Graveyard | Destination$ Battlefield | Planeswalker$ True | GainControl$ True | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Choose target creature or planeswalker card in a graveyard | SpellDescription$ Put target creature or planeswalker card from a graveyard onto the battlefield under your control. -A:AB$ Mill | Cost$ SubCounter<12/LOYALTY> | NumCards$ X | Destination$ Exile | ValidTgts$ Player | TgtPrompt$ Choose a player | Planeswalker$ True | Ultimate$ True | References$ X | SpellDescription$ Exile all but the bottom card of target player's library. +A:AB$ Dig | Cost$ SubCounter<12/LOYALTY> | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | ValidTgts$ Player | TgtPrompt$ Choose a player | Planeswalker$ True | Ultimate$ True | References$ X | SpellDescription$ Exile all but the bottom card of target player's library. SVar:X:Count$InTargetedLibrary.Card/Minus.1 -Oracle:[+2]: Draw two cards.\n[−3]: Nicol Bolas, the Arisen deals 10 damage to target creature or planeswalker.\n[−4]: Put target creature or planeswalker card from a graveyard onto the battlefield under your control.\n−12: Exile all but the bottom card of target player's library. +Oracle:[+2]: Draw two cards.\n[−3]: Nicol Bolas, the Arisen deals 10 damage to target creature or planeswalker.\n[−4]: Put target creature or planeswalker card from a graveyard onto the battlefield under your control.\n[−12]: Exile all but the bottom card of target player's library. diff --git a/forge-gui/res/cardsfolder/n/nightveil_specter.txt b/forge-gui/res/cardsfolder/n/nightveil_specter.txt index 1c89062b760..427138ecad3 100644 --- a/forge-gui/res/cardsfolder/n/nightveil_specter.txt +++ b/forge-gui/res/cardsfolder/n/nightveil_specter.txt @@ -3,12 +3,11 @@ ManaCost:UB UB UB Types:Creature Specter PT:2/3 K:Flying -T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top card of their library. -SVar:TrigMill:DB$ Mill | Defined$ TriggeredTarget | NumCards$ 1 | Destination$ Exile | RememberMilled$ True +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top card of their library. +SVar:TrigExile:DB$ Dig | Defined$ TriggeredTarget | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True S:Mode$ Continuous | MayPlay$ True | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play cards exiled with CARDNAME. T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered | Execute$ DBForget SVar:DBForget:DB$ Pump | Defined$ TriggeredCard | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/nightveil_specter.jpg Oracle:Flying\nWhenever Nightveil Specter deals combat damage to a player, that player exiles the top card of their library.\nYou may play cards exiled with Nightveil Specter. diff --git a/forge-gui/res/cardsfolder/n/nivix_aerie_of_the_firemind.txt b/forge-gui/res/cardsfolder/n/nivix_aerie_of_the_firemind.txt index 1e3f439a2d3..d87398c9f56 100644 --- a/forge-gui/res/cardsfolder/n/nivix_aerie_of_the_firemind.txt +++ b/forge-gui/res/cardsfolder/n/nivix_aerie_of_the_firemind.txt @@ -2,10 +2,9 @@ Name:Nivix, Aerie of the Firemind ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ Mill | Cost$ T 2 U R | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. Until your next turn, you may cast that card if it's an instant or sorcery. +A:AB$ Dig | Cost$ T 2 U R | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. Until your next turn, you may cast that card if it's an instant or sorcery. SVar:DBEffect:DB$Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ExileOnMoved$ Exile | Duration$ UntilYourNextTurn SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Instant.IsRemembered,Sorcery.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/nivix_aerie_of_the_firemind.jpg Oracle:{T}: Add {C}.\n{2}{U}{R}, {T}: Exile the top card of your library. Until your next turn, you may cast that card if it's an instant or sorcery. diff --git a/forge-gui/res/cardsfolder/o/oblivion_sower.txt b/forge-gui/res/cardsfolder/o/oblivion_sower.txt index 0f28d3ee017..dc5f6aeb3c3 100644 --- a/forge-gui/res/cardsfolder/o/oblivion_sower.txt +++ b/forge-gui/res/cardsfolder/o/oblivion_sower.txt @@ -2,10 +2,10 @@ Name:Oblivion Sower ManaCost:6 Types:Creature Eldrazi PT:5/8 -T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ When you cast CARDNAME, target opponent exiles the top four cards of their library, then you may put any number of land cards that player owns from exile onto the battlefield under your control. -SVar:TrigMill:DB$ Mill | NumCards$ 4 | Destination$ Exile | ValidTgts$ Opponent | RememberTargets$ True | SubAbility$ DBSower | TgtPrompt$ Choose the target opponent +T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When you cast CARDNAME, target opponent exiles the top four cards of their library, then you may put any number of land cards that player owns from exile onto the battlefield under your control. +SVar:TrigExile:DB$ Dig | DigNum$ 4 | ChangeNum$ All | DestinationZone$ Exile | ValidTgts$ Opponent | SubAbility$ DBPump | TgtPrompt$ Choose target opponent +SVar:DBPump:DB$ Pump | RememberObjects$ Targeted | SubAbility$ DBSower SVar:DBSower:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | Hidden$ True | ChangeType$ Land.RememberedPlayerOwn | GainControl$ True | ChangeNum$ X | References$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidExile Land.RememberedPlayerOwn -SVar:Picture:http://www.wizards.com/global/images/magic/general/oblivion_sower.jpg -Oracle:When you cast Oblivion Sower, target opponent exiles the top four cards of their library, then you may put any number of land cards that player owns from exile onto the battlefield under your control. \ No newline at end of file +Oracle:When you cast Oblivion Sower, target opponent exiles the top four cards of their library, then you may put any number of land cards that player owns from exile onto the battlefield under your control. diff --git a/forge-gui/res/cardsfolder/o/omen_machine.txt b/forge-gui/res/cardsfolder/o/omen_machine.txt index 920622f90c9..f2cf5089517 100644 --- a/forge-gui/res/cardsfolder/o/omen_machine.txt +++ b/forge-gui/res/cardsfolder/o/omen_machine.txt @@ -3,10 +3,9 @@ ManaCost:6 Types:Artifact S:Mode$ Continuous | Affected$ Player | AddKeyword$ You can't draw cards. | Description$ Players can't draw cards. T:Mode$ Phase | Phase$ Draw | ValidPlayer$ Player | Execute$ TrigOmenExileCard | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's draw step, that player exiles the top card of their library. If it's a land card, the player puts it onto the battlefield. Otherwise, the player casts it without paying its mana cost if able. -SVar:TrigOmenExileCard:DB$ Mill | NumCards$ 1 | Defined$ TriggeredPlayer | Destination$ Exile | RememberMilled$ True | SubAbility$ DBOmenLand +SVar:TrigOmenExileCard:DB$ Dig | DigNum$ 1 | ChangeNum$ All | Defined$ TriggeredPlayer | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBOmenLand SVar:DBOmenLand:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | ChangeType$ Land.IsRemembered+ActivePlayerCtrl | ChangeNum$ 1 | DefinedPlayer$ TriggeredPlayer | Chooser$ TriggeredPlayer | Hidden$ True | Mandatory$ True | SubAbility$ DBOmenPlay SVar:DBOmenPlay:DB$ Play | ValidZone$ Exile | Controller$ TriggeredPlayer | Valid$ Card.IsRemembered | WithoutManaCost$ True | SubAbility$ DBOmenCleanup SVar:DBOmenCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/omen_machine.jpg Oracle:Players can't draw cards.\nAt the beginning of each player's draw step, that player exiles the top card of their library. If it's a land card, the player puts it onto the battlefield. Otherwise, the player casts it without paying its mana cost if able. diff --git a/forge-gui/res/cardsfolder/o/oona_queen_of_the_fae.txt b/forge-gui/res/cardsfolder/o/oona_queen_of_the_fae.txt index 8b853a6b6b2..3e1ccab358c 100644 --- a/forge-gui/res/cardsfolder/o/oona_queen_of_the_fae.txt +++ b/forge-gui/res/cardsfolder/o/oona_queen_of_the_fae.txt @@ -3,11 +3,11 @@ ManaCost:3 UB UB UB Types:Legendary Creature Faerie Wizard PT:5/5 K:Flying -A:AB$ ChooseColor | Cost$ X UB | Defined$ You | AILogic$ MostProminentInHumanDeck | SubAbility$ DBMill | SpellDescription$ Choose a color. Target opponent exiles the top X cards of their library. For each card of the chosen color exiled this way, create a 1/1 blue and black Faerie Rogue creature token with flying. -SVar:DBMill:DB$ Mill | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumCards$ X | References$ X | Destination$ Exile | RememberMilled$ True | SubAbility$ DBToken -SVar:DBToken:DB$Token | TokenAmount$ Y | References$ Y | TokenScript$ ub_1_1_faerie_rogue_flying | TokenOwner$ You | LegacyImage$ ub 1 1 faerie rogue flying shm | SubAbility$ Clear +A:AB$ ChooseColor | Cost$ X UB | Defined$ You | AILogic$ MostProminentInHumanDeck | SubAbility$ DBExile | SpellDescription$ Choose a color. Target opponent exiles the top X cards of their library. For each card of the chosen color exiled this way, create a 1/1 blue and black Faerie Rogue creature token with flying. +SVar:DBExile:DB$ Dig | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ X | ChangeNum$ All | References$ X | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBToken +SVar:DBToken:DB$Token | TokenAmount$ Y | References$ Y | TokenScript$ ub_1_1_faerie_rogue_flying | TokenOwner$ You | SubAbility$ Clear SVar:Clear:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid SVar:Y:Remembered$Valid Card.ChosenColor -SVar:Picture:http://www.wizards.com/global/images/magic/general/oona_queen_of_the_fae.jpg +DeckHas:Ability$Token Oracle:Flying\n{X}{U/B}: Choose a color. Target opponent exiles the top X cards of their library. For each card of the chosen color exiled this way, create a 1/1 blue and black Faerie Rogue creature token with flying. diff --git a/forge-gui/res/cardsfolder/o/oracles_vault.txt b/forge-gui/res/cardsfolder/o/oracles_vault.txt index 61fe496a9af..81274db4259 100644 --- a/forge-gui/res/cardsfolder/o/oracles_vault.txt +++ b/forge-gui/res/cardsfolder/o/oracles_vault.txt @@ -1,14 +1,13 @@ Name:Oracle's Vault ManaCost:4 Types:Artifact -A:AB$ Mill | Cost$ 2 T | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect1 | AILogic$ ExileAndPlayUntilEOT | SpellDescription$ Exile the top card of your library. Until end of turn, you may play that card. Put a brick counter on CARDNAME. -SVar:DBEffect1:DB$Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play1 | SubAbility$ DBPutCounter | ExileOnMoved$ Exile -SVar:DBPutCounter:DB$PutCounter | Defined$ Self | CounterType$ BRICK | CounterNum$ 1 | SubAbility$ DBCleanup +A:AB$ Dig | Cost$ 2 T | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect1 | AILogic$ ExileAndPlayUntilEOT | SpellDescription$ Exile the top card of your library. Until end of turn, you may play that card. Put a brick counter on CARDNAME. +SVar:DBEffect1:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play1 | SubAbility$ DBPutCounter | ExileOnMoved$ Exile +SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ BRICK | CounterNum$ 1 | SubAbility$ DBCleanup SVar:Play1:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. -A:AB$ Mill | Cost$ T | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect2 | CheckSVar$ X | SVarCompare$ GE3 | References$ X | AILogic$ ExileAndPlayUntilEOT | SpellDescription$ Exile the top card of your library. Until end of turn, you may play that card without paying its mana cost. Activate this ability only if there are three or more brick counters on CARDNAME. -SVar:DBEffect2:DB$Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play2 | SubAbility$ DBCleanup | ExileOnMoved$ Exile +A:AB$ Dig | Cost$ T | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect2 | CheckSVar$ X | SVarCompare$ GE3 | References$ X | AILogic$ ExileAndPlayUntilEOT | SpellDescription$ Exile the top card of your library. Until end of turn, you may play that card without paying its mana cost. Activate this ability only if there are three or more brick counters on CARDNAME. +SVar:DBEffect2:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play2 | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:Play2:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | MayPlayWithoutManaCost$ True | AffectedZone$ Exile | Description$ You may play remembered card without paying its mana cost. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$CardCounters.BRICK -SVar:Picture:http://www.wizards.com/global/images/magic/general/oracles_vault.jpg -Oracle:{2}, {T}: Exile the top card of your library. Until end of turn, you may play that card. Put a brick counter on Oracle's Vault.\n{T}: Exile the top card of your library. Until end of turn, you may play that card without paying its mana cost. Activate this ability only if there are three or more brick counters on Oracle's Vault. \ No newline at end of file +Oracle:{2}, {T}: Exile the top card of your library. Until end of turn, you may play that card. Put a brick counter on Oracle's Vault.\n{T}: Exile the top card of your library. Until end of turn, you may play that card without paying its mana cost. Activate this ability only if there are three or more brick counters on Oracle's Vault. diff --git a/forge-gui/res/cardsfolder/o/ornate_kanzashi.txt b/forge-gui/res/cardsfolder/o/ornate_kanzashi.txt index 458c78b9834..ef107a78fa2 100644 --- a/forge-gui/res/cardsfolder/o/ornate_kanzashi.txt +++ b/forge-gui/res/cardsfolder/o/ornate_kanzashi.txt @@ -1,12 +1,11 @@ Name:Ornate Kanzashi ManaCost:5 Types:Artifact -A:AB$ Mill | Cost$ 2 T | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Target opponent exiles the top card of their library. You may play that card this turn. +A:AB$ Dig | Cost$ 2 T | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Target opponent exiles the top card of their library. You may play that card this turn. SVar:DBEffect:DB$ Effect | Duration$ EndOfTurn | RememberObjects$ Remembered | StaticAbilities$ STPlay | Triggers$ TrigCleanup | SVars$ DBExileSelf | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play a card this turn. SVar:TrigCleanup:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Exile | Destination$ Any | TriggerZones$ Command | Execute$ DBExileSelf | Static$ True SVar:DBExileSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/ornate_kanzashi.jpg Oracle:{2}, {T}: Target opponent exiles the top card of their library. You may play that card this turn. diff --git a/forge-gui/res/cardsfolder/o/outpost_siege.txt b/forge-gui/res/cardsfolder/o/outpost_siege.txt index eaec775c612..64a5574c41c 100644 --- a/forge-gui/res/cardsfolder/o/outpost_siege.txt +++ b/forge-gui/res/cardsfolder/o/outpost_siege.txt @@ -5,12 +5,11 @@ T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefi SVar:SiegeChoice:DB$ GenericChoice | Choices$ Khans,Dragons | Defined$ You | SetChosenMode$ True | AILogic$ Khans | ShowChoice$ ExceptSelf SVar:Khans:DB$ Animate | Defined$ Self | Triggers$ KhansTrigger | Permanent$ True | SpellDescription$ Khans SVar:KhansTrigger:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | ValidPlayer$ You | Execute$ PseudoDraw | TriggerDescription$ At the beginning of your upkeep, exile the top card of your library. Until end of turn, you may play that card. -SVar:PseudoDraw:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +SVar:PseudoDraw:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Dragons:DB$ Animate | Defined$ Self | Triggers$ DragonsTrigger | Permanent$ True | SpellDescription$ Dragons SVar:DragonsTrigger:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ SmallBurnination | TriggerDescription$ Whenever a creature you control leaves the battlefield, CARDNAME deals 1 damage to any target. SVar:SmallBurnination:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 1 -SVar:Picture:http://www.wizards.com/global/images/magic/general/outpost_siege.jpg Oracle:As Outpost Siege enters the battlefield, choose Khans or Dragons.\n• Khans — At the beginning of your upkeep, exile the top card of your library. Until end of turn, you may play that card.\n• Dragons — Whenever a creature you control leaves the battlefield, Outpost Siege deals 1 damage to any target. diff --git a/forge-gui/res/cardsfolder/p/precognition_field.txt b/forge-gui/res/cardsfolder/p/precognition_field.txt index 64a6547b1c0..269e6710f59 100644 --- a/forge-gui/res/cardsfolder/p/precognition_field.txt +++ b/forge-gui/res/cardsfolder/p/precognition_field.txt @@ -3,5 +3,5 @@ ManaCost:3 U Types:Enchantment S:Mode$ Continuous | Affected$ Card.TopLibrary+YouCtrl | AffectedZone$ Library | MayLookAt$ You | Description$ You may look at the top card of your library any time. S:Mode$ Continuous | Affected$ Instant.TopLibrary+YouCtrl+nonLand,Sorcery.TopLibrary+YouCtrl+nonLand | AffectedZone$ Library | MayPlay$ True | Description$ You may cast the top card of your library if it's an instant or sorcery card. -A:AB$ Mill | Cost$ 3 | Defined$ You | NumCards$ 1 | Destination$ Exile | SpellDescription$ Exile the top card of your library. +A:AB$ Dig | Cost$ 3 | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | SpellDescription$ Exile the top card of your library. Oracle:You may look at the top card of your library any time.\nYou may cast the top card of your library if it's an instant or sorcery card.\n{3}: Exile the top card of your library. diff --git a/forge-gui/res/cardsfolder/p/prophetic_flamespeaker.txt b/forge-gui/res/cardsfolder/p/prophetic_flamespeaker.txt index 59dd8cde084..b142a6789e6 100644 --- a/forge-gui/res/cardsfolder/p/prophetic_flamespeaker.txt +++ b/forge-gui/res/cardsfolder/p/prophetic_flamespeaker.txt @@ -5,9 +5,8 @@ PT:1/3 K:Double Strike K:Trample T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile the top card of your library. You may play it this turn. -SVar:TrigExile:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | ExileOnMoved$ Exile | RememberObjects$ Remembered | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | EffectZone$ Command | Affected$ Card.IsRemembered | MayPlay$ True | AffectedZone$ Exile | Description$ Until end of turn, you may play that card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/prophetic_flamespeaker.jpg Oracle:Double strike, trample\nWhenever Prophetic Flamespeaker deals combat damage to a player, exile the top card of your library. You may play it this turn. diff --git a/forge-gui/res/cardsfolder/p/pyxis_of_pandemonium.txt b/forge-gui/res/cardsfolder/p/pyxis_of_pandemonium.txt index bb7199d66ae..9435782a64c 100644 --- a/forge-gui/res/cardsfolder/p/pyxis_of_pandemonium.txt +++ b/forge-gui/res/cardsfolder/p/pyxis_of_pandemonium.txt @@ -1,7 +1,7 @@ Name:Pyxis of Pandemonium ManaCost:1 Types:Artifact -A:AB$ Mill | Cost$ T | Defined$ Player | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | ExileFaceDown$ True | SpellDescription$ Each player exiles the top card of their library face down. +A:AB$ Dig | Cost$ T | Defined$ Player | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | ExileFaceDown$ True | SpellDescription$ Each player exiles the top card of their library face down. A:AB$ SetState | Cost$ 7 T Sac<1/CARDNAME> | Defined$ Remembered | Mode$ TurnFace | SubAbility$ DBChangeZone | SpellDescription$ Each player turns face up all cards they own exiled with CARDNAME, then puts all permanent cards among them onto the battlefield. SVar:DBChangeZone:DB$ ChangeZoneAll | ChangeType$ Permanent.IsRemembered+ExiledWithSource | Origin$ Exile | Destination$ Battlefield | SubAbility$ DBCleanup T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget @@ -9,5 +9,4 @@ SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/pyxis_of_pandemonium.jpg Oracle:{T}: Each player exiles the top card of their library face down.\n{7}, {T}, Sacrifice Pyxis of Pandemonium: Each player turns face up all cards they own exiled with Pyxis of Pandemonium, then puts all permanent cards among them onto the battlefield. diff --git a/forge-gui/res/cardsfolder/r/rally_the_horde.txt b/forge-gui/res/cardsfolder/r/rally_the_horde.txt index ba573dd3d60..8ae8f979fe3 100644 --- a/forge-gui/res/cardsfolder/r/rally_the_horde.txt +++ b/forge-gui/res/cardsfolder/r/rally_the_horde.txt @@ -2,14 +2,14 @@ Name:Rally the Horde ManaCost:5 R Types:Sorcery A:SP$ Repeat | Cost$ 5 R | RepeatSubAbility$ DBExileThree | RepeatCheckSVar$ X | RepeatSVarCompare$ EQ0 | References$ X | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Exile the top card of your library. Exile the top card of your library. Exile the top card of your library. If the last card exiled isn't a land, repeat this process. Create a 1/1 red Warrior creature token for each nonland card exiled this way. -SVar:DBExileThree:DB$ Cleanup | ClearImprinted$ True | SubAbility$ DBMill1 -SVar:DBMill1:DB$ Mill | RememberMilled$ True | Destination$ Exile | NumCards$ 1 | SubAbility$ DBMill2 -SVar:DBMill2:DB$ Mill | RememberMilled$ True | Destination$ Exile | NumCards$ 1 | SubAbility$ DBMill3 -SVar:DBMill3:DB$ Mill | RememberMilled$ True | Destination$ Exile | NumCards$ 1 | Imprint$ True +SVar:DBExileThree:DB$ Cleanup | ClearImprinted$ True | SubAbility$ DBExile1 +SVar:DBExile1:DB$ Dig | RememberChanged$ True | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All | SubAbility$ DBExile2 +SVar:DBExile2:DB$ Dig | RememberChanged$ True | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All | SubAbility$ DBExile3 +SVar:DBExile3:DB$ Dig | RememberChanged$ True | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All | Imprint$ True SVar:X:Count$ValidExile Land.IsImprinted -SVar:DBToken:DB$ Token | TokenAmount$ Y | References$ Y | TokenScript$ r_1_1_warrior | TokenOwner$ You | LegacyImage$ r 1 1 warrior sok | SubAbility$ DBCleanup | StackDescription$ None +SVar:DBToken:DB$ Token | TokenAmount$ Y | References$ Y | TokenScript$ r_1_1_warrior | TokenOwner$ You | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:Y:Count$ValidExile Card.IsRemembered+nonLand AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/rally_the_horde.jpg +DeckHas:Ability$Token Oracle:Exile the top card of your library. Exile the top card of your library. Exile the top card of your library. If the last card exiled isn't a land, repeat this process. Create a 1/1 red Warrior creature token for each nonland card exiled this way. diff --git a/forge-gui/res/cardsfolder/r/raven_guild_master.txt b/forge-gui/res/cardsfolder/r/raven_guild_master.txt index 6b0b030d783..50226627087 100644 --- a/forge-gui/res/cardsfolder/r/raven_guild_master.txt +++ b/forge-gui/res/cardsfolder/r/raven_guild_master.txt @@ -2,8 +2,7 @@ Name:Raven Guild Master ManaCost:1 U U Types:Creature Human Wizard Mutant PT:1/1 -T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top ten cards of their library. -SVar:TrigMill:DB$ Mill | Defined$ TriggeredTarget | NumCards$ 10 | Destination$ Exile +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerZones$ Dig | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top ten cards of their library. +SVar:TrigExile:DB$ Dig | Defined$ TriggeredTarget | DigNum$ 10 | ChangeNum$ All | DestinationZone$ Exile K:Morph:2 U U -SVar:Picture:http://www.wizards.com/global/images/magic/general/raven_guild_master.jpg Oracle:Whenever Raven Guild Master deals combat damage to a player, that player exiles the top ten cards of their library.\nMorph {2}{U}{U} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) diff --git a/forge-gui/res/cardsfolder/r/rebirth.txt b/forge-gui/res/cardsfolder/r/rebirth.txt index 734ebc2cb98..f09c330194e 100644 --- a/forge-gui/res/cardsfolder/r/rebirth.txt +++ b/forge-gui/res/cardsfolder/r/rebirth.txt @@ -2,8 +2,8 @@ Name:Rebirth ManaCost:3 G G G Types:Sorcery K:Remove CARDNAME from your deck before playing if you're not playing for ante. -A:SP$ RepeatEach | Cost$ 3 G G G | RepeatPlayers$ Player | RepeatSubAbility$ Ante | SpellDescription$ Each player may ante the top card of their library. If a player does, that player's life total becomes 20. -SVar:Ante:DB$ Mill | Defined$ Player.IsRemembered | Destination$ Ante | NumCards$ 1 | RememberMilled$ True | Optional$ True | SubAbility$ 20Life | AILogic$ Rebirth +A:SP$ RepeatEach | Cost$ 3 G G G | RepeatPlayers$ Player | RepeatSubAbility$ Ante | SpellDescription$ Each player may ante the top card of their library. If a player does, that player’s life total becomes 20. +SVar:Ante:DB$ Dig | Defined$ Player.IsRemembered | Destination$ Ante | DigNum$ 1 | ChangeNum$ All | RememberChanged$ True | Optional$ True | SubAbility$ 20Life | AILogic$ Rebirth SVar:20Life:DB$ SetLife | Defined$ Player.IsRemembered | LifeAmount$ 20 | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True Oracle:Remove Rebirth from your deck before playing if you're not playing for ante./nEach player may ante the top card of their library. If a player does, that player's life total becomes 20. diff --git a/forge-gui/res/cardsfolder/r/robber_of_the_rich.txt b/forge-gui/res/cardsfolder/r/robber_of_the_rich.txt index 575d5a15686..bc106cedf3a 100644 --- a/forge-gui/res/cardsfolder/r/robber_of_the_rich.txt +++ b/forge-gui/res/cardsfolder/r/robber_of_the_rich.txt @@ -5,7 +5,7 @@ PT:2/2 K:Reach K:Haste T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | CheckSVar$ X | SVarCompare$ GTY | References$ X,Y | TriggerDescription$ Whenever CARDNAME attacks, if defending player has more cards in hand than you, exile the top card of their library. During any turn you attacked with a Rogue, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. -SVar:TrigExile:DB$ Mill | Defined$ TriggeredDefendingPlayer | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +SVar:TrigExile:DB$ Dig | Defined$ TriggeredDefendingPlayer | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ STPlay | SVars$ Z | SubAbility$ DBCleanup | ExileOnMoved$ Exile | Duration$ Permanent SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Exile | CheckSVar$ Z | References$ Z | Description$ During any turn you attacked with a Rogue, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/r/rona_disciple_of_gix.txt b/forge-gui/res/cardsfolder/r/rona_disciple_of_gix.txt index 1b1f3c8d87a..247897aba7e 100644 --- a/forge-gui/res/cardsfolder/r/rona_disciple_of_gix.txt +++ b/forge-gui/res/cardsfolder/r/rona_disciple_of_gix.txt @@ -9,6 +9,5 @@ T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCar SVar:DBForget:DB$ Pump | Defined$ TriggeredCard | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -A:AB$ Mill | Cost$ 4 T | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SpellDescription$ Exile the top card of your library. -SVar:Picture:http://www.wizards.com/global/images/magic/general/rona_disciple_of_gix.jpg +A:AB$ Dig | Cost$ 4 T | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SpellDescription$ Exile the top card of your library. Oracle:When Rona, Disciple of Gix enters the battlefield, you may exile target historic card from your graveyard. (Artifacts, legendaries, and Sagas are historic.)\nYou may cast nonland cards exiled with Rona.\n{4}, {T}: Exile the top card of your library. diff --git a/forge-gui/res/cardsfolder/s/scalpelexis.txt b/forge-gui/res/cardsfolder/s/scalpelexis.txt index afad11bd59b..96a6b840255 100644 --- a/forge-gui/res/cardsfolder/s/scalpelexis.txt +++ b/forge-gui/res/cardsfolder/s/scalpelexis.txt @@ -3,12 +3,11 @@ ManaCost:4 U Types:Creature Beast PT:1/5 K:Flying -T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top four cards of their library. If two or more of those cards have the same name, repeat this process. -SVar:TrigMill:DB$ Repeat | RepeatSubAbility$ DBMillClean | RepeatCheckSVar$ X | References$ X,Y | RepeatSVarCompare$ LTY | SubAbility$ DBCleanup -SVar:DBMillClean:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBMill -SVar:DBMill:DB$ Mill | Defined$ TriggeredTarget | NumCards$ 4 | Destination$ Exile | RememberMilled$ True +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top four cards of their library. If two or more of those cards have the same name, repeat this process. +SVar:TrigExile:DB$ Repeat | RepeatSubAbility$ DBExileCleanup | RepeatCheckSVar$ X | References$ X,Y | RepeatSVarCompare$ LTY | SubAbility$ DBCleanup +SVar:DBExileCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBExile +SVar:DBExile:DB$ Dig | Defined$ TriggeredTarget | DigNum$ 4 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$DifferentCardNames_Card.IsRemembered SVar:Y:Count$RememberedSize -SVar:Picture:http://www.wizards.com/global/images/magic/general/scalpelexis.jpg Oracle:Flying\nWhenever Scalpelexis deals combat damage to a player, that player exiles the top four cards of their library. If two or more of those cards have the same name, repeat this process. diff --git a/forge-gui/res/cardsfolder/s/scrib_nibblers.txt b/forge-gui/res/cardsfolder/s/scrib_nibblers.txt index ae2eb61e4ec..f58446254bd 100644 --- a/forge-gui/res/cardsfolder/s/scrib_nibblers.txt +++ b/forge-gui/res/cardsfolder/s/scrib_nibblers.txt @@ -2,10 +2,11 @@ Name:Scrib Nibblers ManaCost:2 B Types:Creature Rat PT:1/1 -A:AB$ Mill | Cost$ T | NumCards$ 1 | ValidTgts$ Player | TgtPrompt$ Choose a player | Destination$ Exile | RememberMilled$ True | SubAbility$ DBGainLife | AILogic$ EndOfOppTurn | SpellDescription$ Exile the top card of target player's library. If it's a land card, you gain 1 life. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Land | ConditionCompare$ EQ1 | SubAbility$ DBCleanup +A:AB$ Dig | Cost$ T | DigNum$ 1 | ChangeNum$ All | ValidTgts$ Player | TgtPrompt$ Choose a player | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBGainLife | AILogic$ EndOfOppTurn | SpellDescription$ Exile the top card of target player's library. If it's a land card, you gain 1 life. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Land | ConditionCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigUntap | TriggerDescription$ Landfall — Whenever a land enters the battlefield under your control, you may untap CARDNAME. -SVar:TrigUntap:DB$Untap | Defined$ Self -SVar:Picture:http://www.wizards.com/global/images/magic/general/scrib_nibblers.jpg +SVar:TrigUntap:DB$ Untap | Defined$ Self +DeckHas:Ability$LifeGain +SVar:BuffedBy:Land Oracle:{T}: Exile the top card of target player's library. If it's a land card, you gain 1 life.\nLandfall — Whenever a land enters the battlefield under your control, you may untap Scrib Nibblers. diff --git a/forge-gui/res/cardsfolder/s/search_the_city.txt b/forge-gui/res/cardsfolder/s/search_the_city.txt index ba1a719c53f..a3b05ac8aa1 100644 --- a/forge-gui/res/cardsfolder/s/search_the_city.txt +++ b/forge-gui/res/cardsfolder/s/search_the_city.txt @@ -2,7 +2,7 @@ Name:Search the City ManaCost:4 U Types:Enchantment T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ SetupSearch | TriggerDescription$ When CARDNAME enters the battlefield, exile the top five cards of your library. -SVar:SetupSearch:DB$ Mill | Defined$ You | NumCards$ 5 | Destination$ Exile | RememberMilled$ True | ForgetOtherRemembered$ True +SVar:SetupSearch:DB$ Dig | Defined$ You | DigNum$ 5 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | ForgetOtherRemembered$ True T:Mode$ SpellCast | ValidCard$ Card.sharesNameWith Remembered | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigFind | TriggerDescription$ Whenever you play a card with the same name as one of the exiled cards, you may put one of those cards with that name into its owner's hand. Then if there are no cards exiled with CARDNAME, sacrifice it. If you do, take an extra turn after this one. T:Mode$ LandPlayed | ValidCard$ Land.YouCtrl+sharesNameWith Remembered | TriggerZones$ Battlefield | Execute$ TrigFind | OptionalDecider$ You | Secondary$ True | TriggerDescription$ Whenever you play a card with the same name as one of the exiled cards, you may put one of those cards with that name into its owner's hand. Then if there are no cards exiled with CARDNAME, sacrifice it. If you do, take an extra turn after this one. SVar:TrigFind:DB$ ChangeZone | ChangeType$ TriggeredCard.sharesNameWith | Hidden$ True | TgtPrompt$ Select a card that shares a name with the played card | Origin$ Exile | Destination$ Hand | ChangeNum$ 1 | ForgetChanged$ True | SubAbility$ SacSelf @@ -11,5 +11,4 @@ SVar:AllFoundCelebration:DB$ AddTurn | NumTurns$ 1 | ConditionCheckSVar$ X | Con SVar:StillLooking:Remembered$Amount SVar:X:Remembered$Amount AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/search_the_city.jpg Oracle:When Search the City enters the battlefield, exile the top five cards of your library.\nWhenever you play a card with the same name as one of the exiled cards, you may put one of those cards with that name into its owner's hand. Then if there are no cards exiled with Search the City, sacrifice it. If you do, take an extra turn after this one. diff --git a/forge-gui/res/cardsfolder/s/shared_fate.txt b/forge-gui/res/cardsfolder/s/shared_fate.txt index 323cb0b0ad6..362805bf251 100644 --- a/forge-gui/res/cardsfolder/s/shared_fate.txt +++ b/forge-gui/res/cardsfolder/s/shared_fate.txt @@ -8,11 +8,10 @@ SVar:TrigEffects:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBEf SVar:DBEffect:DB$ Effect | EffectOwner$ Remembered | StaticAbilities$ STPlay | Triggers$ TrigCleanup | ReplacementEffects$ RDraw | SVars$ DBChooseOpp,DBExile,DBCleanup | Duration$ UntilHostLeavesPlay SVar:RDraw:Event$ Draw | ActiveZones$ Command | ValidPlayer$ You | ReplaceWith$ DBChooseOpp | Description$ If you would draw a card, exile the top card of an opponent's library face down instead. SVar:DBChooseOpp:DB$ ChoosePlayer | ChoiceTitle$ Choose an opponent whose top library card to exile | Choices$ Player.Opponent | AILogic$ Curse | SubAbility$ DBExile -SVar:DBExile:DB$ Mill | NumCards$ 1 | Destination$ Exile | ExileFaceDown$ True | Defined$ Player.Chosen | RememberMilled$ True +SVar:DBExile:DB$ Dig | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | ExileFaceDown$ True | Defined$ Player.Chosen | RememberChanged$ True SVar:STPlay:Mode$ Continuous | MayLookAt$ You | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may look at and play cards exiled with Shared Fate. SVar:TrigCleanup:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Exile | Destination$ Any | TriggerZones$ Command | Execute$ DBCleanup | Static$ True SVar:DBCleanup:DB$ Cleanup | ForgetDefined$ TriggeredCard AI:RemoveDeck:All AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/shared_fate.jpg Oracle:If a player would draw a card, that player exiles the top card of an opponent's library face down instead.\nEach player may look at and play cards they exiled with Shared Fate. diff --git a/forge-gui/res/cardsfolder/s/sire_of_stagnation.txt b/forge-gui/res/cardsfolder/s/sire_of_stagnation.txt index 97471aaacfd..e72a02a663a 100644 --- a/forge-gui/res/cardsfolder/s/sire_of_stagnation.txt +++ b/forge-gui/res/cardsfolder/s/sire_of_stagnation.txt @@ -3,8 +3,7 @@ ManaCost:4 U B Types:Creature Eldrazi PT:5/7 K:Devoid -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.OppCtrl | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever a land enters the battlefield under an opponent's control, that player exiles the top two cards of their library and you draw two cards. -SVar:TrigMill:DB$ Mill | Defined$ TriggeredCardController | NumCards$ 2 | Destination$ Exile | SubAbility$ DBDraw -SVar:DBDraw:DB$Draw | NumCards$ 2 -SVar:Picture:http://www.wizards.com/global/images/magic/general/sire_of_stagnation.jpg +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.OppCtrl | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ Whenever a land enters the battlefield under an opponent's control, that player exiles the top two cards of their library and you draw two cards. +SVar:TrigExile:DB$ Dig | Defined$ TriggeredCardController | DigNum$ 2 | ChangeNum$ All | DestinationZone$ Exile | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | NumCards$ 2 Oracle:Devoid (This card has no color.)\nWhenever a land enters the battlefield under an opponent's control, that player exiles the top two cards of their library and you draw two cards. diff --git a/forge-gui/res/cardsfolder/s/spark_of_creativity.txt b/forge-gui/res/cardsfolder/s/spark_of_creativity.txt index a4259ff8fa9..a7e9cb91862 100644 --- a/forge-gui/res/cardsfolder/s/spark_of_creativity.txt +++ b/forge-gui/res/cardsfolder/s/spark_of_creativity.txt @@ -2,7 +2,7 @@ Name:Spark of Creativity ManaCost:R Types:Sorcery A:SP$ Pump | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | AILogic$ Damage | IsCurse$ True | SubAbility$ DBExile | StackDescription$ SpellDescription | SpellDescription$ Choose target creature. Exile the top card of your library. You may have CARDNAME deal damage to that creature equal to the exiled card's converted mana cost. If you don't, you may play that card until end of turn. -SVar:DBExile:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | ShowMilledCards$ True | SubAbility$ DBChoice +SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | Reveal$ True | SubAbility$ DBChoice SVar:DBChoice:DB$ GenericChoice | Defined$ You | Choices$ SparkDamage,SparkPlay | SubAbility$ DBCleanup | AILogic$ CreativitySpark SVar:SparkDamage:DB$ DealDamage | Defined$ ParentTarget | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature. SVar:SparkPlay:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | ExileOnMoved$ Exile | SpellDescription$ You may play exiled card until end of turn. @@ -10,5 +10,4 @@ SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Car SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedCardManaCost AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/spark_of_creativity.jpg Oracle:Choose target creature. Exile the top card of your library. You may have Spark of Creativity deal damage to that creature equal to the exiled card's converted mana cost. If you don't, you may play that card until end of turn. diff --git a/forge-gui/res/cardsfolder/s/stolen_strategy.txt b/forge-gui/res/cardsfolder/s/stolen_strategy.txt index 93d05ae92ae..6130e30a775 100644 --- a/forge-gui/res/cardsfolder/s/stolen_strategy.txt +++ b/forge-gui/res/cardsfolder/s/stolen_strategy.txt @@ -2,11 +2,10 @@ Name:Stolen Strategy ManaCost:4 R Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ At the beginning of your upkeep, exile the top card of each opponent's library. Until end of turn, you may cast nonland cards from among those exiled cards, and you may spend mana as though it were mana of any color to cast those spells. -SVar:TrigExile:DB$ Mill | Defined$ Player.Opponent | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of each opponent's library. Until end of turn, you may cast nonland cards and you may spend mana as though it were mana of any color to cast those spells. +SVar:TrigExile:DB$ Dig | Defined$ Player.Opponent | DigNum$ 1 | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of each opponent's library. Until end of turn, you may cast nonland cards from among those exiled cards, and you may spend mana as though it were mana of any color to cast those spells. SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | Triggers$ TriggerCastDoM | SVars$ TrigRemoveSelf | RememberObjects$ Remembered | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Exile | Description$ Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast it. SVar:TriggerCastDoM:Mode$ SpellCast | ValidCard$ Card.IsRemembered | TriggerZones$ Command | Execute$ TrigRemoveSelf | Static$ True SVar:TrigRemoveSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:https://img.scryfall.com/cards/large/en/bbd/64.jpg Oracle:At the beginning of your upkeep, exile the top card of each opponent's library. Until end of turn, you may cast nonland cards from among those exiled cards, and you may spend mana as though it were mana of any color to cast those spells. diff --git a/forge-gui/res/cardsfolder/s/stromkirk_occultist.txt b/forge-gui/res/cardsfolder/s/stromkirk_occultist.txt index 29ba79128aa..23a8fefd006 100644 --- a/forge-gui/res/cardsfolder/s/stromkirk_occultist.txt +++ b/forge-gui/res/cardsfolder/s/stromkirk_occultist.txt @@ -5,9 +5,8 @@ PT:3/2 K:Trample K:Madness:1 R T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile the top card of your library. Until end of turn, you may play that card. -SVar:TrigExile:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:STPlay:Mode$ Continuous | EffectZone$ Command | Affected$ Card.IsRemembered | MayPlay$ True | AffectedZone$ Exile | Description$ Until end of turn, you may play that card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/stromkirk_occultist.jpg Oracle:Trample\nWhenever Stromkirk Occultist deals combat damage to a player, exile the top card of your library. Until end of turn, you may play that card.\nMadness {1}{R} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.) diff --git a/forge-gui/res/cardsfolder/s/syr_carah_the_bold.txt b/forge-gui/res/cardsfolder/s/syr_carah_the_bold.txt index 9b61fdaf6e2..cc1eef72ed4 100644 --- a/forge-gui/res/cardsfolder/s/syr_carah_the_bold.txt +++ b/forge-gui/res/cardsfolder/s/syr_carah_the_bold.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Legendary Creature Human Knight PT:3/3 T:Mode$ DamageDone | ValidSource$ Spell.Instant+YouCtrl,Spell.Sorcery+YouCtrl,Card.Self | ValidTarget$ Player | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME or an instant or sorcery spell you control deals damage to a player, exile the top card of your library. You may play that card this turn. -SVar:TrigExile:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | Duration$ EndOfTurn | RememberObjects$ Remembered | StaticAbilities$ STPlay | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:STPlay:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play the exiled card. diff --git a/forge-gui/res/cardsfolder/t/tainted_pact.txt b/forge-gui/res/cardsfolder/t/tainted_pact.txt index 587cacb58c8..fe28ad7f1e0 100644 --- a/forge-gui/res/cardsfolder/t/tainted_pact.txt +++ b/forge-gui/res/cardsfolder/t/tainted_pact.txt @@ -3,11 +3,10 @@ ManaCost:1 B Types:Instant A:SP$ Repeat | Cost$ 1 B | RepeatSubAbility$ DBRepeat | RepeatCheckSVar$ TaintedCheck | RepeatSVarCompare$ EQ0 | RepeatDefined$ Imprinted | RepeatPresent$ Card.sharesNameWith Remembered | RepeatCompare$ EQ0 | SubAbility$ DBCleanup | StackDescription$ SpellDescription | SpellDescription$ Exile the top card of your library. You may put that card into your hand unless it has the same name as another card exiled this way. Repeat this process until you put a card into your hand or you exile two cards with the same name, whichever comes first. SVar:DBRepeat:DB$ Pump | RememberObjects$ Imprinted | SubAbility$ DBForget -SVar:DBForget:DB$ Cleanup | ClearImprinted$ True | SubAbility$ DBMill -SVar:DBMill:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | Imprint$ True | SubAbility$ DBReturnToHand +SVar:DBForget:DB$ Cleanup | ClearImprinted$ True | SubAbility$ DBExile +SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | Imprint$ True | SubAbility$ DBReturnToHand SVar:DBReturnToHand:DB$ ChangeZone | ConditionCheckSVar$ CheckName | ConditionSVarCompare$ EQ0 | Origin$ Exile | Destination$ Hand | Defined$ Imprinted | Optional$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:TaintedCheck:Count$ValidHand Card.IsImprinted SVar:CheckName:Imprinted$Valid Card.sharesNameWith Remembered -SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_pact.jpg Oracle:Exile the top card of your library. You may put that card into your hand unless it has the same name as another card exiled this way. Repeat this process until you put a card into your hand or you exile two cards with the same name, whichever comes first. diff --git a/forge-gui/res/cardsfolder/t/talent_of_the_telepath.txt b/forge-gui/res/cardsfolder/t/talent_of_the_telepath.txt index 2bf6862bcb6..3a880a84372 100644 --- a/forge-gui/res/cardsfolder/t/talent_of_the_telepath.txt +++ b/forge-gui/res/cardsfolder/t/talent_of_the_telepath.txt @@ -2,10 +2,9 @@ Name:Talent of the Telepath ManaCost:2 U U Types:Sorcery A:SP$ Dig | Cost$ 2 U U | ValidTgts$ Player.Opponent | TgtPrompt$ Select target opponent | Reveal$ True | NoMove$ True | DigNum$ 7 | RememberRevealed$ True | SubAbility$ TelepathCast | SpellDescription$ Target opponent reveals the top seven cards of their library. You may cast an instant or sorcery card from among them without paying its mana cost. Then that player puts the rest into their graveyard. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, you may cast up to two revealed instant and/or sorcery cards instead of one. -SVar:TelepathCast:DB$ Play | ValidZone$ Library | Valid$ Instant.IsRemembered,Sorcery.IsRemembered | Controller$ You | WithoutManaCost$ True | Optional$ True | References$ X,Y | Amount$ X | SubAbility$ MillRevealed -SVar:MillRevealed:DB$ ChangeZone | Origin$ Library | Destination$ Graveyard | Defined$ Remembered +SVar:TelepathCast:DB$ Play | ValidZone$ Library | Valid$ Instant.IsRemembered,Sorcery.IsRemembered | Controller$ You | WithoutManaCost$ True | Optional$ True | References$ X,Y | Amount$ X | SubAbility$ DBChangeZone +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Graveyard | Defined$ Remembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Compare Y GE2.2.1 SVar:Y:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn -SVar:Picture:http://www.wizards.com/global/images/magic/general/talent_of_the_telepath.jpg Oracle:Target opponent reveals the top seven cards of their library. You may cast an instant or sorcery card from among them without paying its mana cost. Then that player puts the rest into their graveyard.\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, you may cast up to two revealed instant and/or sorcery cards instead of one. diff --git a/forge-gui/res/cardsfolder/t/tectonic_giant.txt b/forge-gui/res/cardsfolder/t/tectonic_giant.txt index e264479e8fe..598e98df794 100755 --- a/forge-gui/res/cardsfolder/t/tectonic_giant.txt +++ b/forge-gui/res/cardsfolder/t/tectonic_giant.txt @@ -6,7 +6,7 @@ T:Mode$ Attacks | ValidCard$ Card.Self | ValidSource$ Card.OppCtrl | Execute$ Tr T:Mode$ BecomesTarget | ValidTarget$ Card.Self | ValidSource$ Spell.OppCtrl | TriggerZones$ Battlefield | Execute$ TrigChoose | Secondary$ True | TriggerDescription$ Whenever CARDNAME attacks or becomes the target of a spell an opponent controls, ABILITY SVar:TrigChoose:DB$ Charm | Choices$ DBDamage,DBExilePlay SVar:DBDamage:DB$ DamageAll | ValidPlayers$ Player.Opponent | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to each opponent. -SVar:DBExilePlay:DB$ Mill | Defined$ You | NumCards$ 2 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBChoose | SpellDescription$ Exile the top two cards of your library. Choose one of them. Until the end of your next turn, you may play that card. +SVar:DBExilePlay:DB$ Dig | Defined$ You | DigNum$ 2 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBChoose | SpellDescription$ Exile the top two cards of your library. Choose one of them. Until the end of your next turn, you may play that card. SVar:DBChoose:DB$ ChooseCard | Choices$ Card.IsRemembered | ChoiceZone$ Exile | Defined$ You | RememberChosen$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ ChosenCard | ForgetOnMoved$ Exile | StaticAbilities$ Play | Duration$ UntilTheEndOfYourNextTurn | SubAbility$ DBCleanup SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ Until the end of your next turn, you may play this card. diff --git a/forge-gui/res/cardsfolder/t/tezzeret_master_of_the_bridge.txt b/forge-gui/res/cardsfolder/t/tezzeret_master_of_the_bridge.txt index 2bbd198d9f7..c5870cf282f 100644 --- a/forge-gui/res/cardsfolder/t/tezzeret_master_of_the_bridge.txt +++ b/forge-gui/res/cardsfolder/t/tezzeret_master_of_the_bridge.txt @@ -6,10 +6,10 @@ S:Mode$ Continuous | Affected$ Card.Creature+YouCtrl,Card.Planeswalker+YouCtrl | A:AB$ DealDamage | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | Defined$ Player.Opponent | NumDmg$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to each opponent, where X is the number of artifacts you control. You gain X life. SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X A:AB$ ChangeZone | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | TgtPrompt$ Choose target artifact card in your graveyard | ValidTgts$ Artifact.YouCtrl | Origin$ Graveyard | Destination$ Hand | SpellDescription$ Return target artifact card from your graveyard to your hand. -A:AB$ Mill | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Defined$ You | NumCards$ 10 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBChangeZoneAll | SpellDescription$ Exile the top ten cards of your library. Put all artifact cards from among them onto the battlefield. +A:AB$ Dig | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Defined$ You | DigNum$ 10 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBChangeZoneAll | SpellDescription$ Exile the top ten cards of your library. Put all artifact cards from among them onto the battlefield. SVar:DBChangeZoneAll:DB$ ChangeZoneAll | ChangeType$ Artifact.IsRemembered | Origin$ Exile | Destination$ Battlefield | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Artifact.YouCtrl DeckHints:Type$Artifact DeckHas:Ability$LifeGain -Oracle:Creature and planeswalker spells you cast have affinity for artifacts.\n[+2]: Tezzeret, Master of the Bridge deals X damage to each opponent, where X is the number of artifacts you control. You gain X life.\n[-3]: Return target artifact card from your graveyard to your hand.\n[-8]: Exile the top ten cards of your library. Put all artifact cards from among them onto the battlefield. \ No newline at end of file +Oracle:Creature and planeswalker spells you cast have affinity for artifacts.\n[+2]: Tezzeret, Master of the Bridge deals X damage to each opponent, where X is the number of artifacts you control. You gain X life.\n[-3]: Return target artifact card from your graveyard to your hand.\n[-8]: Exile the top ten cards of your library. Put all artifact cards from among them onto the battlefield. diff --git a/forge-gui/res/cardsfolder/t/theater_of_horrors.txt b/forge-gui/res/cardsfolder/t/theater_of_horrors.txt index dad6ad692eb..8d2eca532f5 100644 --- a/forge-gui/res/cardsfolder/t/theater_of_horrors.txt +++ b/forge-gui/res/cardsfolder/t/theater_of_horrors.txt @@ -1,8 +1,8 @@ Name:Theater of Horrors ManaCost:1 B R Types:Enchantment -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, exile the top card of your library. -SVar:TrigMill:DB$ Mill | Defined$ You | Destination$ Exile | NumCards$ 1 | RememberMilled$ True +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, exile the top card of your library. +SVar:TrigExile:DB$ Dig | Defined$ You | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All | RememberChanged$ True S:Mode$ Continuous | Affected$ Card.IsRemembered | AffectedZone$ Exile | MayPlay$ True | Condition$ PlayerTurn | CheckSVar$ X | References$ X | Description$ During your turn, if an opponent lost life this turn, you may play cards exiled with CARDNAME. SVar:X:Count$LifeOppsLostThisTurn T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered | Execute$ DBForget @@ -10,4 +10,4 @@ SVar:DBForget:DB$ Pump | Defined$ TriggeredCard | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True A:AB$ DealDamage | Cost$ 3 R | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target opponent or planeswalker. -Oracle:At the beginning of your upkeep, exile the top card of your library.\nDuring your turn, if an opponent lost life this turn, you may play cards exiled with Theater of Horrors.\n{3}{R}: Theater of Horrors deals 1 damage to target opponent or planeswalker. \ No newline at end of file +Oracle:At the beginning of your upkeep, exile the top card of your library.\nDuring your turn, if an opponent lost life this turn, you may play cards exiled with Theater of Horrors.\n{3}{R}: Theater of Horrors deals 1 damage to target opponent or planeswalker. diff --git a/forge-gui/res/cardsfolder/t/thought_harvester.txt b/forge-gui/res/cardsfolder/t/thought_harvester.txt index bbdc94010fc..9885ef971f1 100644 --- a/forge-gui/res/cardsfolder/t/thought_harvester.txt +++ b/forge-gui/res/cardsfolder/t/thought_harvester.txt @@ -4,9 +4,8 @@ Types:Creature Eldrazi Drone PT:2/4 K:Devoid K:Flying -T:Mode$ SpellCast | ValidCard$ Card.Colorless | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever you cast a colorless spell, target opponent exiles the top card of their library. -SVar:TrigMill:DB$ Mill | NumCards$ 1 | Destination$ Exile | ValidTgts$ Opponent | TgtPrompt$ Choose the target opponent +T:Mode$ SpellCast | ValidCard$ Card.Colorless | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ Whenever you cast a colorless spell, target opponent exiles the top card of their library. +SVar:TrigExile:DB$ Dig | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | ValidTgts$ Opponent | TgtPrompt$ Choose target opponent SVar:BuffedBy:Card.Colorless DeckHints:Color$Colorless -SVar:Picture:http://www.wizards.com/global/images/magic/general/thought_harvester.jpg Oracle:Devoid (This card has no color.)\nFlying\nWhenever you cast a colorless spell, target opponent exiles the top card of their library. diff --git a/forge-gui/res/cardsfolder/t/three_wishes.txt b/forge-gui/res/cardsfolder/t/three_wishes.txt index 6d93463fb6e..4acde64144c 100644 --- a/forge-gui/res/cardsfolder/t/three_wishes.txt +++ b/forge-gui/res/cardsfolder/t/three_wishes.txt @@ -1,7 +1,7 @@ Name:Three Wishes ManaCost:1 U U Types:Instant -A:SP$ Mill | Cost$ 1 U U | NumCards$ 3 | Destination$ Exile | ExileFaceDown$ True | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top three cards of your library face down. You may look at those cards for as long as they remain exiled. Until your next turn, you may play those cards. At the beginning of your next upkeep, put any of those cards you didn't play into your graveyard. +A:SP$ Dig | Cost$ 1 U U | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | ExileFaceDown$ True | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top three cards of your library face down. You may look at those cards for as long as they remain exiled. Until your next turn, you may play those cards. At the beginning of your next upkeep, put any of those cards you didn't play into your graveyard. SVar:DBEffect:DB$ Effect | Name$ Three Wishes Effect | RememberObjects$ Remembered | StaticAbilities$ STCanLookAtMayPlay | Duration$ UntilYourNextTurn | SubAbility$ DBDelTrig SVar:STCanLookAtMayPlay:Mode$ Continuous | MayLookAt$ You | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may look at those cards for as long as they remain exiled. Until your next turn, you may play those cards. SVar:DBDelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ MoveToYard | RememberObjects$ Remembered | TriggerDescription$ At the beginning of your next upkeep, put any of those cards you didn't play into your graveyard. | SubAbility$ DBCleanup @@ -9,5 +9,4 @@ SVar:MoveToYard:DB$ ChangeZone | Origin$ Exile | Destination$ Graveyard | Define SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/three_wishes.jpg Oracle:Exile the top three cards of your library face down. You may look at those cards for as long as they remain exiled. Until your next turn, you may play those cards. At the beginning of your next upkeep, put any of those cards you didn't play into your graveyard. diff --git a/forge-gui/res/cardsfolder/t/timesifter.txt b/forge-gui/res/cardsfolder/t/timesifter.txt index 552a833fb73..ec8b114199e 100644 --- a/forge-gui/res/cardsfolder/t/timesifter.txt +++ b/forge-gui/res/cardsfolder/t/timesifter.txt @@ -2,16 +2,15 @@ Name:Timesifter ManaCost:5 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each upkeep, each player exiles the top card of their library. The player who exiled the card with the highest converted mana cost takes an extra turn after this one. If two or more players' cards are tied for highest cost, the tied players repeat this process until the tie is broken. -SVar:TrigExile:DB$ Mill | Defined$ Player | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ FindHighestCMCFirst +SVar:TrigExile:DB$ Dig | Defined$ Player | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ FindHighestCMCFirst SVar:FindHighestCMCFirst:DB$ Pump | ImprintCards$ ValidAll Card.greatestRememberedCMC | SubAbility$ FindOne SVar:FindOne:DB$ Repeat | RepeatCheckSVar$ X | References$ X | RepeatSVarCompare$ GE2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | RepeatSubAbility$ DBClear | SubAbility$ DBAddTurn SVar:DBClear:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBExile -SVar:DBExile:DB$ Mill | Defined$ ImprintedController | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ ClearImprint +SVar:DBExile:DB$ Dig | Defined$ ImprintedController | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ ClearImprint SVar:ClearImprint:DB$ Cleanup | ClearImprinted$ True | SubAbility$ FindHighestCMC SVar:FindHighestCMC:DB$ Pump | ImprintCards$ ValidAll Card.greatestRememberedCMC SVar:X:Count$ValidExile Card.IsImprinted SVar:DBAddTurn:DB$ AddTurn | Defined$ ImprintedController | NumTurns$ 1 | ShowMessage$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True AI:RemoveDeck:Random -SVar:Picture:http://www.wizards.com/global/images/magic/general/timesifter.jpg Oracle:At the beginning of each upkeep, each player exiles the top card of their library. The player who exiled the card with the highest converted mana cost takes an extra turn after this one. If two or more players' cards are tied for highest cost, the tied players repeat this process until the tie is broken. diff --git a/forge-gui/res/cardsfolder/t/timmerian_fiends.txt b/forge-gui/res/cardsfolder/t/timmerian_fiends.txt index 1e3a6d7dfc8..363f71c8392 100644 --- a/forge-gui/res/cardsfolder/t/timmerian_fiends.txt +++ b/forge-gui/res/cardsfolder/t/timmerian_fiends.txt @@ -4,7 +4,7 @@ Types:Creature Horror PT:1/1 K:Remove CARDNAME from your deck before playing if you're not playing for ante. A:AB$ Pump | Cost$ B B B Sac<1/CARDNAME> | ValidTgts$ Artifact | SubAbility$ DBAnte | ImprintCards$ Targeted | RememberObjects$ TargetedController | StackDescription$ SpellDescription | SpellDescription$ The owner of target artifact may ante the top card of their library. If that player doesn't, exchange ownership of that artifact and CARDNAME. Put the artifact card into your graveyard and CARDNAME from anywhere into that player's graveyard. This change in ownership is permanent. -SVar:DBAnte:DB$ Mill | Defined$ Player.IsRemembered | Destination$ Ante | NumCards$ 1 | RememberMilled$ True | Optional$ True | SubAbility$ ExchangeOwn1 | AILogic$ TimmerianFiends | StackDescription$ None +SVar:DBAnte:DB$ Dig | Defined$ Player.IsRemembered | DestinationZone$ Ante | DigNum$ 1 | ChangeNum$ All | RememberChanged$ True | Optional$ True | SubAbility$ ExchangeOwn1 | AILogic$ TimmerianFiends | StackDescription$ None SVar:ExchangeOwn1:DB$ GainOwnership | Defined$ Imprinted | DefinedPlayer$ You | SubAbility$ ToGrave1 | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ0 SVar:ToGrave1:DB$ ChangeZone | Defined$ Imprinted | Origin$ Battlefield | Destination$ Graveyard | SubAbility$ ExchangeOwn2 | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ0 | StackDescription$ None SVar:ExchangeOwn2:DB$ GainOwnership | Defined$ Self | DefinedPlayer$ Remembered | SubAbility$ ToGrave | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ0 diff --git a/forge-gui/res/cardsfolder/u/uba_mask.txt b/forge-gui/res/cardsfolder/u/uba_mask.txt index 2ef5eb2d3d2..064cad761f4 100644 --- a/forge-gui/res/cardsfolder/u/uba_mask.txt +++ b/forge-gui/res/cardsfolder/u/uba_mask.txt @@ -2,9 +2,8 @@ Name:Uba Mask ManaCost:4 Types:Artifact R:Event$ Draw | ActiveZones$ Battlefield | ValidPlayer$ Player | ReplaceWith$ ExileTop | Description$ If a player would draw a card, that player exiles that card face up instead. Each player may play cards they exiled with CARDNAME this turn. -SVar:ExileTop:DB$ Mill | Defined$ ReplacedPlayer | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | NoReveal$ True | SubAbility$ DBEffect +SVar:ExileTop:DB$ Dig | Defined$ ReplacedPlayer | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | NoReveal$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | EffectOwner$ ReplacedPlayer | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:http://www.wizards.com/global/images/magic/general/uba_mask.jpg Oracle:If a player would draw a card, that player exiles that card face up instead.\nEach player may play cards they exiled with Uba Mask this turn. diff --git a/forge-gui/res/cardsfolder/u/ugin_the_ineffable.txt b/forge-gui/res/cardsfolder/u/ugin_the_ineffable.txt index 9867e0bba09..3f1ab87efb4 100644 --- a/forge-gui/res/cardsfolder/u/ugin_the_ineffable.txt +++ b/forge-gui/res/cardsfolder/u/ugin_the_ineffable.txt @@ -3,8 +3,8 @@ ManaCost:6 Types:Legendary Planeswalker Ugin Loyalty:4 S:Mode$ ReduceCost | ValidCard$ Card.Colorless | Type$ Spell | Activator$ You | Amount$ 2 | Description$ Colorless spells you cast cost {2} less to cast. -A:AB$ PeekAndReveal | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | PeekAmount$ 1 | NoReveal$ True | SubAbility$ DBMill | StackDescription$ SpellDescription | SpellDescription$ Exile the top card of your library face down and look at it. Create a 2/2 colorless Spirit creature token. When that token leaves the battlefield, put the exiled card into your hand. -SVar:DBMill:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | ExileFaceDown$ True | NoReveal$ True | SubAbility$ DBToken +A:AB$ PeekAndReveal | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | PeekAmount$ 1 | NoReveal$ True | SubAbility$ DBExile | StackDescription$ SpellDescription | SpellDescription$ Exile the top card of your library face down and look at it. Create a 2/2 colorless Spirit creature token. When that token leaves the battlefield, put the exiled card into your hand. +SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | ExileFaceDown$ True | NoReveal$ True | SubAbility$ DBToken SVar:DBToken:DB$ Token | TokenScript$ c_2_2_spirit | ImprintTokens$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | Triggers$ TrigLeavesBattlefield | SVars$ DBReturn,DBExile | RememberObjects$ Remembered | ImprintCards$ Imprinted | Duration$ Permanent | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True @@ -13,4 +13,5 @@ SVar:DBReturn:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Hand | ChangeType SVar:DBExile:DB$ ChangeZoneAll | Origin$ Command | Destination$ Exile | ChangeType$ Card.Self A:AB$ Destroy | Cost$ SubCounter<3/LOYALTY> | ValidTgts$ Permanent.nonColorless | TgtPrompt$ Select target permanent that's one or more colors | Planeswalker$ True | SpellDescription$ Destroy target permanent that's one or more colors. DeckHas:Ability$Token -Oracle:Colorless spells you cast cost {2} less to cast.\n+1: Exile the top card of your library face down and look at it. Create a 2/2 colorless Spirit creature token. When that token leaves the battlefield, put the exiled card into your hand.\n−3: Destroy target permanent that's one or more colors. \ No newline at end of file +DeckHints:Color$Colorless +Oracle:Colorless spells you cast cost {2} less to cast.\n[+1]: Exile the top card of your library face down and look at it. Create a 2/2 colorless Spirit creature token. When that token leaves the battlefield, put the exiled card into your hand.\n[−3]: Destroy target permanent that's one or more colors. diff --git a/forge-gui/res/cardsfolder/u/ulamog_the_ceaseless_hunger.txt b/forge-gui/res/cardsfolder/u/ulamog_the_ceaseless_hunger.txt index 2b555ce4105..fd844f9c2aa 100644 --- a/forge-gui/res/cardsfolder/u/ulamog_the_ceaseless_hunger.txt +++ b/forge-gui/res/cardsfolder/u/ulamog_the_ceaseless_hunger.txt @@ -5,9 +5,8 @@ PT:10/10 T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ When you cast CARDNAME, exile two target permanents. SVar:TrigChange:DB$ ChangeZone | ValidTgts$ Permanent | TargetMin$ 2 | TargetMax$ 2 | Origin$ Battlefield | Destination$ Exile K:Indestructible -T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever CARDNAME attacks, defending player exiles the top twenty cards of their library. -SVar:TrigMill:DB$ Mill | Defined$ TriggeredDefendingPlayer | Destination$ Exile | NumCards$ 20 +T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME attacks, defending player exiles the top twenty cards of their library. +SVar:TrigExile:DB$ Dig | Defined$ TriggeredDefendingPlayer | DestinationZone$ Exile | DigNum$ 20 | ChangeNum$ All SVar:PlayMain1:TRUE SVar:HasAttackEffect:TRUE -SVar:Picture:http://www.wizards.com/global/images/magic/general/ulamog_the_ceaseless_hunger.jpg -Oracle:When you cast Ulamog, the Ceaseless Hunger, exile two target permanents.\nIndestructible\nWhenever Ulamog attacks, defending player exiles the top twenty cards of their library. \ No newline at end of file +Oracle:When you cast Ulamog, the Ceaseless Hunger, exile two target permanents.\nIndestructible\nWhenever Ulamog attacks, defending player exiles the top twenty cards of their library. diff --git a/forge-gui/res/cardsfolder/u/urza_lord_high_artificer.txt b/forge-gui/res/cardsfolder/u/urza_lord_high_artificer.txt index bd94d3fab77..1703956d7b1 100644 --- a/forge-gui/res/cardsfolder/u/urza_lord_high_artificer.txt +++ b/forge-gui/res/cardsfolder/u/urza_lord_high_artificer.txt @@ -5,10 +5,11 @@ PT:1/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigUrzaConstruct | TriggerDescription$ When CARDNAME enters the battlefield, create a 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control." SVar:TrigUrzaConstruct:DB$ Token | TokenScript$ c_0_0_a_construct_total_artifacts | TokenOwner$ You | LegacyImage$ c 0 0 a construct total artifacts mh1 A:AB$ Mana | Cost$ tapXType<1/Artifact> | Produced$ U | SpellDescription$ Add {U}. -A:AB$ Shuffle | Cost$ 5 | Defined$ You | AILogic$ OwnMain2 | SubAbility$ DBMill | SpellDescription$ Shuffle your library, then exile the top card. Until end of turn, you may play that card without paying its mana cost. -SVar:DBMill:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +A:AB$ Shuffle | Cost$ 5 | Defined$ You | AILogic$ OwnMain2 | SubAbility$ DBExile | SpellDescription$ Shuffle your library, then exile the top card. Until end of turn, you may play that card without paying its mana cost. +SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ DBPlay | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:DBPlay:Mode$ Continuous | MayPlay$ True | MayPlayWithoutManaCost$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play the exiled card without paying its mana cost. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True DeckHas:Ability$Token +DeckHints:Type$Artifact Oracle:When Urza, Lord High Artificer enters the battlefield, create a 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control."\nTap an untapped artifact you control: Add {U}.\n{5}: Shuffle your library, then exile the top card. Until end of turn, you may play that card without paying its mana cost. diff --git a/forge-gui/res/cardsfolder/v/vances_blasting_cannons_spitfire_bastion.txt b/forge-gui/res/cardsfolder/v/vances_blasting_cannons_spitfire_bastion.txt index ad618629875..b1540db3d1d 100644 --- a/forge-gui/res/cardsfolder/v/vances_blasting_cannons_spitfire_bastion.txt +++ b/forge-gui/res/cardsfolder/v/vances_blasting_cannons_spitfire_bastion.txt @@ -1,8 +1,8 @@ Name:Vance's Blasting Cannons ManaCost:3 R Types:Legendary Enchantment -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ At the beginning of your upkeep, exile the top card of your library. If it's a nonland card, you may cast that card this turn. -SVar:TrigMill:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBEffect +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ At the beginning of your upkeep, exile the top card of your library. If it's a nonland card, you may cast that card this turn. +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | ConditionDefined$ RememberedCard | ConditionPresent$ Card.nonLand | ConditionCompare$ EQ1 | StaticAbilities$ Play | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may cast the remembered nonland card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True @@ -10,7 +10,6 @@ T:Mode$ SpellCast | ValidCard$ Card.YouCtrl | TriggerZones$ Battlefield | Execut SVar:TrigTransform:DB$ SetState | Defined$ Self | Mode$ Transform | AILogic$ Always SVar:YouCastThisTurn:Count$ThisTurnCast_Card.YouCtrl AlternateMode:DoubleFaced -SVar:Picture:http://www.wizards.com/global/images/magic/general/vances_blasting_cannons.jpg Oracle:At the beginning of your upkeep, exile the top card of your library. If it's a nonland card, you may cast that card this turn.\nWhenever you cast your third spell in a turn, you may transform Vance's Blasting Cannons. ALTERNATE @@ -20,5 +19,4 @@ ManaCost:no cost Types:Legendary Land A:AB$ Mana | Cost$ T | Produced$ R | Amount$ 1 | SpellDescription$ Add {R}. A:AB$ DealDamage | Cost$ 2 R T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to any target. -SVar:Picture:http://www.wizards.com/global/images/magic/general/spitfire_bastion.jpg Oracle:(Transforms from Vance's Blasting Cannons.)\n{T}: Add {R}.\n{2}{R}, {T}: Spitfire Bastion deals 3 damage to any target. diff --git a/forge-gui/res/cardsfolder/v/villainous_wealth.txt b/forge-gui/res/cardsfolder/v/villainous_wealth.txt index 2980f57ab1d..01f8a774d55 100644 --- a/forge-gui/res/cardsfolder/v/villainous_wealth.txt +++ b/forge-gui/res/cardsfolder/v/villainous_wealth.txt @@ -1,9 +1,8 @@ Name:Villainous Wealth ManaCost:X B G U Types:Sorcery -A:SP$ Mill | Cost$ X B G U | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumCards$ X | References$ X | Destination$ Exile | RememberMilled$ True | SubAbility$ DBPlay | SpellDescription$ Target opponent exiles the top X cards of their library. You may cast any number of nonland cards with converted mana cost X or less from among them without paying their mana costs. +A:SP$ Dig | Cost$ X B G U | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ X | ChangNum$ All | References$ X | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPlay | SpellDescription$ Target opponent exiles the top X cards of their library. You may cast any number of nonland cards with converted mana cost X or less from among them without paying their mana costs. SVar:DBPlay:DB$ Play | WithoutManaCost$ True | ValidZone$ Exile | Valid$ Card.nonLand+cmcLEX+IsRemembered | Amount$ All | Optional$ True | References$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid -SVar:Picture:http://www.wizards.com/global/images/magic/general/villainous_wealth.jpg Oracle:Target opponent exiles the top X cards of their library. You may cast any number of nonland cards with converted mana cost X or less from among them without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/w/when_will_you_learn.txt b/forge-gui/res/cardsfolder/w/when_will_you_learn.txt index ec424ab751b..e3fc7e1cbe8 100644 --- a/forge-gui/res/cardsfolder/w/when_will_you_learn.txt +++ b/forge-gui/res/cardsfolder/w/when_will_you_learn.txt @@ -2,8 +2,7 @@ Name:When Will You Learn? ManaCost:no cost Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ DBExile | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, each opponent exiles the top card of their library. You may cast any number of nonland cards exiled this way without paying their mana costs. -SVar:DBExile:DB$ Mill | Defined$ Player.Opponent | Destination$ Exile | NumCards$ 1 | RememberMilled$ True | SubAbility$ DBPlay +SVar:DBExile:DB$ Dig | Defined$ Player.Opponent | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All | RememberChanged$ True | SubAbility$ DBPlay SVar:DBPlay:DB$ Play | Valid$ Card.IsRemembered+nonLand | ValidZone$ Exile | Controller$ You | WithoutManaCost$ True | Amount$ All | Optional$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/When Will You Learn.full.jpg -Oracle:When you set this scheme in motion, each opponent exiles the top card of their library. You may cast any number of nonland cards exiled this way without paying their mana costs. \ No newline at end of file +Oracle:When you set this scheme in motion, each opponent exiles the top card of their library. You may cast any number of nonland cards exiled this way without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/x/xenagos_the_reveler.txt b/forge-gui/res/cardsfolder/x/xenagos_the_reveler.txt index 969d25aa5fe..d48bbdcb3b3 100644 --- a/forge-gui/res/cardsfolder/x/xenagos_the_reveler.txt +++ b/forge-gui/res/cardsfolder/x/xenagos_the_reveler.txt @@ -4,11 +4,11 @@ Types:Legendary Planeswalker Xenagos Loyalty:3 A:AB$ Mana | Cost$ AddCounter<1/LOYALTY> | Amount$ X | Produced$ Combo R G | Planeswalker$ True | References$ X | SpellDescription$ Add X mana in any combination of {R} and/or {G}, where X is the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl -A:AB$ Token | Cost$ AddCounter<0/LOYALTY> | TokenAmount$ 1 | TokenScript$ rg_2_2_satyr_haste | TokenOwner$ You | Planeswalker$ True | LegacyImage$ rg 2 2 satyr haste ths | SpellDescription$ Create a 2/2 red and green Satyr creature token with haste. -A:AB$ Mill | Cost$ SubCounter<6/LOYALTY> | NumCards$ 7 | Destination$ Exile | RememberMilled$ True | Planeswalker$ True | Ultimate$ True | SubAbility$ DBChangeZone | SpellDescription$ Exile the top seven cards of your library. You may put any number of creature and/or land cards from among them onto the battlefield. +A:AB$ Token | Cost$ AddCounter<0/LOYALTY> | TokenAmount$ 1 | TokenScript$ rg_2_2_satyr_haste | TokenOwner$ You | Planeswalker$ True | SpellDescription$ Create a 2/2 red and green Satyr creature token with haste. +A:AB$ Dig | Cost$ SubCounter<6/LOYALTY> | DigNum$ 7 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | Planeswalker$ True | Ultimate$ True | SubAbility$ DBChangeZone | SpellDescription$ Exile the top seven cards of your library. You may put any number of creature and/or land cards from among them onto the battlefield. SVar:DBChangeZone:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | ChangeType$ Creature.IsRemembered,Land.IsRemembered | Hidden$ True | ChangeNum$ Y | References$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Count$ValidExile Creature.IsRemembered,Land.IsRemembered AI:RemoveDeck:All -SVar:Picture:http://www.wizards.com/global/images/magic/general/xenagos_the_reveler.jpg +DeckHas:Ability$Token Oracle:[+1]: Add X mana in any combination of {R} and/or {G}, where X is the number of creatures you control.\n[0]: Create a 2/2 red and green Satyr creature token with haste.\n[-6]: Exile the top seven cards of your library. You may put any number of creature and/or land cards from among them onto the battlefield. diff --git a/forge-gui/res/tokenscripts/ub_2_3_nightmare_mill.txt b/forge-gui/res/tokenscripts/ub_2_3_nightmare_mill.txt index 397a3a5380f..ee573892ab8 100644 --- a/forge-gui/res/tokenscripts/ub_2_3_nightmare_mill.txt +++ b/forge-gui/res/tokenscripts/ub_2_3_nightmare_mill.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Creature Nightmare Colors:blue,black PT:2/3 -T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBMill | TriggerDescription$ Whenever this creature attacks or blocks, each opponent exiles the top two cards of their library. -T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ DBMill | Secondary$ True | TriggerDescription$ Whenever this creature attacks or blocks, each opponent exiles the top two cards of their library. -SVar:DBMill:DB$ Mill | Defined$ Player.Opponent | NumCards$ 2 | Destination$ Exile +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBExile | TriggerDescription$ Whenever this creature attacks or blocks, each opponent exiles the top two cards of their library. +T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ DBExile | Secondary$ True | TriggerDescription$ Whenever this creature attacks or blocks, each opponent exiles the top two cards of their library. +SVar:DBExile:DB$ Dig | Defined$ Player.Opponent | DigNum$ 2 | ChangNum$ All | DestinationZone$ Exile Oracle:Whenever this creature attacks or blocks, each opponent exiles the top two cards of their library.