Merge pull request #1412 from lieren2023/lieren2023-patch-1
rehuoshui再次修复
This commit is contained in:
commit
f550e1e854
|
@ -5741,26 +5741,27 @@ const skills = {
|
|||
player.logSkill("rehuoshui", targets);
|
||||
event.targets = targets;
|
||||
targets[0].addTempSkill("fengyin");
|
||||
if (targets.length < 2) event.goto(5);
|
||||
if (targets.length < 2) event.goto(6);
|
||||
} else event.finish();
|
||||
"step 2";
|
||||
if (targets[1].countCards("h") == 0) event.goto(targets.length > 2 ? 4 : 5);
|
||||
if (targets[1].countCards("h") == 0) event.goto(targets.length > 2 ? 4 : 6);
|
||||
else targets[1].chooseCard("h", true, "交给" + get.translation(player) + "一张手牌");
|
||||
"step 3";
|
||||
if (result.bool) {
|
||||
targets[1].give(result.cards, player);
|
||||
}
|
||||
"step 4";
|
||||
if (targets.length < 3) {
|
||||
event.goto(5);
|
||||
event.goto(6);
|
||||
} else {
|
||||
targets.splice(0, 2);
|
||||
}
|
||||
"step 4";
|
||||
"step 5";
|
||||
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 6";
|
||||
game.delayx();
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue