feat(英雄列表): 调整英雄卡牌UI并支持等级显示

- 调整英雄卡牌预制体的尺寸、缩放和位置
- 在英雄信息面板中添加等级节点显示
- 修改英雄属性显示逻辑,根据英雄等级计算属性值
- 移除冗余的技能信息更新代码,简化逻辑结构
This commit is contained in:
walkpan
2026-04-24 22:13:54 +08:00
parent 1289b668b7
commit aab38e3233
2 changed files with 45 additions and 72 deletions

View File

@@ -3587,8 +3587,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": 1.5,
"y": 1.5,
"z": 1
},
"_mobility": 0,
@@ -4024,8 +4024,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 320,
"height": 450
"width": 213.33333333333334,
"height": 300
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -4983,8 +4983,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 320,
"height": 450
"width": 213.33333333333334,
"height": 300
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -9804,8 +9804,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 145.307,
"y": -205.5,
"x": 135.807,
"y": -202.5,
"z": 0
},
"_lrot": {
@@ -10459,8 +10459,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -141.951,
"y": -205.5,
"x": -132.451,
"y": -202.5,
"z": 0
},
"_lrot": {
@@ -12118,6 +12118,9 @@
"next_btn": {
"__id__": 489
},
"lv_node": {
"__id__": 266
},
"_id": ""
},
{