mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
修正追加攻击伤害计算增益判断
This commit is contained in:
parent
a54fee3edb
commit
6c77855f64
6 changed files with 17 additions and 13 deletions
|
|
@ -276,7 +276,7 @@ export class Calculator {
|
|||
}
|
||||
/**
|
||||
* 获取局内属性原始值
|
||||
* @param isRatio 是否支持buff.value为数值类型且<1时按初始数值百分比提高处理
|
||||
* @param isRatio 是否支持buff.value为数值/字符串/数组类型且<1时按初始数值百分比提高处理
|
||||
*/
|
||||
get(type, initial, skill, usefulBuffs = this.buffM.buffs, isRatio = false) {
|
||||
return this.props[type] ??= this.buffM._filter(usefulBuffs, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue