Core/Spells: corrected Calculation for Replenishment and Infinite Replenishment will now also regenerate 1% of the maximum mana
This commit is contained in:
1 parent
5b4fe0a13d
commit
f33a2038be
1 file changed
+1
-4
@@ -2855,11 +2855,8 @@ class spell_gen_replenishment : public SpellScriptLoader
|
||||
switch (GetSpellInfo()->Id)
|
||||
{
|
||||
case SPELL_REPLENISHMENT:
|
||||
amount = GetUnitOwner()->GetMaxPower(POWER_MANA) * 0.001f;
|
||||
break;
|
||||
case SPELL_INFINITE_REPLENISHMENT:
|
||||
amount = GetUnitOwner()->GetMaxPower(POWER_MANA) * 0.0025f;
|
||||
break;
|
||||
amount = CalculatePct(GetUnitOwner()->GetMaxPower(POWER_MANA), 1);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user