feat(技能): 添加治疗和魔法盾基础技能配置

- 新增治疗(6100)和魔法盾(6101)基础技能配置
- 删除旧的heath技能资源文件
- 添加新的heathed动画和预制体资源
- 调整水球技能(6005)的ap和map参数
This commit is contained in:
walkpan
2025-12-31 22:33:14 +08:00
parent beb0f9feb4
commit be7740e2b6
2 changed files with 8 additions and 3 deletions

View File

@@ -59,7 +59,12 @@ export class TooltipCom extends CCComp {
},0.5)
break
case TooltipTypes.skill:
this.node.getChildByName("skill").getChildByName("name").getComponent(Label).string = "<"+SkillSet[this.s_uuid].name+">";
const skillConfig = SkillSet[this.s_uuid];
if (skillConfig) {
this.node.getChildByName("skill").getChildByName("name").getComponent(Label).string = "<"+skillConfig.name+">";
} else {
this.node.getChildByName("skill").getChildByName("name").getComponent(Label).string = "";
}
this.node.getChildByName("skill").active=true;
this.node.setPosition(v3(this.node.position.x,this.node.position.y+30))
this.scheduleOnce(()=>{