Permalink
Browse files

Changed CMA to CM1. Updated HHO and VAN. Reversed phrexian mana symbo…

…l order.
  • Loading branch information...
1 parent eacec43 commit e6cf3ced1911b5d05baa97ee4be030dec6cf0c4c @Sembiance Sembiance committed Jul 13, 2014
Showing with 29 additions and 20 deletions.
  1. +5 −5 build/rip.js
  2. 0 json/{CMA.json → CM1.json}
  3. +1 −1 json/HHO.json
  4. +1 −1 json/MD1.json
  5. +1 −1 json/NPH.json
  6. +1 −1 json/VAN.json
  7. +1 −4 shared/C.js
  8. +4 −6 util/tmp.js
  9. +13 −0 web/changelog.json
  10. +1 −1 web/generate.js
  11. +1 −0 web/index.dust
View
@@ -809,11 +809,11 @@ var SYMBOL_CONVERSION_MAP =
"tap" : "T",
"untap" : "Q",
"snow" : "S",
- "phyrexian white" : "P/W",
- "phyrexian blue" : "P/U",
- "phyrexian black" : "P/B",
- "phyrexian red" : "P/R",
- "phyrexian green" : "P/G",
+ "phyrexian white" : "W/P",
+ "phyrexian blue" : "U/P",
+ "phyrexian black" : "B/P",
+ "phyrexian red" : "R/P",
+ "phyrexian green" : "G/P",
"phyrexian" : "P",
"variable colorless" : "X",
File renamed without changes.
View
@@ -1 +1 @@
-{"name":"Happy Holidays","code":"HHO","releaseDate":"2006-12-25","border":"silver","type":"promo","cards":[{"name":"Fruitcake Elemental","layout":"normal","type":"Creature — Elemental","originalType":"Creature — Elemental","types":["Creature"],"subtypes":["Elemental"],"colors":["Green"],"manaCost":"{1}{G}{G}","cmc":3,"rarity":"Special","power":"7","toughness":"7","artist":"Darrell Riche","text":"Fruitcake Elemental is indestructible.\n\nAt the end of your turn, Fruitcake Elemental deals 7 damage to you.\n\n{3}: Target player gains control of Fruitcake Elemental.","originalText":"Fruitcake Elemental is indestructible.\n\nAt the end of your turn, Fruitcake Elemental deals 7 damage to you.\n\n{3}: Target player gains control of Fruitcake Elemental.","flavor":"Experiments intended to create the perfect holiday emissary resulted in a substance harder than darksteel and a fraction as merry.","number":"1","imageName":"fruitcake elemental","printings":["Happy Holidays"]},{"name":"Gifts Given","layout":"normal","type":"Instant","originalType":"Instant","types":["Instant"],"colors":["Blue"],"manaCost":"{3}{U}","cmc":4,"rarity":"Special","artist":"Jason Chan","text":"Search target opponent's library for four cards with different names and reveal them. That player chooses two of those cards. Put the chosen cards into the player's graveyard and the rest into your hand. Then that player shuffles his or her library.","originalText":"Search target opponent's library for four cards with different names and reveal them. That player chooses two of those cards. Put the chosen cards into the player's graveyard and the rest into your hand. Then that player shuffles his or her library.","flavor":"Thanks! You shouldn't have.","number":"2","imageName":"gifts given","printings":["Happy Holidays"]},{"name":"Evil Presents","layout":"normal","type":"Sorcery","originalType":"Sorcery","types":["Sorcery"],"colors":["Black"],"manaCost":"{2}{B}{B}","cmc":4,"rarity":"Special","artist":"Paul Bonner","text":"Put a creature card from your hand into play under target opponent's control. That creature attacks each turn if able... and always attacks its controller.","originalText":"Put a creature card from your hand into play under target opponent's control. That creature attacks each turn if able... and always attacks its controller.","flavor":"'Tis better to give than receive.","number":"3","imageName":"evil presents","printings":["Happy Holidays"]},{"name":"Season's Beatings","layout":"normal","type":"Sorcery","originalType":"Sorcery","types":["Sorcery"],"colors":["Red"],"manaCost":"{R}{R}{R}{R}","cmc":4,"rarity":"Special","artist":"Kev Walker","text":"Family gathering — Each creature target player controls deals damage equal to its power to another random creature that player controls.","originalText":"Family gathering — Each creature target player controls deals damage equal to its power to another random creature that player controls.","flavor":"Arriving home, he suddenly longed for the bloodsoaked battlefields behind him.","number":"4","imageName":"season's beatings","printings":["Happy Holidays"]},{"name":"Snow Mercy","layout":"normal","type":"Snow Enchantment","originalType":"Snow Enchantment","types":["Enchantment"],"supertypes":["Snow"],"colors":["White"],"manaCost":"{2}{W}{W}","cmc":4,"rarity":"Special","artist":"rk post","text":"Whenever a creature deals damage to you, put a globe counter on it.\n\n{T}, {Q}, {T}, {Q}, {T}: Tap all creatures with globe counters on them.","originalText":"Whenever a creature deals damage to you, put a globe counter on it.\n\n{T}, {Q}, {T}, {Q}, {T}: Tap all creatures with globe counters on them.","flavor":"WARNING: Shake gently. Contents may cause choking, hypothermia, and/or planar invasion.","number":"5","imageName":"snow mercy","printings":["Happy Holidays"]},{"name":"Yule Ooze","layout":"normal","type":"Creature","originalType":"Creature — Ooze","types":["Creature"],"subtypes":["Ooze"],"colors":["Red","Green"],"manaCost":"{2}{R}{G}","cmc":4,"rarity":"Special","power":"1","toughness":"1","artist":"Steve Prescott","text":"At the beginning of your upkeep, destroy another nonland permanent chosen at random, then put a number of +1/+1 counters on Yule Ooze equal to that permanent's converted mana cost.\n\n{R}{G}, Eat some food: Regenerate Yule Ooze.","originalText":"At the beginning of your upkeep, destroy another nonland permanent chosen at random, then put a number of +1/+1 counters on Yule Ooze equal to that permanent's converted mana cost.\n\n{R}{G}, Eat some food: Regenerate Yule Ooze.","flavor":"It loves having family for dinner.","number":"6","imageName":"yule ooze","printings":["Happy Holidays"]},{"name":"Naughty","names":["Naughty","Nice"],"layout":"split","type":"Sorcery","originalType":"Sorcery","types":["Sorcery"],"colors":["Black"],"manaCost":"{1}{B}{B}","cmc":3,"rarity":"Special","artist":"Greg Staples","text":"Search another target player's library for a card and put that card into your hand. Then shuffle that player's library.","originalText":"Search another target player's library for a card and put that card into your hand. Then shuffle that player's library.","number":"7a","imageName":"naughtynice","printings":["Happy Holidays"]},{"name":"Nice","names":["Naughty","Nice"],"layout":"split","type":"Sorcery","originalType":"Sorcery","types":["Sorcery"],"colors":["White"],"manaCost":"{1}{W}{W}","cmc":3,"rarity":"Special","artist":"Greg Staples","text":"Search your library for a card and put it into another target player's hand. Then shuffle your library.","originalText":"Search your library for a card and put it into another target player's hand. Then shuffle your library.","number":"7b","imageName":"naughtynice","printings":["Happy Holidays"]},{"name":"Stocking Tiger","layout":"normal","type":"Artifact Creature — Cat Construct","originalType":"Artifact Creature — Cat Construct","types":["Artifact","Creature"],"subtypes":["Cat","Construct"],"manaCost":"{5}","cmc":5,"rarity":"Special","power":"3","toughness":"3","artist":"Terese Nielsen","text":"Stocking Tiger enters the battlefield with a sealed Magic booster pack under it.\n\nWhen Stocking Tiger deals combat damage to a player, unwrap the booster pack and put it in your hand.","originalText":"Stocking Tiger enters the battlefield with a sealed Magic booster pack under it.\n\nWhen Stocking Tiger deals combat damage to a player, unwrap the booster pack and put it in your hand.","flavor":"Just hope yours isn't full of coal golems.","number":"8","imageName":"stocking tiger","printings":["Happy Holidays"]}]}
+{"name":"Happy Holidays","code":"HHO","releaseDate":"2006-12-25","border":"silver","type":"promo","cards":[{"name":"Fruitcake Elemental","layout":"normal","type":"Creature — Elemental","originalType":"Creature — Elemental","types":["Creature"],"subtypes":["Elemental"],"colors":["Green"],"manaCost":"{1}{G}{G}","cmc":3,"rarity":"Special","power":"7","toughness":"7","artist":"Darrell Riche","text":"Fruitcake Elemental is indestructible.\n\nAt the end of your turn, Fruitcake Elemental deals 7 damage to you.\n\n{3}: Target player gains control of Fruitcake Elemental.","originalText":"Fruitcake Elemental is indestructible.\n\nAt the end of your turn, Fruitcake Elemental deals 7 damage to you.\n\n{3}: Target player gains control of Fruitcake Elemental.","flavor":"Experiments intended to create the perfect holiday emissary resulted in a substance harder than darksteel and a fraction as merry.","number":"1","imageName":"fruitcake elemental","printings":["Happy Holidays"]},{"name":"Gifts Given","layout":"normal","type":"Instant","originalType":"Instant","types":["Instant"],"colors":["Blue"],"manaCost":"{3}{U}","cmc":4,"rarity":"Special","artist":"Jason Chan","text":"Search target opponent's library for four cards with different names and reveal them. That player chooses two of those cards. Put the chosen cards into the player's graveyard and the rest into your hand. Then that player shuffles his or her library.","originalText":"Search target opponent's library for four cards with different names and reveal them. That player chooses two of those cards. Put the chosen cards into the player's graveyard and the rest into your hand. Then that player shuffles his or her library.","flavor":"Thanks! You shouldn't have.","number":"2","imageName":"gifts given","printings":["Happy Holidays"]},{"name":"Evil Presents","layout":"normal","type":"Sorcery","originalType":"Sorcery","types":["Sorcery"],"colors":["Black"],"manaCost":"{2}{B}{B}","cmc":4,"rarity":"Special","artist":"Paul Bonner","text":"Put a creature card from your hand into play under target opponent's control. That creature attacks each turn if able... and always attacks its controller.","originalText":"Put a creature card from your hand into play under target opponent's control. That creature attacks each turn if able... and always attacks its controller.","flavor":"'Tis better to give than receive.","number":"3","imageName":"evil presents","printings":["Happy Holidays"]},{"name":"Season's Beatings","layout":"normal","type":"Sorcery","originalType":"Sorcery","types":["Sorcery"],"colors":["Red"],"manaCost":"{R}{R}{R}{R}","cmc":4,"rarity":"Special","artist":"Kev Walker","text":"Family gathering — Each creature target player controls deals damage equal to its power to another random creature that player controls.","originalText":"Family gathering — Each creature target player controls deals damage equal to its power to another random creature that player controls.","flavor":"Arriving home, he suddenly longed for the bloodsoaked battlefields behind him.","number":"4","imageName":"season's beatings","printings":["Happy Holidays"]},{"name":"Snow Mercy","layout":"normal","type":"Snow Enchantment","originalType":"Snow Enchantment","types":["Enchantment"],"supertypes":["Snow"],"colors":["White"],"manaCost":"{2}{W}{W}","cmc":4,"rarity":"Special","artist":"rk post","text":"Whenever a creature deals damage to you, put a globe counter on it.\n\n{T}, {Q}, {T}, {Q}, {T}: Tap all creatures with globe counters on them.","originalText":"Whenever a creature deals damage to you, put a globe counter on it.\n\n{T}, {Q}, {T}, {Q}, {T}: Tap all creatures with globe counters on them.","flavor":"WARNING: Shake gently. Contents may cause choking, hypothermia, and/or planar invasion.","number":"5","imageName":"snow mercy","printings":["Happy Holidays"]},{"name":"Yule Ooze","layout":"normal","type":"Creature — Ooze","originalType":"Creature — Ooze","types":["Creature"],"subtypes":["Ooze"],"colors":["Red","Green"],"manaCost":"{2}{R}{G}","cmc":4,"rarity":"Special","power":"1","toughness":"1","artist":"Steve Prescott","text":"At the beginning of your upkeep, destroy another nonland permanent chosen at random, then put a number of +1/+1 counters on Yule Ooze equal to that permanent's converted mana cost.\n\n{R}{G}, Eat some food: Regenerate Yule Ooze.","originalText":"At the beginning of your upkeep, destroy another nonland permanent chosen at random, then put a number of +1/+1 counters on Yule Ooze equal to that permanent's converted mana cost.\n\n{R}{G}, Eat some food: Regenerate Yule Ooze.","flavor":"It loves having family for dinner.","number":"6","imageName":"yule ooze","printings":["Happy Holidays"]},{"name":"Naughty","names":["Naughty","Nice"],"layout":"split","type":"Sorcery","originalType":"Sorcery","types":["Sorcery"],"colors":["Black"],"manaCost":"{1}{B}{B}","cmc":3,"rarity":"Special","artist":"Greg Staples","text":"Search another target player's library for a card and put that card into your hand. Then shuffle that player's library.","originalText":"Search another target player's library for a card and put that card into your hand. Then shuffle that player's library.","number":"7a","imageName":"naughtynice","printings":["Happy Holidays"]},{"name":"Nice","names":["Naughty","Nice"],"layout":"split","type":"Sorcery","originalType":"Sorcery","types":["Sorcery"],"colors":["White"],"manaCost":"{1}{W}{W}","cmc":3,"rarity":"Special","artist":"Greg Staples","text":"Search your library for a card and put it into another target player's hand. Then shuffle your library.","originalText":"Search your library for a card and put it into another target player's hand. Then shuffle your library.","number":"7b","imageName":"naughtynice","printings":["Happy Holidays"]},{"name":"Stocking Tiger","layout":"normal","type":"Artifact Creature — Cat Construct","originalType":"Artifact Creature — Cat Construct","types":["Artifact","Creature"],"subtypes":["Cat","Construct"],"manaCost":"{5}","cmc":5,"rarity":"Special","power":"3","toughness":"3","artist":"Terese Nielsen","text":"Stocking Tiger enters the battlefield with a sealed Magic booster pack under it.\n\nWhen Stocking Tiger deals combat damage to a player, unwrap the booster pack and put it in your hand.","originalText":"Stocking Tiger enters the battlefield with a sealed Magic booster pack under it.\n\nWhen Stocking Tiger deals combat damage to a player, unwrap the booster pack and put it in your hand.","flavor":"Just hope yours isn't full of coal golems.","number":"8","imageName":"stocking tiger","printings":["Happy Holidays"]}]}
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1046,8 +1046,7 @@
},
{
name : "Commander's Arsenal",
- code : "CMA",
- gathererCode : "CM1",
+ code : "CM1",
releaseDate : "2012-11-02",
border : "black",
type : "commander"
@@ -1685,8 +1684,6 @@
{ match : {name : "Raksha Golden Cub"}, replace : {artist : "Pete Venters", flavor : "Some believe that Raksha, yougnest of the kha, is the reincarnation of Dakan, the first and mightiest of leonin leaders."}},
{ match : {name : "Reaper King"}, replace : {flavor : "It's harvest time."}},
{ match : {name : "Rith, the Awakener"}, replace : {flavor : ""}},
- { match : {multiverseid : 214827}, replace : {life : -3, artist : "Mark Zug", flavor : "Trained in the arts of stealth, royal assassins choose their victims carefully, relying on timing and precision rather than brute force."}},
- { match : {multiverseid : 182260}, replace : {flavor : "Trained in the arts of stealth, royal assassins choose their victims carefully, relying on timing and precision rather than brute force."}},
{ match : {name : "Rumbling Slum"}, replace : {artist : "Carl Critchlow", flavor : "The Orzhov contract the Izzet to animate slum districts and banish them to the wastes. The Gruul adopt them and send them back to the city for vengeance."}},
{ match : {name : "Sakashima the Impostor"}, replace : {artist : "rk post", flavor : ""}},
{ match : {multiverseid : 182282}, replace : {artist : "Greg Staples", flavor : "Her sword sings more beautifully than any choir."}},
View
@@ -13,6 +13,8 @@ var base = require("xbase"),
path = require("path"),
tiptoe = require("tiptoe");
+var MATCH_NAMES = ["Ancestral Vision", "Archdemon of Greed", "Bane of Hanweir", "Dryad Arbor", "Evermind", "Garruk, the Veil-Cursed", "Gatstaf Howler", "Ghastly Haunting", "Hinterland Scourge", "Homicidal Brute", "Howlpack Alpha", "Howlpack of Estwald", "Hypergenesis", "Insectile Aberration", "Ironfang", "Krallenhorde Killer", "Krallenhorde Wantons", "Living End", "Lord of Lineage", "Ludevic's Abomination", "Markov's Servant", "Merciless Predator", "Moonscarred Werewolf", "Nightfall Predator", "Rampaging Werewolf", "Ravager of the Fells", "Restore Balance", "Silverpelt Werewolf", "Stalking Vampire", "Terror of Kruin Pass", "Thraben Militia", "Tovolar's Magehunter", "Ulvenwald Primordials", "Unhallowed Cathar", "Unholy Fiend", "Werewolf Ransacker", "Wheel of Fate", "Wildblood Pack", "Withengar Unbound"];
+
tiptoe(
function processSets()
{
@@ -33,7 +35,6 @@ tiptoe(
}
);
-
function checkSet(setCode, cb)
{
tiptoe(
@@ -45,12 +46,9 @@ function checkSet(setCode, cb)
{
JSON.parse(setRaw).cards.forEach(function(card)
{
- if(card.types && card.types.contains("Planeswalker"))
+ if(MATCH_NAMES.contains(card.name))
{
- if(card.text.contains("-"))
- base.info(" BAD %s: %s", setCode, card.name);
- if(card.text.contains(""))
- base.info("GOOD %s: %s", setCode, card.name);
+ base.info(card.colors.join(", "));
}
});
View
@@ -1,5 +1,18 @@
[
{
+ "version": "2.8.3",
+ "when": "2014-07-12",
+ "changes": [
+ "Commander's Arsenal had the wrong set code. It is now correctly CM1 instead of CMA.",
+ "Phrexian mana symbols with colors have been reversed and now read {W/P} instead of {P/W} in order to follow the official rule 107.4f",
+ "VAN: Fixed a minor issue with the Royal Assasin Avatar",
+ "HHO: Fixed type for Yule Ooze"
+ ],
+ "updatedSetFiles" : ["HHO","HHO-x","MD1","MD1-x","NPH","NPH-x","VAN","VAN-x"],
+ "newSetFiles" : ["CM1", "CM1-x"],
+ "removedSetFiles" : ["CMA", "CMA-x"]
+ },
+ {
"version": "2.8.2",
"when": "2014-07-12",
"changes": [
View
@@ -18,7 +18,7 @@ var dustData =
{
title : "Magic the Gathering card data in JSON format",
sets : [],
- version : "2.8.2",
+ version : "2.8.3",
lastUpdated : "Jul 12, 2014",
setCodesNotOnGatherer : C.SETS_NOT_ON_GATHERER.join(", ")
};
View
@@ -669,6 +669,7 @@
<li>Bobby Wertman, rotaercz, Chris Bush, Patrick Rogers, Lewis, aeosynth, Pouncing Kavu</li>
<li>Florian, Carlo Luchessa, Sean Eshbaugh, Didero, laxika, Vlad Grigorescu</li>
<li>mini.dude_22, Nathan Nelson, Rudi v. Pelt, Javier Bueno Hedo, Eric Olson</li>
+ <li>Michael Wybrow</li>
</ul>
</li>
<li><a href="http://wiki.mtgsalvation.com/article/Main_Page">MTG Salvation Wiki</a> for an AWESOME resource</li>

0 comments on commit e6cf3ce

Please sign in to comment.