通过帧事件 实现技能的范围伤害完善

This commit is contained in:
2025-08-08 16:36:54 +08:00
parent cd6675652b
commit 1482e9989a
7 changed files with 157 additions and 193 deletions

View File

@@ -24,21 +24,21 @@
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 20
"__id__": 16
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -85,16 +85,10 @@
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 11
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -198,74 +192,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "12eKc8gltBz50frJCS5+ww"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_group": 1,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "98cPYmJhNA4J/GZdhUWQGv"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"tag": 0,
"_group": 1,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 43.5,
"y": 48.5
},
"_size": {
"__type__": "cc.Size",
"width": 87,
"height": 97
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "63V4BzNKRDzYi3gYIKcuRs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -289,11 +215,11 @@
},
"_enabled": true,
"__prefab": {
"__id__": 13
"__id__": 9
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"width": 180,
"height": 100
},
"_anchorPoint": {
@@ -317,7 +243,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 15
"__id__": 11
},
"_id": ""
},
@@ -335,7 +261,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 13
},
"playOnLoad": true,
"_clips": [
@@ -365,7 +291,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 15
},
"_id": ""
},