谋曹丕【放逐】选项效果错误bugfix

This commit is contained in:
mengxinzxz 2024-04-21 00:51:56 +08:00
parent 27e269ec16
commit d7a57a37ca
1 changed files with 5 additions and 6 deletions

View File

@ -1424,22 +1424,21 @@ game.import("character", function () {
player.removeMark("sbxingshang", get.info("sbxingshang").getNum(num + 4));
switch (num) {
case 1:
case 2:
case 5:
case 6:
const type = ["basic", "equip", "trick"][[1, 2, 6].indexOf(num)];
const type = ["basic", "equip", "trick"][[1, 5, 6].indexOf(num)];
target.addTempSkill("sbfangzhu_ban", { player: "phaseEnd" });
target.markAuto("sbfangzhu_ban", [type]);
break;
case 2:
target.addTempSkill("baiban", { player: "phaseEnd" });
break;
case 3:
target.addTempSkill("sbfangzhu_kill", { player: "phaseEnd" });
break;
case 4:
target.turnOver();
break;
case 5:
target.addTempSkill("sbfangzhu_ban", { player: "phaseEnd" });
target.markAuto("sbfangzhu_ban", ["equip"]);
break;
}
},
ai: {