forked from mirrors/webxoss-core
🐛 fix WX16-033 costChangeAsyn
This commit is contained in:
parent
c26575cc62
commit
61d4b53262
1 changed files with 1 additions and 1 deletions
|
@ -118459,7 +118459,7 @@ var CardInfo = {
|
||||||
var cards = this.player.signis.filter(function (signi) {
|
var cards = this.player.signis.filter(function (signi) {
|
||||||
return signi.hasClass('微菌');
|
return signi.hasClass('微菌');
|
||||||
},this);
|
},this);
|
||||||
var count = cards.length + this.player.getInfectedZones().length;
|
var count = cards.length + this.player.opponent.getInfectedZones().length;
|
||||||
obj.costBlack -= count;
|
obj.costBlack -= count;
|
||||||
if (obj.costBlack < 0) obj.costBlack = 0;
|
if (obj.costBlack < 0) obj.costBlack = 0;
|
||||||
return obj;
|
return obj;
|
||||||
|
|
Loading…
Reference in a new issue