fix PR-308 const

This commit is contained in:
WEBXOSS 2017-05-10 00:07:24 +08:00
parent 60b0ebefb8
commit 8fc6b5d191

View file

@ -100723,8 +100723,8 @@ var CardInfo = {
description: '1956-const-0', description: '1956-const-0',
actionAsyn: function () { actionAsyn: function () {
var filter = function (card) { var filter = function (card) {
return card.hasClass('red'); return (card !== this) && card.hasColor('red');
}; }.bind(this);
return this.player.selectSelfSigniAsyn(filter).callback(this,function (card) { return this.player.selectSelfSigniAsyn(filter).callback(this,function (card) {
if (!card) return; if (!card) return;
this.game.tillTurnEndSet(this,card,'canNotBeBanished',true); this.game.tillTurnEndSet(this,card,'canNotBeBanished',true);