dd
This commit is contained in:
@@ -61,13 +61,15 @@ export class Hero extends ecs.Entity {
|
||||
let hero_set= smc.heros[uuid]
|
||||
hv.speed =hv.ospeed = hero_set.speed;
|
||||
hv.hero_name= hero_set.name;
|
||||
hv.hp= hv.hp_max = hero_set.hp;
|
||||
hv.hp= hv.hp_max = hero_set.hp*(1+smc.vm_data.talent[11].bonus*smc.vm_data.talent[11].lv);
|
||||
hv.level = hero_set.level;
|
||||
hv.atk = hero_set.atk;
|
||||
hv.atk_cd = hero_set.atk_cd;
|
||||
hv.atk = hero_set.atk*(1+smc.vm_data.talent[12].bonus*smc.vm_data.talent[12].lv);
|
||||
hv.atk_cd = hero_set.atk_cd*(1-smc.vm_data.talent[13].bonus*smc.vm_data.talent[13].lv);
|
||||
hv.st_boncus=1+smc.vm_data.talent[15].bonus*smc.vm_data.talent[15].lv;
|
||||
hv.s_boncus=1+smc.vm_data.talent[16].bonus*smc.vm_data.talent[16].lv;
|
||||
hv.atk_dis = hero_set.atk_dis;
|
||||
hv.power = hero_set.power;
|
||||
hv.power_max= hero_set.power_max;
|
||||
hv.power_max= hero_set.power_max*(1-smc.vm_data.talent[14].bonus*smc.vm_data.talent[14].lv);;
|
||||
hv.type = hero_set.type;
|
||||
hv.skill_uuid = hero_set.skill_uuid;
|
||||
hv.max_skill_uuid = hero_set.max_skill_uuid;
|
||||
|
||||
Reference in New Issue
Block a user