Adding The Hunters (15) set.

This commit is contained in:
marcins78@gmail.com
2012-02-07 15:09:26 +00:00
parent 873c5ffe5d
commit a1aa54e4e3
5 changed files with 33 additions and 3 deletions

View File

@@ -187,4 +187,14 @@
15_2,1_2
15_13,1_41
15_133,4_287
15_145,1_299
15_145,1_299
# Masterworks in The Hunters
15_195,15_19
15_196,15_29
15_197,15_34
15_198,15_55
15_199,15_64
15_200,15_123
15_201,15_184
15_202,15_185
15_203,15_186

View File

@@ -56,7 +56,7 @@ public class LotroServer extends AbstractServer {
Thread thr = new Thread(
new Runnable() {
public void run() {
for (int i = 0; i <= 14; i++) {
for (int i = 0; i <= 15; i++) {
for (int j = 1; j <= cardCounts[i]; j++) {
String blueprintId = i + "_" + j;
try {

View File

@@ -165,7 +165,7 @@
$(document).ready(
function() {
$("#latestNews").append("<b>Sets 01-14 are available to play.</b> "
$("#latestNews").append("<b>Sets 01-15 are available to play.</b> "
+ "If you find any problems with specific card or rules in general, please report it <a href='http://lotrtcgdb.com/forums/index.php/topic,7592.0.html'>at the TLHH forums</a>.");
var chat = new ChatBoxUI("Game Hall", $("#chat"), "/gemp-lotr/server", true);

View File

@@ -129,6 +129,12 @@ var CardFilter = Class.extend({
+ "<option value='12'>12 - Black Rider</option>"
+ "<option value='13'>13 - Bloodlines</option>"
+ "<option value='14'>14 - Expanded Middle-earth</option>"
+ "<option value='15,17,18'>Hunters Block</option>"
+ "<option value='15'>15 - The Hunters</option>"
+ "<option value='16'>16 - The Wraith Collection</option>"
+ "<option value='17'>17 - Rise of Saruman</option>"
+ "<option value='18'>18 - Treachery & Deceit</option>"
+ "<option value='19'>19 - Ages End</option>"
+ "</select>");
this.nameInput = $("<input type='text' value='Card name' style='width: 130px; font-size: 70%;'>");
this.sortSelect = $("<select style='width: 80px; font-size: 80%;'>"

View File

@@ -1,5 +1,12 @@
var cardCache = {};
var cardScale = 357 / 497;
var fixedImages = {
// "Forth the Three Hunters!" cards, separate special images
"15_204": "http://lotrtcgdb.com/images/LOTR15060D.jpg",
"15_205": "http://lotrtcgdb.com/images/LOTR15060E.jpg",
"15_206": "http://lotrtcgdb.com/images/LOTR15060G.jpg"
};
var packBlueprints = {
"(S)FotR - Tengwar": "/gemp-lotr/images/boosters/fotr_tengwar_selection.png",
"(S)TTT - Starter": "/gemp-lotr/images/boosters/ttt_starter_selection.png",
@@ -125,10 +132,15 @@ var Card = Class.extend({
return (cardNo >= 185 && cardNo <= 194);
if (setNo == 13)
return (cardNo >= 185 && cardNo <= 194);
if (setNo == 15)
return (cardNo >= 187 && cardNo <= 194);
return false;
},
getUrlByBlueprintId: function(blueprintId) {
if (fixedImages[blueprintId] != null)
return fixedImages[blueprintId];
if (packBlueprints[blueprintId] != null)
return packBlueprints[blueprintId];
@@ -174,6 +186,8 @@ var Card = Class.extend({
return cardNo > 194;
if (setNo == 13)
return cardNo > 194;
if (setNo == 15)
return cardNo > 194 && cardNo < 204;
return false;
},