mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-31 23:29:27 +08:00
fix: 自动切技能设置进存档
This commit is contained in:
parent
ec5381e2bb
commit
c6ec4971ee
@ -89,7 +89,7 @@ main.floors.MT16=
|
||||
"no": [
|
||||
{
|
||||
"type": "function",
|
||||
"function": "function(){\ncore.plugin.replay.readyClip();\n}"
|
||||
"function": "function(){\nMota.Plugin.require('replay_g').readyClip();\n}"
|
||||
},
|
||||
{
|
||||
"type": "choices",
|
||||
|
@ -384,6 +384,7 @@ function handleActionSetting<T extends number | boolean>(
|
||||
if (key === 'autoSkill') {
|
||||
// 自动切换技能
|
||||
flags.autoSkill = n;
|
||||
core.status.route.push(`set:autoSkill:${n}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,8 +5,6 @@ const replayableSettings = ['autoSkill'];
|
||||
let cliping = false;
|
||||
let startIndex = 0;
|
||||
|
||||
export function ready() {}
|
||||
|
||||
export function readyClip() {
|
||||
cliping = true;
|
||||
return (startIndex = core.status.route.length - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user