RE: fix:邹氏祸水第四名及之后角色无法弃置装备区内的所有牌
This commit is contained in:
parent
1922a72b2b
commit
f9060a4131
|
@ -6720,12 +6720,17 @@ game.import("character", function () {
|
||||||
if (result.bool) {
|
if (result.bool) {
|
||||||
targets[1].give(result.cards, player);
|
targets[1].give(result.cards, player);
|
||||||
}
|
}
|
||||||
if (targets.length < 3) event.goto(5);
|
if (targets.length < 3) {
|
||||||
"step 4";
|
event.goto(5);
|
||||||
for (var i = 2; i < targets.length; i++) {
|
} else {
|
||||||
var num = targets[i].countCards("e");
|
targets.splice(0, 2);
|
||||||
if (num > 0) targets[i].chooseToDiscard("e", true, num);
|
event.targets = targets;
|
||||||
}
|
}
|
||||||
|
"step 4";
|
||||||
|
var target = targets.shift();
|
||||||
|
var num = target.countCards("e");
|
||||||
|
if (num > 0) target.chooseToDiscard("e", true, num);
|
||||||
|
if (targets.length > 0) event.redo();
|
||||||
"step 5";
|
"step 5";
|
||||||
game.delayx();
|
game.delayx();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue