Merge branch 'libccy:PR-Branch' into PR-Branch

This commit is contained in:
157 2024-05-21 13:29:27 +08:00 committed by GitHub
commit 6ae760863a
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);
}) })