Merge pull request #1377 from IceCola97/PR-Branch

修复bug喵_(:з」∠)_
This commit is contained in:
Spmario233 2024-05-21 13:23:32 +08:00 committed by GitHub
commit f6ae797596
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ const skills = {
return [1, -1]; return [1, -1];
}, },
}, },
halfneg: true halfneg: true,
}, },
subSkill: { subSkill: {
effect: { effect: {
@ -1649,9 +1649,9 @@ const skills = {
.getCards("he", function (card) { .getCards("he", function (card) {
return lib.filter.canBeDiscarded(card, player, target); return lib.filter.canBeDiscarded(card, player, target);
}) })
.map(c => { .map(c => ({
link: c; link: c,
}) }))
.sort(function (a, b) { .sort(function (a, b) {
return get.buttonValue(b) - get.buttonValue(a); return get.buttonValue(b) - get.buttonValue(a);
}) })