Fix player.damageAsyn

This commit is contained in:
WEBXOSS 2016-12-30 14:52:58 +08:00
parent aa0279c233
commit c5fe40d77c

View file

@ -1087,7 +1087,7 @@ Player.prototype.damageAsyn = function () {
if (this.wontBeDamaged) return Callback.immediately(false); if (this.wontBeDamaged) return Callback.immediately(false);
if (this.wontBeDamagedByOpponentLrig) { if (this.wontBeDamagedByOpponentLrig) {
var source = this.game.getEffectSource(); var source = this.game.getEffectSource();
if (source === this.player.opponent.lrig) { if (source === this.opponent.lrig) {
return Callback.immediately(false); return Callback.immediately(false);
} }
} }