diff --git a/resources/meta-gs/character/卡齐娜/calc.js b/resources/meta-gs/character/卡齐娜/calc.js new file mode 100644 index 00000000..1d2a8ab1 --- /dev/null +++ b/resources/meta-gs/character/卡齐娜/calc.js @@ -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' +