feat(技能系统): 添加治疗和护盾技能支持

实现治疗和护盾技能的基础功能,包括:
1. 在SACastSystem中添加对治疗和护盾技能类型的支持
2. 新增技能目标选择逻辑,根据技能类型选择敌人或友军
3. 添加buff动画效果和技能提示
4. 更新刘邦的技能配置为护盾技能
5. 移除不再使用的EndAnm相关文件
This commit is contained in:
walkpan
2025-12-31 19:50:27 +08:00
parent 35b677ec7a
commit beb0f9feb4
10 changed files with 204 additions and 88 deletions

View File

@@ -438,6 +438,10 @@ export class HeroViewComp extends CCComp {
case "atk":
this.as.atk()
break
case "buff":
this.as.buff()
this.tooltip(TooltipTypes.skill, skill.name)
break
}
}