This commit is contained in:
2025-01-08 23:59:41 +08:00
parent aa2d915bb3
commit 52cc268368
9 changed files with 213 additions and 142 deletions

View File

@@ -35,6 +35,7 @@ export class SkillCom extends CCComp {
box_group:number = 0;
box_tag:number=0;
type:number = 1;
run:number = 0;
tg:number = 3;
in_time:number = 0.3; // 不动技能持续时间
enemys:any = [];
@@ -65,13 +66,9 @@ export class SkillCom extends CCComp {
// }
if(this.type==1 ){
if(this.run==1 ){
this.is_destroy=true
}
// console.log("skill onBeginContact",seCol.group,otCol.group)
// if(this.type==1 ){
// this.is_destroy=true
// }
}
if(otCol.group == seCol.group&&otCol.tag ==0&&this.tg==2){
this.to_console("skill onBeginContact 是对自己人的buff",seCol,otCol)