伤害技能添加,技能还需完善
This commit is contained in:
@@ -66,6 +66,8 @@ export class CSkill extends ecs.Entity {
|
||||
skill_init(uuid:number=1001,node:Node,pos:Vec3=v3(0,0,0)){
|
||||
var mv = node.getComponent(CSkillComp)
|
||||
mv.scale = 1;
|
||||
mv.skill_uuid = uuid;
|
||||
mv.atk=SkillSet[uuid].atk;
|
||||
this.add(mv);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user