Core/Players: corrected stamina health bonus ratio

This commit is contained in:
Ovahlord
2023-11-19 08:44:53 +01:00
parent 3fbdbe7b95
commit a70cd5105e

View File

@@ -280,9 +280,6 @@ void Player::UpdateArmor()
float Player::GetHealthBonusFromStamina() const
{
float ratio = 10.0f;
if (GtHpPerStaEntry const* hpBase = sHpPerStaGameTable.GetRow(GetLevel()))
ratio = hpBase->Health;
float stamina = GetStat(STAT_STAMINA);
float baseStam = std::min(20.0f, stamina);
float moreStam = stamina - baseStam;