动画替换完成

This commit is contained in:
2024-11-29 16:45:32 +08:00
parent 7c80b3b191
commit 935d3f1185
10 changed files with 257 additions and 224 deletions

View File

@@ -455,6 +455,7 @@ export class HeroViewComp extends CCComp {
//使用max_skill
handle_skill(skill:number){
this.as.atk()
this.at = 0;
this.tooltip(3,smc.skills[skill].name,skill);
switch (smc.skills[skill].tg) {
@@ -673,6 +674,7 @@ export class HeroViewComp extends CCComp {
let pos =v3(0,30);
node.setPosition(pos)
node.parent = this.node;
// this.as.atked();
this.atked_count++;
this.exp_add(this.uaep)
}