feat(战斗系统): 扩展为4条战斗线路并调整相关配置

- 将战斗线路从2条扩展为4条,新增LINE3和LINE4
- 修改Monster生成逻辑以支持4条线路
- 更新英雄刘邦的技能配置
- 调整基础攻击技能消耗为0
- 更新地图预制体以包含新增线路
This commit is contained in:
walkpan
2026-01-02 00:03:07 +08:00
parent ad4fd30314
commit ffa6bbec6f
5 changed files with 319 additions and 114 deletions

View File

@@ -28,17 +28,17 @@
"_active": true,
"_components": [
{
"__id__": 66
"__id__": 74
},
{
"__id__": 68
"__id__": 76
},
{
"__id__": 70
"__id__": 78
}
],
"_prefab": {
"__id__": 72
"__id__": 80
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -197,17 +197,17 @@
"_active": true,
"_components": [
{
"__id__": 59
"__id__": 67
},
{
"__id__": 61
"__id__": 69
},
{
"__id__": 63
"__id__": 71
}
],
"_prefab": {
"__id__": 65
"__id__": 73
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -257,17 +257,17 @@
"__id__": 28
},
{
"__id__": 50
"__id__": 58
}
],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 64
}
],
"_prefab": {
"__id__": 58
"__id__": 66
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -748,19 +748,25 @@
},
{
"__id__": 41
},
{
"__id__": 45
},
{
"__id__": 49
}
],
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 53
},
{
"__id__": 47
"__id__": 55
}
],
"_prefab": {
"__id__": 49
"__id__": 57
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -793,7 +799,7 @@
},
{
"__type__": "cc.Node",
"_name": "LINE1",
"_name": "LINE3",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -864,7 +870,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b8C5CFg5lM4oUHMeSrc/sV"
"fileId": "a5LMIIbHtOKK10K5do5dSQ"
},
{
"__type__": "cc.PrefabInfo",
@@ -874,14 +880,14 @@
"asset": {
"__id__": 0
},
"fileId": "4dcNJaDM1CLI9q3fIqHZ/U",
"fileId": "a6CBSkrzZIurlX0D/HzXDp",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "HERO",
"_name": "LINE1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -952,7 +958,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "dasmpuTSVM7qA3QW9/3XjQ"
"fileId": "b8C5CFg5lM4oUHMeSrc/sV"
},
{
"__type__": "cc.PrefabInfo",
@@ -962,14 +968,14 @@
"asset": {
"__id__": 0
},
"fileId": "eaiasKNEFO6qvodGhL4a0b",
"fileId": "4dcNJaDM1CLI9q3fIqHZ/U",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "LINE2",
"_name": "HERO",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -1040,7 +1046,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ea767WaZRHo4s0bZQfN8zP"
"fileId": "dasmpuTSVM7qA3QW9/3XjQ"
},
{
"__type__": "cc.PrefabInfo",
@@ -1050,14 +1056,14 @@
"asset": {
"__id__": 0
},
"fileId": "60UdPtJn9ALLHCveLwT1bT",
"fileId": "eaiasKNEFO6qvodGhL4a0b",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "SKILL",
"_name": "LINE2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -1128,7 +1134,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "47rZJ0Uv9HkIhkIUzm2ES9"
"fileId": "ea767WaZRHo4s0bZQfN8zP"
},
{
"__type__": "cc.PrefabInfo",
@@ -1138,90 +1144,28 @@
"asset": {
"__id__": 0
},
"fileId": "f0bFfyrcRF77DMu5a9MYtG",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 46
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f91Y4OCX1NFKfSWOAvmdSa"
},
{
"__type__": "6639ayo4DFKZYCU2OBZzyb+",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 48
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6fzmfjcbNPK6tOzQOKJfRV"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "77ZGG4JjxGiol1pDVFrjGQ",
"fileId": "60UdPtJn9ALLHCveLwT1bT",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "SkillLayer",
"_objFlags": 512,
"_name": "LINE4",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 7
"__id__": 28
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
},
{
"__id__": 53
"__id__": 46
}
],
"_prefab": {
"__id__": 55
"__id__": 48
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1258,12 +1202,250 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
"__id__": 45
},
"_enabled": true,
"__prefab": {
"__id__": 47
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "141kciXbJMsYSI6X6J/esh"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5f0OKGVDRCNKxvM3xSrqhv",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "SKILL",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 28
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 50
}
],
"_prefab": {
"__id__": 52
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 49
},
"_enabled": true,
"__prefab": {
"__id__": 51
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "47rZJ0Uv9HkIhkIUzm2ES9"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "f0bFfyrcRF77DMu5a9MYtG",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 54
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f91Y4OCX1NFKfSWOAvmdSa"
},
{
"__type__": "6639ayo4DFKZYCU2OBZzyb+",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 56
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6fzmfjcbNPK6tOzQOKJfRV"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "77ZGG4JjxGiol1pDVFrjGQ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "SkillLayer",
"_objFlags": 512,
"__editorExtras__": {},
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 59
},
{
"__id__": 61
}
],
"_prefab": {
"__id__": 63
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 58
},
"_enabled": true,
"__prefab": {
"__id__": 60
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
@@ -1286,11 +1468,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
"__id__": 58
},
"_enabled": true,
"__prefab": {
"__id__": 54
"__id__": 62
},
"light": null,
"_id": ""
@@ -1322,7 +1504,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 57
"__id__": 65
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1363,7 +1545,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 60
"__id__": 68
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1391,7 +1573,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 62
"__id__": 70
},
"camera": {
"__id__": 3
@@ -1406,10 +1588,10 @@
"__id__": 24
},
"entityLayer": {
"__id__": 47
"__id__": 55
},
"SkillLayer": {
"__id__": 53
"__id__": 61
},
"isFollowPlayer": true,
"_id": ""
@@ -1428,7 +1610,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 64
"__id__": 72
},
"_id": ""
},
@@ -1459,7 +1641,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 67
"__id__": 75
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1487,7 +1669,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 69
"__id__": 77
},
"_cameraComponent": {
"__id__": 3
@@ -1509,7 +1691,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 71
"__id__": 79
},
"_alignFlags": 45,
"_target": null,