Commit Graph

3 Commits

Author SHA1 Message Date
panw
40e0086be3 refactor(hero): 移除SkillConComp并添加ECS系统注册装饰器
- 删除废弃的SkillConComp组件及其meta文件
- 为HeroAtkSystem、HeroAttrSystem等系统添加@ecs.register装饰器
- 在生命周期系统中添加空安全检查
- 移除SkillConComp相关引用及调试日志
- 在移动系统中添加节点有效性检查
2025-10-30 16:31:44 +08:00
panw
1281cbd32d feat(HeroAtkSystem): Integrate visual feedback for attack and death events
- Added HeroViewComp integration to trigger visual effects during attacks and upon hero death.
- Updated doAttack method to call do_atked and do_dead methods in HeroViewComp for enhanced visual representation.
- Cleaned up console log messages for better clarity in debugging.
2025-10-30 11:06:58 +08:00
panw
2d358e450d 战斗系统 重构继续 2025-10-30 10:39:46 +08:00