1
0
Fork 0

🐛 fix WX16-033 costChangeAsyn

This commit is contained in:
WEBXOSS 2017-08-17 01:42:08 +08:00
parent c26575cc62
commit 61d4b53262

View file

@ -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;