ai优化
This commit is contained in:
parent
f78ab9510a
commit
6c7b5ea65b
|
@ -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 <
|
||||
|
|
Loading…
Reference in New Issue