【养名】改为此阶段

This commit is contained in:
157 2024-05-06 12:57:46 +08:00
parent 2650c3dd45
commit 6bf8ca6388
1 changed files with 14 additions and 3 deletions

View File

@ -3647,7 +3647,7 @@ const skills = {
},
content: function () {
"step 0";
event.num = 0;
target.addTempSkill("jsrgyangming_lose", "phaseUseAfter");
"step 1";
player.chooseToCompare(target).set(
"small",
@ -3667,9 +3667,11 @@ const skills = {
.chooseBool("是否与其重复此拼点流程?")
.set("ai", () => get.event("bool"))
.set("bool", get.effect(target, "jsrgyangming", player, player) > 0);
event.num++;
game.broadcastAll((target)=>{
target.storage.jsrgyangming_lose++;
}, target);
} else {
if (event.num) target.draw(event.num);
if (target.storage.jsrgyangming_lose) target.draw(target.storage.jsrgyangming_lose);
player.recover();
event.finish();
}
@ -3700,6 +3702,15 @@ const skills = {
},
},
},
subSkill: {
lose: {
init(player, skill) {
player.storage[skill] = 0;
},
onremove: true,
charlotte: true
}
}
},
//韩遂
jsrgniluan: {