🐛 fix ener system of colorless

This commit is contained in:
WEBXOSS 2017-08-23 21:45:27 +08:00
parent 840c4e709b
commit d37b13ab98
4 changed files with 4 additions and 4 deletions

View file

@ -431,7 +431,7 @@ Dialog.prototype.selectEner = function (title,cards,integers,cost,callback,onCan
count: requirement.count, count: requirement.count,
mask: requirement.mask, mask: requirement.mask,
filter: function (int) { filter: function (int) {
return int & requirement.mask; return !int || (int & requirement.mask);
}, },
}; };
}); });

View file

@ -65,7 +65,7 @@ if (window.applicationCache) {
} }
var VERSION = 69; var VERSION = 70;
var serverVersion; var serverVersion;
var clientId = 0; var clientId = 0;
var game = null; var game = null;

View file

@ -47,4 +47,4 @@ background/loading.gif
NETWORK: NETWORK:
* *
# 2017/08/22 11:04 # 2017/08/23 21:43

File diff suppressed because one or more lines are too long