技能动画添加

This commit is contained in:
2025-01-05 09:10:21 +08:00
parent 66f4a0de82
commit 511459c66c
118 changed files with 22272 additions and 8796 deletions

View File

@@ -14,9 +14,14 @@ const { ccclass, property } = _decorator;
@ecs.register('SkillView', false)
export class SkillCom extends CCComp {
s_uuid:number = 0;
s_name:string = "";
speed:number = 200;
scale:number = 1;
ap:number = 10;
cd:number = 1;
debuff:number = 0;
decd:number = 0;
rate:number = 0;
atk_count:number = 0;
is_crit:boolean = false;
crit_add: number = 0;//暴击伤害加成
@@ -54,9 +59,9 @@ export class SkillCom extends CCComp {
// }
// if(this.type==1 ){
// this.is_destroy=true
// }
if(this.type==1 ){
this.is_destroy=true
}
// console.log("skill onBeginContact",selfCollider.group,otherCollider.group)
// if(this.type==1 ){
// this.is_destroy=true