mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-18 13:35:12 +00:00
750cdddbce
* `#喵喵日历` 优化 * 对角色、武器UP的日历展示做合并优化 * 增强从活动详情解析日期的能力,使一些活动日期更加准确 * `#角色面板` 伤害计算增加 琴、莫娜
51 lines
1.3 KiB
JavaScript
51 lines
1.3 KiB
JavaScript
export const details = [{
|
||
title: "重击伤害",
|
||
dmg: ({ talent }, dmg) => dmg(talent.a['重击伤害'], 'a2')
|
||
}, {
|
||
title: "重击蒸发",
|
||
dmg: ({ talent }, dmg) => dmg(talent.a['重击伤害'], 'a2', 'zf')
|
||
}, {
|
||
title: "Q泡影破裂伤害",
|
||
params: { q: true },
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['泡影破裂伤害'], 'q')
|
||
}, {
|
||
title: "Q泡影破裂蒸发",
|
||
params: { q: true },
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['泡影破裂伤害'], 'q', 'zf')
|
||
}];
|
||
|
||
export const mainAttr = "atk,hp,cpct,recharge";
|
||
|
||
export const buffs = [{
|
||
title: "莫娜被动:基于元素充能效率获得水元素伤害[dmg]%",
|
||
data: {
|
||
dmg: ({ calc, attr }) => calc(attr.recharge) * 0.2
|
||
}
|
||
}, {
|
||
title: "莫娜1命:命中星异状态下的敌人水元素相关反应效果提升15%",
|
||
cons: 1,
|
||
data: {
|
||
zf: ({ params }) => params.q ? 15 : 0
|
||
}
|
||
}, {
|
||
title: "莫娜4命:攻击处于星异状态下的敌人时暴击率提升15%",
|
||
cons: 4,
|
||
data: {
|
||
cpct: ({ params }) => params.q ? 15 : 0
|
||
}
|
||
}, {
|
||
title: "莫娜6命:虚实流动状态后满Buff提升重击180%伤害",
|
||
cons: 6,
|
||
data: {
|
||
a2Dmg: 180
|
||
}
|
||
}, {
|
||
title: "元素精通:蒸发融化伤害提高[zf]%",
|
||
mastery: "zf,rh"
|
||
}, {
|
||
title: "莫娜天赋:开Q获得[dmg]%伤害加成",
|
||
data: {
|
||
dmg: ({ talent }) => talent.q['伤害加成']
|
||
}
|
||
}];
|