谋曹丕【放逐】选项效果错误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)); player.removeMark("sbxingshang", get.info("sbxingshang").getNum(num + 4));
switch (num) { switch (num) {
case 1: case 1:
case 2: case 5:
case 6: 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.addTempSkill("sbfangzhu_ban", { player: "phaseEnd" });
target.markAuto("sbfangzhu_ban", [type]); target.markAuto("sbfangzhu_ban", [type]);
break; break;
case 2:
target.addTempSkill("baiban", { player: "phaseEnd" });
break;
case 3: case 3:
target.addTempSkill("sbfangzhu_kill", { player: "phaseEnd" }); target.addTempSkill("sbfangzhu_kill", { player: "phaseEnd" });
break; break;
case 4: case 4:
target.turnOver(); target.turnOver();
break; break;
case 5:
target.addTempSkill("sbfangzhu_ban", { player: "phaseEnd" });
target.markAuto("sbfangzhu_ban", ["equip"]);
break;
} }
}, },
ai: { ai: {