- 将技能 6001 的触发类型改为碰撞检测,提高命中准确性 - 优化近战攻击距离计算,使用配置值并增加最小距离限制 - 移除攻击动画中的多余事件,缩短动画时长 - 调整攻击预制体的碰撞体尺寸和位置,使其与实际攻击范围匹配 - 简化远程英雄战斗逻辑,移除不必要的距离判断
294 lines
5.9 KiB
Plaintext
294 lines
5.9 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.AnimationClip",
|
|
"_name": "atk01",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {
|
|
"embeddedPlayerGroups": []
|
|
},
|
|
"_native": "",
|
|
"sample": 20,
|
|
"speed": 1,
|
|
"wrapMode": 2,
|
|
"enableTrsBlending": false,
|
|
"_duration": 0.1,
|
|
"_hash": 500763545,
|
|
"_tracks": [
|
|
{
|
|
"__id__": 1
|
|
},
|
|
{
|
|
"__id__": 7
|
|
}
|
|
],
|
|
"_exoticAnimation": null,
|
|
"_events": [],
|
|
"_embeddedPlayers": [],
|
|
"_additiveSettings": {
|
|
"__id__": 18
|
|
},
|
|
"_auxiliaryCurveEntries": []
|
|
},
|
|
{
|
|
"__type__": "cc.animation.ObjectTrack",
|
|
"_binding": {
|
|
"__type__": "cc.animation.TrackBinding",
|
|
"path": {
|
|
"__id__": 2
|
|
},
|
|
"proxy": null
|
|
},
|
|
"_channel": {
|
|
"__id__": 5
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.animation.TrackPath",
|
|
"_paths": [
|
|
{
|
|
"__id__": 3
|
|
},
|
|
{
|
|
"__id__": 4
|
|
},
|
|
"spriteFrame"
|
|
]
|
|
},
|
|
{
|
|
"__type__": "cc.animation.HierarchyPath",
|
|
"path": "Node"
|
|
},
|
|
{
|
|
"__type__": "cc.animation.ComponentPath",
|
|
"component": "cc.Sprite"
|
|
},
|
|
{
|
|
"__type__": "cc.animation.Channel",
|
|
"_curve": {
|
|
"__id__": 6
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.ObjectCurve",
|
|
"_times": [],
|
|
"_values": []
|
|
},
|
|
{
|
|
"__type__": "cc.animation.VectorTrack",
|
|
"_binding": {
|
|
"__type__": "cc.animation.TrackBinding",
|
|
"path": {
|
|
"__id__": 8
|
|
},
|
|
"proxy": null
|
|
},
|
|
"_channels": [
|
|
{
|
|
"__id__": 10
|
|
},
|
|
{
|
|
"__id__": 12
|
|
},
|
|
{
|
|
"__id__": 14
|
|
},
|
|
{
|
|
"__id__": 16
|
|
}
|
|
],
|
|
"_nComponents": 3
|
|
},
|
|
{
|
|
"__type__": "cc.animation.TrackPath",
|
|
"_paths": [
|
|
{
|
|
"__id__": 9
|
|
},
|
|
"scale"
|
|
]
|
|
},
|
|
{
|
|
"__type__": "cc.animation.HierarchyPath",
|
|
"path": "Node"
|
|
},
|
|
{
|
|
"__type__": "cc.animation.Channel",
|
|
"_curve": {
|
|
"__id__": 11
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.RealCurve",
|
|
"_times": [
|
|
0,
|
|
0.05000000074505806,
|
|
0.10000000149011612
|
|
],
|
|
"_values": [
|
|
{
|
|
"__type__": "cc.RealKeyframeValue",
|
|
"interpolationMode": 0,
|
|
"tangentWeightMode": 0,
|
|
"value": -2.5,
|
|
"rightTangent": 0,
|
|
"rightTangentWeight": 1,
|
|
"leftTangent": 0,
|
|
"leftTangentWeight": 1,
|
|
"easingMethod": 0,
|
|
"__editorExtras__": null
|
|
},
|
|
{
|
|
"__type__": "cc.RealKeyframeValue",
|
|
"interpolationMode": 0,
|
|
"tangentWeightMode": 0,
|
|
"value": -2.5,
|
|
"rightTangent": 0,
|
|
"rightTangentWeight": 1,
|
|
"leftTangent": 0,
|
|
"leftTangentWeight": 1,
|
|
"easingMethod": 0,
|
|
"__editorExtras__": null
|
|
},
|
|
{
|
|
"__type__": "cc.RealKeyframeValue",
|
|
"interpolationMode": 0,
|
|
"tangentWeightMode": 0,
|
|
"value": -2.5,
|
|
"rightTangent": 0,
|
|
"rightTangentWeight": 1,
|
|
"leftTangent": 0,
|
|
"leftTangentWeight": 1,
|
|
"easingMethod": 0,
|
|
"__editorExtras__": null
|
|
}
|
|
],
|
|
"preExtrapolation": 1,
|
|
"postExtrapolation": 1
|
|
},
|
|
{
|
|
"__type__": "cc.animation.Channel",
|
|
"_curve": {
|
|
"__id__": 13
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.RealCurve",
|
|
"_times": [
|
|
0,
|
|
0.05000000074505806,
|
|
0.10000000149011612
|
|
],
|
|
"_values": [
|
|
{
|
|
"__type__": "cc.RealKeyframeValue",
|
|
"interpolationMode": 0,
|
|
"tangentWeightMode": 0,
|
|
"value": 2.5,
|
|
"rightTangent": 0,
|
|
"rightTangentWeight": 1,
|
|
"leftTangent": 0,
|
|
"leftTangentWeight": 1,
|
|
"easingMethod": 0,
|
|
"__editorExtras__": null
|
|
},
|
|
{
|
|
"__type__": "cc.RealKeyframeValue",
|
|
"interpolationMode": 0,
|
|
"tangentWeightMode": 0,
|
|
"value": 2.5,
|
|
"rightTangent": 0,
|
|
"rightTangentWeight": 1,
|
|
"leftTangent": 0,
|
|
"leftTangentWeight": 1,
|
|
"easingMethod": 0,
|
|
"__editorExtras__": null
|
|
},
|
|
{
|
|
"__type__": "cc.RealKeyframeValue",
|
|
"interpolationMode": 0,
|
|
"tangentWeightMode": 0,
|
|
"value": 2.5,
|
|
"rightTangent": 0,
|
|
"rightTangentWeight": 1,
|
|
"leftTangent": 0,
|
|
"leftTangentWeight": 1,
|
|
"easingMethod": 0,
|
|
"__editorExtras__": null
|
|
}
|
|
],
|
|
"preExtrapolation": 1,
|
|
"postExtrapolation": 1
|
|
},
|
|
{
|
|
"__type__": "cc.animation.Channel",
|
|
"_curve": {
|
|
"__id__": 15
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.RealCurve",
|
|
"_times": [
|
|
0,
|
|
0.05000000074505806,
|
|
0.10000000149011612
|
|
],
|
|
"_values": [
|
|
{
|
|
"__type__": "cc.RealKeyframeValue",
|
|
"interpolationMode": 0,
|
|
"tangentWeightMode": 0,
|
|
"value": 1,
|
|
"rightTangent": 0,
|
|
"rightTangentWeight": 1,
|
|
"leftTangent": 0,
|
|
"leftTangentWeight": 1,
|
|
"easingMethod": 0,
|
|
"__editorExtras__": null
|
|
},
|
|
{
|
|
"__type__": "cc.RealKeyframeValue",
|
|
"interpolationMode": 0,
|
|
"tangentWeightMode": 0,
|
|
"value": 1,
|
|
"rightTangent": 0,
|
|
"rightTangentWeight": 1,
|
|
"leftTangent": 0,
|
|
"leftTangentWeight": 1,
|
|
"easingMethod": 0,
|
|
"__editorExtras__": null
|
|
},
|
|
{
|
|
"__type__": "cc.RealKeyframeValue",
|
|
"interpolationMode": 0,
|
|
"tangentWeightMode": 0,
|
|
"value": 1,
|
|
"rightTangent": 0,
|
|
"rightTangentWeight": 1,
|
|
"leftTangent": 0,
|
|
"leftTangentWeight": 1,
|
|
"easingMethod": 0,
|
|
"__editorExtras__": null
|
|
}
|
|
],
|
|
"preExtrapolation": 1,
|
|
"postExtrapolation": 1
|
|
},
|
|
{
|
|
"__type__": "cc.animation.Channel",
|
|
"_curve": {
|
|
"__id__": 17
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.RealCurve",
|
|
"_times": [],
|
|
"_values": [],
|
|
"preExtrapolation": 1,
|
|
"postExtrapolation": 1
|
|
},
|
|
{
|
|
"__type__": "cc.AnimationClipAdditiveSettings",
|
|
"enabled": false,
|
|
"refClip": null
|
|
}
|
|
] |