refactor(skill-text): 重构技能文案系统,拆分英雄/卡牌语境
1. 将原HeroSkillDesc拆分为CardSkillText(卡牌/道具通用)和HeroSkillText(英雄专属) 2. 移除废弃的HeroSkillDesc文件与相关引用 3. 统一技能文案生成逻辑,修复数值漂移问题 4. 调整英雄配置中技能解锁等级与分档规则 5. 优化技能弹窗UI与参数传递逻辑
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -37,23 +37,23 @@
|
||||
"__id__": 240
|
||||
},
|
||||
{
|
||||
"__id__": 280
|
||||
"__id__": 270
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 286
|
||||
"__id__": 276
|
||||
},
|
||||
{
|
||||
"__id__": 288
|
||||
"__id__": 278
|
||||
},
|
||||
{
|
||||
"__id__": 290
|
||||
"__id__": 280
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 334
|
||||
"__id__": 324
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -3728,10 +3728,13 @@
|
||||
"__id__": 258
|
||||
},
|
||||
{
|
||||
"__id__": 260
|
||||
"__id__": 259
|
||||
},
|
||||
{
|
||||
"__id__": 262
|
||||
"__id__": 261
|
||||
},
|
||||
{
|
||||
"__id__": 263
|
||||
},
|
||||
{
|
||||
"__id__": 264
|
||||
@@ -3744,24 +3747,6 @@
|
||||
},
|
||||
{
|
||||
"__id__": 269
|
||||
},
|
||||
{
|
||||
"__id__": 271
|
||||
},
|
||||
{
|
||||
"__id__": 273
|
||||
},
|
||||
{
|
||||
"__id__": 274
|
||||
},
|
||||
{
|
||||
"__id__": 275
|
||||
},
|
||||
{
|
||||
"__id__": 277
|
||||
},
|
||||
{
|
||||
"__id__": 279
|
||||
}
|
||||
],
|
||||
"removedComponents": []
|
||||
@@ -3913,67 +3898,6 @@
|
||||
"propertyPath": [
|
||||
"_contentSize"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 130,
|
||||
"height": 50
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"cdti5U6ZNG2Z/RykAJNVTw"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 257
|
||||
},
|
||||
"propertyPath": [
|
||||
"_contentSize"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 122,
|
||||
"height": 38
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"3cTH6kgb9D1bt8syQyX+k8"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 259
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -55,
|
||||
"y": 15.5,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"3eGuUajkVIeK78uF29soeR"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 261
|
||||
},
|
||||
"propertyPath": [
|
||||
"_contentSize"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 230,
|
||||
@@ -3989,7 +3913,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 263
|
||||
"__id__": 257
|
||||
},
|
||||
"propertyPath": [
|
||||
"_top"
|
||||
@@ -4005,7 +3929,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 263
|
||||
"__id__": 257
|
||||
},
|
||||
"propertyPath": [
|
||||
"_bottom"
|
||||
@@ -4015,7 +3939,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 266
|
||||
"__id__": 260
|
||||
},
|
||||
"propertyPath": [
|
||||
"_active"
|
||||
@@ -4031,7 +3955,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 268
|
||||
"__id__": 262
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
@@ -4052,51 +3976,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 270
|
||||
},
|
||||
"propertyPath": [
|
||||
"_color"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 133,
|
||||
"g": 208,
|
||||
"b": 72,
|
||||
"a": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"e1PNQAe0ZJH5asasLtteLw"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 272
|
||||
},
|
||||
"propertyPath": [
|
||||
"_color"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 198,
|
||||
"g": 239,
|
||||
"b": 150,
|
||||
"a": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"72Qmr45pdBjaa4/XGRGS5u"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 268
|
||||
"__id__": 262
|
||||
},
|
||||
"propertyPath": [
|
||||
"_active"
|
||||
@@ -4106,7 +3986,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 266
|
||||
"__id__": 260
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
@@ -4121,7 +4001,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 276
|
||||
"__id__": 266
|
||||
},
|
||||
"propertyPath": [
|
||||
"_string"
|
||||
@@ -4137,7 +4017,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 278
|
||||
"__id__": 268
|
||||
},
|
||||
"propertyPath": [
|
||||
"_contentSize"
|
||||
@@ -4176,14 +4056,14 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 281
|
||||
"__id__": 271
|
||||
},
|
||||
{
|
||||
"__id__": 283
|
||||
"__id__": 273
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 285
|
||||
"__id__": 275
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -4220,16 +4100,16 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 280
|
||||
"__id__": 270
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 282
|
||||
"__id__": 272
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 200,
|
||||
"height": 22.68
|
||||
"width": 215,
|
||||
"height": 18.9
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -4248,13 +4128,13 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 280
|
||||
"__id__": 270
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 284
|
||||
"__id__": 274
|
||||
},
|
||||
"_lineHeight": 18,
|
||||
"_lineHeight": 15,
|
||||
"_string": "<color=#00ff00>Rich</color><color=#0fffff>Text</color>",
|
||||
"_horizontalAlign": 0,
|
||||
"_verticalAlign": 0,
|
||||
@@ -4266,7 +4146,7 @@
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_maxWidth": 200,
|
||||
"_maxWidth": 215,
|
||||
"_fontFamily": "Arial",
|
||||
"_font": null,
|
||||
"_isSystemFontUsed": true,
|
||||
@@ -4303,7 +4183,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 287
|
||||
"__id__": 277
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -4331,7 +4211,7 @@
|
||||
},
|
||||
"_enabled": false,
|
||||
"__prefab": {
|
||||
"__id__": 289
|
||||
"__id__": 279
|
||||
},
|
||||
"_alignFlags": 0,
|
||||
"_target": null,
|
||||
@@ -4367,10 +4247,10 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 291
|
||||
"__id__": 281
|
||||
},
|
||||
"icon_node": {
|
||||
"__id__": 292
|
||||
"__id__": 282
|
||||
},
|
||||
"bg_node": {
|
||||
"__id__": 2
|
||||
@@ -4388,7 +4268,7 @@
|
||||
"__id__": 228
|
||||
},
|
||||
"info_rich": {
|
||||
"__id__": 283
|
||||
"__id__": 273
|
||||
},
|
||||
"level_label": {
|
||||
"__id__": 68
|
||||
@@ -4407,23 +4287,23 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 293
|
||||
"__id__": 283
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 327
|
||||
"__id__": 317
|
||||
},
|
||||
{
|
||||
"__id__": 329
|
||||
"__id__": 319
|
||||
},
|
||||
{
|
||||
"__id__": 331
|
||||
"__id__": 321
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 333
|
||||
"__id__": 323
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -4464,38 +4344,38 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 294
|
||||
"__id__": 284
|
||||
},
|
||||
{
|
||||
"__id__": 292
|
||||
"__id__": 282
|
||||
},
|
||||
{
|
||||
"__id__": 300
|
||||
"__id__": 290
|
||||
},
|
||||
{
|
||||
"__id__": 306
|
||||
"__id__": 296
|
||||
},
|
||||
{
|
||||
"__id__": 312
|
||||
"__id__": 302
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 318
|
||||
"__id__": 308
|
||||
},
|
||||
{
|
||||
"__id__": 320
|
||||
"__id__": 310
|
||||
},
|
||||
{
|
||||
"__id__": 322
|
||||
"__id__": 312
|
||||
},
|
||||
{
|
||||
"__id__": 324
|
||||
"__id__": 314
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 326
|
||||
"__id__": 316
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -4532,20 +4412,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 293
|
||||
"__id__": 283
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 295
|
||||
"__id__": 285
|
||||
},
|
||||
{
|
||||
"__id__": 297
|
||||
"__id__": 287
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 299
|
||||
"__id__": 289
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -4582,11 +4462,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 294
|
||||
"__id__": 284
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 296
|
||||
"__id__": 286
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -4610,11 +4490,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 294
|
||||
"__id__": 284
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 298
|
||||
"__id__": 288
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -4668,20 +4548,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 293
|
||||
"__id__": 283
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 301
|
||||
"__id__": 291
|
||||
},
|
||||
{
|
||||
"__id__": 303
|
||||
"__id__": 293
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 305
|
||||
"__id__": 295
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -4718,11 +4598,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 300
|
||||
"__id__": 290
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 302
|
||||
"__id__": 292
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -4746,11 +4626,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 300
|
||||
"__id__": 290
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 304
|
||||
"__id__": 294
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -4804,20 +4684,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 293
|
||||
"__id__": 283
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 307
|
||||
"__id__": 297
|
||||
},
|
||||
{
|
||||
"__id__": 309
|
||||
"__id__": 299
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 311
|
||||
"__id__": 301
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -4854,11 +4734,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 306
|
||||
"__id__": 296
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 308
|
||||
"__id__": 298
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -4882,11 +4762,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 306
|
||||
"__id__": 296
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 310
|
||||
"__id__": 300
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -4940,20 +4820,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 293
|
||||
"__id__": 283
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 313
|
||||
"__id__": 303
|
||||
},
|
||||
{
|
||||
"__id__": 315
|
||||
"__id__": 305
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 317
|
||||
"__id__": 307
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -4990,11 +4870,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 312
|
||||
"__id__": 302
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 314
|
||||
"__id__": 304
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -5018,11 +4898,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 312
|
||||
"__id__": 302
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 316
|
||||
"__id__": 306
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -5076,11 +4956,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 293
|
||||
"__id__": 283
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 319
|
||||
"__id__": 309
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -5104,11 +4984,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 293
|
||||
"__id__": 283
|
||||
},
|
||||
"_enabled": false,
|
||||
"__prefab": {
|
||||
"__id__": 321
|
||||
"__id__": 311
|
||||
},
|
||||
"_type": 0,
|
||||
"_inverted": false,
|
||||
@@ -5126,11 +5006,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 293
|
||||
"__id__": 283
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 323
|
||||
"__id__": 313
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -5162,11 +5042,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 293
|
||||
"__id__": 283
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 325
|
||||
"__id__": 315
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -5221,11 +5101,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 292
|
||||
"__id__": 282
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 328
|
||||
"__id__": 318
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -5249,11 +5129,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 292
|
||||
"__id__": 282
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 330
|
||||
"__id__": 320
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -5297,11 +5177,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 292
|
||||
"__id__": 282
|
||||
},
|
||||
"_enabled": false,
|
||||
"__prefab": {
|
||||
"__id__": 332
|
||||
"__id__": 322
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -5352,10 +5232,10 @@
|
||||
"instance": null,
|
||||
"targetOverrides": [
|
||||
{
|
||||
"__id__": 335
|
||||
"__id__": 325
|
||||
},
|
||||
{
|
||||
"__id__": 337
|
||||
"__id__": 327
|
||||
}
|
||||
],
|
||||
"nestedPrefabInstanceRoots": [
|
||||
@@ -5373,7 +5253,7 @@
|
||||
{
|
||||
"__type__": "cc.TargetOverrideInfo",
|
||||
"source": {
|
||||
"__id__": 290
|
||||
"__id__": 280
|
||||
},
|
||||
"sourceInfo": null,
|
||||
"propertyPath": [
|
||||
@@ -5383,7 +5263,7 @@
|
||||
"__id__": 84
|
||||
},
|
||||
"targetInfo": {
|
||||
"__id__": 336
|
||||
"__id__": 326
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -5403,7 +5283,7 @@
|
||||
"__id__": 240
|
||||
},
|
||||
"targetInfo": {
|
||||
"__id__": 338
|
||||
"__id__": 328
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user