刷怪完成
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user