feat(skillBox): 添加技能跨波次维持功能

1. 新增keep_waves配置字段控制技能维持波次
2. 重构技能盒组件的波次切换逻辑,支持跨波次持续生效
3. 为默认技能卡添加15波次的维持配置
4. 优化节点销毁的合法性校验逻辑
This commit is contained in:
pan
2026-06-04 10:34:51 +08:00
parent 7e86aed500
commit 73214dbb10
3 changed files with 45 additions and 59 deletions

View File

@@ -38,13 +38,10 @@
},
{
"__id__": 179
},
{
"__id__": 181
}
],
"_prefab": {
"__id__": 183
"__id__": 181
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2941,42 +2938,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "20N3saNnNERbP8SNI6KMUs"
},
{
"__type__": "85b24f6HyJBGrOmgul5dRLh",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 180
},
"card1": {
"__id__": 11
},
"card2": {
"__id__": 48
},
"card3": {
"__id__": 85
},
"refreshBtn": {
"__id__": 132
},
"adRefreshBtn": {
"__id__": 153
},
"refreshCountLabel": {
"__id__": 142
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3eEXZZeMJExoKLpjpFECeL"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
@@ -2987,7 +2948,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 182
"__id__": 180
},
"_id": ""
},