feat(map): 新增任务技能面板并优化技能触发逻辑
- 新增 mskills.prefab 作为任务技能容器 - 将 MissSkillsComp 挂载到场景实体层,移除 MissionCardComp 中的引用 - 优化 SkillBoxComp 触发坐标计算,改为基于父节点位置 - 调整技能盒尺寸并添加等级标签显示 - 修复战斗开始时技能触发计时器重置逻辑
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user