From 86ce4e1c97e051bc38665690b1ada0ed2927f74f Mon Sep 17 00:00:00 2001 From: PhallenCassidy Date: Sat, 8 Oct 2016 20:43:13 -0400 Subject: [PATCH] =?UTF-8?q?Added=20Hobbit=20fixed=20images=20=C3=A0=20la?= =?UTF-8?q?=20Second=20Edition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gemp-lotr-async/src/main/web/js/gemp-019/jCards.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/jCards.js b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/jCards.js index 9ba5ffd31..694617646 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/jCards.js +++ b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/jCards.js @@ -208,6 +208,10 @@ var Card = Class.extend({ if (img != null) return img; img = set20[blueprintId]; + if (img != null) + return img; + //Additional Hobbit Draft blueprints + img = hobbit[blueprintId]; if (img != null) return img; return null; @@ -268,6 +272,9 @@ var Card = Class.extend({ return (cardNo >= 134 && cardNo <= 140); if (setNo == 20) return (cardNo >= 416 && cardNo <= 469); + //Additional Hobbit Draft sites + if (setNo == 21) + return (cardNo >= 49 && cardNo <= 57); return false; },