增益 再全面完善下

This commit is contained in:
panfudan
2025-07-30 00:41:20 +08:00
parent 6c6fb64ab1
commit c3ecc08767
4 changed files with 35 additions and 30 deletions

View File

@@ -89,10 +89,10 @@ export class Hero extends ecs.Entity {
hv.hero_name= hero.name;
hv.speed =hv.ospeed = hero.speed;
hv.dis = hero.dis;
hv.cd = hero.cd
hv.cd = hv.cd_base = hero.cd
hv.hp= hv.hp_max = hv.hp_base=hero.hp+info.hp
hv.ap = hero.ap+info.ap;
hv.ap_base=hero.ap+info.ap;
hv.ap = hv.ap_base=hero.ap+info.ap;
hv.def = hv.def_base=hero.def+info.def;
hero.buff.forEach((buff:any)=>{
switch(buff.buff_type){
case BuffAttr.CRITICAL: