This commit is contained in:
aozhiwei 2019-07-18 19:31:09 +08:00
parent 63baa4584b
commit 2a7ce32a2e
2 changed files with 4 additions and 0 deletions

View File

@ -1706,6 +1706,9 @@ void Human::RecalcBaseAttr()
*p_attr += (SkinLv() / std::get<1>(pair.second)) * std::get<0>(pair.second); *p_attr += (SkinLv() / std::get<1>(pair.second)) * std::get<0>(pair.second);
} }
} }
}
if (driver_meta) {
} }
ability.max_hp = ability.hp; ability.max_hp = ability.hp;
} }

View File

@ -46,6 +46,7 @@ void Player::Initialize()
DirectReload(); DirectReload();
} }
} }
driver_meta = MetaMgr::Instance()->GetDriver(driver.driver_id);
RecalcBaseAttr(); RecalcBaseAttr();
} }