From 1df655acab43251a0552cc2679f34b9964ac562a Mon Sep 17 00:00:00 2001 From: jkl8753 <78137354+jkl8753@users.noreply.github.com> Date: Tue, 1 Oct 2024 20:21:24 +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=E8=B0=83=E6=95=B4=EF=BC=8C=E9=83=A8=E5=88=86=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E5=9C=A3=E9=81=97=E7=89=A9=E8=AF=84=E5=88=86=E6=9D=83?= =?UTF-8?q?=E9=87=8D=E8=B0=83=E6=95=B4=20(#805)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 敌人默认等级,从91提高至103(配合世界等级9). * 降低夏沃蕾和闲云的治疗权重(防止分数溢出)。 新增希诺宁的评分权重。 * 添加希格雯满命情况下的评分权重。 优化芙宁娜满命情况下的评分权重部分的代码。 --- apps/profile/ProfileDetail.js | 2 +- resources/meta-gs/artifact/artis-mark.js | 7 ++++--- resources/meta-gs/character/希格雯/artis.js | 12 ++++++++++++ resources/meta-gs/character/芙宁娜/artis.js | 8 +++++--- 4 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 resources/meta-gs/character/希格雯/artis.js diff --git a/apps/profile/ProfileDetail.js b/apps/profile/ProfileDetail.js index 1fdc9fb3..7bff1333 100644 --- a/apps/profile/ProfileDetail.js +++ b/apps/profile/ProfileDetail.js @@ -178,7 +178,7 @@ let ProfileDetail = { wCfg.weapons = await ProfileWeapon.calc(profile) } - let enemyLv = isGs ? (await selfUser.getCfg('char.enemyLv', 91)) : 80 + let enemyLv = isGs ? (await selfUser.getCfg('char.enemyLv', 103)) : 80 let dmgCalc = await ProfileDetail.getProfileDmgCalc({ profile, enemyLv, mode, params }) let rank = false diff --git a/resources/meta-gs/artifact/artis-mark.js b/resources/meta-gs/artifact/artis-mark.js index 235af4a2..34cf18ba 100644 --- a/resources/meta-gs/artifact/artis-mark.js +++ b/resources/meta-gs/artifact/artis-mark.js @@ -79,8 +79,8 @@ export const usefulAttr = { 芙宁娜: { hp: 100, atk: 0, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 95, phy: 0, recharge: 75, heal: 95 }, 夏洛蒂: { hp: 0, atk: 85, def: 0, cpct: 50, cdmg: 50, mastery: 0, dmg: 80, phy: 0, recharge: 100, heal: 100 }, 娜维娅: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 55, heal: 0 }, - 夏沃蕾: { hp: 100, atk: 0, def: 0, cpct: 50, cdmg: 50, mastery: 0, dmg: 80, phy: 0, recharge: 55, heal: 95 }, - 闲云: { hp: 0, atk: 100, def: 0, cpct: 50, cdmg: 50, mastery: 0, dmg: 80, phy: 0, recharge: 75, heal: 95 }, + 夏沃蕾: { hp: 100, atk: 0, def: 0, cpct: 50, cdmg: 50, mastery: 0, dmg: 80, phy: 0, recharge: 55, heal: 55 }, + 闲云: { hp: 0, atk: 100, def: 0, cpct: 50, cdmg: 50, mastery: 0, dmg: 80, phy: 0, recharge: 75, heal: 75 }, 嘉明: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 55, heal: 0 }, 千织: { hp: 0, atk: 50, def: 75, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 55, heal: 0 }, 阿蕾奇诺: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 30, heal: 0 }, @@ -90,5 +90,6 @@ export const usefulAttr = { 艾梅莉埃: { hp: 0, atk: 100, def: 0, cpct: 100, cdmg: 100, mastery: 30, dmg: 100, phy: 0, recharge: 55, heal: 0 }, 卡齐娜: { hp: 0, atk: 0, def: 75, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 75, heal: 0 }, 玛拉妮: { hp: 100, atk: 0, def: 0, cpct: 100, cdmg: 100, mastery: 85, dmg: 100, phy: 0, recharge: 45, heal: 0 }, - 基尼奇: { hp: 0, atk: 85, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 50, heal: 0 } + 基尼奇: { hp: 0, atk: 85, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 50, heal: 0 }, + 希诺宁: { hp: 0, atk: 0, def: 100, cpct: 30, cdmg: 30, mastery: 0, dmg: 80, phy: 0, recharge: 100, heal: 100 } } diff --git a/resources/meta-gs/character/希格雯/artis.js b/resources/meta-gs/character/希格雯/artis.js new file mode 100644 index 00000000..90966e6f --- /dev/null +++ b/resources/meta-gs/character/希格雯/artis.js @@ -0,0 +1,12 @@ +import { usefulAttr } from "../../artifact/artis-mark.js" + +export default function ({ cons, rule, def }) { + if (cons === 6) { + let particularAttr = JSON.parse(JSON.stringify(usefulAttr['希格雯'])); + particularAttr.dmg = 100; + particularAttr.recharge = 75; + particularAttr.heal = 90; + return rule('希格雯-满命', particularAttr); + } + return def(usefulAttr['希格雯']); +} diff --git a/resources/meta-gs/character/芙宁娜/artis.js b/resources/meta-gs/character/芙宁娜/artis.js index 621e9e77..b86d1fcc 100644 --- a/resources/meta-gs/character/芙宁娜/artis.js +++ b/resources/meta-gs/character/芙宁娜/artis.js @@ -2,7 +2,9 @@ import { usefulAttr } from "../../artifact/artis-mark.js" export default function ({ cons, rule, def }) { if (cons === 6) { - return rule('芙宁娜-满命', { hp: 100, atk: 0, def: 0, cpct: 100, cdmg: 100, mastery: 45, dmg: 100, phy: 0, recharge: 75, heal: 95 }) + let particularAttr = JSON.parse(JSON.stringify(usefulAttr['芙宁娜'])); + particularAttr.mastery = 45; + return rule('芙宁娜-满命', particularAttr); } - return def(usefulAttr['芙宁娜']) - } + return def(usefulAttr['芙宁娜']); +}