Permalink
Browse files

Export DAR

Fixes #77
Still having issues with "Masterpieces"
  • Loading branch information...
Manuel-777 committed Nov 1, 2018
1 parent 96cc539 commit 3820c495979d678b3cb244794eec8bce8b3ab53b
Showing with 14 additions and 2 deletions.
  1. +14 −2 shared/util.js
@@ -841,7 +841,13 @@ function get_deck_export(deck) {
var card_set = cardsDb.get(grpid).set;
var card_cn = cardsDb.get(grpid).cid;
str += card.quantity+" "+card_name+" ("+get_set_code(card_set)+") "+card_cn+"\r\n";
try {
card_set = setsList[card_set].arenacode;
str += card.quantity+" "+card_name+" ("+card_set+") "+card_cn+"\r\n";
}
catch (e) {
str += card.quantity+" "+card_name+" ("+get_set_code(card_set)+") "+card_cn+"\r\n";
}
});
str += "\r\n";
@@ -852,7 +858,13 @@ function get_deck_export(deck) {
var card_set = cardsDb.get(grpid).set;
var card_cn = cardsDb.get(grpid).cid;
str += card.quantity+" "+card_name+" ("+get_set_code(card_set)+") "+card_cn+"\r\n";
try {
card_set = setsList[card_set].arenacode;
str += card.quantity+" "+card_name+" ("+card_set+") "+card_cn+"\r\n";
}
catch (e) {
str += card.quantity+" "+card_name+" ("+get_set_code(card_set)+") "+card_cn+"\r\n";
}
});
return str;

0 comments on commit 3820c49

Please sign in to comment.