mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
新增剩余所有角色伤害计算
This commit is contained in:
parent
a62109a6c0
commit
afce42af23
31 changed files with 744 additions and 11 deletions
|
|
@ -413,7 +413,7 @@ export class Calculator {
|
|||
add = value * initial
|
||||
} else {
|
||||
add = this.calc_value(value, buff)
|
||||
if (add < 1 && isRatio && Array.isArray(value))
|
||||
if (add < 1 && isRatio && (typeof value === 'string' || Array.isArray(value)))
|
||||
add *= initial
|
||||
}
|
||||
logger.debug(`\tBuff:${buff.name}对${buff.range || '全类型'}增加${add}${buff.element || ''}${type}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue