mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-26 09:42:09 +00:00
78e874aa63
* 目前可直接使用,无需token * 部分网络可能无法请求,等待后续服务更新 * 由于服务逻辑与之前数据不一致,部分角色的属性及伤害计算可能会不准确,如有发现请反馈给喵喵
56 lines
1.4 KiB
JavaScript
56 lines
1.4 KiB
JavaScript
export const details = [{
|
||
title: "零愿力Q首刀",
|
||
params: {
|
||
type: 1,
|
||
num: 0
|
||
},
|
||
dmg: ({ talent, attr }, dmg) => dmg(talent.q["梦想一刀基础伤害"], "q")
|
||
}, {
|
||
title: "满愿力Q首刀",
|
||
params: {
|
||
type: 0,
|
||
num: 60
|
||
},
|
||
dmg: ({ talent, attr }, dmg) => dmg(talent.q["梦想一刀基础伤害"], "q")
|
||
}, {
|
||
title: "满愿力Q后重击",
|
||
params: {
|
||
type: 1,
|
||
num: 60
|
||
},
|
||
dmg: ({ talent, attr }, dmg) => dmg(talent.q["重击伤害"], "q")
|
||
}]
|
||
|
||
export const defParams = {
|
||
num: 60,
|
||
type: 0
|
||
};
|
||
|
||
export const defDmgIdx = 1;
|
||
export const mainAttr = "atk,cpct,cdmg,recharge";
|
||
|
||
export const buffs = [
|
||
{
|
||
title: `恶曜开眼:开E元素爆发伤害提升[qDmg]%`,
|
||
data: {
|
||
"qDmg": ({ talent }) => talent.e["元素爆发伤害提高"] * 90
|
||
}
|
||
}, {
|
||
title: "梦想真说:Q满愿力获得[qPct]%大招倍率加成",
|
||
data: {
|
||
"qPct": ({ talent, params }) => talent.q["愿力加成"][params.type || 0] * params.num
|
||
}
|
||
}, {
|
||
check: ({ cons }) => cons >= 2,
|
||
title: "雷神2命:大招无视敌人[qIgnore]%防御力",
|
||
data: {
|
||
"qIgnore": 60
|
||
}
|
||
}, {
|
||
title: "雷神被动:基于元素充能获得[_dmg]%雷伤加成",
|
||
data: {
|
||
_dmg: ({ attr }) => Math.max(attr.recharge.base + attr.recharge.plus - 100, 0) * 0.4,
|
||
dmg: ({ attr }) =>
|
||
attr.dataSource === "shin" ? 0 :Math.max(attr.recharge.base + attr.recharge.plus - 100, 0) * 0.4
|
||
}
|
||
}]; |