一将成名2024系列bugfix(2)

This commit is contained in:
mengxinzxz 2024-05-01 16:30:28 +08:00
parent 236402ad64
commit 96eeaf037e
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ game.import("character", function () {
multitarget: true,
async content(event, trigger, player) {
const targets = event.targets;
if (!player.getStat("xvzhi")) player.getStat("xvzhi") = [];
player.getStat("xvzhi").addArray(targets);
if (targets.some(i => !i.countCards("h"))) return;
const result = await player
.chooseCardOL(targets, "h", true, [1, Infinity], "蓄志:选择任意张手牌并与对方交换")