技能动画添加
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user