升级初步完成
This commit is contained in:
@@ -73,17 +73,17 @@ export class Boss extends ecs.Entity {
|
||||
hero_init(uuid:number=1001,node:Node,pos:Vec3=v3(0,0,0)){
|
||||
var bs = node.getComponent(BossViewComp)!;
|
||||
// console.log("hero_init",buff)
|
||||
bs.speed =bs.ospeed = smc.monsters[uuid].speed;
|
||||
bs.boos_name= smc.monsters[uuid].name;
|
||||
bs.hp= bs.hp_max = smc.monsters[uuid].hp;
|
||||
bs.level = smc.monsters[uuid].level;
|
||||
bs.atk = smc.monsters[uuid].atk;
|
||||
bs.atk_cd = smc.monsters[uuid].atk_cd;
|
||||
bs.atk_dis = smc.monsters[uuid].atk_dis;
|
||||
bs.power = smc.monsters[uuid].power;
|
||||
bs.power_max = smc.monsters[uuid].power_max;
|
||||
bs.skill = smc.monsters[uuid].skill_uuid;
|
||||
bs.type = smc.monsters[uuid].type;
|
||||
bs.speed =bs.ospeed = MonSet[uuid].speed;
|
||||
bs.boos_name= MonSet[uuid].name;
|
||||
bs.hp= bs.hp_max = MonSet[uuid].hp;
|
||||
bs.level = MonSet[uuid].level;
|
||||
bs.atk = MonSet[uuid].atk;
|
||||
bs.atk_cd = MonSet[uuid].atk_cd;
|
||||
bs.atk_dis = MonSet[uuid].atk_dis;
|
||||
bs.power = MonSet[uuid].power;
|
||||
bs.power_max = MonSet[uuid].power_max;
|
||||
bs.skill = MonSet[uuid].skill_uuid;
|
||||
bs.type = MonSet[uuid].type;
|
||||
bs.box_group = BoxSet.MONSTER;
|
||||
bs.scale = -1;
|
||||
bs.Tpos = v3(0,0,0);
|
||||
|
||||
Reference in New Issue
Block a user