1
0
Fork 0

🐛 fix adding layer effect to self

This commit is contained in:
WEBXOSS 2017-08-13 23:23:49 +08:00
parent b748eb704b
commit b7ac6afd43

View file

@ -329,6 +329,7 @@ Card.prototype.setupConstEffects = function () {
},true);
if (eff.layer) {
this.player.mainDeck.cards.forEach(function (signi) {
if (signi === this) return;
if (!signi.hasClass('怪異')) return;
this.game.addConstEffect({
source: signi,