feat(map): 新增任务技能面板并优化技能触发逻辑

- 新增 mskills.prefab 作为任务技能容器
- 将 MissSkillsComp 挂载到场景实体层,移除 MissionCardComp 中的引用
- 优化 SkillBoxComp 触发坐标计算,改为基于父节点位置
- 调整技能盒尺寸并添加等级标签显示
- 修复战斗开始时技能触发计时器重置逻辑
This commit is contained in:
walkpan
2026-04-06 22:09:43 +08:00
parent 2010e2adc5
commit 62b7b9783a
8 changed files with 1716 additions and 1310 deletions

View File

@@ -55,8 +55,6 @@ export class MissionCardComp extends CCComp {
hero_info_prefab:Prefab=null! //场上英雄信息面板Prefab
@property(Node)
hero_num_node:Node=null!
@property(Node)
miss_skill_node:Node=null!
/** 预留图集缓存(后续接入按钮/卡面图标时复用) */
private uiconsAtlas: SpriteAtlas | null = null;