miao-plugin/resources/meta-gs/character/旅行者/dendro/calc.js

42 lines
1.1 KiB
JavaScript
Raw Normal View History

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'