技能卡槽 需要测试确认

This commit is contained in:
panw
2025-06-26 16:57:55 +08:00
parent b00cc9536f
commit 0a25259cf4
4 changed files with 56 additions and 61 deletions

View File

@@ -201,7 +201,7 @@ export class MissionComp extends CCComp {
}
call_skill_card(e:any){
oops.message.dispatchEvent(GameEvent.HeroSkillSelect)
oops.message.dispatchEvent(GameEvent.HeroSkillSelect,{slot:e})
}
private cleanComponents() {
ecs.query(ecs.allOf(HeroViewComp)).forEach(entity => {entity.remove(HeroViewComp);entity.destroy()});