mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +00:00
卡齐娜伤害计算
This commit is contained in:
parent
1e6ca1871a
commit
89a9094341
40
resources/meta-gs/character/卡齐娜/calc.js
Normal file
40
resources/meta-gs/character/卡齐娜/calc.js
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
export const details = [{
|
||||||
|
title: '冲天转转主动伤害',
|
||||||
|
dmg: ({ talent, calc, attr }, { basic }) => basic(calc(attr.def) * talent.e['冲天转转搭乘伤害'] / 100, 'e,nightsoul')
|
||||||
|
}, {
|
||||||
|
title: '冲天转转自动伤害',
|
||||||
|
dmg: ({ talent, calc, attr }, { basic }) => basic(calc(attr.def) * talent.e['冲天转转独立伤害'] / 100, 'e,nightsoul')
|
||||||
|
}, {
|
||||||
|
title: 'Q释放伤害',
|
||||||
|
dmg: ({ talent, calc, attr }, { basic }) => basic(calc(attr.def) * talent.q['技能伤害'] / 100, 'q')
|
||||||
|
}, {
|
||||||
|
check: ({ cons }) => cons >= 6,
|
||||||
|
title: '护盾替换摧毁伤害',
|
||||||
|
dmg: ({ calc, attr }, { basic }) => basic(calc(attr.def) * 200 / 100, '')
|
||||||
|
}]
|
||||||
|
|
||||||
|
export const defParams = { Nightsoul: true }
|
||||||
|
export const mainAttr = 'def,cpct,cdmg,mastery'
|
||||||
|
|
||||||
|
export const buffs = [{
|
||||||
|
title: '卡齐娜天赋:附近的角色触发「夜魂迸发」,岩元素伤害提升[dmg]%。',
|
||||||
|
data: {
|
||||||
|
dmg: 20
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
title: '卡齐娜天赋:冲天转转造成的伤害提升[ePlus]%。',
|
||||||
|
sort: 9,
|
||||||
|
data: {
|
||||||
|
ePlus: ({ calc, attr }) => calc(attr.def) * 20 / 100 ,
|
||||||
|
qPlus: ({ calc, attr }) => calc(attr.def) * 20 / 100
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
title: '卡齐娜4命:领域中的队伍中当前场上角色的防御力提升[defPct]%',
|
||||||
|
cons: 4,
|
||||||
|
data: {
|
||||||
|
defPct: 20
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
|
||||||
|
export const createdBy = 'liangshi'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user