技能基本搞定
This commit is contained in:
@@ -169,7 +169,7 @@ export class HeroViewComp extends CCComp {
|
||||
if(otherCollider.tag==BoxSet.SKILL_TAG &&selfCollider.tag!=BoxSet.SKILL_TAG){
|
||||
if(selfCollider.group != otherCollider.group){
|
||||
let skill = otherCollider.node.getComponent(SkillCom)!;
|
||||
// console.log('onPostSolve',skill);
|
||||
console.log(Date.now()+this.hero_name+":"+this.uuid+' onBeginContact: '+skill.uuid);
|
||||
if(this.hp <= 0 ) return
|
||||
this.check_uatk(skill);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user