玛拉妮计算

This commit is contained in:
liangshi 2024-09-06 20:49:43 +08:00
parent f1fabd00ac
commit 82dd9fa28f
2 changed files with 68 additions and 1 deletions

View File

@ -40,7 +40,7 @@ let DmgAttr = {
}) })
// 技能属性记录 // 技能属性记录
lodash.forEach((game === 'gs' ? 'a,a2,a3,e,q' : 'a,a2,a3,e,e2,q,q2,t,dot,break').split(','), (key) => { lodash.forEach((game === 'gs' ? 'a,a2,a3,e,q,nightsoul' : 'a,a2,a3,e,e2,q,q2,t,dot,break').split(','), (key) => {
ret[key] = ret[key] || { ret[key] = ret[key] || {
pct: 0, // 倍率加成 pct: 0, // 倍率加成
multi: 0, // 独立倍率乘区加成宵宫E等 multi: 0, // 独立倍率乘区加成宵宫E等

View File

@ -0,0 +1,67 @@
export const details = [{
title: '巨浪鲨鲨撕咬伤害',
dmg: ({ talent, calc, attr }, { basic }) => basic(calc(attr.hp) * ( talent.e['鲨鲨撕咬基础伤害'] + talent.e['巨浪鲨鲨撕咬伤害额外提升'] ) / 100, 'a,nightsoul')
}, {
check: ({ cons }) => cons < 6,
title: '巨浪鲨鲨撕咬蒸发',
dmgKey: 'e',
dmg: ({ talent, calc, attr }, { basic }) => basic(calc(attr.hp) * ( talent.e['鲨鲨撕咬基础伤害'] + talent.e['巨浪鲨鲨撕咬伤害额外提升'] ) / 100, 'a,nightsoul', 'vaporize')
}, {
check: ({ cons }) => cons >= 1,
title: '强化巨浪鲨鲨撕咬蒸发',
dmgKey: 'e',
params: { cons1: true },
dmg: ({ talent, calc, attr }, { basic }) => basic(calc(attr.hp) * ( talent.e['鲨鲨撕咬基础伤害'] + talent.e['巨浪鲨鲨撕咬伤害额外提升'] ) / 100, 'a,nightsoul', 'vaporize')
}, {
title: '爆瀑飞弹伤害',
dmg: ({ talent, calc, attr }, { basic }) => basic(calc(attr.hp) * talent.q['技能伤害'] / 100, 'q,nightsoul')
}, {
title: '爆瀑飞弹蒸发',
dmg: ({ talent, calc, attr }, { basic }) => basic(calc(attr.hp) * talent.q['技能伤害'] / 100, 'q,nightsoul', 'vaporize')
}]
export const defParams = { Nightsoul: true }
export const defDmgKey = 'e'
export const mainAttr = 'hp,cpct,cdmg,mastery'
export const buffs = [{
title: '踏鲨破浪3层浪势充能使鲨鲨撕咬造成的伤害提升[aPlus]巨浪鲨鲨撕咬伤害额外提升[_aPlus]',
sort: 9,
data: {
aPlus: ({ talent, calc, attr }) => calc(attr.hp) * talent.e['浪势充能伤害提升'] / 100 * 3 ,
_aPlus: ({ talent, calc, attr }) => calc(attr.hp) * talent.e['巨浪鲨鲨撕咬伤害额外提升'] / 100
}
}, {
title: '玛拉妮天赋3层逐浪心得使爆瀑飞弹伤害提升[qPlus]',
sort: 9,
data: {
qPlus: ({ calc, attr }) => calc(attr.hp) * 45 / 100
}
}, {
check: ({ params }) => params.cons1 === true,
title: '玛拉妮1命第一次巨浪鲨鲨撕咬及它所触发的鲨鲨飞弹造成的伤害提升[aPlus]',
cons: 1,
sort: 9,
data: {
aPlus: ({ calc, attr }) => calc(attr.hp) * 66 / 100
}
}, {
title: '玛拉妮4命爆瀑飞弹造成的伤害提升[qDmg]%',
cons: 4,
data: {
qDmg: 75
}
}
/*
, {
title: '幻境祝福:角色编入队伍后,生命值、攻击力与防御力提升[hpPct]%,该效果不论是否在幻想真境剧诗中都将生效。',
data: {
hpPct: 20,
atkPct: 20,
defPct: 20
}
}
*/
]
export const createdBy = 'liangshi'