commit
7cde312037
|
@ -157,14 +157,15 @@ export default class Calculator extends base {
|
||||||
},
|
},
|
||||||
skill_list: []
|
skill_list: []
|
||||||
}
|
}
|
||||||
for (let data of skillList) {
|
|
||||||
let skill = {
|
let srSkills = this.setSkill.slice(2)
|
||||||
item_id: data.point_id,
|
skillList.forEach((v, k) => {
|
||||||
cur_level: data.cur_level,
|
body.skill_list.push({
|
||||||
target_level: data.target_level
|
item_id: v.point_id,
|
||||||
}
|
cur_level: v.cur_level,
|
||||||
if (Number(this.setSkill[0]) >= data.min_level_limit) body.skill_list.push(skill)
|
target_level: Number(srSkills[k]) || v.target_level
|
||||||
}
|
})
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
skillList = skillList.filter((item) => item.max_level != 1)
|
skillList = skillList.filter((item) => item.max_level != 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue