Browse Source

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

pull/1/head
枫谷剑仙 2 years ago
parent
commit
b729a00a8b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      script-skill-parser.js
  2. +1
    -1
      service-worker.js

+ 1
- 1
script-skill-parser.js 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))


+ 1
- 1
service-worker.js View File

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


Loading…
Cancel
Save