[KTK] Added Kahns of Tarkir set.

This commit is contained in:
LevelX2 2014-09-01 19:25:32 +02:00
parent c716128f72
commit cb835f4f9b
9 changed files with 128 additions and 3 deletions

View file

@ -20,6 +20,7 @@ public class ConstructedFormats {
private static final String[] constructedFormats = {
ALL, STANDARD, EXTENDED, MODERN,
"* Khans of Tarkir Block", "Khans of Tarkir", /*"Fate Reforged",*/
"* Theros Block", "Journey into Nyx", "Born of the Gods", "Theros",
"* Return to Ravnica Block", "Dragon's Maze", "Gatecrash", "Return to Ravnica",
"* Innistrad Block", "Avacyn Restored", "Dark Ascension", "Innistrad",
@ -89,7 +90,12 @@ public class ConstructedFormats {
}
public static List<String> getSetsByFormat(String format) {
if (format.equals("* Khans of Tarkir Block")) {
return Arrays.asList("KTK", "FRF");
}
if (format.equals("Khans of Tarkir")) {
return Arrays.asList("KTK");
}
if (format.equals("* Theros Block")) {
return Arrays.asList("THS", "BNG","JOU");
}

View file

@ -43,7 +43,8 @@ public class GathererSets implements Iterable<DownloadJob> {
"RTR", "GTC", "DGM",
"MMA",
"THS", "BNG", "JOU",
"CNS", "VMA"
"CNS", "VMA",
"KTK", "FRF"
};
private static final HashMap<String, String> symbolsReplacements = new HashMap<>();

View file

@ -16,6 +16,7 @@ public class MagicCardsImageSource implements CardImageSource {
private static final Map<String, String> setNameReplacement = new HashMap<String, String>() {
{
put("KTK", "khans-of-tarkir");
put("VMA", "vintage-masters");
put("CNS", "conspiracy");
put("JOU", "journey-into-nyx");

View file

@ -64,6 +64,6 @@ dd2=jvc
ddd=gvl
unh=uh
# Remove setname as soon as the images can be downloaded
ignore.urls=TOK,EMBLEM
ignore.urls=TOK,EMBLEM,KTK
# sets ordered by release time (newest goes first)
token.lookup.order=M15,VMA,CNS,JOU,BNG,THS,DDL,M14,MMA,DGM,GTC,RTR,M13,AVR,DDI,DKA,ISD,M12,NPH,MBS,SOM,M11,ROE,PVC,WWK,ZEN,M10,GVL,ARB,DVD,CFX,JVC,ALA,EVE,SHM,EVG,MOR,LRW,10E,CLS,CHK

View file

@ -0,0 +1,60 @@
/*
* Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
/**
*
* @author LevelX2
*/
public class KhansOfTarkir extends ExpansionSet {
private static final KhansOfTarkir fINSTANCE = new KhansOfTarkir();
public static KhansOfTarkir getInstance() {
return fINSTANCE;
}
private KhansOfTarkir() {
super("Khans of Tarkir", "KTK", "mage.sets.khansoftarkir", new GregorianCalendar(2014, 9, 26).getTime(), SetType.EXPANSION);
this.blockName = "Khans of Tarkir";
this.hasBoosters = true;
this.hasBasicLands = true;
this.numBoosterLands = 1;
this.numBoosterCommon = 9;
this.numBoosterUncommon = 3;
this.numBoosterRare = 1;
this.ratioBoosterMythic = 8;
}
}

View file

@ -51,6 +51,7 @@ open (DATA, $setsFile) || die "can't open $setsFile";
while(my $line = <DATA>) {
my @data = split('\\|', $line);
$sets{$data[0]}= $data[1];
#print "$data[0]--$data[1]\n"
}
close(DATA);
@ -258,5 +259,7 @@ foreach my $setName (keys %{$cards{$cardName}}) {
close CARD;
print "$vars{'set'}.$vars{'className'}\n";
} else {
print "Set not found in known sets: $setName\n";
}
}

View file

@ -2,6 +2,7 @@ Alara Reborn|alarareborn|
Alliances|alliances|
Antiquities|antiquities|
Apocalypse|apocalypse|
Archenemy|archenemy|
Arabian Nights|arabiannights|
Avacyn Restored|avacynrestored|
Betrayers of Kamigawa|betrayersofkamigawa|
@ -41,6 +42,7 @@ Innistrad|innistrad|
Invasion|invasion|
Journey into Nyx|journeyintonyx|
Judgment|judgment|
Khans of Tarkir|khansoftarkir|
Legends|legends|
Legions|legions|
Limited Edition Alpha|limitedalpha|

View file

@ -24136,3 +24136,54 @@ Staff of the Wild Magus|Magic 2015|236|U|{3}|Artifact|||Whenever you cast a gree
Tormod's Crypt|Magic 2015|237|U|{0}|Artifact|||{T}, Sacrifice Tormod's Crypt: Exile all cards from target player's graveyard.|
Tyrant's Machine|Magic 2015|238|C|{2}|Artifact|||{4}, {T}: Tap target creature.|
Will-Forged Golem|Magic 2015|239|C|{6}|Artifact Creature - Golem|4|4|Convoke|
Ainok Bond-Kin|Khans of Tarkir|3|C|{1}{W}|Creature - Hound Soldier|2|1|Outlast {1}{W} <em>({1}{W}, {T}: Put a +1/+1 counter on this creature. Outlast only as a sorcery.)</em>$Each creature you control with a +1/+1 counter on it has first strike.|
Herald of Anafenza|Khans of Tarkir|12|R|{W}|Creature - Human Soldier|1|2|Outlast {2}{W} <em>({2}{W}, {T}: Put a +1/+1 counter on this creature. Outlast only as a sorcery.)</em>$Whenever you activate Herald of Anafenza's outlast ability, put a 1/1 white Warrior creature token onto the battlefield.|
Jeskai Elder|Khans of Tarkir|?|U|{1}{U}|Creature - Human Monk|1|2|Prowess <em>(Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)</em>$Whenever Jeskai Elder deals combat damage to a player, you may draw a card. If you do, discard a card.|
Thousand Winds|Khans of Tarkir|9991|R|{4}{U}{U}|Creature - Elemental|5|6|Flying$Morph {5}{U}{U}$When Thousand Winds is turned face up, return all other tapped creatures to their owners' hands.|
Jeskai Windscout|Khans of Tarkir|44|C|{2}{U}|Creature - Bird Scout|2|1|Flying$Prowess <em>(Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)</em>|
Mardu Skullhunter|Khans of Tarkir|9992|C|{1}{B}|Creature - Human Warrior|2|1|Mardu Skullhunter enters the battlefield tapped.$<em>Raid</em> — When Mardu Skullhunter enters the battlefield, if you attacked with a creature this turn, target opponent discards a card.|
Necropolis Fiend|Khans of Tarkir|82|R|{7}{B}{B}|Creature - Demon|4|5|Delve$Flying${X}, {T}, Exile X cards from your graveyard: Target creature gets -X/-X until end of turn.|
Shambling Attendants|Khans of Tarkir|89|C|{7}{B}|Creature - Zombie|3|5|Delve$Deathtouch|
Mardu Heart-Piercer|Khans of Tarkir|9993|U|{3}{R}|Creature - Human Archer|2|3|<em>Raid</em> — When Mardu Heart-Piercer enters the battlefield, if you attacked with a creature this turn, Mardu Heart-Piercer deals 2 damage to target creature or player.|
Dragon-Style Twins|Khans of Tarkir|108|R|{3}{R}{R}|Creature - Human Monk|3|3|Double strike$Prowess <em>(Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)</em>|
Mardu Warshrieker|Khans of Tarkir|117|C|{3}{R}|Creature - Orc Shaman|3|3|<em>Raid</em> — When Mardu Warshrieker enters the battlefield, if you attacked with a creature this turn, add {R}{W}{B} to your mana pool.|
Sarkhan, the Dragonspeaker|Khans of Tarkir|119|M|{3}{R}{R}|Planeswalker - Sarkhan|-|4|+1: Until end of turn, Sarkhan, the Dragonspeaker becomes a legendary 4/4 red Dragon creature with flying, indestructible, and haste. <em>(He doesn't lose loyalty while he's not a planeswalker.)</em>$-3: Sarkhan, the Dragonspeaker deals 4 damage to target creature.$-6: You get an emblem with "At the beginning of your draw step, draw two additional cards" and "At the beginning of your end step, discard your hand."|
Heir of the Wilds|Khans of Tarkir|134|U|{1}{G}|Creature - Human Warrior|2|2|Deathtouch$<em>Ferocious</em> — Whenever Heir of the Wilds attacks, if you control a creature with power 4 or greater, Heir of the Wilds gets +1/+1 until end of turn.|
Rattleclaw Mystic|Khans of Tarkir|144|R|{1}{G}|Creature - Human Shaman|2|1|{T}: Add {G}, {U}, or {R} to your mana pool. $Morph {2}$When Rattleclaw Mystic is turned face up, add {G}{U}{R} to your mana pool.|
Abzan Guide|Khans of Tarkir|162|C|{3}{W}{B}{G}|Creature - Human Warrior|4|4|Lifelink$Morph {2}{W}{B}{G}|
Crackling Doom|Khans of Tarkir|171|R|{R}{W}{B}|Instant|||Crackling Doom deals 2 damage to each opponent. Each opponent sacrifices a creature with the greatest power among creatures he or she controls.|
Duneblast|Khans of Tarkir|174|R|{4}{W}{G}{B}|Sorcery|||Choose up to one creature. Destroy the rest.|
Icefeather Aven|Khans of Tarkir|178|U|{G}{U}|Creature - Bird Shaman|2|2|Flying$Morph {1}{G}{U}$When Icefeather Aven is turned face up, you may return another target creature to its owner's hand.|
Narset, Enlightened Master|Khans of Tarkir|190|M|{3}{U}{R}{W}|Legendary Creature - Human Monk|3|2|First strike, hexproof$Whenever Narset, Enlightented Master attacks, exile the top four cards of your library. Until end of turn, you may cast noncreature cards exiled with Narset this turn without paying their mana costs.|
Sultai Charm|Khans of Tarkir|204|U|{B}{G}{U}|Instant|||Choose one —$<strong>•</strong> Destroy target monocolored creature.$<strong>•</strong> Destroy target artifact or enchantment.$<strong>•</strong> Draw two cards, then discard a card.|
Temur Ascendancy|Khans of Tarkir|207|R|{G}{U}{R}|Enchantment|||Creatures you control have haste.$Whenever a creature with power 4 or greater enters the battlefield under your control, you may draw a card.|
Zurgo Helmsmasher|Khans of Tarkir|214|M|{2}{R}{W}{B}|Legendary Creature - Orc Warrior|7|2|Haste$Zurgo Helmsmasher attacks each combat if able.$Zurgo Helmsmasher has indestructible as long as it's your turn.$Whenever a creature dealt damage by Zurgo Helmsmasher this turn dies, put a +1/+1 counter on Zurgo Helmsmasher.|
Mystic Monastery|Khans of Tarkir|9994|U||Land|||Mystic Monastery enters the battlefield tapped.${T}: Add {U}, {R}, or {W} to your mana pool.|
Nomad Outpost|Khans of Tarkir|9995|U||Land|||Nomad Outpost enters the battlefield tapped.${T}: Add {R}, {W}, or {B} to your mana pool.|
Bloodstained Mire|Khans of Tarkir|230|R||Land|||{T}, Pay 1 life, Sacrifice Bloodstained Mire: Search your library for a Swamp or Mountain card and put it onto the battlefield. Then shuffle your library.|
Flooded Strand|Khans of Tarkir|233|R||Land|||{T}, Pay 1 life, Sacrifice Flooded Strand: Search your library for a Plains or Island card and put it onto the battlefield. Then shuffle your library.|
Polluted Delta|Khans of Tarkir|239|R||Land|||{T}, Pay 1 life, Sacrifice Polluted Delta: Search your library for an Island or Swamp card and put it onto the battlefield. Then shuffle your library.|
Windswept Heath|Khans of Tarkir|248|R||Land|||{T}, Pay 1 life, Sacrifice Windswept Heath: Search your library for a Forest or Plains card and put it onto the battlefield. Then shuffle your library.|
Wooded Foothills|Khans of Tarkir|249|R||Land|||{T}, Pay 1 life, Sacrifice Wooded Foothills: Search your library for a Mountain or Forest card and put it onto the battlefield. Then shuffle your library.|
Plains|Khans of Tarkir|250|L||Basic Land - Plains||||
Plains|Khans of Tarkir|251|L||Basic Land - Plains||||
Plains|Khans of Tarkir|252|L||Basic Land - Plains||||
Plains|Khans of Tarkir|253|L||Basic Land - Plains||||
Island|Khans of Tarkir|254|L||Basic Land - Island||||
Island|Khans of Tarkir|255|L||Basic Land - Island||||
Island|Khans of Tarkir|256|L||Basic Land - Island||||
Island|Khans of Tarkir|257|L||Basic Land - Island||||
Swamp|Khans of Tarkir|258|L||Basic Land - Swamp||||
Swamp|Khans of Tarkir|259|L||Basic Land - Swamp||||
Swamp|Khans of Tarkir|260|L||Basic Land - Swamp||||
Swamp|Khans of Tarkir|261|L||Basic Land - Swamp||||
Mountain|Khans of Tarkir|262|L||Basic Land - Mountain||||
Mountain|Khans of Tarkir|263|L||Basic Land - Mountain||||
Mountain|Khans of Tarkir|264|L||Basic Land - Mountain||||
Mountain|Khans of Tarkir|265|L||Basic Land - Mountain||||
Forest|Khans of Tarkir|266|L||Basic Land - Forest||||
Forest|Khans of Tarkir|267|L||Basic Land - Forest||||
Forest|Khans of Tarkir|268|L||Basic Land - Forest||||
Forest|Khans of Tarkir|269|L||Basic Land - Forest||||
Dragon Throne of Tarkir|Khans of Tarkir|219|R|{4}|Legendary Artifact - Equipment|||Equipped creature has defender and "{2}, {T}: Other creatures you control gain trample and get +X/+X until end of turn, where X is this creature's power."$Equip {3}|
Lens of Clarity|Khans of Tarkir|223|C|{1}|Artifact|||You may look at the top card of your library and at face-down creatures you don't control. <em>(You may do this at any time.)</em>|

View file

@ -58,6 +58,7 @@ Innistrad|ISD|
Invasion|INV|
Journey into Nyx|JOU|
Judgment|JUD|
Khans of Tarkir|KTK|
Limited Edition Alpha|LEA|
Limited Edition Beta|LEB|
Legends|LEG|