mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core/Players: corrected stamina health bonus ratio
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user