forked from mirrors/webxoss-core
Hotfix WX14-028
This commit is contained in:
parent
9c4561798a
commit
383549b527
1 changed files with 3 additions and 4 deletions
|
@ -116812,15 +116812,14 @@ var CardInfo = {
|
||||||
],
|
],
|
||||||
burstEffect: {
|
burstEffect: {
|
||||||
actionAsyn: function () {
|
actionAsyn: function () {
|
||||||
var filter = function () {
|
var filter = function (card) {
|
||||||
return true;
|
return !card.hasColor('colorless');
|
||||||
};
|
};
|
||||||
return this.player.searchAsyn(filter,1,0,true).callback(this,function (cards) {
|
return this.player.searchAsyn(filter,1,0,true).callback(this,function (cards) {
|
||||||
var card = cards[0];
|
var card = cards[0];
|
||||||
if (!card) return;
|
if (!card) return;
|
||||||
if (card.hasColor('colorless')) return;
|
|
||||||
filter = function (c) {
|
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) {
|
return this.player.searchAsyn(filter,1,0,true).callback(this,function (cards) {
|
||||||
if (!cards.length) return;
|
if (!cards.length) return;
|
||||||
|
|
Loading…
Reference in a new issue