1
0
Fork 0

🐛 fix layer

This commit is contained in:
WEBXOSS 2017-08-13 21:34:23 +08:00
parent 26abccfcdd
commit b748eb704b

View file

@ -339,8 +339,9 @@ Card.prototype.setupConstEffects = function () {
wisdom: false,
fixed: false,
condition: function () {
return inArr(layerMark,this.layerMarks) && eff.condition.call(this);
return inArr(layerMark,this.layerMarks) && (!eff.condition || eff.condition.call(this));
},
action: eff.action,
},true);
},this);
}