This commit is contained in:
157 2024-05-01 15:02:55 +08:00
parent f78ab9510a
commit 6c7b5ea65b
1 changed files with 5 additions and 1 deletions

View File

@ -11499,7 +11499,11 @@ game.import("character", function () {
},
check: function (card) {
var player = _status.event.player;
if (!player.hasSkill("dcpingxi")) return 0;
if (!player.hasSkill("dcpingxi")) {
if (ui.selected.cards.length) return 0;
if (player.needsToDiscard()) return 12 - get.value(card);
return 2 * player.hp + 1.5 - get.value(card);
}
var num = lib.skill.dcpingxi.getNum() + ui.selected.cards.length;
if (
num <