feat: 调整怪物属性与波次生成逻辑,新增测试脚本
1. 全怪物基础属性翻倍调整,同步更新英雄配置表 2. 修改模板M1的最低生效等级为1 3. 调整首波生成预算计算方式,修复低预算利用率检查逻辑 4. 新增spawn测试脚本,调整UI预制体布局参数
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 200,
|
||||
"y": 177.92700000000002,
|
||||
"y": 177,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -266,8 +266,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 100,
|
||||
"y": 177.92700000000002,
|
||||
"x": 91.434,
|
||||
"y": 99.82,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -434,8 +434,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 177.92700000000002,
|
||||
"x": 110.644,
|
||||
"y": 234.75,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -602,8 +602,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -100,
|
||||
"y": 177.92700000000002,
|
||||
"x": -47.56,
|
||||
"y": 261.112,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -770,8 +770,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -200,
|
||||
"y": 177.92700000000002,
|
||||
"x": -30.737,
|
||||
"y": 68.374,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 286
|
||||
"__id__": 272
|
||||
},
|
||||
{
|
||||
"__id__": 295
|
||||
"__id__": 281
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 307
|
||||
"__id__": 293
|
||||
},
|
||||
{
|
||||
"__id__": 309
|
||||
"__id__": 295
|
||||
},
|
||||
{
|
||||
"__id__": 311
|
||||
"__id__": 297
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 313
|
||||
"__id__": 299
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -94,17 +94,17 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 279
|
||||
"__id__": 265
|
||||
},
|
||||
{
|
||||
"__id__": 281
|
||||
"__id__": 267
|
||||
},
|
||||
{
|
||||
"__id__": 283
|
||||
"__id__": 269
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 285
|
||||
"__id__": 271
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -6090,108 +6090,32 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInstance",
|
||||
"fileId": "c8OWze/z9IMpmg5hcYAPwM",
|
||||
"fileId": "87n/wcZ7tIPbu7m1+Q/KV3",
|
||||
"prefabRootNode": {
|
||||
"__id__": 1
|
||||
},
|
||||
"mountedChildren": [],
|
||||
"mountedComponents": [
|
||||
{
|
||||
"__id__": 260
|
||||
}
|
||||
],
|
||||
"mountedComponents": [],
|
||||
"propertyOverrides": [
|
||||
{
|
||||
"__id__": 260
|
||||
},
|
||||
{
|
||||
"__id__": 262
|
||||
},
|
||||
{
|
||||
"__id__": 263
|
||||
},
|
||||
{
|
||||
"__id__": 264
|
||||
},
|
||||
{
|
||||
"__id__": 266
|
||||
},
|
||||
{
|
||||
"__id__": 267
|
||||
},
|
||||
{
|
||||
"__id__": 268
|
||||
},
|
||||
{
|
||||
"__id__": 269
|
||||
},
|
||||
{
|
||||
"__id__": 271
|
||||
},
|
||||
{
|
||||
"__id__": 273
|
||||
},
|
||||
{
|
||||
"__id__": 275
|
||||
},
|
||||
{
|
||||
"__id__": 277
|
||||
}
|
||||
],
|
||||
"removedComponents": []
|
||||
},
|
||||
{
|
||||
"__type__": "cc.MountedComponentsInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 261
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"__id__": 262
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"f1ya2LoYBB547vP13Ydezp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {
|
||||
"mountedRoot": {
|
||||
"__id__": 257
|
||||
}
|
||||
},
|
||||
"node": {
|
||||
"__id__": 257
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 263
|
||||
},
|
||||
"_alignFlags": 18,
|
||||
"_target": null,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_horizontalCenter": -76.841,
|
||||
"_verticalCenter": 200,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 0,
|
||||
"_originalHeight": 0,
|
||||
"_alignMode": 2,
|
||||
"_lockFlags": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "3eiYz0maFGj5G3KaylC3ro"
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 265
|
||||
"__id__": 261
|
||||
},
|
||||
"propertyPath": [
|
||||
"_name"
|
||||
@@ -6207,22 +6131,22 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 265
|
||||
"__id__": 261
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -76.841,
|
||||
"y": 840,
|
||||
"x": -143.895,
|
||||
"y": 622.066,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 265
|
||||
"__id__": 261
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lrot"
|
||||
@@ -6238,7 +6162,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 265
|
||||
"__id__": 261
|
||||
},
|
||||
"propertyPath": [
|
||||
"_euler"
|
||||
@@ -6250,111 +6174,6 @@
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 270
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 200,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"bdA9GHaYtL34EFtEibL2hR"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 272
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 100,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"adFmHHJ5BBAY0CazvLDgGw"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 274
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"96QFNOz55OyZEByIPMUwVi"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 276
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -100,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"82phyYrMBJLLQftj0f4fIS"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 278
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -200,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"aenGhipwJAKZ3DgYqvrUgU"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
@@ -6365,7 +6184,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 280
|
||||
"__id__": 266
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -6393,7 +6212,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 282
|
||||
"__id__": 268
|
||||
},
|
||||
"_alignFlags": 21,
|
||||
"_target": null,
|
||||
@@ -6429,7 +6248,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 284
|
||||
"__id__": 270
|
||||
},
|
||||
"home_btn": {
|
||||
"__id__": 45
|
||||
@@ -6466,14 +6285,14 @@
|
||||
"__id__": 1
|
||||
},
|
||||
"_prefab": {
|
||||
"__id__": 287
|
||||
"__id__": 273
|
||||
},
|
||||
"__editorExtras__": {}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 286
|
||||
"__id__": 272
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "26bff847-cd29-48a5-bbfa-c3e2dbda688d",
|
||||
@@ -6481,7 +6300,7 @@
|
||||
},
|
||||
"fileId": "5a9CMsVQhKP5Y+UJfTKPbx",
|
||||
"instance": {
|
||||
"__id__": 288
|
||||
"__id__": 274
|
||||
},
|
||||
"targetOverrides": null
|
||||
},
|
||||
@@ -6495,19 +6314,19 @@
|
||||
"mountedComponents": [],
|
||||
"propertyOverrides": [
|
||||
{
|
||||
"__id__": 289
|
||||
"__id__": 275
|
||||
},
|
||||
{
|
||||
"__id__": 291
|
||||
"__id__": 277
|
||||
},
|
||||
{
|
||||
"__id__": 292
|
||||
"__id__": 278
|
||||
},
|
||||
{
|
||||
"__id__": 293
|
||||
"__id__": 279
|
||||
},
|
||||
{
|
||||
"__id__": 294
|
||||
"__id__": 280
|
||||
}
|
||||
],
|
||||
"removedComponents": []
|
||||
@@ -6515,7 +6334,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 290
|
||||
"__id__": 276
|
||||
},
|
||||
"propertyPath": [
|
||||
"_name"
|
||||
@@ -6531,7 +6350,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 290
|
||||
"__id__": 276
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
@@ -6546,7 +6365,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 290
|
||||
"__id__": 276
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lrot"
|
||||
@@ -6562,7 +6381,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 290
|
||||
"__id__": 276
|
||||
},
|
||||
"propertyPath": [
|
||||
"_euler"
|
||||
@@ -6577,7 +6396,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 290
|
||||
"__id__": 276
|
||||
},
|
||||
"propertyPath": [
|
||||
"_active"
|
||||
@@ -6591,14 +6410,14 @@
|
||||
"__id__": 1
|
||||
},
|
||||
"_prefab": {
|
||||
"__id__": 296
|
||||
"__id__": 282
|
||||
},
|
||||
"__editorExtras__": {}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 295
|
||||
"__id__": 281
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "56aee962-4a5e-45ae-a779-999444d06d18",
|
||||
@@ -6606,7 +6425,7 @@
|
||||
},
|
||||
"fileId": "cboM54s0hM07XCtrpFp0/b",
|
||||
"instance": {
|
||||
"__id__": 297
|
||||
"__id__": 283
|
||||
},
|
||||
"targetOverrides": null
|
||||
},
|
||||
@@ -6620,25 +6439,25 @@
|
||||
"mountedComponents": [],
|
||||
"propertyOverrides": [
|
||||
{
|
||||
"__id__": 298
|
||||
"__id__": 284
|
||||
},
|
||||
{
|
||||
"__id__": 300
|
||||
"__id__": 286
|
||||
},
|
||||
{
|
||||
"__id__": 301
|
||||
"__id__": 287
|
||||
},
|
||||
{
|
||||
"__id__": 302
|
||||
"__id__": 288
|
||||
},
|
||||
{
|
||||
"__id__": 303
|
||||
"__id__": 289
|
||||
},
|
||||
{
|
||||
"__id__": 305
|
||||
"__id__": 291
|
||||
},
|
||||
{
|
||||
"__id__": 306
|
||||
"__id__": 292
|
||||
}
|
||||
],
|
||||
"removedComponents": []
|
||||
@@ -6646,7 +6465,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 299
|
||||
"__id__": 285
|
||||
},
|
||||
"propertyPath": [
|
||||
"_name"
|
||||
@@ -6662,7 +6481,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 299
|
||||
"__id__": 285
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
@@ -6677,7 +6496,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 299
|
||||
"__id__": 285
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lrot"
|
||||
@@ -6693,7 +6512,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 299
|
||||
"__id__": 285
|
||||
},
|
||||
"propertyPath": [
|
||||
"_euler"
|
||||
@@ -6708,7 +6527,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 304
|
||||
"__id__": 290
|
||||
},
|
||||
"propertyPath": [
|
||||
"_top"
|
||||
@@ -6724,7 +6543,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 304
|
||||
"__id__": 290
|
||||
},
|
||||
"propertyPath": [
|
||||
"_alignFlags"
|
||||
@@ -6734,7 +6553,7 @@
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 304
|
||||
"__id__": 290
|
||||
},
|
||||
"propertyPath": [
|
||||
"_bottom"
|
||||
@@ -6751,7 +6570,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 308
|
||||
"__id__": 294
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -6779,7 +6598,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 310
|
||||
"__id__": 296
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -6815,7 +6634,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 312
|
||||
"__id__": 298
|
||||
},
|
||||
"debugMode": false,
|
||||
"_id": ""
|
||||
@@ -6837,10 +6656,10 @@
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": [
|
||||
{
|
||||
"__id__": 295
|
||||
"__id__": 281
|
||||
},
|
||||
{
|
||||
"__id__": 286
|
||||
"__id__": 272
|
||||
},
|
||||
{
|
||||
"__id__": 257
|
||||
|
||||
Reference in New Issue
Block a user