miao-plugin/resources/meta/character//calc.js
yoimiya-kokomi 750cdddbce * 增加#喵喵面板设置命令,可更精细的设置是否允许好友/临时对话/群使用面板功能
* `#喵喵日历` 优化
    * 对角色、武器UP的日历展示做合并优化
    * 增强从活动详情解析日期的能力,使一些活动日期更加准确
* `#角色面板` 伤害计算增加 琴、莫娜
2022-05-29 05:18:13 +08:00

32 lines
922 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const details = [{
title: "风压剑伤害",
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: "Q爆发伤害",
params: { q: true },
dmg: ({ talent }, dmg) => dmg(talent.q['爆发伤害'], 'q')
}, {
title: "Q爆发治疗",
dmg: ({ talent, calc, attr }, { heal }) =>
heal(talent.q['领域发动治疗量2'][0] * calc(attr.atk) / 100 + talent.q['领域发动治疗量2'][1] * 1)
}, {
title: "Q每跳治疗",
dmg: ({ talent, calc, attr }, { heal }) =>
heal(talent.q['持续治疗2'][0] * calc(attr.atk) / 100 + talent.q['持续治疗2'][1] * 1)
}];
export const mainAttr = "atk,cpct,cdmg";
export const buffs = [{
cons: 1,
title: "琴1命长按1秒后风压剑伤害提升40%",
data: {
eDmg: 40
}
}, {
cons: 4,
title: "琴4命蒲公英之风的领域内敌人风元素抗性降低40%",
data: {
kx: ({ params }) => params.q ? 40 : 0
}
}];