feat: 新增指定目标卡池等级抽卡功能并调整UI布局

- 在drawCardsByRule函数中增加targetPoolLv参数,支持强制从指定等级卡池抽卡
- 修改MissionCardComp中刷新英雄卡牌逻辑,使用targetPoolLv替代heroLv参数
- 调整role_controller.prefab中多个UI元素的位置和尺寸
- 将开始按钮文本从"开始"改为"开始战斗"并加宽按钮
This commit is contained in:
walkpan
2026-04-05 21:12:39 +08:00
parent 96f06535e1
commit c93ccbcaec
4 changed files with 43 additions and 19 deletions

View File

@@ -1059,7 +1059,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 459.545,
"y": 435.147,
"z": 0
},
"_lrot": {
@@ -2239,7 +2239,7 @@
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 459.545,
"_bottom": 435.147,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -2582,7 +2582,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -180,
"y": 396.244,
"y": 154.567,
"z": 0
},
"_lrot": {
@@ -3016,7 +3016,7 @@
"_left": 0,
"_right": 360,
"_top": 0,
"_bottom": 373.744,
"_bottom": 132.067,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -4008,6 +4008,8 @@
"__id__": 0
},
"fileId": "33rSVysAVB1LO2v7wC2zZ1",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -4970,6 +4972,8 @@
"__id__": 0
},
"fileId": "50nlTzRABGJ4vZYBkdXijK",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -5009,7 +5013,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 180,
"y": 394.952,
"y": 153.275,
"z": 0
},
"_lrot": {
@@ -5688,7 +5692,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -259,
"y": 252.88,
"y": 296.371,
"z": 0
},
"_lrot": {
@@ -6142,7 +6146,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -85,
"y": 252.88,
"y": 296.371,
"z": 0
},
"_lrot": {
@@ -6596,7 +6600,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 85,
"y": 252.88,
"y": 296.371,
"z": 0
},
"_lrot": {
@@ -7050,7 +7054,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 259,
"y": 252.88,
"y": 296.371,
"z": 0
},
"_lrot": {
@@ -7577,7 +7581,7 @@
"value": {
"__type__": "cc.Vec3",
"x": -260,
"y": 252.88,
"y": 296.371,
"z": 0
}
},
@@ -7898,7 +7902,7 @@
"value": {
"__type__": "cc.Vec3",
"x": -86,
"y": 252.88,
"y": 296.371,
"z": 0
}
},
@@ -8219,7 +8223,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 86,
"y": 252.88,
"y": 296.371,
"z": 0
}
},
@@ -8540,7 +8544,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 260,
"y": 252.88,
"y": 296.371,
"z": 0
}
},
@@ -11990,7 +11994,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 78,
"width": 148,
"height": 58.4
},
"_anchorPoint": {
@@ -12026,7 +12030,7 @@
"b": 255,
"a": 255
},
"_string": "开始",
"_string": "开始战斗",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 35,