攻击次数 继续完善

This commit is contained in:
panw
2025-06-12 10:56:12 +08:00
parent a0bd1da1ca
commit 4c0d1023a0
8 changed files with 91 additions and 53 deletions

View File

@@ -28,7 +28,7 @@ export class Hero extends ecs.Entity {
this.remove(HeroModelComp);
super.destroy();
}
hart_load(uuid:number=5001) {
hart_load(uuid:number=5004) {
console.log("主体加载")
let box_group=BoxSet.HERO
var path = "game/heros/"+HeroInfo[uuid].path;
@@ -57,6 +57,7 @@ export class Hero extends ecs.Entity {
hv.ap_ur=hero.ap_ur
hv.hp_up=hero.hp_up
hv.atk_skill=hero.skills[0]
console.log(hv.hero_name+"dis=>"+hv.dis)
this.add(hv);
}
/** 加载角色 */