mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 13:47:44 +00:00
新增「席德」伤害计算;新增拂晓生花、月光骑士颂套装计算;新增狸法七变化、机巧心种音擎计算
This commit is contained in:
parent
219edc91de
commit
9e0f95a71b
14 changed files with 208 additions and 19 deletions
|
|
@ -262,7 +262,7 @@ export class Calculator {
|
|||
}
|
||||
const base = {};
|
||||
types.forEach(t => base[t] = t.includes('百分比') ? this.avatar.base_properties[prop.nameZHToNameEN(t.replace('百分比', ''))] * subBaseValueData[t][0] : subBaseValueData[t][0]);
|
||||
logger.debug('词条变化值:', base);
|
||||
logger.debug(logger.red('副词条差异计算变化值:'), base);
|
||||
const buffs = types.map(t => ({
|
||||
name: t,
|
||||
shortName: prop.nameToShortName3(t),
|
||||
|
|
@ -297,7 +297,7 @@ export class Calculator {
|
|||
}
|
||||
const base = {};
|
||||
types.forEach(t => base[t] = (t.includes('百分比') || ['异常掌控', '冲击力', '能量自动回复'].includes(t)) ? this.avatar.base_properties[prop.nameZHToNameEN(t.replace('百分比', ''))] * mainBaseValueData[t][0] : mainBaseValueData[t][0]);
|
||||
logger.debug(logger.red('词条变化值:'), base);
|
||||
logger.debug(logger.red('主词条差异计算变化值:'), base);
|
||||
const buffs = types.map(t => {
|
||||
const data = {
|
||||
name: t,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue