dd
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user