refactor(skill): 重构技能配置加载逻辑,将参数下沉至prefab配置

1. 新增SkillView组件属性runType/endType/speed/time,替换原配置表字段
2. 批量同步所有技能prefab的配置参数
3. 优化技能运行逻辑,优先使用prefab配置,配置表仅作兜底
4. 新增同步脚本用于批量迁移技能配置
This commit is contained in:
pan
2026-08-13 16:26:19 +08:00
parent c6b5e1431f
commit 695a9e2b66
22 changed files with 268 additions and 95 deletions

View File

@@ -108,8 +108,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1.6,
"y": 1.4,
"x": 1.3,
"y": 1.1,
"z": 1
},
"_mobility": 0,
@@ -252,7 +252,11 @@
"__id__": 11
},
"atk_x": 20,
"atk_y": 30,
"atk_y": 40,
"runType": 2,
"endType": 2,
"speed": 720,
"time": 0,
"_id": ""
},
{