This commit is contained in:
walkpan
2024-09-23 08:14:39 +08:00
parent 96c96da552
commit 618a6e3f7b
65 changed files with 38950 additions and 8530 deletions

View File

@@ -74,7 +74,7 @@ export class Boss extends ecs.Entity {
var bs = node.getComponent(BossViewComp)!;
// console.log("hero_init",buff)
bs.speed =bs.ospeed = smc.monsters[uuid].speed;
bs.hero_name= smc.monsters[uuid].name;
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;
@@ -84,6 +84,7 @@ export class Boss extends ecs.Entity {
bs.power_max = smc.monsters[uuid].power_max;
bs.skill = smc.monsters[uuid].skill_uuid;
bs.type = smc.monsters[uuid].type;
bs.box_group = BoxSet.MONSTER;
bs.scale = -1;
bs.Tpos = v3(0,0,0);
this.add(bs);