1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-10-09 07:39:08 +00:00

fix special cards

This commit is contained in:
devfake
2015-06-25 16:39:20 +02:00
parent e72498fc58
commit e8c9b8bc85
3 changed files with 6 additions and 174 deletions

View File

@@ -25,12 +25,11 @@ module.exports = {
filters: {
getType: function(c, type) {
var tmp = $.map(c, (item) => {
if(item.type == type) return item;
//if(item.type == type) return item;
if($.inArray(item.type, type) > -1) return item;
});
return tmp;
return c;
}
},
@@ -63,7 +62,6 @@ module.exports = {
for(var item in _deck) {
this.deck.push(cards[_deck[item]]);
}
},
// test