技能基本搞定

This commit is contained in:
2025-01-04 00:09:14 +08:00
parent 0524eee5e0
commit 66f4a0de82
59 changed files with 1033 additions and 4158 deletions

View File

@@ -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);
}