1
0
Fork 0

fix wd17-006

This commit is contained in:
deardrops 2017-03-06 13:45:40 +08:00
parent c958f6ba77
commit 26ef1eabee

View file

@ -540,6 +540,7 @@ Card.prototype.canUse = function (timming,ignoreCost) {
if (this.player.enoughCost(cost)) return true;
// bet 相关
if (this.bet && this.bettedCost) {
if (this.bet > this.player.coin) return false; // 避免出现coin不够却可以选择使用技艺。《孤立无炎》
cost = this.getChainedCostObj(this.bettedCost)
if (this.player.enoughCost(cost)) return true;
}