调整存【桃】ai

This commit is contained in:
157 2024-05-31 13:23:32 +08:00
parent 4dffce4b17
commit 7da0acffbc
1 changed files with 7 additions and 1 deletions

View File

@ -608,6 +608,12 @@ game.import("card", function () {
if (target !== _status.event.dying) {
if (
!player.isPhaseUsing() ||
player.needsToDiscard(0, (i, player) => {
return (
!player.canIgnoreHandcard(i) &&
taos.includes(i)
);
}) ||
player.hasSkillTag(
"nokeep",
true,
@ -619,7 +625,7 @@ game.import("card", function () {
)
)
return 2;
let min = 7.2 - (4 * player.hp) / player.maxHp,
let min = 8.1 - (4.5 * player.hp) / player.maxHp,
nd = player.needsToDiscard(0, (i, player) => {
return (
!player.canIgnoreHandcard(i) &&