feat: 新增装备商店系统,调整英雄站位与抽卡逻辑

1.  重构抽卡函数,新增排除装备卡参数,装备卡改为商店直购
2.  添加装备商店面板,支持装备浏览与购买,跨波次保留购买记录
3.  调整英雄出场点位坐标,优化战场布局
4.  扩展技能卡槽位,新增两行技能槽位置
5.  重构EquipListComp组件,适配装备商店UI逻辑
6.  删除废弃的melist预制件与相关元文件
7.  调整hnode预制件布局参数
This commit is contained in:
pan
2026-07-22 10:44:01 +08:00
parent d37fadf5cf
commit 401b02be96
9 changed files with 14396 additions and 4153 deletions

View File

@@ -48,23 +48,23 @@
],
"_active": true,
"_components": [
{
"__id__": 446
},
{
"__id__": 448
},
{
"__id__": 450
},
{
"__id__": 452
}
],
"_prefab": {
"__id__": 452
"__id__": 454
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 390,
"y": 480.1,
"z": 0
},
"_lrot": {
@@ -117,7 +117,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": 10.984999999999985,
"z": 0
},
"_lrot": {
@@ -157,8 +157,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 700,
"height": 310
"width": 710,
"height": 290
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -232,8 +232,8 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": -5,
"_bottom": -5,
"_top": -5.984999999999999,
"_bottom": 15.984999999999998,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -767,8 +767,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -240,
"y": 21.879,
"x": -257.43,
"y": 5.09,
"z": 0
},
"_lrot": {
@@ -4254,8 +4254,6 @@
"__id__": 0
},
"fileId": "66eIq0sFxB84fIWi6zNzGn",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -5171,7 +5169,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 259.779,
"y": -113.255,
"y": -122.409,
"z": 0
},
"_lrot": {
@@ -5573,7 +5571,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 119.425,
"y": -113.255,
"y": -122.409,
"z": 0
},
"_lrot": {
@@ -5977,8 +5975,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 100,
"y": 103.621,
"x": 92.39950000000002,
"y": 86.832,
"z": 0
},
"_lrot": {
@@ -6040,7 +6038,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -230,
"x": -252.6005,
"y": 0,
"z": 0
},
@@ -6093,7 +6091,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 50,
"x": 75,
"y": 0,
"z": 0
},
@@ -6134,7 +6132,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"width": 300,
"height": 70
},
"_anchorPoint": {
@@ -6557,7 +6555,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"width": 150,
"height": 30
},
"_anchorPoint": {
@@ -6704,7 +6702,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -121,
"x": -93.60050000000001,
"y": 0,
"z": 0
},
@@ -7527,7 +7525,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 53,
"x": 80.39949999999999,
"y": 0,
"z": 0
},
@@ -8322,7 +8320,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 460,
"width": 505.201,
"height": 30
},
"_anchorPoint": {
@@ -8348,10 +8346,10 @@
"__prefab": {
"__id__": 420
},
"_alignFlags": 0,
"_alignFlags": 40,
"_target": null,
"_left": 0,
"_right": 0,
"_left": 194.799,
"_right": 10,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
@@ -8362,7 +8360,7 @@
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalWidth": 479.9,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
@@ -8441,23 +8439,23 @@
],
"_active": true,
"_components": [
{
"__id__": 439
},
{
"__id__": 441
},
{
"__id__": 443
},
{
"__id__": 445
}
],
"_prefab": {
"__id__": 445
"__id__": 447
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 100,
"y": 0.887,
"x": 91.56,
"y": -14.037000000000006,
"z": 0
},
"_lrot": {
@@ -8509,7 +8507,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -5,
"x": 0,
"y": 0,
"z": 0
},
@@ -8550,7 +8548,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 900,
"width": 1013.76,
"height": 310
},
"_anchorPoint": {
@@ -8627,7 +8625,7 @@
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 10,
"_right": 0,
"_top": -2.5,
"_bottom": -2.5,
"_horizontalCenter": 0,
@@ -8677,14 +8675,17 @@
},
{
"__id__": 436
},
{
"__id__": 438
}
],
"_prefab": {
"__id__": 438
"__id__": 440
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -5,
"x": 0,
"y": 0,
"z": 0
},
@@ -8725,8 +8726,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 430,
"height": 90
"width": 486.88,
"height": 130
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -8807,6 +8808,42 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "a4aoaDD+FBU6Rtemm9p9yx"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 433
},
"_enabled": true,
"__prefab": {
"__id__": 439
},
"_alignFlags": 45,
"_target": null,
"_left": 10,
"_right": 10,
"_top": 10,
"_bottom": 10,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 430,
"_originalHeight": 90,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f5Fxxc5gtDlL6afbVLgZgk"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -8830,11 +8867,11 @@
},
"_enabled": true,
"__prefab": {
"__id__": 440
"__id__": 442
},
"_contentSize": {
"__type__": "cc.Size",
"width": 460,
"width": 506.88,
"height": 150
},
"_anchorPoint": {
@@ -8858,14 +8895,14 @@
},
"_enabled": true,
"__prefab": {
"__id__": 442
"__id__": 444
},
"_alignFlags": 0,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_left": 193.12,
"_right": 10,
"_top": 89.037,
"_bottom": 60.962999999999994,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -8874,8 +8911,8 @@
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_originalWidth": 510,
"_originalHeight": 150,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
@@ -8894,7 +8931,7 @@
},
"_enabled": false,
"__prefab": {
"__id__": 444
"__id__": 446
},
"_resizeMode": 1,
"_layoutType": 3,
@@ -8945,11 +8982,11 @@
},
"_enabled": true,
"__prefab": {
"__id__": 447
"__id__": 449
},
"_contentSize": {
"__type__": "cc.Size",
"width": 700,
"width": 710,
"height": 300
},
"_anchorPoint": {
@@ -8973,7 +9010,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 449
"__id__": 451
},
"icon_node": {
"__id__": 157
@@ -9024,13 +9061,13 @@
},
"_enabled": true,
"__prefab": {
"__id__": 451
"__id__": 453
},
"_alignFlags": 41,
"_target": null,
"_left": 10,
"_right": 10,
"_top": 100,
"_left": 5,
"_right": 5,
"_top": 9.9,
"_bottom": 350,
"_horizontalCenter": 0,
"_verticalCenter": 0,
@@ -9060,7 +9097,6 @@
},
"fileId": "d5Q0cgjY1BTIz2JM1k7EZK",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 218

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +0,0 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "0c80c911-642f-423a-8ebb-98aebbbe2ef0",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "melist"
}
}

File diff suppressed because it is too large Load Diff