forked from mirrors/webxoss-core
fix WX15-067 costChangeAsyn
This commit is contained in:
parent
48e367e691
commit
f7ab525875
1 changed files with 1 additions and 0 deletions
|
@ -110925,6 +110925,7 @@ var CardInfo = {
|
||||||
if (obj.costBlack < 0) obj.costBlack = 0;
|
if (obj.costBlack < 0) obj.costBlack = 0;
|
||||||
}
|
}
|
||||||
var zones = this.player.opponent.getInfectedZones();
|
var zones = this.player.opponent.getInfectedZones();
|
||||||
|
if (!zones.length) return Callback.immediately(obj);
|
||||||
return this.player.selectSomeAsyn('TARGET',zones,min).callback(this,function (zones) {
|
return this.player.selectSomeAsyn('TARGET',zones,min).callback(this,function (zones) {
|
||||||
this._data = zones.length;
|
this._data = zones.length;
|
||||||
zones.forEach(function (zone) {
|
zones.forEach(function (zone) {
|
||||||
|
|
Loading…
Reference in a new issue