Compare commits
2 Commits
cf4beadeb4
...
bb098d690b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb098d690b | ||
|
|
2e3624e9ad |
@@ -457,7 +457,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": -320,
|
"y": 45.781,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -2614,7 +2614,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 9.319,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -2626,8 +2626,8 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -2,
|
"x": -1,
|
||||||
"y": 2,
|
"y": 1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
"_mobility": 0,
|
"_mobility": 0,
|
||||||
@@ -2743,8 +2743,8 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 110,
|
"width": 90,
|
||||||
"height": 140
|
"height": 80
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@@ -2793,10 +2793,10 @@
|
|||||||
},
|
},
|
||||||
"_alignFlags": 45,
|
"_alignFlags": 45,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
"_left": 5,
|
"_left": 15,
|
||||||
"_right": 5,
|
"_right": 15,
|
||||||
"_top": 5,
|
"_top": 35,
|
||||||
"_bottom": 5,
|
"_bottom": 35,
|
||||||
"_horizontalCenter": 0,
|
"_horizontalCenter": 0,
|
||||||
"_verticalCenter": 0,
|
"_verticalCenter": 0,
|
||||||
"_isAbsLeft": true,
|
"_isAbsLeft": true,
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -30,18 +30,18 @@
|
|||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
|
||||||
"__id__": 290
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 292
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"__id__": 294
|
"__id__": 294
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 296
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 298
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 296
|
"__id__": 300
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -3795,9 +3795,13 @@
|
|||||||
"home_btn": {
|
"home_btn": {
|
||||||
"__id__": 181
|
"__id__": 181
|
||||||
},
|
},
|
||||||
"hero_btn": null,
|
"hero_btn": {
|
||||||
|
"__id__": 141
|
||||||
|
},
|
||||||
"rank_btn": null,
|
"rank_btn": null,
|
||||||
"tals_btn": null,
|
"tals_btn": {
|
||||||
|
"__id__": 212
|
||||||
|
},
|
||||||
"heros_page": {
|
"heros_page": {
|
||||||
"__id__": 88
|
"__id__": 88
|
||||||
},
|
},
|
||||||
@@ -4009,6 +4013,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 289
|
"__id__": 289
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 290
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 292
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"removedComponents": []
|
"removedComponents": []
|
||||||
@@ -4040,7 +4050,7 @@
|
|||||||
"value": {
|
"value": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 1177.658,
|
"y": 1175,
|
||||||
"z": 0
|
"z": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -4083,7 +4093,7 @@
|
|||||||
"propertyPath": [
|
"propertyPath": [
|
||||||
"_top"
|
"_top"
|
||||||
],
|
],
|
||||||
"value": 67.34200000000021
|
"value": 70
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.TargetInfo",
|
"__type__": "cc.TargetInfo",
|
||||||
@@ -4121,6 +4131,38 @@
|
|||||||
],
|
],
|
||||||
"value": true
|
"value": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 291
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_active"
|
||||||
|
],
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.TargetInfo",
|
||||||
|
"localID": [
|
||||||
|
"71PjuREPhL54gIRBLnZ//L"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 293
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_active"
|
||||||
|
],
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.TargetInfo",
|
||||||
|
"localID": [
|
||||||
|
"41v9yb+khAT5fF0JOnsr2d"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "GameUI<UITransform>",
|
"_name": "GameUI<UITransform>",
|
||||||
@@ -4131,7 +4173,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 291
|
"__id__": 295
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -4159,7 +4201,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 293
|
"__id__": 297
|
||||||
},
|
},
|
||||||
"_alignFlags": 45,
|
"_alignFlags": 45,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
@@ -4195,7 +4237,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 295
|
"__id__": 299
|
||||||
},
|
},
|
||||||
"debugMode": false,
|
"debugMode": false,
|
||||||
"_id": ""
|
"_id": ""
|
||||||
@@ -4216,19 +4258,19 @@
|
|||||||
"instance": null,
|
"instance": null,
|
||||||
"targetOverrides": [
|
"targetOverrides": [
|
||||||
{
|
{
|
||||||
"__id__": 297
|
"__id__": 301
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 300
|
"__id__": 304
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 303
|
"__id__": 307
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 306
|
"__id__": 310
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 309
|
"__id__": 313
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"nestedPrefabInstanceRoots": [
|
"nestedPrefabInstanceRoots": [
|
||||||
@@ -4273,7 +4315,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"sourceInfo": {
|
"sourceInfo": {
|
||||||
"__id__": 298
|
"__id__": 302
|
||||||
},
|
},
|
||||||
"propertyPath": [
|
"propertyPath": [
|
||||||
"hero1"
|
"hero1"
|
||||||
@@ -4282,7 +4324,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"targetInfo": {
|
"targetInfo": {
|
||||||
"__id__": 299
|
"__id__": 303
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -4303,7 +4345,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"sourceInfo": {
|
"sourceInfo": {
|
||||||
"__id__": 301
|
"__id__": 305
|
||||||
},
|
},
|
||||||
"propertyPath": [
|
"propertyPath": [
|
||||||
"hero2"
|
"hero2"
|
||||||
@@ -4312,7 +4354,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"targetInfo": {
|
"targetInfo": {
|
||||||
"__id__": 302
|
"__id__": 306
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -4333,7 +4375,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"sourceInfo": {
|
"sourceInfo": {
|
||||||
"__id__": 304
|
"__id__": 308
|
||||||
},
|
},
|
||||||
"propertyPath": [
|
"propertyPath": [
|
||||||
"hero3"
|
"hero3"
|
||||||
@@ -4342,7 +4384,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"targetInfo": {
|
"targetInfo": {
|
||||||
"__id__": 305
|
"__id__": 309
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -4363,7 +4405,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"sourceInfo": {
|
"sourceInfo": {
|
||||||
"__id__": 307
|
"__id__": 311
|
||||||
},
|
},
|
||||||
"propertyPath": [
|
"propertyPath": [
|
||||||
"hero4"
|
"hero4"
|
||||||
@@ -4372,7 +4414,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"targetInfo": {
|
"targetInfo": {
|
||||||
"__id__": 308
|
"__id__": 312
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -4393,7 +4435,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"sourceInfo": {
|
"sourceInfo": {
|
||||||
"__id__": 310
|
"__id__": 314
|
||||||
},
|
},
|
||||||
"propertyPath": [
|
"propertyPath": [
|
||||||
"hero5"
|
"hero5"
|
||||||
@@ -4402,7 +4444,7 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"targetInfo": {
|
"targetInfo": {
|
||||||
"__id__": 311
|
"__id__": 315
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -118,8 +118,8 @@
|
|||||||
"rawHeight": 54,
|
"rawHeight": 54,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 44.5,
|
"borderLeft": 44,
|
||||||
"borderRight": 44.5,
|
"borderRight": 44,
|
||||||
"packable": true,
|
"packable": true,
|
||||||
"pixelsToUnit": 100,
|
"pixelsToUnit": 100,
|
||||||
"pivotX": 0.5,
|
"pivotX": 0.5,
|
||||||
@@ -4994,8 +4994,8 @@
|
|||||||
"rawHeight": 45,
|
"rawHeight": 45,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 40.5,
|
"borderLeft": 40,
|
||||||
"borderRight": 40.5,
|
"borderRight": 40,
|
||||||
"packable": true,
|
"packable": true,
|
||||||
"pixelsToUnit": 100,
|
"pixelsToUnit": 100,
|
||||||
"pivotX": 0.5,
|
"pivotX": 0.5,
|
||||||
@@ -5040,8 +5040,8 @@
|
|||||||
"rawHeight": 42,
|
"rawHeight": 42,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 34.5,
|
"borderLeft": 34,
|
||||||
"borderRight": 34.5,
|
"borderRight": 34,
|
||||||
"packable": true,
|
"packable": true,
|
||||||
"pixelsToUnit": 100,
|
"pixelsToUnit": 100,
|
||||||
"pivotX": 0.5,
|
"pivotX": 0.5,
|
||||||
@@ -5086,8 +5086,8 @@
|
|||||||
"rawHeight": 42,
|
"rawHeight": 42,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 34.5,
|
"borderLeft": 34,
|
||||||
"borderRight": 34.5,
|
"borderRight": 34,
|
||||||
"packable": true,
|
"packable": true,
|
||||||
"pixelsToUnit": 100,
|
"pixelsToUnit": 100,
|
||||||
"pivotX": 0.5,
|
"pivotX": 0.5,
|
||||||
|
|||||||
@@ -3934,8 +3934,8 @@
|
|||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 90,
|
"rawWidth": 90,
|
||||||
"rawHeight": 57,
|
"rawHeight": 57,
|
||||||
"borderTop": 28.5,
|
"borderTop": 28,
|
||||||
"borderBottom": 28.5,
|
"borderBottom": 28,
|
||||||
"borderLeft": 45,
|
"borderLeft": 45,
|
||||||
"borderRight": 45,
|
"borderRight": 45,
|
||||||
"packable": true,
|
"packable": true,
|
||||||
|
|||||||
@@ -110,7 +110,17 @@ export class SingletonModuleComp extends ecs.Comp {
|
|||||||
shop: false, // 购买药品面板按钮
|
shop: false, // 购买药品面板按钮
|
||||||
},
|
},
|
||||||
/** 英雄局外成长数据:记录每个英雄的局外等级与碎片数量 */
|
/** 英雄局外成长数据:记录每个英雄的局外等级与碎片数量 */
|
||||||
hero_growth: {} as Record<number, HeroGrowthRecord>,
|
// TODO: 以下为测试英雄升级功能的模拟数据,验证通过后需移除(避免污染云端存档)
|
||||||
|
hero_growth: {
|
||||||
|
// 碎片充足:可连升 2 级(10+20=30,剩余 20 不够升 4 级)
|
||||||
|
5001: { uuid: 5001, lv: 1, fragments: 50 },
|
||||||
|
// 碎片不足:升 4 级需 40,验证升级失败路径
|
||||||
|
5002: { uuid: 5002, lv: 3, fragments: 15 },
|
||||||
|
// 碎片刚好够升到满级:升 6 级需 160
|
||||||
|
5003: { uuid: 5003, lv: 5, fragments: 160 },
|
||||||
|
// 已满级:验证满级后 upgradeHero 返回 false
|
||||||
|
5004: { uuid: 5004, lv: 6, fragments: 999 },
|
||||||
|
} as Record<number, HeroGrowthRecord>,
|
||||||
}
|
}
|
||||||
|
|
||||||
vmdata: any = {
|
vmdata: any = {
|
||||||
|
|||||||
Reference in New Issue
Block a user