forked from mirrors/webxoss-core
fix es6 in card.js
This commit is contained in:
parent
26b2e19856
commit
0ae1639666
1 changed files with 1 additions and 1 deletions
2
Card.js
2
Card.js
|
@ -1651,7 +1651,7 @@ Card.prototype.canBeBanished = function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
Card.prototype.canGainAbility = function (source) {
|
Card.prototype.canGainAbility = function (source) {
|
||||||
let canNotGainAbility =
|
var canNotGainAbility =
|
||||||
this.canNotGainAbility ||
|
this.canNotGainAbility ||
|
||||||
(this.player.signiCanNotGainAbility && this.type === 'SIGNI') ||
|
(this.player.signiCanNotGainAbility && this.type === 'SIGNI') ||
|
||||||
(this.canNotGainAbilityBySelfPlayer && source && source.player === this.player);
|
(this.canNotGainAbilityBySelfPlayer && source && source.player === this.player);
|
||||||
|
|
Loading…
Reference in a new issue