修正#雷神伤害 功能下武器Buff的一处展示错误

This commit is contained in:
yoimiya-kokomi 2022-05-01 05:16:05 +08:00
parent 9765c5af18
commit 14d3aa9cc4

View File

@ -265,7 +265,9 @@ let Calc = {
}
lodash.forEach(weaponCfg, (ds) => {
ds.title = `${weaponName}效果:${ds.title}`;
if (!//.test(ds.title)) {
ds.title = `${weaponName}效果:${ds.title}`;
}
if (ds.refine) {
ds.data = ds.data || {};
lodash.forEach(ds.refine, (r, key) => {