mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Merge pull request #377 from KayenEQ/Development
Fix to allow for mana drain spells to work if client is full mana.
This commit is contained in:
commit
a537981ad0
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user