feat(skill-override): 新增反伤相关的覆写配置

1. 在常量文件中添加thorns_dmg和thorns_rate的覆写配置项
2. 在服务端和前端技能详情展示中添加反伤参数的解析展示逻辑
This commit is contained in:
panFD
2026-09-05 18:25:28 +08:00
parent 699f7fc6b8
commit 72fa2814e5
3 changed files with 6 additions and 0 deletions

View File

@@ -243,6 +243,8 @@ function overrideShort(ov, { includeAp = true } = {}) {
if (ov.para != null) parts.push(`para${ov.para}`)
if (ov.frz != null) parts.push(`frz${ov.frz}`)
if (ov.bck != null) parts.push(`bck${ov.bck}`)
if (ov.thorns_dmg != null) parts.push(`thorns${ov.thorns_dmg}`)
if (ov.thorns_rate != null) parts.push(`thorns${ov.thorns_rate}%`)
if (ov.summon_count != null && ov.summon_count > 1) parts.push(`summon${ov.summon_count}`)
if (ov.timed_buff_id != null) {
const buffName = cache?.BuffList?.[ov.timed_buff_id]?.name || ''