1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 15:01:53 +08:00
Commit Graph

3 Commits

Author SHA1 Message Date
fallingshrimp e4d04ff599 feat(技能图标): 添加技能冷却显示功能
- 新增 SkillIcon.gd 脚本用于管理武器技能图标显示
- 修改 CooldownProgress.gdshader 增加背景透明度参数
- 更新 CooldownTimer.gd 添加时间计算方法
- 重构 SkillIconBase.tscn 场景以支持新功能
2025-09-06 15:04:32 +08:00
fallingshrimp debb450044 refactor(武器系统): 重构武器冷却和攻击逻辑
- 将CooldownTimer的startCooldown方法重命名为更简洁的start
- 为EntityBase添加weaponStore节点管理武器
- 修改武器攻击逻辑,现在由Weapon类自身处理冷却和攻击
- 调整武器卡片的UI布局和描述居中显示
- 为Rooster角色添加预设武器
2025-09-06 07:40:21 +08:00
fallingshrimp c16a1ee73c refactor(Statemachine): 引入CooldownTimer类重构攻击冷却逻辑
将攻击冷却逻辑从EntityBase中提取到独立的CooldownTimer类
简化EntityBase代码并提高可维护性
2025-09-05 22:29:40 +08:00