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

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

@@ -35,10 +35,16 @@
},
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 16
"__id__": 20
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -314,6 +320,74 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "29TlPeJcdIy4wZXKhtLbdr"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"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": "58tC4fIN9CO56Y1QXCUmEk"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": true,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 4.1,
"y": -3.7
},
"_size": {
"__type__": "cc.Size",
"width": 62.6,
"height": 31.7
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "06iYFbB9lCdoNl1MeEo3h4"
},
{
"__type__": "cc.PrefabInfo",
"root": {