修正追加攻击伤害计算增益判断

This commit is contained in:
UCPr 2025-03-24 00:11:12 +08:00
parent a54fee3edb
commit 6c77855f64
6 changed files with 17 additions and 13 deletions

View file

@ -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, {