From 6c823bf0d52503b445affeb052d194af9e21134b Mon Sep 17 00:00:00 2001 From: Tristan 'Natrist' Cormier Date: Sun, 19 Feb 2017 17:10:48 +0000 Subject: [PATCH] Fixed a bug where health would not regenerate unless your rage was above one (1) point, making warriors the elite master class. --- src/game/Object/Player.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/game/Object/Player.cpp b/src/game/Object/Player.cpp index d03de82a..1d39e433 100644 --- a/src/game/Object/Player.cpp +++ b/src/game/Object/Player.cpp @@ -1930,8 +1930,7 @@ void Player::RegenerateAll() { if ( m_regenTimer != 0 - || GetPower(POWER_RAGE) < 1 - && GetPowerType() == POWER_RAGE + || (GetPower(POWER_RAGE) < 1 && GetPowerType() == POWER_RAGE && GetHealth() == GetMaxHealth()) ) { return;