fix(skill): 修复火焰击技能碰撞检测和消失逻辑
调整技能 atk_f2 的预制体位置、缩放和尺寸,以匹配新的碰撞体设置。 将技能 6004(火焰击)的 hit_num 从 1 改为 6,允许多次命中。 在 SkillView 中优化碰撞检测逻辑,增加 isDisposing 状态防止销毁后误触发。 修复 close_collider 方法的逻辑,确保碰撞体能立即关闭。 为 EType 枚举添加详细注释,明确其职责。
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -5.881,
|
||||
"x": 13.997,
|
||||
"y": 40.545,
|
||||
"z": 0
|
||||
},
|
||||
@@ -111,8 +111,8 @@
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 2,
|
||||
"y": -1,
|
||||
"x": 3,
|
||||
"y": -2,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
@@ -210,8 +210,6 @@
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "3arqAMBz1MvoXBzeDaL5M/",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
@@ -527,7 +525,7 @@
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
"height": 199.9
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user