Fix pet mana regen.

This commit is contained in:
brotalnia
2017-10-13 14:22:36 +03:00
parent da73dba558
commit a68be8fc2d
+6
View File
@@ -849,6 +849,9 @@ bool Pet::UpdateStats(Stats stat)
break;
}
if (GetMaxPower(POWER_MANA))
UpdateManaRegen();
return true;
}
@@ -863,6 +866,9 @@ bool Pet::UpdateAllStats()
for (int i = SPELL_SCHOOL_NORMAL; i < MAX_SPELL_SCHOOL; ++i)
UpdateResistances(i);
if (GetMaxPower(POWER_MANA))
UpdateManaRegen();
return true;
}