forked from mirrors/webxoss-core
🐛 fix adding layer effect to self
This commit is contained in:
parent
b748eb704b
commit
b7ac6afd43
1 changed files with 1 additions and 0 deletions
1
Card.js
1
Card.js
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue