fix(skillBox): 适配技能ID匹配逻辑并补全战斗启动兼容

1.  扩展技能箱配置查找逻辑,同时支持卡uuid和技能skill id匹配
2.  战斗已进行时直接初始化技能箱计时状态,避免延迟触发
This commit is contained in:
panFD
2026-08-02 17:53:48 +08:00
parent c202f2a751
commit 7033390417
4 changed files with 37 additions and 14 deletions

View File

@@ -848,15 +848,15 @@
"__id__": 42
},
"_lineHeight": 21,
"_string": "<color=#00ff00>Rich</color><color=#0fffff>Text</color>",
"_string": "ewrwerwer",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_fontSize": 20,
"_fontColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 48,
"g": 48,
"b": 48,
"a": 255
},
"_maxWidth": 680,

View File

@@ -3715,7 +3715,7 @@
},
{
"__type__": "cc.Node",
"_name": "Label",
"_name": "num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -3737,7 +3737,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": -26.82,
"z": 0
},
"_lrot": {
@@ -3918,7 +3918,9 @@
"bg_node": {
"__id__": 2
},
"info_label": null,
"num_label": {
"__id__": 167
},
"cd_mask": {
"__id__": 156
},