feat(技能): 添加治疗和魔法盾基础技能配置
- 新增治疗(6100)和魔法盾(6101)基础技能配置 - 删除旧的heath技能资源文件 - 添加新的heathed动画和预制体资源 - 调整水球技能(6005)的ap和map参数
This commit is contained in:
@@ -430,17 +430,17 @@ export class HeroViewComp extends CCComp {
|
||||
|
||||
playSkillEffect(skill_id:number) {
|
||||
let skill = SkillSet[skill_id]
|
||||
console.log('[heroview] skill_id'+skill_id,skill)
|
||||
if (!skill) return;
|
||||
switch(skill.act){
|
||||
case "max":
|
||||
this.as.max()
|
||||
this.tooltip(TooltipTypes.skill, skill.name)
|
||||
break
|
||||
case "atk":
|
||||
this.as.atk()
|
||||
break
|
||||
case "buff":
|
||||
this.as.buff()
|
||||
this.tooltip(TooltipTypes.skill, skill.name)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user