diff --git a/apps/profile/ProfileUtils.js b/apps/profile/ProfileUtils.js index 9bb6ce9e..bfe679b8 100644 --- a/apps/profile/ProfileUtils.js +++ b/apps/profile/ProfileUtils.js @@ -71,7 +71,7 @@ export async function enemyLv (e) { if (ret && ret[2]) { let lv = ret[2] * 1 await selfUser.setCfg('char.enemyLv', lv) - lv = await selfUser.getCfg('char.enemyLv', 91) + lv = await selfUser.getCfg('char.enemyLv', 103) e.reply(`敌人等级已经设置为${lv}`) return true } diff --git a/models/Avatar.js b/models/Avatar.js index 0875febc..72f8cc2c 100644 --- a/models/Avatar.js +++ b/models/Avatar.js @@ -337,7 +337,7 @@ export default class Avatar extends Base { } // 计算当前profileData的伤害信息 - async calcDmg ({ enemyLv = 91, mode = 'profile', dmgIdx = 0, idxIsInput = false }) { + async calcDmg ({ enemyLv = 103, mode = 'profile', dmgIdx = 0, idxIsInput = false }) { if (!this.dmg || this.dmg._update !== this._update) { let ds = this.getData('id,level,elem,attr,cons,artis:artis.sets,trees') ds.talent = lodash.mapValues(this.talent, 'level') diff --git a/models/ProfileDmg.js b/models/ProfileDmg.js index bc471d97..9e92fe53 100644 --- a/models/ProfileDmg.js +++ b/models/ProfileDmg.js @@ -111,7 +111,7 @@ export default class ProfileDmg extends Base { return false } - async calcData ({ enemyLv = 91, mode = 'profile', dmgIdx = 0, idxIsInput = false }) { + async calcData ({ enemyLv = 103, mode = 'profile', dmgIdx = 0, idxIsInput = false }) { if (!this.char || !this.profile) { return false } diff --git a/models/ProfileRank.js b/models/ProfileRank.js index 9a11bf7c..024cd65e 100644 --- a/models/ProfileRank.js +++ b/models/ProfileRank.js @@ -422,7 +422,7 @@ export default class ProfileRank { } } if (type === 'dmg' && profile.hasDmg) { - let enemyLv = profile.game === 'gs' ? 91 : 80 + let enemyLv = profile.game === 'gs' ? 103 : 80 let dmg = await profile.calcDmg({ enemyLv, mode: 'single' }) if (dmg && dmg.avg) { return {