feat(hero): 添加技能特效播放接口并优化英雄资源

- 在 HeroViewComp 中添加 palayBuff、palayReady、playEnd 方法用于播放技能特效
- 删除未使用的 buff 预制体(maxy、foot_jiasu)及其元数据
- 调整 heal 预制体的位置、尺寸和动画参数以优化显示效果
- 简化多个英雄预制体结构,移除嵌套的 up 节点以提升性能
- 更新 SkillSet 配置,为技能添加 readyAnm 和 endAnm 字段支持
This commit is contained in:
walkpan
2026-03-14 15:45:10 +08:00
parent 6de3a105da
commit c7248fe32a
44 changed files with 4266 additions and 12684 deletions

View File

@@ -26,31 +26,28 @@
},
{
"__id__": 26
},
{
"__id__": 47
}
],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 47
},
{
"__id__": 58
"__id__": 49
},
{
"__id__": 60
"__id__": 51
},
{
"__id__": 62
"__id__": 53
},
{
"__id__": 64
"__id__": 55
}
],
"_prefab": {
"__id__": 66
"__id__": 57
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -126,8 +123,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -1.2,
"y": 1.2,
"x": -1,
"y": 1,
"z": 1
},
"_mobility": 0,
@@ -598,7 +595,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 0.251,
"y": 166.516,
"y": 124.536,
"z": 0
}
},
@@ -775,131 +772,6 @@
"42Iqibz0VOArXYqoFJhNMf"
]
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 48
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 47
},
"asset": {
"__uuid__": "ae4493bd-cbcc-4392-921c-3e2b0fcd5338",
"__expectedType__": "cc.Prefab"
},
"fileId": "91yoyAQGNDm5ziI7NUChZ+",
"instance": {
"__id__": 49
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "08n1IzuupL3YNn2/tFvc8M",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 50
},
{
"__id__": 52
},
{
"__id__": 53
},
{
"__id__": 54
},
{
"__id__": 55
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 51
},
"propertyPath": [
"_name"
],
"value": "up"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"91yoyAQGNDm5ziI7NUChZ+"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 51
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 4.302,
"y": 45.887,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 51
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 51
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 51
},
"propertyPath": [
"_active"
],
"value": false
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -910,7 +782,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 57
"__id__": 48
},
"_contentSize": {
"__type__": "cc.Size",
@@ -938,7 +810,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 59
"__id__": 50
},
"anm": {
"__id__": 5
@@ -959,7 +831,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 61
"__id__": 52
},
"debugMode": false,
"_id": ""
@@ -978,7 +850,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 63
"__id__": 54
},
"enabledContactListener": false,
"bullet": false,
@@ -1012,7 +884,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 65
"__id__": 56
},
"tag": 0,
"_group": 4,
@@ -1048,9 +920,6 @@
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 47
},
{
"__id__": 26
},