This commit is contained in:
2025-01-08 14:10:31 +08:00
parent 3ae329fac9
commit 9ce06358d5
12 changed files with 1481 additions and 3175 deletions

View File

@@ -537,8 +537,8 @@ export class HeroViewComp extends CCComp {
this.push_least_buff(skill)
break;
case 2: //自己和伙伴
this.to_add_buff(this.node.getComponent(HeroViewComp),skill)
this.push_least_buff(skill)
this.to_all_buff(skill)
break;
case 3: //敌人
this.shoot_enemy(skill)
@@ -548,6 +548,9 @@ export class HeroViewComp extends CCComp {
this.shoot_enemy(skill)
break;
}
}
to_all_buff(sk:number){
}
shoot_enemy(sk:number,y:number=0,x:number=0){
// console.log("mon shoot_enemy");