feat: 更新普攻技能配置与资源

1.  将普攻技能的射线类型从贝塞尔曲线改为直线
2.  调整所有近战英雄的攻击距离为720
3.  更新普攻预制体的精灵帧、缩放和尺寸参数,添加动画组件
4.  调整普攻动画的采样率和时长
This commit is contained in:
panw
2026-05-18 10:17:27 +08:00
parent 3e84566f94
commit 17a8dc0046
4 changed files with 67 additions and 235 deletions

View File

@@ -7,25 +7,22 @@
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 20,
"sample": 8,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 0.1,
"_duration": 0.25,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 7
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 18
"__id__": 7
},
"_auxiliaryCurveEntries": []
},
@@ -70,222 +67,21 @@
},
{
"__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
}
"_times": [
0,
0.125
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
"_values": [
{
"__id__": 9
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@39989",
"__expectedType__": "cc.SpriteFrame"
},
"scale"
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@16ca6",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__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,

View File

@@ -35,10 +35,13 @@
},
{
"__id__": 14
},
{
"__id__": 16
}
],
"_prefab": {
"__id__": 16
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -92,8 +95,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -3.417,
"y": 18.168,
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
@@ -105,8 +108,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -1,
"y": 1.2,
"x": -0.5,
"y": 0.5,
"z": 1
},
"_mobility": 0,
@@ -133,8 +136,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 60
"width": 139,
"height": 128
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -169,10 +172,13 @@
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_spriteFrame": {
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@39989",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@@ -201,6 +207,8 @@
"__id__": 0
},
"fileId": "3arqAMBz1MvoXBzeDaL5M/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -218,7 +226,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -245,7 +253,6 @@
},
"atk_x": 0,
"atk_y": 0,
"debugMode": false,
"_id": ""
},
{
@@ -312,7 +319,7 @@
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 150
"height": 50
},
"_id": ""
},
@@ -320,6 +327,35 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "ebw5mObxNGGKxnJXDgX5gl"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "45017156-064b-43f2-a24e-176b6ce17ad8",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "45017156-064b-43f2-a24e-176b6ce17ad8",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20U0hP/NZErJJXRCEib1lq"
},
{
"__type__": "cc.PrefabInfo",
"root": {