hp buff 基本完成
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user