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

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

@@ -252,7 +252,7 @@
"fileId": "0f1YvlzyZOLIAHiCyCBXRz"
},
{
"__type__": "20503VOc7ZA84sbp8G72pxZ",
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -263,29 +263,61 @@
"__prefab": {
"__id__": 13
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": true,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 3.6,
"y": -10.2
},
"_size": {
"__type__": "cc.Size",
"width": 63.6,
"height": 106.7
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "38+qbhXMVHtoU9k7o0hvx8"
"fileId": "abSos3/xZFOZSp08Izyl05"
},
{
"__type__": "6a7fejJxHlM5r/TS8IFF1Kq",
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": false,
"_enabled": true,
"__prefab": {
"__id__": 15
},
"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": "36K2fPnkJLPbBwJ5DxQ0ry"
"fileId": "2apGMb5RtE2YHEPWvhVoTH"
},
{
"__type__": "cc.PrefabInfo",