技能动画 继续完善
This commit is contained in:
@@ -60,9 +60,6 @@ export class SkillCom extends CCComp {
|
||||
onBeginContact (seCol: Collider2D, otCol: Collider2D, contact: IPhysics2DContact | null) {
|
||||
if(otCol.group != seCol.group&&otCol.tag ==0){
|
||||
this.atk_count+=1
|
||||
if(this.run==1 ){
|
||||
this.is_destroy=true
|
||||
}
|
||||
}
|
||||
if(otCol.group == seCol.group&&otCol.tag ==0&&(this.tg==2||this.tg==0)){
|
||||
this.to_console("skill onBeginContact 是对自己人的buff",seCol,otCol)
|
||||
|
||||
Reference in New Issue
Block a user