Fix to allow for mana drain spells to work if client is full mana.

This commit is contained in:
KayenEQ 2015-02-21 06:32:41 -05:00
parent b6dd604de2
commit 32cb219e64

View File

@ -1894,7 +1894,7 @@ void Client::DoHPRegen() {
}
void Client::DoManaRegen() {
if (GetMana() >= max_mana)
if (GetMana() >= max_mana && spellbonuses.ManaRegen >= 0)
return;
SetMana(GetMana() + CalcManaRegen() + RestRegenMana);