mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-29 18:38:52 +00:00
986cc67993
* 新增饮月 希露瓦 桑博 艾丝妲 伤害计算 * fix: arg name
44 lines
981 B
JavaScript
44 lines
981 B
JavaScript
import { Format } from '#miao'
|
||
|
||
export const details = [{
|
||
title: '普攻伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
|
||
}, {
|
||
title: '战技伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'] * 5, 'e')
|
||
}, {
|
||
title: '普攻灼烧持续伤害',
|
||
tree: 3,
|
||
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'] * 0.5, '', 'skillDot')
|
||
}, {
|
||
title: '蓄能5层全队加攻',
|
||
dmg: ({ talent }) => {
|
||
return {
|
||
avg: Format.percent(talent.t['攻击力提高'] * 5),
|
||
type: 'text'
|
||
}
|
||
}
|
||
}, {
|
||
title: '终结技全队速度提高',
|
||
dmg: ({ talent }) => {
|
||
return {
|
||
avg: talent.q['速度提高']
|
||
}
|
||
}
|
||
}]
|
||
|
||
export const mainAttr = 'atk,cpct,cdmg'
|
||
|
||
export const buffs = [{
|
||
title: '行迹-点燃:我方全体火属性伤害提高18%',
|
||
tree: 3,
|
||
data: {
|
||
dmg: 18
|
||
}
|
||
}, {
|
||
title: '蓄能5层:攻击力提高[atkPct]%',
|
||
data: {
|
||
atkPct: ({ talent }) => talent.t['攻击力提高'] * 5 * 100
|
||
}
|
||
}]
|