mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
更新海哥专武计算并增加伤害计算对其支持 (#414)
This commit is contained in:
parent
b3097ad58f
commit
a69de3f968
@ -89,7 +89,7 @@ let DmgCalc = {
|
|||||||
// 反应区
|
// 反应区
|
||||||
let eleNum = isEle ? DmgMastery.getBasePct(ele, attr.element) : 1
|
let eleNum = isEle ? DmgMastery.getBasePct(ele, attr.element) : 1
|
||||||
let eleBase = isEle ? 1 + attr[ele] / 100 + DmgMastery.getMultiple(ele, calc(attr.mastery)) : 1
|
let eleBase = isEle ? 1 + attr[ele] / 100 + DmgMastery.getMultiple(ele, calc(attr.mastery)) : 1
|
||||||
let dmgBase = (mode === 'basic') ? basicNum : atkNum * pctNum * (1 + multiNum) + plusNum
|
let dmgBase = (mode === 'basic') ? basicNum + plusNum : atkNum * pctNum * (1 + multiNum) + plusNum
|
||||||
let ret = {}
|
let ret = {}
|
||||||
|
|
||||||
switch (ele) {
|
switch (ele) {
|
||||||
|
@ -151,8 +151,8 @@ export default function (step, staticStep) {
|
|||||||
裁叶萃光: [staticStep('cpct', 4), {
|
裁叶萃光: [staticStep('cpct', 4), {
|
||||||
title: '普攻与元素战技造成的伤害值提高[aPlus]',
|
title: '普攻与元素战技造成的伤害值提高[aPlus]',
|
||||||
data: {
|
data: {
|
||||||
aPlus: ({ attr, calc, refine }) => calc(attr.mastery) * [200, 230, 260, 290, 320][refine] / 100,
|
aPlus: ({ attr, calc, refine }) => calc(attr.mastery) * step(120)[refine] / 100,
|
||||||
ePlus: ({ attr, calc, refine }) => calc(attr.mastery) * [200, 230, 260, 290, 320][refine] / 100
|
ePlus: ({ attr, calc, refine }) => calc(attr.mastery) * step(120)[refine] / 100
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
斫峰之刃: [{
|
斫峰之刃: [{
|
||||||
|
Loading…
Reference in New Issue
Block a user