还有好多错误
This commit is contained in:
@@ -74,14 +74,18 @@ export class Hero extends ecs.Entity {
|
||||
hv.base_ap=hero.ap
|
||||
hv.base_map=hero.mp
|
||||
hv.base_def=hero.def
|
||||
hv.hp=hv.base_hp=hero.hp
|
||||
hv.mp=hv.base_mp=hero.mp
|
||||
hv.base_hp=hero.hp
|
||||
hv.base_mp=hero.mp
|
||||
hv.hp=hv.base_hp
|
||||
hv.mp=hv.base_mp
|
||||
hv.Attrs=getAttrs()
|
||||
hv.Attrs[Attrs.HP_MAX]=hv.base_hp
|
||||
hv.Attrs[Attrs.MP_MAX]=hv.base_mp
|
||||
hv.Attrs[Attrs.DEF]=hv.base_def
|
||||
hv.Attrs[Attrs.AP]=hv.base_ap
|
||||
hv.Attrs[Attrs.MAP]=hv.base_map
|
||||
// 初始化 buff/debuff 系统
|
||||
hv.initBuffsDebuffs();
|
||||
return hv
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user