mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-31 05:59:51 +08:00
refactor(AutoPlanDomain): 更新树脂优先级列表设置方法
- 将直接赋值方式改为调用 SetResinPriorityList 方法 - 使用展开运算符合并树脂优先级列表参数
This commit is contained in:
@@ -62,7 +62,7 @@ async function autoDomain(autoFight) {
|
||||
domainParam.specifyResinUse = true
|
||||
//配置树脂使用优先级
|
||||
if (resinPriorityList.length > 0) {
|
||||
domainParam.resinPriorityList = resinPriorityList
|
||||
domainParam.SetResinPriorityList(...resinPriorityList)
|
||||
}
|
||||
// log.debug(`开始执行秘境任务`)
|
||||
//秘境名称
|
||||
|
||||
Reference in New Issue
Block a user