diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index e7bf733..57a41c7 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -68,6 +68,7 @@ void Human::Initialize() RecalcSelfCollider(); volume_ = meta->volume; observers_.insert(this); + ability.hp = meta->i->health(); } float Human::GetSpeed() @@ -1343,7 +1344,6 @@ void Human::RecalcBaseAttr() if (helmet_meta) { ability.def += helmet_meta->i->def(); } - ability.hp = meta->i->health(); ability.max_hp = ability.hp; }