mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-18 13:35:12 +00:00
9765c5af18
* 可计算圣遗物副词条置换带来的伤害变化,可用于圣遗物副词条侧重方向的参考 * 可以查看指定角色伤害计算的Buff列表
30 lines
828 B
JavaScript
30 lines
828 B
JavaScript
export const details = [{
|
||
title: "半血开E重击",
|
||
dmg: ({ talent, attr }, dmg) => dmg(talent.a["重击伤害"], "a2")
|
||
}, {
|
||
title: "半血开E重击蒸发",
|
||
dmg: ({ talent, attr }, dmg) => dmg(talent.a["重击伤害"], "a2", "zf")
|
||
}, {
|
||
title: "半血开E后Q",
|
||
dmg: ({ talent, attr }, dmg) => dmg(talent.q["低血量时技能伤害"], "q")
|
||
}];
|
||
|
||
export const defDmgIdx = 1;
|
||
export const mainAttr = "hp,atk,cpct,cdmg,mastery";
|
||
|
||
export const buffs = [{
|
||
title: "蝶引来生:开E获得[atkPlus]点攻击力加成",
|
||
data: {
|
||
atkPlus: ({ talent, attr, calc }) => {
|
||
return talent.e['攻击力提高'] * calc(attr.hp) / 100;
|
||
}
|
||
}
|
||
}, {
|
||
title: `胡桃被动:半血获得33%火伤加成`,
|
||
data: {
|
||
"dmg": 33
|
||
}
|
||
}, {
|
||
title: "元素精通:蒸发融化伤害提高[zf]%",
|
||
mastery: "zf,rh"
|
||
}]; |