1
0
Fork 0

fix es6 in card.js

This commit is contained in:
WEBXOSS 2017-04-10 23:26:22 +08:00
parent 26b2e19856
commit 0ae1639666

View file

@ -1651,7 +1651,7 @@ Card.prototype.canBeBanished = function () {
};
Card.prototype.canGainAbility = function (source) {
let canNotGainAbility =
var canNotGainAbility =
this.canNotGainAbility ||
(this.player.signiCanNotGainAbility && this.type === 'SIGNI') ||
(this.canNotGainAbilityBySelfPlayer && source && source.player === this.player);