From 48c09149ef28ab9cdf2a4f6dc30a2f7bb807e8dd Mon Sep 17 00:00:00 2001 From: swordshine Date: Mon, 28 Jan 2013 00:51:54 +0000 Subject: [PATCH] - Added Nightveil Specter - Converted cards with etbReplacements "as...enters the battlefield" --- .gitattributes | 1 + res/cardsfolder/a/adaptive_automaton.txt | 4 ++-- res/cardsfolder/a/alloy_golem.txt | 4 ++-- res/cardsfolder/a/an_zerrin_ruins.txt | 4 ++-- res/cardsfolder/a/arsenal_thresher.txt | 4 ++-- res/cardsfolder/a/ashes_of_the_fallen.txt | 4 ++-- res/cardsfolder/b/belbes_portal.txt | 4 ++-- res/cardsfolder/b/black_vise.txt | 4 ++-- res/cardsfolder/b/booby_trap.txt | 4 ++-- res/cardsfolder/b/brass_herald.txt | 4 ++-- res/cardsfolder/c/cavern_of_souls.txt | 4 ++-- res/cardsfolder/c/chameleon_spirit.txt | 4 ++-- res/cardsfolder/c/cho_mannos_blessing.txt | 4 ++-- res/cardsfolder/c/chromatic_armor.txt | 4 ++-- res/cardsfolder/c/circle_of_affliction.txt | 4 ++-- res/cardsfolder/c/circle_of_solace.txt | 4 ++-- res/cardsfolder/c/cloud_key.txt | 4 ++-- res/cardsfolder/c/coldsteel_heart.txt | 4 ++-- res/cardsfolder/c/conspiracy.txt | 4 ++-- res/cardsfolder/c/convincing_mirage.txt | 4 ++-- res/cardsfolder/c/cover_of_darkness.txt | 4 ++-- res/cardsfolder/c/curse_of_wizardry.txt | 4 ++-- res/cardsfolder/c/cursed_rack.txt | 4 ++-- res/cardsfolder/d/declaration_of_naught.txt | 4 ++-- res/cardsfolder/d/doom_cannon.txt | 4 ++-- res/cardsfolder/d/door_of_destinies.txt | 4 ++-- res/cardsfolder/d/dracoplasm.txt | 4 ++-- res/cardsfolder/e/energy_vortex.txt | 4 ++-- res/cardsfolder/e/engineered_plague.txt | 4 ++-- res/cardsfolder/e/entropic_specter.txt | 4 ++-- res/cardsfolder/f/flickering_ward.txt | 4 ++-- res/cardsfolder/f/floating_shield.txt | 4 ++-- res/cardsfolder/h/haunting_apparition.txt | 4 ++-- res/cardsfolder/h/heightened_awareness.txt | 4 ++-- res/cardsfolder/i/iona_shield_of_emeria.txt | 4 ++-- res/cardsfolder/i/ixidron.txt | 4 ++-- res/cardsfolder/j/jeweled_torque.txt | 4 ++-- res/cardsfolder/j/jihad.txt | 5 +++-- res/cardsfolder/l/lost_order_of_jarkeld.txt | 4 ++-- res/cardsfolder/l/lurebound_scarecrow.txt | 4 ++-- res/cardsfolder/m/meddling_mage.txt | 4 ++-- res/cardsfolder/n/nevermore.txt | 4 ++-- res/cardsfolder/n/nightveil_specter.txt | 18 ++++++++++++++++++ res/cardsfolder/n/nyxathid.txt | 4 ++-- res/cardsfolder/o/order_of_the_stars.txt | 4 ++-- res/cardsfolder/o/overlaid_terrain.txt | 4 ++-- res/cardsfolder/p/pallimud.txt | 4 ++-- res/cardsfolder/p/paradise_plume.txt | 4 ++-- res/cardsfolder/p/pentarch_paladin.txt | 4 ++-- res/cardsfolder/p/pentarch_ward.txt | 4 ++-- res/cardsfolder/p/phantasmal_terrain.txt | 4 ++-- res/cardsfolder/p/phylactery_lich.txt | 4 ++-- res/cardsfolder/p/phyrexian_revoker.txt | 4 ++-- res/cardsfolder/p/pithing_needle.txt | 4 ++-- res/cardsfolder/p/prismatic_circle.txt | 4 ++-- res/cardsfolder/p/prismatic_ward.txt | 4 ++-- res/cardsfolder/q/quirion_elves.txt | 4 ++-- res/cardsfolder/r/riders_of_gavony.txt | 4 ++-- res/cardsfolder/r/riptide_replicator.txt | 4 ++-- res/cardsfolder/r/roots_of_life.txt | 4 ++-- .../s/sarpadian_empires_vol_vii.txt | 4 ++-- res/cardsfolder/s/shared_triumph.txt | 4 ++-- res/cardsfolder/s/shifting_sky.txt | 4 ++-- res/cardsfolder/s/shimmer.txt | 4 ++-- res/cardsfolder/s/silhana_starfletcher.txt | 4 ++-- res/cardsfolder/s/skyshroud_war_beast.txt | 4 ++-- res/cardsfolder/s/sol_grail.txt | 4 ++-- res/cardsfolder/s/steely_resolve.txt | 4 ++-- res/cardsfolder/s/story_circle.txt | 4 ++-- res/cardsfolder/s/stuffy_doll.txt | 4 ++-- res/cardsfolder/t/teferis_moat.txt | 4 ++-- res/cardsfolder/t/the_rack.txt | 4 ++-- res/cardsfolder/u/urzas_incubator.txt | 4 ++-- res/cardsfolder/u/utopia_sprawl.txt | 4 ++-- res/cardsfolder/v/voice_of_all.txt | 4 ++-- res/cardsfolder/v/voidstone_gargoyle.txt | 4 ++-- res/cardsfolder/v/volraths_laboratory.txt | 4 ++-- res/cardsfolder/w/ward_of_lights.txt | 4 ++-- res/cardsfolder/w/ward_sliver.txt | 4 ++-- res/cardsfolder/x/xenograft.txt | 4 ++-- 80 files changed, 176 insertions(+), 156 deletions(-) create mode 100644 res/cardsfolder/n/nightveil_specter.txt diff --git a/.gitattributes b/.gitattributes index eb87160f59f..76e1984fec0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7039,6 +7039,7 @@ res/cardsfolder/n/nightshade_stinger.txt svneol=native#text/plain res/cardsfolder/n/nightsky_mimic.txt svneol=native#text/plain res/cardsfolder/n/nightsoil_kami.txt svneol=native#text/plain res/cardsfolder/n/nightstalker_engine.txt svneol=native#text/plain +res/cardsfolder/n/nightveil_specter.txt -text res/cardsfolder/n/nightwind_glider.txt svneol=native#text/plain res/cardsfolder/n/nightwing_shade.txt svneol=native#text/plain res/cardsfolder/n/nihil_spellbomb.txt svneol=native#text/plain diff --git a/res/cardsfolder/a/adaptive_automaton.txt b/res/cardsfolder/a/adaptive_automaton.txt index fb54d3a67a3..3f1ffb49b17 100644 --- a/res/cardsfolder/a/adaptive_automaton.txt +++ b/res/cardsfolder/a/adaptive_automaton.txt @@ -3,8 +3,8 @@ ManaCost:3 Types:Artifact Creature Construct Text:no text PT:2/2 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Type$ Creature | AILogic$ MostProminentInComputerDeck | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. S:Mode$ Continuous | Affected$ Card.Self | AddType$ ChosenType | Description$ CARDNAME is the chosen type in addition to its other types. S:Mode$ Continuous | Affected$ Creature.ChosenType+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other creatures you control of the chosen type get +1/+1. SVar:Rarity:Rare diff --git a/res/cardsfolder/a/alloy_golem.txt b/res/cardsfolder/a/alloy_golem.txt index fa275bfdb16..c11713a8bb5 100644 --- a/res/cardsfolder/a/alloy_golem.txt +++ b/res/cardsfolder/a/alloy_golem.txt @@ -3,8 +3,8 @@ ManaCost:6 Types:Artifact Creature Golem Text:no text PT:4/4 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. S:Mode$ Continuous| Affected$ Card.Self | SetColor$ ChosenColor | Description$ CARDNAME is the chosen color. (It's still an artifact.) SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/alloy_golem.jpg diff --git a/res/cardsfolder/a/an_zerrin_ruins.txt b/res/cardsfolder/a/an_zerrin_ruins.txt index aeeb143ddda..ac8cbc4dd2b 100644 --- a/res/cardsfolder/a/an_zerrin_ruins.txt +++ b/res/cardsfolder/a/an_zerrin_ruins.txt @@ -2,8 +2,8 @@ Name:An-Zerrin Ruins ManaCost:2 R R Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentHumanControls +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | AILogic$ MostProminentHumanControls | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. S:Mode$ Continuous | Affected$ Creature.ChosenType | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Creatures of the chosen type don't untap during their controllers' untap steps. SVar:RemRandomDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/a/arsenal_thresher.txt b/res/cardsfolder/a/arsenal_thresher.txt index 127c517260d..e7945c68c4d 100644 --- a/res/cardsfolder/a/arsenal_thresher.txt +++ b/res/cardsfolder/a/arsenal_thresher.txt @@ -3,8 +3,8 @@ ManaCost:2 WB U Types:Artifact Creature Construct Text:no text PT:2/2 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigReveal | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, you may reveal any number of other artifact cards from your hand. CARDNAME enters the battlefield with a +1/+1 counter on it for each card revealed this way. -SVar:TrigReveal:AB$ Reveal | Cost$ 0 | RevealValid$ Card.Artifact+YouCtrl | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBPutCounters +K:ETBReplacement:Other:DBReveal +SVar:DBReveal:DB$ Reveal | RevealValid$ Card.Artifact+YouCtrl | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBPutCounters | SpellDescription$ As CARDNAME enters the battlefield, you may reveal any number of other artifact cards from your hand. CARDNAME enters the battlefield with a +1/+1 counter on it for each card revealed this way. SVar:DBPutCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount diff --git a/res/cardsfolder/a/ashes_of_the_fallen.txt b/res/cardsfolder/a/ashes_of_the_fallen.txt index 76c2840df4e..f43defd5f10 100644 --- a/res/cardsfolder/a/ashes_of_the_fallen.txt +++ b/res/cardsfolder/a/ashes_of_the_fallen.txt @@ -2,8 +2,8 @@ Name:Ashes of the Fallen ManaCost:2 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. S:Mode$ Continuous | Affected$ Creature.YouOwn | AffectedZone$ Graveyard | AddType$ ChosenType | Description$ Each creature card in your graveyard has the chosen creature type in addition to its other types. SVar:RemAIDeck:True SVar:RemRandomDeck:True diff --git a/res/cardsfolder/b/belbes_portal.txt b/res/cardsfolder/b/belbes_portal.txt index a5e375cd450..74fffabba5f 100644 --- a/res/cardsfolder/b/belbes_portal.txt +++ b/res/cardsfolder/b/belbes_portal.txt @@ -2,8 +2,8 @@ Name:Belbe's Portal ManaCost:5 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck A:AB$ ChangeZone | Cost$ 3 T | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.ChosenType | ChangeNum$ 1 | SpellDescription$ You may put a creature card of the chosen type from your hand onto the battlefield. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/belbes_portal.jpg diff --git a/res/cardsfolder/b/black_vise.txt b/res/cardsfolder/b/black_vise.txt index 794b2321b64..66ae749cdfe 100644 --- a/res/cardsfolder/b/black_vise.txt +++ b/res/cardsfolder/b/black_vise.txt @@ -2,8 +2,8 @@ Name:Black Vise ManaCost:1 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Chosen | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of the chosen player's upkeep, CARDNAME deals X damage to that player, where X is the number of cards in his or her hand minus 4. SVar:TrigDamage:AB$ DealDamage | Cost$ 0 | Defined$ ChosenPlayer | NumDmg$ X | References$ X SVar:X:Count$InChosenHand/Minus.4 diff --git a/res/cardsfolder/b/booby_trap.txt b/res/cardsfolder/b/booby_trap.txt index 211f85c8ed6..d7e0dcaa52d 100644 --- a/res/cardsfolder/b/booby_trap.txt +++ b/res/cardsfolder/b/booby_trap.txt @@ -2,8 +2,8 @@ Name:Booby Trap ManaCost:6 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigName | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, name a card other than a basic land card and choose an opponent. -SVar:TrigName:AB$ NameCard | Cost$ 0 | Defined$ You | ValidCards$ Card.nonBasic | ValidDesc$ card other than a basic land | SubAbility$ ChooseP +K:ETBReplacement:Other:DBNameCard +SVar:DBNameCard:DB$ NameCard | Defined$ You | ValidCards$ Card.nonBasic | ValidDesc$ card other than a basic land | SubAbility$ ChooseP | SpellDescription$ As CARDNAME enters the battlefield, name a card other than a basic land card and choose an opponent. SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Opponent | AILogic$ Curse R:Event$ Draw | ActiveZones$ Battlefield | ValidPlayer$ Player.Chosen | ReplaceWith$ RevealedDraw | Description$ The chosen player reveals each card he or she draws. SVar:RevealedDraw:AB$ Draw | Cost$ 0 | Defined$ Player.Chosen | NumCards$ 1 | SubAbility$ TrigReveal | RememberDrawn$ True diff --git a/res/cardsfolder/b/brass_herald.txt b/res/cardsfolder/b/brass_herald.txt index a062a0d7924..159d22ccc44 100644 --- a/res/cardsfolder/b/brass_herald.txt +++ b/res/cardsfolder/b/brass_herald.txt @@ -4,8 +4,8 @@ Types:Artifact Creature Golem Text: PT:2/2 S:Mode$ Continuous | Affected$ Creature.ChosenType | AddPower$ 1 | AddToughness$ 1 | Description$ Creatures of the chosen type get +1/+1. -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, reveal the top four cards of your library. Put all creature cards of the chosen type revealed this way into your hand and the rest on the bottom of your library in any order. SVar:TrigDig:DB$ Dig | DigNum$ 4 | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature.ChosenType SVar:PlayMain1:TRUE diff --git a/res/cardsfolder/c/cavern_of_souls.txt b/res/cardsfolder/c/cavern_of_souls.txt index 6997314d726..026d2178d89 100644 --- a/res/cardsfolder/c/cavern_of_souls.txt +++ b/res/cardsfolder/c/cavern_of_souls.txt @@ -2,8 +2,8 @@ Name:Cavern of Souls ManaCost:no cost Types:Land Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool. A:AB$ Mana | Cost$ T | Produced$ Any | RestrictValid$ Creature.ChosenType | AddsNoCounter$ True | SpellDescription$ Add one mana of any color to your mana pool. Spend this mana only to cast a creature spell of the chosen type, and that spell can't be countered. SVar:Rarity:Rare diff --git a/res/cardsfolder/c/chameleon_spirit.txt b/res/cardsfolder/c/chameleon_spirit.txt index 9b30a76c08e..b87f6ef0aad 100644 --- a/res/cardsfolder/c/chameleon_spirit.txt +++ b/res/cardsfolder/c/chameleon_spirit.txt @@ -3,8 +3,8 @@ ManaCost:3 U Types:Creature Illusion Spirit Text:no text PT:*/* -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentHumanControls +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentHumanControls | SpellDescription$ As CARDNAME enters the battlefield, choose a color. S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of permanents of the chosen color your opponents control. SVar:X:Count$Valid Permanent.OppCtrl+ChosenColor SVar:NeedsToPlay:Permanent.OppCtrl+nonColorless diff --git a/res/cardsfolder/c/cho_mannos_blessing.txt b/res/cardsfolder/c/cho_mannos_blessing.txt index 727c76b09e9..90c79a4c2fc 100644 --- a/res/cardsfolder/c/cho_mannos_blessing.txt +++ b/res/cardsfolder/c/cho_mannos_blessing.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura Text:no text K:Flash K:Enchant creature -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck | SpellDescription$ As CARDNAME enters the battlefield, choose a color. A:SP$ Attach | Cost$ W W | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Protection:Card.ChosenColor:Protection from ChosenColor | Description$ Enchanted creature has protection from the chosen color. This effect doesn't remove CARDNAME. SVar:Rarity:Common diff --git a/res/cardsfolder/c/chromatic_armor.txt b/res/cardsfolder/c/chromatic_armor.txt index 1b4c47999b0..c66351f678e 100644 --- a/res/cardsfolder/c/chromatic_armor.txt +++ b/res/cardsfolder/c/chromatic_armor.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura Text:no text K:Enchant creature A:SP$ Attach | Cost$ 1 W U | ValidTgts$ Creature | AILogic$ Pump -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. K:etbCounter:SLEIGHT:1 S:Mode$ PreventDamage | Target$ Creature.EnchantedBy | Source$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to enchanted creature by a source of the last chosen color. A:AB$ PutCounter | Cost$ X | Defined$ Self | CounterType$ SLEIGHT | CounterNum$ 1 | SubAbility$ ChooseColor | References$ X | SpellDescription$ Put a sleight counter on CARDNAME and choose a color. X is the number of sleight counters on CARDNAME. diff --git a/res/cardsfolder/c/circle_of_affliction.txt b/res/cardsfolder/c/circle_of_affliction.txt index 96f59f433b3..e9c40cdbc6a 100644 --- a/res/cardsfolder/c/circle_of_affliction.txt +++ b/res/cardsfolder/c/circle_of_affliction.txt @@ -2,8 +2,8 @@ Name:Circle of Affliction ManaCost:1 B Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck | SpellDescription$ As CARDNAME enters the battlefield, choose a color. T:Mode$ DamageDone | ValidSource$ Card.ChosenColor | ValidTarget$ You | Execute$ TrigDrain | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever a source of the chosen color deals damage to you, you may pay 1. If you do, target player loses 1 life and you gain 1 life. SVar:TrigDrain:AB$ LoseLife | Cost$ 1 | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ 1 | SubAbility$ Gain SVar:Gain:DB$ GainLife | Defined$ You | LifeAmount$ 1 diff --git a/res/cardsfolder/c/circle_of_solace.txt b/res/cardsfolder/c/circle_of_solace.txt index fee803f5ae5..d40a46b812e 100644 --- a/res/cardsfolder/c/circle_of_solace.txt +++ b/res/cardsfolder/c/circle_of_solace.txt @@ -2,8 +2,8 @@ Name:Circle of Solace ManaCost:3 W Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentHumanControls +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentHumanControls A:AB$ ChooseCard | Cost$ 1 W | Choices$ Creature.ChosenType | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SVars$ DBEffect,RPreventNextFromCreature,ExileEffect | SpellDescription$ The next time a creature of the chosen type would deal damage to you this turn, prevent that damage. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromCreature | RememberObjects$ Remembered | SVars$ RPreventNextFromCreature,ExileEffect | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:RPreventNextFromCreature:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ ExileEffect | PreventionEffect$ True | Description$ The next time a creature of the chosen type would deal damage to you this turn, prevent that damage. diff --git a/res/cardsfolder/c/cloud_key.txt b/res/cardsfolder/c/cloud_key.txt index 89481b7b478..00834bd278a 100644 --- a/res/cardsfolder/c/cloud_key.txt +++ b/res/cardsfolder/c/cloud_key.txt @@ -3,8 +3,8 @@ ManaCost:3 Types:Artifact Text:no text S:Mode$ ReduceCost | ValidCard$ Card.ChosenType | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Spells you cast of the chosen type cost 1 less to cast. -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose artifact, creature, enchantment, instant, or sorcery. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Card | ValidTypes$ Artifact,Creature,Enchantment,Instant,Sorcery +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Card | ValidTypes$ Artifact,Creature,Enchantment,Instant,Sorcery | SpellDescription$ As CARDNAME enters the battlefield, choose artifact, creature, enchantment, instant, or sorcery. SVar:RemAIDeck:True SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/cloud_key.jpg diff --git a/res/cardsfolder/c/coldsteel_heart.txt b/res/cardsfolder/c/coldsteel_heart.txt index 03e84b22c81..e4eb5aa17e7 100644 --- a/res/cardsfolder/c/coldsteel_heart.txt +++ b/res/cardsfolder/c/coldsteel_heart.txt @@ -3,8 +3,8 @@ ManaCost:2 Types:Snow Artifact Text:no text K:CARDNAME enters the battlefield tapped. -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. A:AB$ Mana | Cost$ T | Produced$ Chosen | SpellDescription$ Add one mana of the chosen color to your mana pool. SVar:RemAIDeck:True SVar:Rarity:Uncommon diff --git a/res/cardsfolder/c/conspiracy.txt b/res/cardsfolder/c/conspiracy.txt index 0b50c1f5124..21efc1f32a9 100644 --- a/res/cardsfolder/c/conspiracy.txt +++ b/res/cardsfolder/c/conspiracy.txt @@ -2,8 +2,8 @@ Name:Conspiracy ManaCost:3 B B Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck S:Mode$ Continuous | Affected$ Creature.YouCtrl | AffectedZone$ Battlefield,Hand,Graveyard,Exile,Stack,Library | AddType$ ChosenType | RemoveCreatureTypes$ True | Description$ Creature cards you own that aren't on the battlefield, creature spells you control, and creatures you control are the chosen type. SVar:RemAIDeck:True SVar:RemRandomDeck:True diff --git a/res/cardsfolder/c/convincing_mirage.txt b/res/cardsfolder/c/convincing_mirage.txt index d27dfcc4c49..8bc95001cd5 100644 --- a/res/cardsfolder/c/convincing_mirage.txt +++ b/res/cardsfolder/c/convincing_mirage.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura Text:no text K:Enchant land A:SP$ Attach | Cost$ 1 U | ValidTgts$ Land | AILogic$ ChangeType -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ DBChooseBasic | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a basic land type. -SVar:DBChooseBasic:DB$ ChooseType | Type$ Basic Land +K:ETBReplacement:Other:DBChooseBasic +SVar:DBChooseBasic:DB$ ChooseType | Type$ Basic Land | SpellDescription$ As CARDNAME enters the battlefield, choose a basic land type. S:Mode$ Continuous | Affected$ Card.EnchantedBy | AddType$ ChosenType | RemoveSubTypes$ True | RemoveAllAbilities$ True | Description$ Enchanted land is the chosen type. SVar:RemAIDeck:True SVar:Rarity:Common diff --git a/res/cardsfolder/c/cover_of_darkness.txt b/res/cardsfolder/c/cover_of_darkness.txt index 4c0a519faa1..b660425f800 100644 --- a/res/cardsfolder/c/cover_of_darkness.txt +++ b/res/cardsfolder/c/cover_of_darkness.txt @@ -2,8 +2,8 @@ Name:Cover of Darkness ManaCost:1 B Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck S:Mode$ Continuous | Affected$ Creature.ChosenType | AddKeyword$ Fear | Description$ Creatures of the chosen type have fear. (They can't be blocked except by artifact creatures and/or black creatures.) SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/cover_of_darkness.jpg diff --git a/res/cardsfolder/c/curse_of_wizardry.txt b/res/cardsfolder/c/curse_of_wizardry.txt index 7bdcae092f0..8bc42029e15 100644 --- a/res/cardsfolder/c/curse_of_wizardry.txt +++ b/res/cardsfolder/c/curse_of_wizardry.txt @@ -2,8 +2,8 @@ Name:Curse of Wizardry ManaCost:2 B B Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True| TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck T:Mode$ SpellCast | ValidCard$ Card.ChosenColor | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever a player casts a spell of the chosen color, that player loses 1 life. SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | Defined$ TriggeredActivator | LifeAmount$ 1 SVar:Rarity:Uncommon diff --git a/res/cardsfolder/c/cursed_rack.txt b/res/cardsfolder/c/cursed_rack.txt index 8925d127e6a..226b2aadd0d 100644 --- a/res/cardsfolder/c/cursed_rack.txt +++ b/res/cardsfolder/c/cursed_rack.txt @@ -2,8 +2,8 @@ Name:Cursed Rack ManaCost:4 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. S:Mode$ Continuous | Affected$ Player.Chosen | SetMaxHandSize$ 4 | Description$ The chosen player's maximum hand size is four. SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/cursed_rack.jpg diff --git a/res/cardsfolder/d/declaration_of_naught.txt b/res/cardsfolder/d/declaration_of_naught.txt index a453ef10ef5..ac3a2b48c0d 100644 --- a/res/cardsfolder/d/declaration_of_naught.txt +++ b/res/cardsfolder/d/declaration_of_naught.txt @@ -2,8 +2,8 @@ Name:Declaration of Naught ManaCost:U U Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigName | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, name a card. -SVar:TrigName:AB$ NameCard | Cost$ 0 | Defined$ You +K:ETBReplacement:Other:DBNameCard +SVar:DBNameCard:DB$ NameCard | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, name a card. A:AB$ Counter | Cost$ U | TargetType$ Spell | TgtPrompt$ Select target spell with the chosen name. | ValidTgts$ Card.NamedCard | SpellDescription$ Counter target spell with the chosen name. SVar:RemRandomDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/d/doom_cannon.txt b/res/cardsfolder/d/doom_cannon.txt index 6b7d13aa5a1..43990f6bb45 100644 --- a/res/cardsfolder/d/doom_cannon.txt +++ b/res/cardsfolder/d/doom_cannon.txt @@ -2,8 +2,8 @@ Name:Doom Cannon ManaCost:6 Types:Artifact Text:no text -T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Static$ True | Execute$ TrigChooseCT | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:TrigChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck A:AB$ DealDamage | Cost$ 3 T Sac<1/Creature.ChosenType> | NumDmg$ 3 | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | CostDesc$ 3, Tap, Sacrifice a creature of the chosen type | SpellDescription$ CARDNAME deals 3 damage to target creature or player. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/doom_cannon.jpg diff --git a/res/cardsfolder/d/door_of_destinies.txt b/res/cardsfolder/d/door_of_destinies.txt index efbe32cab4b..d372fdb5b10 100644 --- a/res/cardsfolder/d/door_of_destinies.txt +++ b/res/cardsfolder/d/door_of_destinies.txt @@ -2,8 +2,8 @@ Name:Door of Destinies ManaCost:4 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck T:Mode$ SpellCast | ValidCard$ Card.ChosenType | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast a spell of the chosen type, put a charge counter on CARDNAME. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 S:Mode$ Continuous | Affected$ Creature.ChosenType+YouCtrl | AddPower$ X | AddToughness$ X | Description$ Creatures you control of the chosen type get +1/+1 for each charge counter on CARDNAME. diff --git a/res/cardsfolder/d/dracoplasm.txt b/res/cardsfolder/d/dracoplasm.txt index e4a844c0fb7..72951448693 100644 --- a/res/cardsfolder/d/dracoplasm.txt +++ b/res/cardsfolder/d/dracoplasm.txt @@ -4,8 +4,8 @@ Types:Creature Shapeshifter Text:no text PT:0/0 K:Flying -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, sacrifice any number of creatures. CARDNAME's power becomes the total power of those creatures and its toughness becomes their total toughness. -SVar:TrigSac:DB$ Sacrifice | Amount$ SacX | References$ SacX | SacValid$ Creature | Defined$ You | RememberSacrificed$ True | Optional$ True | SubAbility$ DBAnimate +K:ETBReplacement:Other:TrigSac +SVar:TrigSac:DB$ Sacrifice | Amount$ SacX | References$ SacX | SacValid$ Creature | Defined$ You | RememberSacrificed$ True | Optional$ True | SubAbility$ DBAnimate | SpellDescription$ As CARDNAME enters the battlefield, sacrifice any number of creatures. CARDNAME's power becomes the total power of those creatures and its toughness becomes their total toughness. SVar:DBAnimate:DB$ Animate | Defined$ Self | Power$ DracoPwr | Toughness$ DracoTgn | References$ DracoPwr,DracoTgn | Permanent$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Creature.YouCtrl diff --git a/res/cardsfolder/e/energy_vortex.txt b/res/cardsfolder/e/energy_vortex.txt index 6333d8edbcf..32bf0349dce 100644 --- a/res/cardsfolder/e/energy_vortex.txt +++ b/res/cardsfolder/e/energy_vortex.txt @@ -2,8 +2,8 @@ Name:Energy Vortex ManaCost:3 U U Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemove | TriggerDescription$ At the beginning of your upkeep, remove all energy counters from CARDNAME. SVar:TrigRemove:AB$ RemoveCounter | Cost$ 0 | CounterType$ ENERGY | CounterNum$ All T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Chosen | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of the chosen player's upkeep, CARDNAME deals 3 damage to that player unless he or she pays {1} for each energy counter on CARDNAME. diff --git a/res/cardsfolder/e/engineered_plague.txt b/res/cardsfolder/e/engineered_plague.txt index 85bb7f4503f..1a341f73c55 100644 --- a/res/cardsfolder/e/engineered_plague.txt +++ b/res/cardsfolder/e/engineered_plague.txt @@ -2,8 +2,8 @@ Name:Engineered Plague ManaCost:2 B Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentHumanControls +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentHumanControls S:Mode$ Continuous | Affected$ Creature.ChosenType | AddPower$ -1 | AddToughness$ -1 | Description$ All creatures of the chosen type get -1/-1. SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/engineered_plague.jpg diff --git a/res/cardsfolder/e/entropic_specter.txt b/res/cardsfolder/e/entropic_specter.txt index 42a3fa02326..cff3539c5c1 100644 --- a/res/cardsfolder/e/entropic_specter.txt +++ b/res/cardsfolder/e/entropic_specter.txt @@ -4,8 +4,8 @@ Types:Creature Specter Spirit Text:no text PT:*/* K:Flying -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in the chosen player's hand. SVar:X:Count$InChosenHand T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDiscard | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage to a player, that player discards a card. diff --git a/res/cardsfolder/f/flickering_ward.txt b/res/cardsfolder/f/flickering_ward.txt index af777076270..be3de6d8c32 100644 --- a/res/cardsfolder/f/flickering_ward.txt +++ b/res/cardsfolder/f/flickering_ward.txt @@ -3,8 +3,8 @@ ManaCost:W Types:Enchantment Aura Text:no text K:Enchant creature -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck A:SP$ Attach | Cost$ W | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Protection:Card.ChosenColor:Protection from ChosenColor | Description$ Enchanted creature has protection from the chosen color. This effect doesn't remove CARDNAME. A:AB$ ChangeZone | Cost$ W | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return CARDNAME to its owner's hand. diff --git a/res/cardsfolder/f/floating_shield.txt b/res/cardsfolder/f/floating_shield.txt index 53a9eeff9ba..468d24419f5 100644 --- a/res/cardsfolder/f/floating_shield.txt +++ b/res/cardsfolder/f/floating_shield.txt @@ -3,8 +3,8 @@ ManaCost:2 W Types:Enchantment Aura Text:no text K:Enchant creature -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck A:SP$ Attach | Cost$ 2 W | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Protection:Card.ChosenColor:Protection from ChosenColor | Description$ Enchanted creature has protection from the chosen color. This effect doesn't remove CARDNAME. A:AB$ Protection | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | Gains$ ChosenColor | SpellDescription$ Target creature gains protection from the chosen color until end of turn. diff --git a/res/cardsfolder/h/haunting_apparition.txt b/res/cardsfolder/h/haunting_apparition.txt index 8feeab1de79..4f0cc464058 100644 --- a/res/cardsfolder/h/haunting_apparition.txt +++ b/res/cardsfolder/h/haunting_apparition.txt @@ -4,8 +4,8 @@ Types:Creature Spirit Text:no text PT:1/2 K:Flying -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to 1 plus the number of green creature cards in opponent's graveyard. SVar:X:Count$GreenTypeInChosenYard.Creature/Plus.1 SVar:Rarity:Uncommon diff --git a/res/cardsfolder/h/heightened_awareness.txt b/res/cardsfolder/h/heightened_awareness.txt index 85ab014364b..068e5b7cc54 100644 --- a/res/cardsfolder/h/heightened_awareness.txt +++ b/res/cardsfolder/h/heightened_awareness.txt @@ -2,10 +2,10 @@ Name:Heightened Awareness ManaCost:3 U U Types:Enchantment Text:no text -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ As CARDNAME enters the battlefield, discard your hand. +K:ETBReplacement:Other:TrigDiscard +SVar:TrigDiscard:DB$ Discard | Cost$ 0 | Mode$ Hand | SpellDescription$ As CARDNAME enters the battlefield, discard your hand. T:Mode$ Phase | Phase$ Draw | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of your draw step, draw an additional card. SVar:TrigDraw:AB$Draw | Cost$ 0 | NumCards$ 1 -SVar:TrigDiscard:AB$Discard | Cost$ 0 | Mode$ Hand SVar:RemAIDeck:True SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/heightened_awareness.jpg diff --git a/res/cardsfolder/i/iona_shield_of_emeria.txt b/res/cardsfolder/i/iona_shield_of_emeria.txt index 815e154d349..693f119430d 100644 --- a/res/cardsfolder/i/iona_shield_of_emeria.txt +++ b/res/cardsfolder/i/iona_shield_of_emeria.txt @@ -4,8 +4,8 @@ Types:Legendary Creature Angel Text:no text PT:7/7 K:Flying -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck S:Mode$ CantBeCast | ValidCard$ Card.ChosenColor | Caster$ Opponent | Description$ Your opponents can't cast spells of the chosen color. SVar:Rarity:Mythic SVar:Picture:http://www.wizards.com/global/images/magic/general/iona_shield_of_emeria.jpg diff --git a/res/cardsfolder/i/ixidron.txt b/res/cardsfolder/i/ixidron.txt index ab6b28e49af..e1da6da6eb7 100644 --- a/res/cardsfolder/i/ixidron.txt +++ b/res/cardsfolder/i/ixidron.txt @@ -3,8 +3,8 @@ ManaCost:3 U U Types:Creature Illusion Text:no text PT:*/* -T:Mode$ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTurnFaceDown | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, turn all other nontoken creatures face down. (They're 2/2 creatures.) -SVar:TrigTurnFaceDown:AB$SetStateAll | Cost$ 0 | ValidCards$ Creature.nonToken+Other+faceUp | Mode$ TurnFace +K:ETBReplacement:Other:TrigTurnFaceDown +SVar:TrigTurnFaceDown:DB$ SetStateAll | ValidCards$ Creature.nonToken+Other+faceUp | Mode$ TurnFace | SpellDescription$ As CARDNAME enters the battlefield, turn all other nontoken creatures face down. (They're 2/2 creatures.) S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of face-down creatures on the battlefield. SVar:X:Count$Valid Creature.faceDown SVar:Rarity:Rare diff --git a/res/cardsfolder/j/jeweled_torque.txt b/res/cardsfolder/j/jeweled_torque.txt index 77d4fcf7eed..391acdb27ab 100644 --- a/res/cardsfolder/j/jeweled_torque.txt +++ b/res/cardsfolder/j/jeweled_torque.txt @@ -2,8 +2,8 @@ Name:Jeweled Torque ManaCost:2 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True| TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInGame +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInGame T:Mode$ SpellCast | ValidCard$ Card.ChosenColor | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a player casts a spell of the chosen color, you may pay 2. If you do, you gain 2 life. SVar:TrigGainLife:AB$GainLife | Cost$ 2 | Defined$ You | LifeAmount$ 2 SVar:Rarity:Uncommon diff --git a/res/cardsfolder/j/jihad.txt b/res/cardsfolder/j/jihad.txt index e4ce9069fd5..fe6fadb818b 100644 --- a/res/cardsfolder/j/jihad.txt +++ b/res/cardsfolder/j/jihad.txt @@ -2,8 +2,9 @@ Name:Jihad ManaCost:W W W Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color and an opponent. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SubAbility$ ChooseP | SpellDescription$ As CARDNAME enters the battlefield, choose a color and an opponent. +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent S:Mode$ Continuous | Affected$ Creature.White | AddPower$ 2 | AddToughness$ 1 | IsPresent$ Permanent.nontoken+ChosenColor+YouDontCtrl | Description$ White creatures get +2/+1 as long as the chosen player controls a nontoken permanent of the chosen color. T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Permanent.nontoken+ChosenColor+YouDontCtrl | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ When the chosen player controls no nontoken permanents of the chosen color, sacrifice CARDNAME. SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | Defined$ Self diff --git a/res/cardsfolder/l/lost_order_of_jarkeld.txt b/res/cardsfolder/l/lost_order_of_jarkeld.txt index 6d5bc3fbba7..29d53ba4266 100644 --- a/res/cardsfolder/l/lost_order_of_jarkeld.txt +++ b/res/cardsfolder/l/lost_order_of_jarkeld.txt @@ -3,8 +3,8 @@ ManaCost:2 W W Types:Creature Human Knight Text:no text PT:1/1 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. S:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to 1 plus the number of creatures the chosen player controls. SVar:X:Count$Valid Creature.ChosenCtrl/Plus.1 SVar:Rarity:Rare diff --git a/res/cardsfolder/l/lurebound_scarecrow.txt b/res/cardsfolder/l/lurebound_scarecrow.txt index c30e6a08a23..968bd0b418a 100644 --- a/res/cardsfolder/l/lurebound_scarecrow.txt +++ b/res/cardsfolder/l/lurebound_scarecrow.txt @@ -3,8 +3,8 @@ ManaCost:3 Types:Artifact Creature Scarecrow Text:no text PT:4/4 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True| TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentComputerControls +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentComputerControls T:Mode$ Always | CheckSVar$ X | SVarCompare$ EQ0 | TriggerZones$ Battlefield | Static$ True | Execute$ TrigSacrifice | TriggerDescription$ When you control no permanents of the chosen color, sacrifice CARDNAME. SVar:TrigSacrifice:AB$ Sacrifice | Cost$ 0 SVar:X:Count$Valid Permanent.YouCtrl+ChosenColor diff --git a/res/cardsfolder/m/meddling_mage.txt b/res/cardsfolder/m/meddling_mage.txt index f4f880633f2..f1de06e87bb 100644 --- a/res/cardsfolder/m/meddling_mage.txt +++ b/res/cardsfolder/m/meddling_mage.txt @@ -3,8 +3,8 @@ ManaCost:U W Types:Creature Human Wizard Text:no text PT:2/2 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigName | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, name a nonland card. -SVar:TrigName:AB$ NameCard | Cost$ 0 | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland +K:ETBReplacement:Other:DBNameCard +SVar:DBNameCard:DB$ NameCard | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland | SpellDescription$ As CARDNAME enters the battlefield, name a nonland card. S:Mode$ CantBeCast | ValidCard$ Card.NamedCard | Description$ The named card can't be cast. SVar:RemRandomDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/n/nevermore.txt b/res/cardsfolder/n/nevermore.txt index 4f12a63f2f3..9a5146c2e8e 100644 --- a/res/cardsfolder/n/nevermore.txt +++ b/res/cardsfolder/n/nevermore.txt @@ -2,8 +2,8 @@ Name:Nevermore ManaCost:1 W W Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigName | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, name a nonland card. -SVar:TrigName:AB$ NameCard | Cost$ 0 | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland +K:ETBReplacement:Other:DBNameCard +SVar:DBNameCard:DB$ NameCard | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland | SpellDescription$ As CARDNAME enters the battlefield, name a nonland card. S:Mode$ CantBeCast | ValidCard$ Card.NamedCard | Description$ The named card can't be cast. SVar:RemRandomDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/n/nightveil_specter.txt b/res/cardsfolder/n/nightveil_specter.txt new file mode 100644 index 00000000000..ab4398ebbee --- /dev/null +++ b/res/cardsfolder/n/nightveil_specter.txt @@ -0,0 +1,18 @@ +Name:Nightveil Specter +ManaCost:UB UB UB +Types:Creature Specter +Text: +PT:2/3 +K:Flying +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top card of his or her library. +SVar:TrigMill:AB$ Mill | Cost$ 0 | Defined$ TriggeredTarget | NumCards$ 1 | Destination$ Exile | RememberMilled$ True +S:Mode$ Continuous | Affected$ Card.IsRemembered+OppOwn | AffectedZone$ Exile | AddHiddenKeyword$ May be played by your opponent | Description$ You may play cards exiled with CARDNAME. +S:Mode$ Continuous | Affected$ Card.IsRemembered+YouOwn | AffectedZone$ Exile | AddHiddenKeyword$ May be played +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Excute$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +SVar:RemAIDeck:True +SVar:Rarity:Rare +SVar:Picture:http://www.wizards.com/global/images/magic/general/nightveil_specter.jpg +SetInfo:GTC|Rare|http://magiccards.info/scans/en/gtc/222.jpg +Oracle:Flying\nWhenever Nightveil Specter deals combat damage to a player, that player exiles the top card of his or her library.\nYou may play cards exiled with Nightveil Specter. +End \ No newline at end of file diff --git a/res/cardsfolder/n/nyxathid.txt b/res/cardsfolder/n/nyxathid.txt index c6885f19170..1677478ea64 100644 --- a/res/cardsfolder/n/nyxathid.txt +++ b/res/cardsfolder/n/nyxathid.txt @@ -3,8 +3,8 @@ ManaCost:1 B B Types:Creature Elemental Text:no text PT:7/7 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets -1/-1 for each card in the chosen player's hand. SVar:X:Count$InChosenHand/Negative SVar:NeedsToPlayVar:Y LE5 diff --git a/res/cardsfolder/o/order_of_the_stars.txt b/res/cardsfolder/o/order_of_the_stars.txt index 30f266de52c..a3b55c4dcc1 100644 --- a/res/cardsfolder/o/order_of_the_stars.txt +++ b/res/cardsfolder/o/order_of_the_stars.txt @@ -4,8 +4,8 @@ Types:Creature Human Cleric Text:no text PT:0/1 K:Defender -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck K:Protection:Card.ChosenColor:CARDNAME has protection from the chosen color. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/order_of_the_stars.jpg diff --git a/res/cardsfolder/o/overlaid_terrain.txt b/res/cardsfolder/o/overlaid_terrain.txt index 678f2d9e2d5..1260843ad9b 100644 --- a/res/cardsfolder/o/overlaid_terrain.txt +++ b/res/cardsfolder/o/overlaid_terrain.txt @@ -2,8 +2,8 @@ Name:Overlaid Terrain ManaCost:2 G G Types:Enchantment Text:no text -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ As CARDNAME enters the battlefield, sacrifice all lands you control. -SVar:TrigSac:AB$ SacrificeAll | Cost$ 0 | ValidCards$ Land.YouCtrl +K:ETBReplacement:Other:TrigSac +SVar:TrigSac:AB$ SacrificeAll | Cost$ 0 | ValidCards$ Land.YouCtrl | SpellDescription$ As CARDNAME enters the battlefield, sacrifice all lands you control. S:Mode$ Continuous | Affected$ Land.YouCtrl | AddAbility$ AnyMana | Description$ Lands you control have "Tap: Add two mana of any one color to your mana pool." SVar:AnyMana:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 2 | SpellDescription$ Add two mana of any one color to your mana pool. SVar:RemAIDeck:True diff --git a/res/cardsfolder/p/pallimud.txt b/res/cardsfolder/p/pallimud.txt index 63237e5a78e..b7b9a39465f 100644 --- a/res/cardsfolder/p/pallimud.txt +++ b/res/cardsfolder/p/pallimud.txt @@ -3,8 +3,8 @@ ManaCost:2 R Types:Creature Beast Text:no text PT:*/3 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. S:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | References$ X | Description$ CARDNAME's power is equal to the number of tapped lands the chosen player controls. SVar:X:Count$Valid Land.tapped+ChosenCtrl SVar:Rarity:Rare diff --git a/res/cardsfolder/p/paradise_plume.txt b/res/cardsfolder/p/paradise_plume.txt index ee2678d82e0..0491af6f42c 100644 --- a/res/cardsfolder/p/paradise_plume.txt +++ b/res/cardsfolder/p/paradise_plume.txt @@ -2,8 +2,8 @@ Name:Paradise Plume ManaCost:4 Types:Artifact Text:no text -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Static$ True | Execute$ TrigChooseColor | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:TrigChooseColor:AB$ ChooseColor | Cost$ 0 | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInComputerDeck T:Mode$ SpellCast | ValidCard$ Card.ChosenColor | OptionalDecider$ You | Execute$ TrigGainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player casts a spell of the chosen color, you may gain 1 life. SVar:TrigGainLife:AB$ GainLife | Cost$ 0 | LifeAmount$ 1 A:AB$ Mana | Cost$ T | Produced$ Chosen | SpellDescription$ Add one mana of the chosen color to your mana pool. diff --git a/res/cardsfolder/p/pentarch_paladin.txt b/res/cardsfolder/p/pentarch_paladin.txt index 0ca9a631387..bcf7625b530 100644 --- a/res/cardsfolder/p/pentarch_paladin.txt +++ b/res/cardsfolder/p/pentarch_paladin.txt @@ -4,8 +4,8 @@ Types:Creature Human Knight Text:no text PT:3/3 K:Flanking -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck A:AB$ Destroy | Cost$ W W T | ValidTgts$ Permanent.ChosenColor | TgtPrompt$ Select target permanent of the chosen color | SpellDescription$ Destroy target permanent of the chosen color. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/pentarch_paladin.jpg diff --git a/res/cardsfolder/p/pentarch_ward.txt b/res/cardsfolder/p/pentarch_ward.txt index c3e9f046599..b421f3a23e3 100644 --- a/res/cardsfolder/p/pentarch_ward.txt +++ b/res/cardsfolder/p/pentarch_ward.txt @@ -3,8 +3,8 @@ ManaCost:2 W Types:Enchantment Aura Text:no text K:Enchant creature -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card. SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1 A:SP$ Attach | Cost$ 2 W | ValidTgts$ Creature | AILogic$ Pump diff --git a/res/cardsfolder/p/phantasmal_terrain.txt b/res/cardsfolder/p/phantasmal_terrain.txt index e6898e9b987..5041041d401 100644 --- a/res/cardsfolder/p/phantasmal_terrain.txt +++ b/res/cardsfolder/p/phantasmal_terrain.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura Text:no text K:Enchant land A:SP$ Attach | Cost$ 1 U | ValidTgts$ Land | AILogic$ ChangeType -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ DBChooseBasic | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a basic land type. -SVar:DBChooseBasic:DB$ ChooseType | Type$ Basic Land +K:ETBReplacement:Other:DBChooseBasic +SVar:DBChooseBasic:DB$ ChooseType | Type$ Basic Land | SpellDescription$ As CARDNAME enters the battlefield, choose a basic land type. S:Mode$ Continuous | Affected$ Card.EnchantedBy | AddType$ ChosenType | RemoveSubTypes$ True | RemoveAllAbilities$ True | Description$ Enchanted land is the chosen type. SVar:RemAIDeck:True SVar:Rarity:Common diff --git a/res/cardsfolder/p/phylactery_lich.txt b/res/cardsfolder/p/phylactery_lich.txt index 0a6df5c3eec..d85811e715a 100644 --- a/res/cardsfolder/p/phylactery_lich.txt +++ b/res/cardsfolder/p/phylactery_lich.txt @@ -4,8 +4,8 @@ Types:Creature Zombie Text:no text PT:5/5 K:Indestructible -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Static$ True | Execute$ TrigChooseArtifact | TriggerDescription$ As CARDNAME enters the battlefield, put a phylactery counter on an artifact you control. -SVar:TrigChooseArtifact:DB$ ChooseCard | Choices$ Artifact.YouCtrl | RememberChosen$ True | SubAbility$ DBPutCounter +K:ETBReplacement:Other:TrigChooseArtifact +SVar:TrigChooseArtifact:DB$ ChooseCard | Choices$ Artifact.YouCtrl | RememberChosen$ True | SubAbility$ DBPutCounter | SpellDescription$ As CARDNAME enters the battlefield, put a phylactery counter on an artifact you control. SVar:DBPutCounter:DB$ PutCounter | CounterType$ PHYLACTERY | CounterNum$ 1 | Defined$ Remembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Permanent.counters_GE1_PHYLACTERY+YouCtrl | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ When you control no permanents with phylactery counters on them, sacrifice CARDNAME. diff --git a/res/cardsfolder/p/phyrexian_revoker.txt b/res/cardsfolder/p/phyrexian_revoker.txt index 03b2dbd6ff6..e842230346b 100644 --- a/res/cardsfolder/p/phyrexian_revoker.txt +++ b/res/cardsfolder/p/phyrexian_revoker.txt @@ -3,8 +3,8 @@ ManaCost:2 Types:Artifact Creature Horror Text:no text PT:2/1 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigName | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, name a nonland card. -SVar:TrigName:AB$ NameCard | Cost$ 0 | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland +K:ETBReplacement:Other:DBNameCard +SVar:DBNameCard:DB$ NameCard | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland | SpellDescription$ As CARDNAME enters the battlefield, name a nonland card. S:Mode$ CantBeActivated | ValidCard$ Card.NamedCard | Description$ Activated abilities of sources with the chosen name can't be activated. SVar:RemRandomDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/p/pithing_needle.txt b/res/cardsfolder/p/pithing_needle.txt index eb6ffff65c0..d49b3e5276b 100644 --- a/res/cardsfolder/p/pithing_needle.txt +++ b/res/cardsfolder/p/pithing_needle.txt @@ -2,8 +2,8 @@ Name:Pithing Needle ManaCost:1 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigName | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, name a card. -SVar:TrigName:AB$ NameCard | Cost$ 0 | Defined$ You +K:ETBReplacement:Other:DBNameCard +SVar:DBNameCard:DB$ NameCard | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, name a card. S:Mode$ CantBeActivated | ValidCard$ Card.NamedCard | NonMana$ True | Description$ Activated abilities of sources with the chosen name can't be activated unless they're mana abilities. SVar:RemRandomDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/p/prismatic_circle.txt b/res/cardsfolder/p/prismatic_circle.txt index bd8eda611f9..75cef61fcb3 100644 --- a/res/cardsfolder/p/prismatic_circle.txt +++ b/res/cardsfolder/p/prismatic_circle.txt @@ -3,8 +3,8 @@ ManaCost:2 W Types:Enchantment Text:no text K:Cumulative upkeep:1 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck A:AB$ ChooseSource | Cost$ 1 | Choices$ Card.ChosenColor | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice of the chosen color would deal damage to you this turn, prevent that damage. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | RememberObjects$ Remembered | SVars$ RPreventNextFromSource,ExileEffect | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ ExileEffect | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. diff --git a/res/cardsfolder/p/prismatic_ward.txt b/res/cardsfolder/p/prismatic_ward.txt index 9a4064a92a7..3c8d5ec1a45 100644 --- a/res/cardsfolder/p/prismatic_ward.txt +++ b/res/cardsfolder/p/prismatic_ward.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura Text:no text K:Enchant creature A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature | AILogic$ Pump -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck S:Mode$ PreventDamage | Target$ Creature.EnchantedBy | Source$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to enchanted creature by sources of the chosen color. SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/prismatic_ward.jpg diff --git a/res/cardsfolder/q/quirion_elves.txt b/res/cardsfolder/q/quirion_elves.txt index 2afa64cc841..5d88300a60d 100644 --- a/res/cardsfolder/q/quirion_elves.txt +++ b/res/cardsfolder/q/quirion_elves.txt @@ -3,8 +3,8 @@ ManaCost:1 G Types:Creature Elf Druid Text:no text PT:1/1 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add G to your mana pool. A:AB$ Mana | Cost$ T | Produced$ Chosen | SpellDescription$ Add one mana of the chosen color to your mana pool. SVar:RemAIDeck:True diff --git a/res/cardsfolder/r/riders_of_gavony.txt b/res/cardsfolder/r/riders_of_gavony.txt index 7d71e8ba0da..06acd4b0da5 100644 --- a/res/cardsfolder/r/riders_of_gavony.txt +++ b/res/cardsfolder/r/riders_of_gavony.txt @@ -4,8 +4,8 @@ Types:Creature Human Knight Text:no text PT:3/3 K:Vigilance -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseType | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseType:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentHumanControls +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentHumanControls S:Mode$ Continuous | Affected$ Creature.Human+YouCtrl | AddKeyword$ Protection:Creature.ChosenType:Protection from ChosenType | Description$ Human creatures you control have protection from creatures of the chosen type. SVar:PlayMain1:TRUE SVar:Rarity:Rare diff --git a/res/cardsfolder/r/riptide_replicator.txt b/res/cardsfolder/r/riptide_replicator.txt index 49c81313c07..682a41f2128 100644 --- a/res/cardsfolder/r/riptide_replicator.txt +++ b/res/cardsfolder/r/riptide_replicator.txt @@ -2,8 +2,8 @@ Name:Riptide Replicator ManaCost:X 4 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color and a creature type. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | SubAbility$ ChooseCT +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SubAbility$ ChooseCT | SpellDescription$ As CARDNAME enters the battlefield, choose a color and a creature type. SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature K:etbCounter:CHARGE:X SVar:X:Count$xPaid diff --git a/res/cardsfolder/r/roots_of_life.txt b/res/cardsfolder/r/roots_of_life.txt index 46ef625a9ea..e6a4d025ff5 100644 --- a/res/cardsfolder/r/roots_of_life.txt +++ b/res/cardsfolder/r/roots_of_life.txt @@ -2,8 +2,8 @@ Name:Roots of Life ManaCost:1 G G Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseLT | TriggerDescription$ As CARDNAME enters the battlefield, choose Island or Swamp. -SVar:ChooseLT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Basic Land | ValidTypes$ Island,Swamp | InvalidTypes$ Mountain,Forest,Plains | AILogic$ MostProminentHumanControls +K:ETBReplacement:Other:ChooseLT +SVar:ChooseLT:DB$ ChooseType | Defined$ You | Type$ Basic Land | ValidTypes$ Island,Swamp | InvalidTypes$ Mountain,Forest,Plains | AILogic$ MostProminentHumanControls | SpellDescription$ As CARDNAME enters the battlefield, choose Island or Swamp. T:Mode$ Taps | ValidCard$ Land.ChosenType+OppCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | OptionalDecider $ You | TriggerDescription$ Whenever a land of the chosen type an opponent controls becomes tapped, you may gain 1 life. SVar:TrigGainLife:AB$ GainLife | Cost$ 0 | LifeAmount$ 1 SVar:RemRandomDeck:True diff --git a/res/cardsfolder/s/sarpadian_empires_vol_vii.txt b/res/cardsfolder/s/sarpadian_empires_vol_vii.txt index b7c07ad9d7b..74b87dd900a 100644 --- a/res/cardsfolder/s/sarpadian_empires_vol_vii.txt +++ b/res/cardsfolder/s/sarpadian_empires_vol_vii.txt @@ -2,8 +2,8 @@ Name:Sarpadian Empires, Vol. VII ManaCost:3 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose white Citizen, blue Camarid, black Thrull, red Goblin, or green Saproling. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInGame +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInGame | SpellDescription$ As CARDNAME enters the battlefield, choose white Citizen, blue Camarid, black Thrull, red Goblin, or green Saproling. # Went for MostProminentInGame logic to give the AI a possible out for situations where it might be locked down based on its colors A:AB$ Token | Cost$ 3 T | TokenAmount$ 1 | TokenName$ Citizen | TokenTypes$ Creature,Citizen | TokenOwner$ You | TokenColors$ white | TokenPower$ 1 | TokenToughness$ 1 | ConditionChosenColor$ white | SubAbility$ ChoseBlue | SpellDescription$ Put a 1/1 creature token of the chosen color and type onto the battlefield. SVar:ChoseBlue:DB$ Token | TokenAmount$ 1 | TokenName$ Camarid | TokenTypes$ Creature,Camarid | TokenOwner$ You | TokenColors$ blue | TokenPower$ 1 | TokenToughness$ 1 | ConditionChosenColor$ blue | SubAbility$ ChoseBlack diff --git a/res/cardsfolder/s/shared_triumph.txt b/res/cardsfolder/s/shared_triumph.txt index eec835e007f..9b8acbc04e7 100644 --- a/res/cardsfolder/s/shared_triumph.txt +++ b/res/cardsfolder/s/shared_triumph.txt @@ -2,8 +2,8 @@ Name:Shared Triumph ManaCost:1 W Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck S:Mode$ Continuous | Affected$ Creature.ChosenType | AddPower$ 1 | AddToughness$ 1 | Description$ Creatures of the chosen type get +1/+1. SVar:RemRandomDeck:True SVar:PlayMain1:TRUE diff --git a/res/cardsfolder/s/shifting_sky.txt b/res/cardsfolder/s/shifting_sky.txt index a43bdbe8e72..9fd14aaee26 100644 --- a/res/cardsfolder/s/shifting_sky.txt +++ b/res/cardsfolder/s/shifting_sky.txt @@ -2,8 +2,8 @@ Name:Shifting Sky ManaCost:2 U Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. S:Mode$ Continuous| Affected$ Permanent.nonLand | SetColor$ ChosenColor | Description$ All nonland permanents are the chosen color. SVar:RemAIDeck:True SVar:RemRandomDeck:True diff --git a/res/cardsfolder/s/shimmer.txt b/res/cardsfolder/s/shimmer.txt index 645d41bc793..cd384c48b08 100644 --- a/res/cardsfolder/s/shimmer.txt +++ b/res/cardsfolder/s/shimmer.txt @@ -2,8 +2,8 @@ Name:Shimmer ManaCost:2 U U Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseLT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a land type. -SVar:ChooseLT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Land +K:ETBReplacement:Other:ChooseLT +SVar:ChooseLT:DB$ ChooseType | Defined$ You | Type$ Land | SpellDescription$ As CARDNAME enters the battlefield, choose a land type. S:Mode$ Continuous | Affected$ Land.ChosenType | AddKeyword$ Phasing | Description$ Each land of the chosen type has phasing. (It phases in or out before its controller untaps during each of his or her untap steps. While it's phased out, it's treated as though it doesn't exist.) SVar:RemAIDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/s/silhana_starfletcher.txt b/res/cardsfolder/s/silhana_starfletcher.txt index 1100e3f45e5..86087293fdd 100644 --- a/res/cardsfolder/s/silhana_starfletcher.txt +++ b/res/cardsfolder/s/silhana_starfletcher.txt @@ -4,8 +4,8 @@ Types:Creature Elf Druid Archer Text:no text PT:1/3 K:Reach -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInComputerDeck A:AB$ Mana | Cost$ T | Produced$ Chosen | SpellDescription$ Add one mana of the chosen color to your mana pool. SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/silhana_starfletcher.jpg diff --git a/res/cardsfolder/s/skyshroud_war_beast.txt b/res/cardsfolder/s/skyshroud_war_beast.txt index 4d22f97d8c1..46276da1856 100644 --- a/res/cardsfolder/s/skyshroud_war_beast.txt +++ b/res/cardsfolder/s/skyshroud_war_beast.txt @@ -4,8 +4,8 @@ Types:Creature Beast Text:no text PT:*/* K:Trample -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. S:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of nonbasic lands the chosen player controls. SVar:X:Count$Valid Land.nonBasic+ChosenCtrl SVar:RemRandomDeck:True diff --git a/res/cardsfolder/s/sol_grail.txt b/res/cardsfolder/s/sol_grail.txt index a787fe675f5..01f25c0ed99 100644 --- a/res/cardsfolder/s/sol_grail.txt +++ b/res/cardsfolder/s/sol_grail.txt @@ -2,8 +2,8 @@ Name:Sol Grail ManaCost:3 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. A:AB$ Mana | Cost$ T | Produced$ Chosen | SpellDescription$ Add one mana of the chosen color to your mana pool. SVar:RemAIDeck:True SVar:Rarity:Uncommon diff --git a/res/cardsfolder/s/steely_resolve.txt b/res/cardsfolder/s/steely_resolve.txt index 593b8f79937..d684815825a 100644 --- a/res/cardsfolder/s/steely_resolve.txt +++ b/res/cardsfolder/s/steely_resolve.txt @@ -2,8 +2,8 @@ Name:Steely Resolve ManaCost:1 G Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck S:Mode$ Continuous | Affected$ Creature.ChosenType | AddKeyword$ Shroud | Description$ Creatures of the chosen type have shroud. (They can't be the targets of spells or abilities.) SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/steely_resolve.jpg diff --git a/res/cardsfolder/s/story_circle.txt b/res/cardsfolder/s/story_circle.txt index 97f8d8384ce..4f3d054b7d5 100644 --- a/res/cardsfolder/s/story_circle.txt +++ b/res/cardsfolder/s/story_circle.txt @@ -2,8 +2,8 @@ Name:Story Circle ManaCost:1 W W Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck A:AB$ ChooseSource | Cost$ W | Choices$ Card.ChosenColor | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice of the chosen color would deal damage to you this turn, prevent that damage. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | RememberObjects$ Remembered | SVars$ RPreventNextFromSource,ExileEffect | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ ExileEffect | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. diff --git a/res/cardsfolder/s/stuffy_doll.txt b/res/cardsfolder/s/stuffy_doll.txt index 3cc60cde022..f98c6358cf4 100644 --- a/res/cardsfolder/s/stuffy_doll.txt +++ b/res/cardsfolder/s/stuffy_doll.txt @@ -4,8 +4,8 @@ Types:Artifact Creature Construct Text:no text PT:0/1 K:Indestructible -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a player. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Player | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose a player. A:AB$ DealDamage | Cost$ T | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to itself. T:Mode$ DamageDone | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to the chosen player. SVar:TrigDamage:AB$ DealDamage | Cost$ 0 | NumDmg$ X | References$ X | Defined$ ChosenPlayer diff --git a/res/cardsfolder/t/teferis_moat.txt b/res/cardsfolder/t/teferis_moat.txt index e2facb4a9c5..42c36233bd6 100644 --- a/res/cardsfolder/t/teferis_moat.txt +++ b/res/cardsfolder/t/teferis_moat.txt @@ -2,8 +2,8 @@ Name:Teferi's Moat ManaCost:3 W U Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True| TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentHumanCreatures +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentHumanCreatures S:Mode$ CantAttack | ValidCard$ Creature.withoutFlying+ChosenColor | Target$ You | Description$ Creatures of the chosen color without flying can't attack you. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/teferis_moat.jpg diff --git a/res/cardsfolder/t/the_rack.txt b/res/cardsfolder/t/the_rack.txt index b5a069a0ec4..f5ce1184e3e 100644 --- a/res/cardsfolder/t/the_rack.txt +++ b/res/cardsfolder/t/the_rack.txt @@ -2,8 +2,8 @@ Name:The Rack ManaCost:1 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseP | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose an opponent. -SVar:ChooseP:AB$ ChoosePlayer | Cost$ 0 | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent | AILogic$ Curse +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Chosen | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of the chosen player's upkeep, CARDNAME deals X damage to that player, where X is 3 minus the number of cards in his or her hand. SVar:TrigDamage:AB$ DealDamage | Cost$ 0 | Defined$ ChosenPlayer | NumDmg$ X | References$ X SVar:X:Count$InChosenHand/NMinus.3 diff --git a/res/cardsfolder/u/urzas_incubator.txt b/res/cardsfolder/u/urzas_incubator.txt index ed389142e37..64d78470e54 100644 --- a/res/cardsfolder/u/urzas_incubator.txt +++ b/res/cardsfolder/u/urzas_incubator.txt @@ -2,8 +2,8 @@ Name:Urza's Incubator ManaCost:3 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Static$ True | TriggerZones$ Battlefield | Execute$ TrigChoose | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:TrigChoose:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. S:Mode$ ReduceCost | ValidCard$ Creature.ChosenType | Type$ Spell | Activator$ You | Amount$ 2 | Description$ Creature spells of the chosen type cost 2 less to cast. SVar:RemAIDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/u/utopia_sprawl.txt b/res/cardsfolder/u/utopia_sprawl.txt index c35f8ec59f0..b25e14e9d27 100644 --- a/res/cardsfolder/u/utopia_sprawl.txt +++ b/res/cardsfolder/u/utopia_sprawl.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura Text:no text K:Enchant Forest A:SP$ Attach | Cost$ G | ValidTgts$ Forest | TgtPrompt$ Select target Forest | AILogic$ Pump -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. T:Mode$ TapsForMana | ValidCard$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigMana | Static$ True | TriggerDescription$ Whenever enchanted Forest is tapped for mana, its controller adds one mana of the chosen color to his or her mana pool. SVar:TrigMana:AB$ Mana | Cost$ 0 | Produced$ Chosen | Defined$ TriggeredCardController SVar:RemAIDeck:True diff --git a/res/cardsfolder/v/voice_of_all.txt b/res/cardsfolder/v/voice_of_all.txt index 3ca4759e84c..dfdc5c03093 100644 --- a/res/cardsfolder/v/voice_of_all.txt +++ b/res/cardsfolder/v/voice_of_all.txt @@ -4,8 +4,8 @@ Types:Creature Angel Text:no text PT:2/2 K:Flying -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck K:Protection:Card.ChosenColor:CARDNAME has protection from the chosen color. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/voice_of_all.jpg diff --git a/res/cardsfolder/v/voidstone_gargoyle.txt b/res/cardsfolder/v/voidstone_gargoyle.txt index 25afc5b5128..c6abc5e15aa 100644 --- a/res/cardsfolder/v/voidstone_gargoyle.txt +++ b/res/cardsfolder/v/voidstone_gargoyle.txt @@ -4,8 +4,8 @@ Types:Creature Gargoyle Text:no text PT:3/3 K:Flying -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigName | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, name a nonland card. -SVar:TrigName:AB$ NameCard | Cost$ 0 | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland +K:ETBReplacement:Other:DBNameCard +SVar:DBNameCard:DB$ NameCard | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland | SpellDescription$ As CARDNAME enters the battlefield, name a nonland card. S:Mode$ CantBeCast | ValidCard$ Card.NamedCard | Description$ The named card can't be cast. S:Mode$ CantBeActivated | ValidCard$ Card.NamedCard | Description$ Activated abilities of sources with the chosen name can't be activated. SVar:RemRandomDeck:True diff --git a/res/cardsfolder/v/volraths_laboratory.txt b/res/cardsfolder/v/volraths_laboratory.txt index 27c6f1a9bbe..527f18ce4b4 100644 --- a/res/cardsfolder/v/volraths_laboratory.txt +++ b/res/cardsfolder/v/volraths_laboratory.txt @@ -2,8 +2,8 @@ Name:Volrath's Laboratory ManaCost:5 Types:Artifact Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color and a creature type. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | SubAbility$ ChooseCT +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SubAbility$ ChooseCT | SpellDescription$ As CARDNAME enters the battlefield, choose a color and a creature type. SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature A:AB$ Token | Cost$ 5 T | TokenAmount$ 1 | TokenName$ ChosenType | TokenTypes$ Creature,ChosenType | TokenOwner$ You | TokenColors$ ChosenColor | TokenPower$ 2 | TokenToughness$ 2 | TokenImage$ C 2 2 Volraths Laboratory | SpellDescription$ Put a 2/2 creature token of the chosen color and type onto the battlefield. SVar:RemAIDeck:True diff --git a/res/cardsfolder/w/ward_of_lights.txt b/res/cardsfolder/w/ward_of_lights.txt index d30ee51ea80..2dc6d904bab 100644 --- a/res/cardsfolder/w/ward_of_lights.txt +++ b/res/cardsfolder/w/ward_of_lights.txt @@ -8,8 +8,8 @@ T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigDelayedSac | Static$ Tru SVar:TrigDelayedSac:AB$ Animate | Cost$ 0 | Defined$ Self | Triggers$ CleanupTrig | sVars$ Sac | Permanent$ True SVar:CleanupTrig:Mode$ Phase | Phase$ Cleanup | TriggerZones$ Battlefield | Execute$ Sac | TriggerDescription$ At the beginning of the next cleanup step, sacrifice CARDNAME. SVar:Sac:AB$ Sacrifice | Cost$ 0 | Defined$ Self -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInHumanDeck +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck A:SP$ Attach | Cost$ W W | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Protection:Card.ChosenColor:Protection from ChosenColor | Description$ Enchanted creature has protection from the chosen color. This effect doesn't remove CARDNAME. SVar:RemAIDeck:True diff --git a/res/cardsfolder/w/ward_sliver.txt b/res/cardsfolder/w/ward_sliver.txt index bb7013b9d32..facca63579e 100644 --- a/res/cardsfolder/w/ward_sliver.txt +++ b/res/cardsfolder/w/ward_sliver.txt @@ -3,8 +3,8 @@ ManaCost:4 W Types:Creature Sliver Text:no text PT:2/2 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color. -SVar:ChooseColor:DB$ ChooseColor | Defined$ You +K:ETBReplacement:Other:ChooseColor +SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. S:Mode$ Continuous | Affected$ Sliver | AddKeyword$ Protection:Card.ChosenColor:Protection from ChosenColor | Description$ All Slivers have protection from the chosen color. SVar:RemAIDeck:True SVar:RemRandomDeck:True diff --git a/res/cardsfolder/x/xenograft.txt b/res/cardsfolder/x/xenograft.txt index 2900f972c2f..86b2ac44919 100644 --- a/res/cardsfolder/x/xenograft.txt +++ b/res/cardsfolder/x/xenograft.txt @@ -2,8 +2,8 @@ Name:Xenograft ManaCost:4 U Types:Enchantment Text:no text -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type. -SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature +K:ETBReplacement:Other:ChooseCT +SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddType$ ChosenType | Description$ Each creature you control is the chosen type in addition to its other types. SVar:RemAIDeck:True SVar:RemRandomDeck:True