装备技能转变 触发+伙伴死亡 被攻击触发

This commit is contained in:
panw
2025-06-18 10:58:18 +08:00
parent fdfa9cbd37
commit be4543b62e
9 changed files with 305 additions and 74 deletions

View File

@@ -38,10 +38,13 @@
},
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 18
"__id__": 20
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -284,40 +287,106 @@
"fileId": "f4FjKz0SlKzLQiRv9NKgJU"
},
{
"__type__": "20503VOc7ZA84sbp8G72pxZ",
"__type__": "f680dkagx9PmbfqtF463/Ua",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": false,
"_enabled": true,
"__prefab": {
"__id__": 15
},
"speed": 600,
"controlPointSide": 1,
"controlPointOffset": 0.5,
"controlPointRandomness": 0.3,
"autoRotate": true,
"showTrajectory": true,
"trajectoryColor": {
"__type__": "cc.Color",
"r": 0,
"g": 255,
"b": 0,
"a": 255
},
"trajectoryWidth": 3,
"easing": "linear",
"rotationSmoothness": 0.6,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71rQac811CkZmLJZ+3hWYp"
"fileId": "ceJ7oJ7BtCa567d+94RoRt"
},
{
"__type__": "c92adevMwxBYYbFjVc25eV9",
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": false,
"_enabled": true,
"__prefab": {
"__id__": 17
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": true,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 11.1,
"y": 1.3
},
"_size": {
"__type__": "cc.Size",
"width": 76.6,
"height": 21.7
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "beqrCy1W1KT5dRKWJ1+thK"
"fileId": "78Uk9gCslA763sdijuTa5h"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"enabledContactListener": true,
"bullet": false,
"awakeOnLoad": true,
"_group": 1,
"_type": 1,
"_allowSleep": false,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9dkSU5svFBwZACdT8juge4"
},
{
"__type__": "cc.PrefabInfo",