奖励 加血 有问题
This commit is contained in:
@@ -60,8 +60,9 @@ export class Hero extends ecs.Entity {
|
||||
// console.log("hero_init",buff)
|
||||
let hero_set= smc.heros[uuid]
|
||||
hv.speed =hv.ospeed = hero_set.speed;
|
||||
hv.hero_uuid= uuid;
|
||||
hv.hero_name= hero_set.name;
|
||||
hv.hp= hv.hp_max = hero_set.hp*(1+smc.vm_data.talent[11].bonus*smc.vm_data.talent[11].lv);
|
||||
hv.hp= hv.hp_max = hero_set.hp*(1+smc.vm_data.talent[11].bonus*smc.vm_data.talent[11].lv)*smc.vm_data.mission.hero.hp;
|
||||
hv.level = hero_set.level;
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user