171新增一个阶梯倍率

This commit is contained in:
枫谷剑仙 2021-08-27 21:28:43 +08:00
parent c4919fe5a6
commit 15a274cb23
2 changed files with 3 additions and 2 deletions

View File

@ -1145,6 +1145,7 @@ function parseSkillDescription(skill) {
}
if (sk[5] && sk[5] !== 100) str += `,所有宠物的${getFixedHpAtkRcvString({atk:sk[5]})}`;
if (sk[6]) str += `,受到的伤害减少${sk[6]}%`;
if (sk[7]) str += `此后每多1串攻击力+${sk[7]/100}倍,最大${fullColor.length}串时×${(fullColor.length - sk[4]) * sk[7]/100 + sk[5]/100}`;
break;
case 172:
str = `解锁所有宝珠`;

View File

@ -1199,9 +1199,9 @@ const parsers = {
},
[169](min, base, percent, bonus, max) { return powerUp(null, null, p.scaleCombos(min, max ?? min, [base || 100, 100], [bonus, 0]), null, v.percent(percent)); },
[170](attrs, min, base, percent, bonus, stage) { return powerUp(null, null, p.scaleAttrs(flags(attrs), min, min + (stage ? stage - 1 : 0), [base, 100], [bonus ?? 0, 0]), null, v.percent(percent)); },
[171](attrs1, attrs2, attrs3, attrs4, min, mul, percent) {
[171](attrs1, attrs2, attrs3, attrs4, min, mul, percent, bonus) {
const attrs = [attrs1, attrs2, attrs3, attrs4].filter(Boolean);
return powerUp(null, null, p.scaleMatchAttrs(attrs.map(flags), min, min, [mul, 100], [0, 0]), null, v.percent(percent));
return powerUp(null, null, p.scaleMatchAttrs(attrs.map(flags), min, bonus ? attrs.length : min, [mul, 100], [bonus ?? 0, 0]), null, v.percent(percent));
},
[172]() { return setOrbState(null, 'unlocked'); },
[173](turns, attrAbsorb, comboAbsorb, damageAbsorb) {