天赋完善 继续

This commit is contained in:
2025-07-30 22:25:31 +08:00
parent c3ecc08767
commit 23ef6c3ca0
6 changed files with 170 additions and 43 deletions

View File

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