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__": 54
}
],
"_active": true,
"_components": [
{
"__id__": 63
"__id__": 54
},
{
"__id__": 65
"__id__": 56
},
{
"__id__": 67
"__id__": 58
},
{
"__id__": 69
"__id__": 60
},
{
"__id__": 71
"__id__": 62
}
],
"_prefab": {
"__id__": 73
"__id__": 64
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -867,131 +864,6 @@
],
"value": true
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 55
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 54
},
"asset": {
"__uuid__": "ae4493bd-cbcc-4392-921c-3e2b0fcd5338",
"__expectedType__": "cc.Prefab"
},
"fileId": "91yoyAQGNDm5ziI7NUChZ+",
"instance": {
"__id__": 56
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "08n1IzuupL3YNn2/tFvc8M",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 57
},
{
"__id__": 59
},
{
"__id__": 60
},
{
"__id__": 61
},
{
"__id__": 62
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_name"
],
"value": "up"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"91yoyAQGNDm5ziI7NUChZ+"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 4.302,
"y": 45.887,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_active"
],
"value": false
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -1002,7 +874,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 64
"__id__": 55
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1030,7 +902,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 66
"__id__": 57
},
"anm": {
"__id__": 5
@@ -1051,7 +923,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 68
"__id__": 59
},
"debugMode": false,
"_id": ""
@@ -1070,7 +942,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 70
"__id__": 61
},
"enabledContactListener": true,
"bullet": false,
@@ -1104,7 +976,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 72
"__id__": 63
},
"tag": 0,
"_group": 4,
@@ -1140,9 +1012,6 @@
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 54
},
{
"__id__": 26
},