刷怪完成

This commit is contained in:
panfudan
2025-08-12 15:54:56 +08:00
parent 61cbd6e7bd
commit 5dd354a86b
7 changed files with 465 additions and 1004 deletions

View File

@@ -86,7 +86,6 @@ export class Hero extends ecs.Entity {
hv.Attrs[BuffAttr.ATK_CD]=hv.cd=hero.cd
hv.Attrs[BuffAttr.HP_MAX]=hv.hp=hv.hp_max=hero.hp+info.hp
hv.Attrs[BuffAttr.AP]=hv.ap=hero.ap+info.ap;
hv.Attrs[BuffAttr.DEF]=hv.def=hero.def+info.def;
hero.buff.forEach((buff:any)=>{
hv.apply_buff(buff.type,buff.value)
})