mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
更新翡翠伤害计算
This commit is contained in:
parent
a3b4c803f6
commit
70d5d1089f
@ -3,6 +3,7 @@
|
||||
* 如character/${name}/artis.js下有角色自定义规则优先使用自定义
|
||||
*/
|
||||
export const usefulAttr = {
|
||||
翡翠: { hp: 0, atk: 75, def: 0, speed: 75, cpct: 100, cdmg: 100, stance: 0, heal: 0, recharge: 50, effPct: 0, effDef: 0, dmg: 100 },
|
||||
流萤: { hp: 30, atk: 100, def: 30, speed: 100, cpct: 0, cdmg: 0, stance: 100, heal: 0, recharge: 0, effPct: 0, effDef: 0, dmg: 0 },
|
||||
波提欧: { hp: 50, atk: 50, def: 50, speed: 100, cpct: 50, cdmg: 50, stance: 100, heal: 0, recharge: 50, effPct: 0, effDef: 0, dmg: 50 },
|
||||
知更鸟: { hp: 75, atk: 100, def: 75, speed: 50, cpct: 0, cdmg: 0, stance: 0, heal: 0, recharge: 100, effPct: 0, effDef: 50, dmg: 0 },
|
||||
|
@ -61,6 +61,7 @@ export const buffs = [{
|
||||
title: '行迹-过载核心:基于攻击力,提高自身击破特攻[stance]%',
|
||||
check: ({ params, attr }) => params.q === true && attr.atk >= 1800,
|
||||
sort: 9,
|
||||
tree: 3,
|
||||
data: {
|
||||
stance: ({ attr }) => Math.floor((attr.atk - 1800) / 10) * 0.8
|
||||
}
|
||||
|
@ -109,6 +109,7 @@ export const buffs = [{
|
||||
title: '行迹-过载核心:基于攻击力,提高自身击破特攻[stance]%',
|
||||
check: ({ params, attr }) => params.q === true && attr.atk >= 1800,
|
||||
sort: 9,
|
||||
tree: 3,
|
||||
data: {
|
||||
stance: ({ attr }) => Math.floor((attr.atk - 1800) / 10) * 0.8
|
||||
}
|
||||
|
55
resources/meta-sr/character/翡翠/calc.js
Normal file
55
resources/meta-sr/character/翡翠/calc.js
Normal file
@ -0,0 +1,55 @@
|
||||
export const details = [{
|
||||
title: '普攻伤害',
|
||||
dmg: ({ talent }, dmg) => dmg(talent.a['目标伤害'], 'a')
|
||||
}, {
|
||||
title: '终结技伤害',
|
||||
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
|
||||
}, {
|
||||
title: '追击伤害',
|
||||
dmg: ({ talent }, dmg) => dmg(talent.t['技能伤害'], 't')
|
||||
}, {
|
||||
title: '强化追击伤害',
|
||||
dmg: ({ talent }, dmg) => dmg(talent.q['追加攻击倍率提高'] + talent.t['技能伤害'], 't')
|
||||
}]
|
||||
|
||||
export const defDmgIdx = 3
|
||||
export const mainAttr = 'atk,cpct,cdmg'
|
||||
|
||||
export const buffs = [{
|
||||
title: '天赋-剔烁之牙:50层【当品】使暴击伤害提高[cdmg]%',
|
||||
data: {
|
||||
cdmg: ({ talent }) => talent.t['每层爆伤提高'] * 50 * 100
|
||||
}
|
||||
}, {
|
||||
title: '行迹-绝当品:50层【当品】额外提升攻击力[atkPct]%',
|
||||
tree: 3,
|
||||
data: {
|
||||
atkPct: 0.5 * 50
|
||||
}
|
||||
}, {
|
||||
title: '翡翠1魂:追击伤害提高[tDmg]%',
|
||||
cons: 1,
|
||||
data: {
|
||||
tDmg: 32
|
||||
}
|
||||
}, {
|
||||
title: '翡翠2魂:【当品】叠加至15层时,暴击率提高[cpct]%',
|
||||
cons: 2,
|
||||
data: {
|
||||
cpct: 18
|
||||
}
|
||||
}, {
|
||||
title: '翡翠4魂:释放终结技后,造成的伤害无视敌方[ignore]%防御力',
|
||||
cons: 4,
|
||||
data: {
|
||||
ignore: 12
|
||||
}
|
||||
}, {
|
||||
title: '翡翠6魂:量子抗性穿透提高[kx]%',
|
||||
cons: 6,
|
||||
data: {
|
||||
kx: 20
|
||||
}
|
||||
}]
|
||||
|
||||
export const createdBy = 'Aluxes'
|
Loading…
Reference in New Issue
Block a user