Fixed a bug where health would not regenerate unless your rage was above one (1) point, making warriors the elite master class.

This commit is contained in:
Tristan 'Natrist' Cormier 2017-02-19 17:10:48 +00:00 committed by Antz
parent 8f2d7a5008
commit 6c823bf0d5

View File

@ -1930,8 +1930,7 @@ void Player::RegenerateAll()
{ {
if ( if (
m_regenTimer != 0 m_regenTimer != 0
|| GetPower(POWER_RAGE) < 1 || (GetPower(POWER_RAGE) < 1 && GetPowerType() == POWER_RAGE && GetHealth() == GetMaxHealth())
&& GetPowerType() == POWER_RAGE
) )
{ {
return; return;