diff --git a/models/ProfileDmg.js b/models/ProfileDmg.js index 102f360c..329350fe 100644 --- a/models/ProfileDmg.js +++ b/models/ProfileDmg.js @@ -46,7 +46,7 @@ export default class ProfileDmg extends Base { let talentData = profile.talent || {} let detail = char.detail let { isSr, isGs } = this - lodash.forEach((isSr ? 'a,a2,e,e2,q,t' : 'a,e,q').split(','), (key) => { + lodash.forEach((isSr ? 'a,a2,e,e2,q,q2,t' : 'a,e,q').split(','), (key) => { let level = lodash.isNumber(talentData[key]) ? talentData[key] : (talentData[key]?.level || 1) if (key === 'a2' || key === 'e2') { let tmpKey = key === 'a2' ? 'a' : 'e' diff --git a/models/dmg/DmgAttr.js b/models/dmg/DmgAttr.js index 1084a5dc..70b9366c 100644 --- a/models/dmg/DmgAttr.js +++ b/models/dmg/DmgAttr.js @@ -21,7 +21,6 @@ let DmgAttr = { ret = lodash.merge({}, originalAttr) } - // 基础属性 lodash.forEach('atk,def,hp'.split(','), (key) => { ret[key] = AttrItem.create(originalAttr?.[key] || { @@ -41,7 +40,7 @@ let DmgAttr = { }) // 技能属性记录 - lodash.forEach((game === 'gs' ? 'a,a2,a3,e,q' : 'a,a2,a3,e,e2,q,t').split(','), (key) => { + lodash.forEach((game === 'gs' ? 'a,a2,a3,e,q' : 'a,a2,a3,e,e2,q,q2,t').split(','), (key) => { ret[key] = ret[key] || { pct: 0, // 倍率加成 multi: 0, // 独立倍率乘区加成,宵宫E等 diff --git a/resources/character/profile-stat.html b/resources/character/profile-stat.html index 7387826c..ec084c5d 100644 --- a/resources/character/profile-stat.html +++ b/resources/character/profile-stat.html @@ -76,7 +76,7 @@ {{else}} -