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