feat(角色界面): 实现英雄列表浏览与技能展示功能

- 在 heroSet.ts 中添加 HeroList 数组,定义可浏览的英雄 ID 列表
- 激活角色控制器界面中的相关节点以启用功能
- 重构 HlistComp 组件,添加英雄列表翻页、属性显示、动画加载和技能信息展示逻辑
- 通过 HeroList 数组顺序浏览英雄,并展示其名称、攻击力、生命值、技能详情和类型图标
This commit is contained in:
panw
2026-04-01 16:30:55 +08:00
parent b92d5d931d
commit 61b45c2dd9
3 changed files with 141 additions and 7 deletions

View File

@@ -186,5 +186,12 @@ export const HeroInfo: Record<number, heroInfo> = {
};
export const HeroList: number[] = [
5001, 5002, 5003, 5004, 5005,
5101, 5102, 5103, 5104, 5105,
5201, 5202, 5203,
5301, 5302, 5303, 5304
];