fix:邹氏祸水第四名及之后角色无法弃置装备区内的所有牌

This commit is contained in:
lieren2023 2024-04-28 13:00:46 +08:00 committed by GitHub
parent 4636223733
commit 1922a72b2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -6722,8 +6722,10 @@ game.import("character", function () {
}
if (targets.length < 3) event.goto(5);
"step 4";
var num = targets[2].countCards("e");
if (num > 0) targets[2].chooseToDiscard("e", true, num);
for (var i = 2; i < targets.length; i++) {
var num = targets[i].countCards("e");
if (num > 0) targets[i].chooseToDiscard("e", true, num);
}
"step 5";
game.delayx();
},