1
0
Fork 0

Hotfix WX14-028

This commit is contained in:
WEBXOSS 2016-12-23 12:17:20 +08:00
parent 9c4561798a
commit 383549b527

View file

@ -116812,15 +116812,14 @@ var CardInfo = {
],
burstEffect: {
actionAsyn: function () {
var filter = function () {
return true;
var filter = function (card) {
return !card.hasColor('colorless');
};
return this.player.searchAsyn(filter,1,0,true).callback(this,function (cards) {
var card = cards[0];
if (!card) return;
if (card.hasColor('colorless')) return;
filter = function (c) {
return !c.hasSameColorWith(card)
return !c.hasColor('colorless') && !c.hasSameColorWith(card) && c !== card;
}
return this.player.searchAsyn(filter,1,0,true).callback(this,function (cards) {
if (!cards.length) return;