mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-11 00:02:12 +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
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user