miao-plugin/resources/meta-gs/character/旅行者/dendro/calc.js
2023-11-13 16:37:07 +08:00

42 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const details = [{
title: 'E伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: 'E激化伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e', 'spread')
}, {
title: 'Q每跳伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['草灯莲攻击伤害'], 'q')
}, {
title: 'Q每跳激化伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['草灯莲攻击伤害'], 'q', 'spread')
}, {
title: 'Q草灯爆炸伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['激烈爆发伤害'], 'q')
}]
export const defDmgIdx = 3
export const mainAttr = 'atk,cpct,cdmg,mastery'
export const buffs = [{
title: '天赋-蔓生的埜草:提升元素精通[mastery]点',
data: {
mastery: 60
}
}, {
title: '天赋-繁庑的丛草基于自身元素精通提高E造成的伤害[eDmg]%Q造成的伤害[qDmg]%',
sort: 9,
data: {
eDmg: ({ attr }) => attr.mastery * 0.15,
qDmg: ({ attr }) => attr.mastery * 0.1
}
}, {
title: '草主6命获得[dmg]%草元素伤害加成',
cons: 6,
data: {
dmg: 12
}
}, 'spread']
export const createdBy = 'Aluxes'