This commit is contained in:
pan@work
2024-09-20 17:13:16 +08:00
parent 4baee558c5
commit 96c96da552
8 changed files with 146 additions and 46 deletions

View File

@@ -232,6 +232,10 @@ export class RoleViewComp extends CCComp {
let {pos,t_pos}=this.get_enemy_pos()
pos.y=pos.y + y
pos.x=pos.x + x
if(smc.skills[skill_uuid].type==11){
pos.y=300
t_pos.y=t_pos.y-300
}
skill.load(pos,BoxSet.HERO,this.node,skill_uuid,atk,t_pos);
// this.tooltip(3,smc.skills[skill_uuid].name,this.skill_uuid);
}