fix(动画): 调整攻击动画的事件触发时机与参数

- 将 atk01.anim 的攻击事件从第 0.066 帧移至第 0 帧,确保攻击判定与动画起始同步
- 修正 hk1/atk0.anim 的动画名称并添加 onAtkEvent 触发事件
- 调整 atk04.anim 的帧率、时长与关键帧,使动画播放更流畅准确
This commit is contained in:
walkpan
2026-03-15 12:07:01 +08:00
parent 1ca77f1b76
commit 69c55400ba
3 changed files with 26 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "atk",
"_name": "atk0",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
@@ -19,7 +19,18 @@
}
],
"_exoticAnimation": null,
"_events": [],
"_events": [
{
"frame": 0.4,
"func": "",
"params": []
},
{
"frame": 0.4,
"func": "onAtkEvent",
"params": []
}
],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 6