Adding promo cards (set 00).

This commit is contained in:
marcins78@gmail.com
2011-12-15 19:30:48 +00:00
parent f9ccf3d2f5
commit 4c1af76613
4 changed files with 137 additions and 16 deletions

View File

@@ -1,3 +1,121 @@
0_1,1_324
0_2,3_106
0_3,3_32
0_4,1_337
0_5,3_42
0_6,1_343
0_7,3_1
0_8,1_351
0_9,3_24
0_10,2_51
0_11,3_69
0_12,1_13
0_13,1_50
0_14,1_89
0_15,3_121
0_16,4_117
0_17,4_270
0_18,5_128
0_19,5_93
0_20,12_161
0_21,6_37
0_22,6_83
0_23,7_81
0_24,8_10
0_25,7_86
0_26,7_36
0_27,10_121
0_28,7_16
0_29,7_228
0_30,6_76
0_31,1_221
0_32,6_30
0_33,4_274
0_34,1_15
0_35,4_116
0_36,2_74
0_37,2_85
0_38,4_91
0_39,4_271
0_40,4_41
0_41,1_90
0_42,2_50
0_43,2_84
0_44,6_31
0_45,4_267
0_46,5_7
0_47,6_50
0_48,8_26
0_49,8_87
0_50,9_16
0_51,9_26
0_52,9_51
0_53,9_52
0_54,9_48
0_55,10_87
0_61,8_84
0_68,9_1
0_69,11_25
0_70,11_33
0_71,11_57
0_72,11_58
0_73,11_68
0_74,11_95
0_75,11_111
0_76,11_139
0_77,11_154
0_78,11_172
0_79,11_15
0_80,12_112
0_81,12_180
0_82,12_184
0_83,11_219
0_84,11_173
0_85,11_108
0_86,11_170
0_87,11_21
0_88,11_146
0_89,12_30
0_90,13_43
0_91,13_111
0_92,12_90
0_93,11_163
0_94,13_153
0_95,12_144
0_96,11_211
0_97,11_222
0_98,12_176
0_99,12_177
0_100,12_73
0_101,12_20
0_102,13_92
0_103,12_179
0_104,12_54
0_105,11_224
0_106,13_128
0_107,13_67
0_108,11_226
0_109,11_219
0_110,11_222
0_111,11_220
0_112,11_221
0_113,13_182
0_114,11_224
0_115,11_225
0_116,11_223
0_117,13_66
0_118,13_124
0_119,13_71
0_120,15_110
0_121,15_158
0_122,15_17
0_123,15_5
0_124,15_18
0_125,15_54
0_126,15_162
0_127,17_93
0_128,17_47
0_129,18_59
4_2,1_2
4_62,1_41
4_129,1_110

View File

@@ -44,13 +44,13 @@ public class LotroServer extends AbstractServer {
_test = test;
_defaultCollection = new DefaultCardCollection();
final int[] cardCounts = new int[]{365, 122, 122, 365, 128, 128, 365, 122, 52, 122, 266, 194, 194};
final int[] cardCounts = new int[]{129, 365, 122, 122, 365, 128, 128, 365, 122, 52, 122, 266, 194, 194};
Thread thr = new Thread(
new Runnable() {
public void run() {
for (int i = 1; i <= 12; i++) {
for (int j = 1; j <= cardCounts[i - 1]; j++) {
for (int i = 0; i <= 12; i++) {
for (int j = 1; j <= cardCounts[i]; j++) {
String blueprintId = i + "_" + j;
try {
LotroCardBlueprint cardBlueprint = _lotroCardBlueprintLibrary.getLotroCardBlueprint(blueprintId);

View File

@@ -136,6 +136,7 @@ var GempLotrDeckBuildingUI = Class.extend({
this.fullFilterDiv = $("<div id='fullFiltering'></div>");
this.fullFilterDiv.append("<select id='set'>"
+ "<option value=''>All Sets</option>"
+ "<option value='0'>00 - Promo</option>"
+ "<option value='1,2,3'>Fellowship Block</option>"
+ "<option value='1'>01 - The Fellowship of the Ring</option>"
+ "<option value='2'>02 - Mines of Moria</option>"
@@ -395,11 +396,11 @@ var GempLotrDeckBuildingUI = Class.extend({
this.infoDialog = $("<div></div>")
.dialog({
autoOpen: false,
closeOnEscape: true,
resizable: false,
title: "Card information"
});
autoOpen: false,
closeOnEscape: true,
resizable: false,
title: "Card information"
});
var swipeOptions = {
threshold: 20,
@@ -425,14 +426,14 @@ var GempLotrDeckBuildingUI = Class.extend({
if (that.deckListDialog == null) {
that.deckListDialog = $("<div></div>")
.dialog({
title: "Your stored decks",
autoOpen: false,
closeOnEscape: true,
resizable: true,
width: 400,
height: 200,
modal: true
});
title: "Your stored decks",
autoOpen: false,
closeOnEscape: true,
resizable: true,
width: 400,
height: 200,
modal: true
});
}
that.deckListDialog.html("");

View File

@@ -62,6 +62,8 @@ var Card = Class.extend({
var setNo = parseInt(blueprintId.substr(0, separator));
var cardNo = parseInt(blueprintId.substr(separator + 1));
if (setNo == 0)
return (cardNo == 1 || cardNo == 4 || cardNo == 6 || cardNo == 8);
if (setNo == 1)
return (cardNo >= 319 && cardNo <= 363);
if (setNo == 2)