大招修改为攻击触发,或者受伤触发

This commit is contained in:
2024-11-16 17:37:39 +08:00
parent f41ff64395
commit 227cfd26d4
4 changed files with 315 additions and 301 deletions

View File

@@ -25,32 +25,29 @@
"__id__": 8
},
{
"__id__": 17
"__id__": 19
},
{
"__id__": 25
"__id__": 28
},
{
"__id__": 34
"__id__": 36
},
{
"__id__": 43
"__id__": 45
},
{
"__id__": 53
"__id__": 55
},
{
"__id__": 62
"__id__": 64
},
{
"__id__": 72
"__id__": 74
}
],
"_active": true,
"_components": [
{
"__id__": 80
},
{
"__id__": 82
},
@@ -62,10 +59,13 @@
},
{
"__id__": 88
},
{
"__id__": 90
}
],
"_prefab": {
"__id__": 90
"__id__": 92
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -260,7 +260,7 @@
},
{
"__type__": "cc.PrefabInstance",
"fileId": "12VQAe3ilGPam5hokpA0Jl",
"fileId": "cdIK+ocxBJRLNeMROksdDi",
"prefabRootNode": {
"__id__": 1
},
@@ -281,6 +281,9 @@
},
{
"__id__": 16
},
{
"__id__": 17
}
],
"removedComponents": []
@@ -293,7 +296,7 @@
"propertyPath": [
"_name"
],
"value": "buff"
"value": "max"
},
{
"__type__": "cc.TargetInfo",
@@ -311,8 +314,8 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 4.377,
"y": 6.809,
"x": 4.3770000000000095,
"y": 6.808999999999969,
"z": 0
}
},
@@ -357,6 +360,153 @@
],
"value": false
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 18
},
"propertyPath": [
"_color"
],
"value": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"73D0ZuTQdMDqn/pimi7d34"
]
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 20
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 19
},
"asset": {
"__uuid__": "198e9c93-3ac9-4564-9d0e-63c9836e509a",
"__expectedType__": "cc.Prefab"
},
"fileId": "54R/aYBglLI4Jn5pm++Jx8",
"instance": {
"__id__": 21
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "12VQAe3ilGPam5hokpA0Jl",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 22
},
{
"__id__": 24
},
{
"__id__": 25
},
{
"__id__": 26
},
{
"__id__": 27
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 23
},
"propertyPath": [
"_name"
],
"value": "buff"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"54R/aYBglLI4Jn5pm++Jx8"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 23
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 4.377,
"y": 6.809,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 23
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 23
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 23
},
"propertyPath": [
"_active"
],
"value": false
},
{
"__type__": "cc.Node",
"_name": "anm",
@@ -369,17 +519,17 @@
"_active": true,
"_components": [
{
"__id__": 18
"__id__": 29
},
{
"__id__": 20
"__id__": 31
},
{
"__id__": 22
"__id__": 33
}
],
"_prefab": {
"__id__": 24
"__id__": 35
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -416,11 +566,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
@@ -444,11 +594,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 21
"__id__": 32
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -489,11 +639,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 23
"__id__": 34
},
"playOnLoad": true,
"_clips": [
@@ -540,139 +690,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 26
"__id__": 37
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 25
},
"asset": {
"__uuid__": "b895acca-b187-4167-8c4f-de81511c8d55",
"__expectedType__": "cc.Prefab"
},
"fileId": "2e1WXUIxlLWLT5zBlbV6nF",
"instance": {
"__id__": 27
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "79G3PfLDlJdJqsPU4+q+xM",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 28
},
{
"__id__": 30
},
{
"__id__": 31
},
{
"__id__": 32
},
{
"__id__": 33
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 29
},
"propertyPath": [
"_name"
],
"value": "max"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"2e1WXUIxlLWLT5zBlbV6nF"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 29
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 3.317,
"y": 48.724,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 29
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 29
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 29
},
"propertyPath": [
"_active"
],
"value": false
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 35
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 34
"__id__": 36
},
"asset": {
"__uuid__": "e1b8a315-ece3-41a2-941e-a66861753f1b",
@@ -680,7 +705,7 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": {
"__id__": 36
"__id__": 38
},
"targetOverrides": null
},
@@ -693,20 +718,20 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 37
},
{
"__id__": 39
},
{
"__id__": 40
},
{
"__id__": 41
},
{
"__id__": 42
},
{
"__id__": 43
},
{
"__id__": 44
}
],
"removedComponents": []
@@ -714,7 +739,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 40
},
"propertyPath": [
"_name"
@@ -730,7 +755,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 40
},
"propertyPath": [
"_lpos"
@@ -745,7 +770,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 40
},
"propertyPath": [
"_lrot"
@@ -761,7 +786,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 40
},
"propertyPath": [
"_euler"
@@ -776,7 +801,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 40
},
"propertyPath": [
"_active"
@@ -790,14 +815,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 44
"__id__": 46
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 43
"__id__": 45
},
"asset": {
"__uuid__": "50c3d5e4-49f8-4bd7-a15b-cda359a0ae5c",
@@ -805,7 +830,7 @@
},
"fileId": "5fqU0L3/FOhKaco5UkHuWT",
"instance": {
"__id__": 45
"__id__": 47
},
"targetOverrides": null
},
@@ -818,20 +843,20 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 46
},
{
"__id__": 48
},
{
"__id__": 49
},
{
"__id__": 50
},
{
"__id__": 51
},
{
"__id__": 52
},
{
"__id__": 53
}
],
"removedComponents": []
@@ -839,7 +864,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 47
"__id__": 49
},
"propertyPath": [
"_name"
@@ -855,7 +880,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 47
"__id__": 49
},
"propertyPath": [
"_lpos"
@@ -870,7 +895,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 47
"__id__": 49
},
"propertyPath": [
"_lrot"
@@ -886,7 +911,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 47
"__id__": 49
},
"propertyPath": [
"_euler"
@@ -901,7 +926,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 52
"__id__": 54
},
"propertyPath": [
"_lpos"
@@ -926,14 +951,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 54
"__id__": 56
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 53
"__id__": 55
},
"asset": {
"__uuid__": "5b4ca49e-0f12-4478-b56d-bf8198b36b90",
@@ -941,7 +966,7 @@
},
"fileId": "0d6ZXmA5dHkZxoGONDL2sE",
"instance": {
"__id__": 55
"__id__": 57
},
"targetOverrides": null
},
@@ -954,20 +979,20 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 56
},
{
"__id__": 58
},
{
"__id__": 59
},
{
"__id__": 60
},
{
"__id__": 61
},
{
"__id__": 62
},
{
"__id__": 63
}
],
"removedComponents": []
@@ -975,7 +1000,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 57
"__id__": 59
},
"propertyPath": [
"_name"
@@ -991,7 +1016,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 57
"__id__": 59
},
"propertyPath": [
"_lpos"
@@ -1006,7 +1031,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 57
"__id__": 59
},
"propertyPath": [
"_lrot"
@@ -1022,7 +1047,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 57
"__id__": 59
},
"propertyPath": [
"_euler"
@@ -1037,7 +1062,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 57
"__id__": 59
},
"propertyPath": [
"_active"
@@ -1051,14 +1076,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 63
"__id__": 65
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 62
"__id__": 64
},
"asset": {
"__uuid__": "ec11e9f5-3347-4d5e-8ed8-f98a6ac7963a",
@@ -1066,7 +1091,7 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": {
"__id__": 64
"__id__": 66
},
"targetOverrides": null
},
@@ -1079,15 +1104,9 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 65
},
{
"__id__": 67
},
{
"__id__": 68
},
{
"__id__": 69
},
@@ -1096,6 +1115,12 @@
},
{
"__id__": 71
},
{
"__id__": 72
},
{
"__id__": 73
}
],
"removedComponents": []
@@ -1103,7 +1128,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 66
"__id__": 68
},
"propertyPath": [
"_name"
@@ -1119,7 +1144,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 66
"__id__": 68
},
"propertyPath": [
"_lpos"
@@ -1134,7 +1159,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 66
"__id__": 68
},
"propertyPath": [
"_lrot"
@@ -1150,7 +1175,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 66
"__id__": 68
},
"propertyPath": [
"_euler"
@@ -1165,7 +1190,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 66
"__id__": 68
},
"propertyPath": [
"_lscale"
@@ -1180,7 +1205,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 66
"__id__": 68
},
"propertyPath": [
"_active"
@@ -1194,14 +1219,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 73
"__id__": 75
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 72
"__id__": 74
},
"asset": {
"__uuid__": "ae4493bd-cbcc-4392-921c-3e2b0fcd5338",
@@ -1209,7 +1234,7 @@
},
"fileId": "91yoyAQGNDm5ziI7NUChZ+",
"instance": {
"__id__": 74
"__id__": 76
},
"targetOverrides": null
},
@@ -1222,17 +1247,17 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 75
},
{
"__id__": 77
},
{
"__id__": 78
"__id__": 79
},
{
"__id__": 79
"__id__": 80
},
{
"__id__": 81
}
],
"removedComponents": []
@@ -1240,7 +1265,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 76
"__id__": 78
},
"propertyPath": [
"_name"
@@ -1256,7 +1281,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 76
"__id__": 78
},
"propertyPath": [
"_lpos"
@@ -1271,7 +1296,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 76
"__id__": 78
},
"propertyPath": [
"_lrot"
@@ -1287,7 +1312,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 76
"__id__": 78
},
"propertyPath": [
"_euler"
@@ -1309,7 +1334,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 81
"__id__": 83
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1337,7 +1362,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 83
"__id__": 85
},
"enabledContactListener": true,
"bullet": true,
@@ -1371,7 +1396,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 85
"__id__": 87
},
"tag": 0,
"_group": 4,
@@ -1405,10 +1430,10 @@
},
"_enabled": true,
"__prefab": {
"__id__": 87
"__id__": 89
},
"animator": {
"__id__": 22
"__id__": 33
},
"_id": ""
},
@@ -1426,7 +1451,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 89
"__id__": 91
},
"_id": ""
},
@@ -1447,22 +1472,22 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 72
"__id__": 74
},
{
"__id__": 62
"__id__": 64
},
{
"__id__": 53
"__id__": 55
},
{
"__id__": 43
"__id__": 45
},
{
"__id__": 34
"__id__": 36
},
{
"__id__": 25
"__id__": 19
},
{
"__id__": 8