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

@@ -112,6 +112,8 @@ export const OVERRIDE_KEYS = [
{ key: 'buff_value', label: 'buff_value 修饰数值' },
{ key: 'buff_duration', label: 'buff_duration 持续时间' },
{ key: 'buff_chance', label: 'buff_chance 附加概率' },
{ key: 'thorns_dmg', label: 'thorns_dmg 反伤固定值' },
{ key: 'thorns_rate', label: 'thorns_rate 反伤比例(%)' },
// 枚举型覆写:计时 buff 施加目标(缺省跟随技能主效果目标,见 SkillSet.BuffTarget)
{ key: 'buff_target', label: 'buff_target buff施加目标', type: 'enum', options: [
{ value: 0, label: '0 被命中者(Hit/默认)' },