hp buff 基本完成

This commit is contained in:
2025-06-25 21:09:54 +08:00
parent db0a0dd19c
commit 7363952dae
7 changed files with 62 additions and 73 deletions

View File

@@ -59,6 +59,9 @@ export class Monster extends ecs.Entity {
hv.fac = FacSet.MON;
hv.type = hero.type;
hv.is_boss = is_boss;
if(!is_boss){
hv.is_kalami=true
}
hv.box_group = box_group;
hv.hero_uuid= uuid;
hv.hero_name= hero.name;
@@ -66,13 +69,14 @@ export class Monster extends ecs.Entity {
hv.dis = hero.dis;
hv.hp= hv.hp_max =hero.hp;
hv.ap = hero.ap;
hv.cd = hero.a_cd
hv.cd = hero.cd
hv.crit=hero.crit
hv.crit_d=hero.crit_d
hv.dod=hero.dod
hv.dod_no=hero.dod_no
hv.crit_no=hero.crit_no
hv.atk_skill=hero.skills[0]
this.add(hv);
}