From 8e479278055f905d6cb8b5008fb6101dd00ba6e7 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Fri, 10 Feb 2017 16:02:54 +0800 Subject: [PATCH] some corrections --- projects/mtg/bin/Res/sets/primitives/mtg.txt | 11 ++++++----- projects/mtg/include/MTGAbility.h | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index f32a1fbed..c64adbaa3 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -55824,7 +55824,8 @@ type=Enchantment [/card] [card] name=Idyllic Tutor -auto=moveTo(myhand) notatarget(enchantment|myLibrary) +aicode=moveTo(myhand) notatarget(enchantment|myLibrary) +auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>enchantment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for an enchantment card, reveal it, and put it into your hand. Then shuffle your library. mana={2}{W} type=Sorcery @@ -76348,7 +76349,7 @@ type=Instant [card] name=Mystical Tutor aicode=activate target(*[instant;sorcery]|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! -auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(*[instant;sorcery]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[instant;sorcery]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Search your library for an instant or sorcery card and reveal that card. Shuffle your library, then put the card on top of it. mana={U} type=Instant @@ -83788,7 +83789,7 @@ type=Enchantment [card] name=Personal Tutor aicode=activate target(sorcery|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! -auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(sorcery|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>sorcery|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Search your library for a sorcery card and reveal that card. Shuffle your library, then put the card on top of it. mana={U} type=Sorcery @@ -114591,7 +114592,7 @@ type=Sorcery [card] name=Sylvan Tutor aicode=activate target(creature|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! -auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Search your library for a creature card and reveal that card. Shuffle your library, then put the card on top of it. mana={G} type=Sorcery @@ -132972,7 +132973,7 @@ type=Instant [card] name=Worldly Tutor aicode=activate target(creature|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! -auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Search your library for a creature card and reveal that card. Shuffle your library, then put the revealed card back on top of it. mana={G} type=Instant diff --git a/projects/mtg/include/MTGAbility.h b/projects/mtg/include/MTGAbility.h index 55deae9ff..7c90ae847 100644 --- a/projects/mtg/include/MTGAbility.h +++ b/projects/mtg/include/MTGAbility.h @@ -220,7 +220,7 @@ public: ATTACK_COST = 36, BLOCK_COST = 37, GRANTEDFLASHBACK_COST = 38, - FORCED_TOKEN_CREATOR, + FORCED_TOKEN_CREATOR = 39, }; };