解决一些情况下会显示攻击力×0的错误

This commit is contained in:
枫谷剑仙 2024-01-18 03:24:41 +08:00
parent 6c90ce0d5f
commit b729a00a8b
2 changed files with 2 additions and 2 deletions

View File

@ -1610,7 +1610,7 @@ const skillObjectParsers = {
//return powerUp(null, null, p.mul({ atk: atk || 100}), c.exact('match-length', lenExact, flags(attr)), v.percent(percent), [combo ? addCombo(combo) : null, damage ? followAttackFixed(damage) : null].filter(Boolean), true);
//let powerup, condition;
let powerup = Boolean(lenMin)
? p.scaleMatchLength(flags(attrs), lenMin, lenMin, [atk, 100], [0, 0])
? p.scaleMatchLength(flags(attrs), lenMin, lenMin, [atk || 100, 100], [0, 0])
: p.mul({ atk: atk || 100});
let condition = Boolean(lenExact)
? c.exact('match-length', lenExact, flags(attrs))

View File

@ -21647,7 +21647,7 @@ const cachesMap = new Map([
],
[
"script-skill-parser.js",
"5e59b465391a0d8adac69ccc081b9d0f"
"c2731a12b9f65f174126f19538a8b5f1"
],
[
"script-universal_function.js",