Skip to content

Commit

Permalink
Fix ordering of draft packs, specifically guildgates
Browse files Browse the repository at this point in the history
  • Loading branch information
FugiTech committed Sep 26, 2018
1 parent 1d817a6 commit 7cb7cd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deckmaster",
"version": "201809.25.0",
"version": "201809.26.0",
"author": "Fugi <Fugiman47@gmail.com>",
"description": "Deckmaster Twitch Extension",
"repository": "github:fugiman/deckmaster",
Expand Down
7 changes: 7 additions & 0 deletions client/src/main/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ export default class Parser {
sort(cards) {
const lands = ['Plains', 'Island', 'Swamp', 'Mountain', 'Forest']
const duallands = [
// M19
'Cinder Barrens',
'Forsaken Sanctuary',
'Foul Orchard',
Expand All @@ -326,6 +327,12 @@ export default class Parser {
'Timber Gorge',
'Tranquil Expanse',
'Woodland Stream',
// GRN
'Boros Guildgate',
'Dimir Guildgate',
'Golgari Guildgate',
'Izzet Guildgate',
'Selesnya Guildgate',
]
const rarityOrder = ['mythic', 'rare', 'uncommon', 'common', 'dualland', 'land']
const colorOrder = [1, 2, 4, 8, 16, 3, 5, 6, 10, 12, 20, 24, 9, 17, 18, 7, 14, 28, 25, 19, 13, 26, 21, 11, 22, 15, 30, 29, 27, 23, 31, 0]
Expand Down

0 comments on commit 7cb7cd7

Please sign in to comment.