From 89e308bf6f7963985251643c3ebe34c726fd6dd9 Mon Sep 17 00:00:00 2001 From: kaguramaisakuya <1657974606@qq.com> Date: Tue, 1 Oct 2024 21:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=8C=E4=BA=BA=E9=BB=98=E8=AE=A4=E7=AD=89?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/profile/ProfileUtils.js | 2 +- models/Avatar.js | 2 +- models/ProfileDmg.js | 2 +- models/ProfileRank.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 {