mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
🐛 fix WX16-079 const
This commit is contained in:
parent
cfe9fa4ed4
commit
a4a340cf2b
1 changed files with 5 additions and 2 deletions
|
@ -120389,11 +120389,14 @@ var CardInfo = {
|
||||||
],
|
],
|
||||||
constEffects: [{
|
constEffects: [{
|
||||||
auto: function (add,effect) {
|
auto: function (add,effect) {
|
||||||
add(this.player.opponent,'onSigniBanished',effect);
|
this.player.opponent.signis.forEach(function (signi) {
|
||||||
|
if (!signi.isInfected()) return;
|
||||||
|
add(signi,'onBanish',effect);
|
||||||
|
},this);
|
||||||
},
|
},
|
||||||
effect: {
|
effect: {
|
||||||
triggerCondition: function (event) {
|
triggerCondition: function (event) {
|
||||||
return event.card.isInfected() && (event.source === this);
|
return (event.source === this);
|
||||||
},
|
},
|
||||||
actionAsyn: function () {
|
actionAsyn: function () {
|
||||||
this.player.draw(1);
|
this.player.draw(1);
|
||||||
|
|
Loading…
Reference in a new issue