feat(技能): 添加治疗和魔法盾基础技能配置
- 新增治疗(6100)和魔法盾(6101)基础技能配置 - 删除旧的heath技能资源文件 - 添加新的heathed动画和预制体资源 - 调整水球技能(6005)的ap和map参数
This commit is contained in:
@@ -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(()=>{
|
||||
|
||||
Reference in New Issue
Block a user