feat(web/server): add dodge and accuracy stats support

1. 调整FieldEditor中光环档位默认等级为4级
2. 更新SUPPORT_ULT技能列表,新增6415、6416、6518、6519
3. 新增闪避(dodge)和命中(accuracy)属性配置:
   - 在常量中定义属性注释
   - 在前端表单添加属性编辑控件
   - 在后端渲染逻辑中支持属性导出
4. 新增测试英雄"闪避哥"用于展示新属性
This commit is contained in:
panFD
2026-09-07 21:57:07 +08:00
parent d559fdbaa4
commit a1c8f46c50
5 changed files with 114 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ export const ROLE_ULT_SKILL = {
}
// 辅助类技能(任意职业可用作大招)
export const SUPPORT_ULT = [6301, 6302, 6407, 6412, 6413, 6414, 6501, 6514, 6515, 6516, 6517]
export const SUPPORT_ULT = [6301, 6302, 6407, 6412, 6413, 6414, 6415, 6416, 6501, 6514, 6515, 6516, 6517, 6518, 6519]
export function defaultHero() {
return {
@@ -67,6 +67,8 @@ export function defaultHero() {
statBase: { hp: 0, ap: 0, def: 0 },
dis: null,
speed: null,
dodge: null, // 闪避率(null = 全局默认 15,填值覆盖)
accuracy: null, // 命中率(null = 全局默认 10,填值覆盖)
skills: [], // [{uuid,name,cd,cdExpr,overrides,desc,lv_entries:[{lv,s_lv,overrides,desc}]}]
atking: {}, // {uuid:[{lv,s_lv,name,t_num,overrides,desc}]}
atked: {},