diff --git a/resources/meta-sr/artifact/calc.js b/resources/meta-sr/artifact/calc.js index c69c9af1..56939fbd 100644 --- a/resources/meta-sr/artifact/calc.js +++ b/resources/meta-sr/artifact/calc.js @@ -68,7 +68,7 @@ export default { 激奏雷电的乐队: { 2: attr('elec', 10), 4: { - title: '释放战绩时,攻击力提高20%', + title: '释放战技时,攻击力提高20%', data: { atkPct: 20 } @@ -190,7 +190,19 @@ export default { }] }, 毁烬焚骨的大公: { - // TODO: 追加伤害加伤.. + 2: { + title: '追加攻击造成的伤害提高[tDmg]%', + data: { + tDmg: 20 + } + }, + 4: { + title: '计算[_buffCount]层,提高攻击力[atkPct]%', + data: { + _buffCount: ({ params }) => params.tArtisBuffCount || 3, + atkPct: ({ params }) => (params.tArtisBuffCount || 3) * 6 + } + } }, 幽锁深牢的系囚: { 2: attr('atkPct', 12), @@ -201,18 +213,22 @@ export default { } } }, - 苍穹战线格拉默: [attr('atkPct', 12), { - title: '装备者速度大于[_speed]时,伤害提高[dmg]%', - check: ({ attr }) => attr.speed >= 135, - data: { - _speed: ({ attr }) => attr.speed < 160 ? 135 : 160, - dmg: ({ attr }) => attr.speed < 160 ? 12 : 18 - } - }], - 梦想之地匹诺康尼: [attr('recharge', 5), { - title: '同属性角色伤害提高10%', - data: { - dmg: 10 - } - }] + 苍穹战线格拉默: { + 2: [attr('atkPct', 12), { + title: '装备者速度大于[_speed]时,伤害提高[dmg]%', + check: ({ attr }) => attr.speed >= 135, + data: { + _speed: ({ attr }) => attr.speed < 160 ? 135 : 160, + dmg: ({ attr }) => attr.speed < 160 ? 12 : 18 + } + }] + }, + 梦想之地匹诺康尼: { + 2: [attr('recharge', 5), { + title: '同属性角色伤害提高10%', + data: { + dmg: 10 + } + }] + } } diff --git a/resources/meta-sr/character/卡芙卡/calc.js b/resources/meta-sr/character/卡芙卡/calc.js index a84d81f2..3143772b 100644 --- a/resources/meta-sr/character/卡芙卡/calc.js +++ b/resources/meta-sr/character/卡芙卡/calc.js @@ -32,6 +32,7 @@ export const details = [{ } }] +export const defParams = { tArtisBuffCount: 6 } export const mainAttr = 'atk,cpct,cdmg' export const defDmgIdx = 3 diff --git a/resources/meta-sr/character/姬子/calc.js b/resources/meta-sr/character/姬子/calc.js index b8f04463..b021bb82 100644 --- a/resources/meta-sr/character/姬子/calc.js +++ b/resources/meta-sr/character/姬子/calc.js @@ -12,6 +12,7 @@ export const details = [{ dmg: ({ talent }, dmg) => dmg(talent.t['技能伤害'], 't') }] +export const defParams = { tArtisBuffCount: 8 } export const defDmgIdx = 2 export const mainAttr = 'atk,cpct,cdmg,speed' diff --git a/resources/meta-sr/character/托帕&账账/calc.js b/resources/meta-sr/character/托帕&账账/calc.js index 8ae19f77..421aa5ea 100644 --- a/resources/meta-sr/character/托帕&账账/calc.js +++ b/resources/meta-sr/character/托帕&账账/calc.js @@ -19,6 +19,7 @@ export const details = [{ dmg: ({ talent }, dmg) => dmg(talent.t['技能伤害'] + talent.q['伤害倍率提高'], 't') }] +export const defParams = { tArtisBuffCount: 4 } export const defDmgIdx = 4 export const mainAttr = 'atk,cpct,cdmg' diff --git a/resources/meta-sr/character/景元/calc.js b/resources/meta-sr/character/景元/calc.js index 9754884b..3afa29c6 100644 --- a/resources/meta-sr/character/景元/calc.js +++ b/resources/meta-sr/character/景元/calc.js @@ -29,6 +29,7 @@ export const details = [{ } }] +export const defParams = { tArtisBuffCount: 8 } export const defDmgKey = 't' export const mainAttr = 'atk,cpct,cdmg,speed'