mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
🐛 fix PR-373
This commit is contained in:
parent
5470e3e989
commit
0f485f58b9
1 changed files with 4 additions and 4 deletions
|
@ -121862,8 +121862,8 @@ var CardInfo = {
|
||||||
},
|
},
|
||||||
effect: {
|
effect: {
|
||||||
triggerCondition: function (event) {
|
triggerCondition: function (event) {
|
||||||
return (card.oldZone === this.player.handZone) &&
|
return (event.oldZone === this.player.handZone) &&
|
||||||
(card.newZone === this.player.trashZone);
|
(event.newZone === this.player.trashZone);
|
||||||
},
|
},
|
||||||
condition: function () {
|
condition: function () {
|
||||||
var card = this.getOpposingSigni();
|
var card = this.getOpposingSigni();
|
||||||
|
@ -121879,8 +121879,8 @@ var CardInfo = {
|
||||||
auto: 'onMove',
|
auto: 'onMove',
|
||||||
effect: {
|
effect: {
|
||||||
triggerCondition: function (event) {
|
triggerCondition: function (event) {
|
||||||
return (event.card.oldZone === this.player.handZone) &&
|
return (event.oldZone === this.player.handZone) &&
|
||||||
(event.card.newZone === this.player.trashZone);
|
(event.newZone === this.player.trashZone);
|
||||||
},
|
},
|
||||||
costCondition: function () {
|
costCondition: function () {
|
||||||
return this.player.enoughCost({costBlue: 1}) || this.player.enoughCost({costBlack: 1});
|
return this.player.enoughCost({costBlue: 1}) || this.player.enoughCost({costBlack: 1});
|
||||||
|
|
Loading…
Reference in a new issue